Complete the removal of __gconv_translit_find
[glibc.git] / ChangeLog
blob95388d84a279aa000b386d24035316904fb89bcf
1 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4         loading.
5         * iconv/Versions (__gconv_transliterate): Export for use from
6         gconv modules.
7         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8         (struct __gconv_trans_data, __gconv_trans_fct,
9         __gconv_trans_context_fct, __gconv_trans_query_fct,
10         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11         definitions.
12         (struct __gconv_step_data): Remove __trans member.
13         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14         longer hidden.  Remove unused trans_data argument.
15         * iconv/gconv_int.h (struct trans_struct): Remove definition.
16         (__gconv_translit_find): Remove declaration.
17         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18         prototype.
19         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21         trans_data argument.  Add hidden definition.
22         (__gconv_translit_find): Remove.
23         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25         * iconv/skeleton.c: Remove transliteration initialization.
26         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27         __gconv_step_data initialization.
28         * libio/iofwide.c (__libio_translit_): Remove.
29         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30         * wcsmbs/btowc.c (__btowc): Likewise.
31         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
34         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
36         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38         * wcsmbs/wctob.c (wctob): Likewise.
40 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42         [BZ #16194]
43         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
45         register usage.
46         * sysdeps/x86/Makefile: Adjust.
48 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49             Roland McGrath  <roland@hack.frob.com>
51         * locale/weight.h: Add include guard.
52         (findidx): Make static rather than auto; take new parameters
53         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
54         * locale/weightwc.h: Likewise.
55         * posix/fnmatch_loop.c
56         (FCT): Change type of EXTRA from int32_t to wint_t.
57         Don't include either header inside the function.
58         Call FINDIDX rather than findidx, and pass new arguments.
59         #undef FINDIDX at the end of the file.
60         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
61         FINDIDX before including fnmatch_loop.c for the non-wide version.
62         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
63         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
64         for the wide version.
65         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
66         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
67         Pass new arguments to findidx.
68         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
69         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
70         Don't #include it inside the function.  Pass new arguments to findidx.
71         * posix/regex_internal.h
72         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
73         (re_string_elem_size_at): Don't #include it inside the function.
74         Pass new arguments to findidx.
75         * string/strcoll_l.c: #include WEIGHT_H at top level.
76         (get_next_seq): Don't #include it inside the function.
77         Pass new arguments to findidx.
78         (get_next_seq_nocache): Likewise.
79         * string/strxfrm_l.c: #include WEIGHT_H at top level.
80         (STRXFRM): Don't #include it inside the function.
81         Pass new arguments to findidx.
83 2014-09-11  Florian Weimer  <fweimer@redhat.com>
85         [BZ #17344]
86         * malloc/malloc.c (unlink): Turn asserts into a call to
87         malloc_printerr.
89 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
91         [BZ #17370]
92         * libio/wfileops (do_ftell_wide): Free OUT.
94 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
96         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
98 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
100         [BZ #17363]
101         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
102         group if the current group is empty.
104 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
106         * benchtests/bench-memset.c (test_main): Add more test from size
107         from 32 to 512 bytes.
108         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
109         Add POWER8 memset object.
110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
111         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
112         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
113         implementation.
114         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
115         Likewise.
116         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
117         multiarch POWER8 memset optimization.
118         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
119         POWER8 memset optimization.
121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
122         Remove bzero multiarch objects.
123         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
124         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
125         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
126         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
127         Remove define.
128         [__bzero]: Redefine to specific name.
129         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
130         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
131         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
132         define.
133         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
134         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
136 2014-09-10  Florian Weimer  <fweimer@redhat.com>
138         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
139         warnings into errors.
141         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
142         __cxa_thread_atexit_impl prototype.
144 2014-09-09  Steve Ellcey  <sellcey@mips.com>
146         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
147         Fix capitalization of error message.
149 2014-09-09  Steve Ellcey  <sellcey@mips.com>
151         * sysdeps/mips/preconfigure: Modify ABI tests.
153 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
155         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
157 2014-09-07  Roland McGrath  <roland@hack.frob.com>
158             Carlos O'Donell  <carlos@systemhalted.org>
160         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
161         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
162         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
163         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
164         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
165         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
166         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
167         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
168         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
169         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
170         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
171         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
173         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
174         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
175         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
177         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
179         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
181         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
182         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
183         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
184         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
185         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
186         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
187         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
188         Deconditionalize the code that was previously under [RESET_PID].
189         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
190         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
191         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
192         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
193         include sysdep.h.
195 2014-09-08  Allan McRae  <allan@archlinux.org>
197         * version.h (RELEASE): Set to "development".
198         (VERSION): Set to "2.20.90"
200 2014-09-07  Allan McRae  <allan@archlinux.org
202         * version.h (RELEASE): Set to "stable".
203         (VERSION): Set to "2.20"
204         * include/features.h (__GLIBC_MINOR__): Set to 20.
206         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
207         Liebler.
209         * po/ko.po: Update Korean translation from translation project.
211 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
213         [BZ #17354]
214         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
215         macro for handling signed relocations.
217 2014-09-03  Florian Weimer  <fweimer@redhat.com>
219         [BZ #17325]
220         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
221         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
222         assert.
223         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
224         * iconvdata/ibm935.c (BODY): Likewise.
225         * iconvdata/ibm937.c (BODY): Likewise.
226         * iconvdata/ibm939.c (BODY): Likewise.
227         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
228         assert.
229         * iconvdata/Makefile (iconv-test.out): Pass module list to test
230         script.
231         * iconvdata/run-iconv-test.sh: New test loop for checking for
232         decoder crashers.
234 2014-09-02  Khem Raj  <raj.khem@gmail.com>
236         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
237         libm_hidden_ver.
239 2014-09-01  Allan McRae  <allan@archlinux.org>
241         * po/eo.po: Update Esperanto translation from translation project.
243         * po/ca.po: Update Catalan translation from translation project.
245 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
247         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
248         __proc_dostop call.
250 2014-08-27  Mark Wielaard  <mjw@redhat.com>
252         [BZ #17319]
253         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
254         to call set_thread_area instead of hand written asm.
255         (__NR_set_thread_area): Removed define.
256         (TLS_FLAG_WRITABLE): Likewise.
257         (__ASSUME_SET_THREAD_AREA): Remove check.
258         (TLS_EBX_ARG): Remove define.
259         (TLS_LOAD_EBX): Likewise.
261 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
263         Simplify atomicity of socket creation in bind.
265         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
266         looking up the name after linking the file.
268 2014-08-27  Allan McRae  <allan@archlinux.org>
270         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
272 2014-08-26  Florian Weimer  <fweimer@redhat.com>
274         [BZ #17187]
275         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
276         trans_compare, open_translit, __gconv_translit_find):
277         Remove module loading code.
279 2014-08-26  Allan McRae  <allan@archlinux.org>
281         * po/vi.po: Update Vietnamese translation from translation project.
283         * po/uk.po: Update Ukrainian translation from translation project.
285         * po/fr.po: Update French translation from translation project.
287         * po/ru.po: Update Russian translation from translation project.
289         * po/pl.po: Update Polish translation from translation project.
291         * po/cs.po: Update Czech translation from translation project.
293         * po/de.po: Update German translation from translation project.
295         * po/bg.po: Update Bulgarian translation from translation project.
297         * po/sv.po: Update Sweedish translation from translation project.
299         * po/nl.po: Update Dutch translation from translation project.
301         * po/es.po: Update Spanish translation from translation project.
303 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
305         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
307         * catgets/Makefile (CPPFLAGS-gencat): Remove.
308         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
309         (CPPFLAGS-iconvconfig): Likewise.
310         * timezone/Makefile (CPPFLAGS-zic): Likewise.
312         * include/libc-symbols.h: Remove unnecessary check for
313         NOT_IN_libc.
314         * nptl/pthreadP.h: Likewise.
315         * sysdeps/aarch64/setjmp.S: Likewise.
316         * sysdeps/alpha/setjmp.S: Likewise.
317         * sysdeps/arm/sysdep.h: Likewise.
318         * sysdeps/i386/setjmp.S: Likewise.
319         * sysdeps/m68k/setjmp.c: Likewise.
320         * sysdeps/posix/getcwd.c: Likewise.
321         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
322         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
323         * sysdeps/s390/s390-32/setjmp.S: Likewise.
324         * sysdeps/s390/s390-64/setjmp.S: Likewise.
325         * sysdeps/sh/sh3/setjmp.S: Likewise.
326         * sysdeps/sh/sh4/setjmp.S: Likewise.
327         * sysdeps/unix/alpha/sysdep.h: Likewise.
328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
329         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
330         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
331         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
334         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
336         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
338         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
339         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
341         * sysdeps/x86_64/setjmp.S: Likewise.
343 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
345         [BZ #17263]
346         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
347         <stdint.h>.
348         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
349         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
351 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
353         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
355         [BZ #17262]
356         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
357         and __x86_64__ when disabling x87 inline functions.
359 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
361         [BZ #17259]
362         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
363         asm statement with __cpuid_count.
365 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
367         * configure.ac: Change __ehdr_start code to dereference the struct.
368         Run readelf on the output to look for relocations.
369         * configure: Regenerated.
371 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
373         [BZ #17261]
374         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
375         value to 0.
376         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
378 2014-08-12  Roland McGrath  <roland@hack.frob.com>
380         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
382 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
384         [BZ #16892]
385         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
386         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
388 2014-08-12  Sean Anderson  <seanga2@gmail.com>
390         * malloc/malloc.c: Fix typo in comment.
392 2014-08-09  Allan McRae  <allan@archlinux.org>
394         * Regenerate libc.po.
396 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
398         * intl/tst-gettext2.sh: Check every lang file for creation.
400 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
402         * sysdeps/aarch64/fpu/math_private.h
403         (libc_feholdsetround_noex_aarch64_ctx): New function.
405 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
407         * sysdeps/arm/armv6/strcpy.S (strcpy):
408         Fix performance issue in misaligned cases.
410 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
412         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
413         Move definition from termios.h.
414         (struct termio): Likewise.
415         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
416         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
417         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
418         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
419         Likewise.
420         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
421         Move definition to ioctl-types.h
422         (struct termio): Likewise.
423         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
424         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
425         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
426         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
427         Likewise.
429 2014-08-05  Richard Henderson  <rth@redhat.com>
431         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
432         exceptions.
433         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
434         Add fraiseexcpt.
435         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
436         Use __feraiseexcept.
437         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
438         Protect libm symbols with IS_IN_libm.
440         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
442 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
444         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
446 2014-08-04  Will Newton  <will.newton@linaro.org>
448         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
449         file.
451 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
453         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
454         variants for each function.
456 2014-08-04  Roland McGrath  <roland@hack.frob.com>
458         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
459         appended ...
460         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
461         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
462         appended ...
463         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
464         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
465         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
466         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
467         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
468         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
469         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
470         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
471         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
472         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
473         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
474         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
475         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
476         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
477         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
478         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
480         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
481         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
482         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
483         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
484         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
486         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
487         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
488         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
489         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
490         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
491         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
492         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
493         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
494         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
495         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
496         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
497         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
498         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
499         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
500         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
501         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
502         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
503         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
504         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
505         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
506         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
507         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
508         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
509         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
510         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
511         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
512         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
513         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
514         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
515         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
516         Update #include.
517         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
518         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
520 2014-08-04  Roland McGrath  <roland@hack.frob.com>
522         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
523         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
524         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
525         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
526         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
527         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
529 2014-08-04  Roland McGrath  <roland@hack.frob.com>
531         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
532         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
533         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
534         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
536 2014-08-04  Roland McGrath  <roland@hack.frob.com>
538         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
539         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
540         (__libc_vfork): Define function under this name.
541         (__vfork): Define as an alias.
542         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
543         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
545 2014-08-04  Roland McGrath  <roland@hack.frob.com>
547         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
548         that was previously under [RESET_PID].
549         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
551 2014-08-04  Andreas Schwab  <schwab@suse.de>
553         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
555 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
557         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
558         (main): Likewise.
560 2014-08-01  Roland McGrath  <roland@hack.frob.com>
562         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
564 2014-08-01  Richard Henderon  <rth@redhat.com>
566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
567         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
568         typo in exact zero test.
569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
570         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
571         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
573 2014-08-01  Roland McGrath  <roland@hack.frob.com>
575         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
576         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
577         * sysdeps/arm/sysdep.h: ... here.
578         [!__ASSEMBLER__]: Include <stdint.h>.
580 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
582         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
583         (HAVE_WCTYPE_H): Likewise.
584         (HAVE_ISWCTYPE): Likewise.
585         (ENABLE_NLS): Likewise.
586         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
587         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
589         * posix/regex_internal.c: Check if DEBUG is defined and is
590         set.
592         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
593         (HAVE_MBSRTOWCS): Likewise.
594         * posix/fnmatch.c: Include string.h unconditionally.
596 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
598         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
599         reversal.
601 2014-07-31  Roland McGrath  <roland@hack.frob.com>
603         * sysdeps/generic/safe-fatal.h: New file.
604         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
605         * nptl/forward.c: Include it.
606         (__pthread_unwind): Use __safe_fatal as default action, rather
607         than a bogus use of INTERNAL_SYSCALL that could never work.
609         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
610         * configure.ac (libc_cv_builtin_trap): New test.
611         * configure: Regenerated.
612         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
613         (ABORT_INSTRUCTION): Define using __builtin_trap.
615         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
616         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
617         * sysdeps/nptl/nptl-signals.h: New file.
618         * nptl/pthreadP.h: Include <nptl-signals.h>.
620 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
622         * sysdeps/s390/s390-64/utf16-utf32-z9.c
623         (ONE_DIRECTION): Define.
624         * sysdeps/s390/s390-64/utf8-utf16-z9.c
625         (ONE_DIRECTION): Define.
626         * sysdeps/s390/s390-64/utf8-utf32-z9.c
627         (ONE_DIRECTION): Define.
629 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
631         * sysdeps/s390/Makefile: Delete file.
632         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
633         * sysdeps/s390/__longjmp.c: Delete file.
634         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
635         Remove fields __flags and __reserved.
636         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
637         and add versioning.
638         * sysdeps/s390/rtld-__longjmp.c: Delete file.
639         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
640         * sysdeps/s390/rtld-setjmp.S: Likewise.
641         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
642         * sysdeps/s390/s390-32/__longjmp.c: ... here.
643         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
644         * sysdeps/s390/s390-32/setjmp.S: ... here.
645         Add versioning.
646         (__sigsetjmp): Remove setting __flags field.
647         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
648         * sysdeps/s390/s390-64/__longjmp.c: ... here.
649         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
650         * sysdeps/s390/s390-64/setjmp.S: ... here.
651         Add versioning.
652         (__sigsetjmp): Remove setting __flags field.
653         * sysdeps/s390/setjmp.S: Delete file.
654         * sysdeps/s390/sigjmp.c: Likewise.
655         * sysdeps/s390/v1-longjmp.c: Likewise.
656         * sysdeps/s390/v1-setjmp.h: Likewise.
657         * sysdeps/s390/v1-sigjmp.c: Likewise.
658         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
659         Remove v1-longjmp_chk.
660         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
661         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
662         Include debug/longjmp_chk.c and add versioning.
663         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
664         Include nptl/pt-longjmp.c and add versioning.
665         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
666         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
667         Include __longjmp.c.
668         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
669         Move to ...
670         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
671         (__getcontext): Remove setting __flags field.
672         Add versioning.
673         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
674         Don't restore upper high grps.
675         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
676         Likewise.
677         (__swapcontext): Remove setting uc_flags field.
678         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
679         Delete file.
680         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
681         Include __longjmp.c.
682         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
683         Move to ...
684         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
685         (__getcontext): Remove setting __flags field.
686         Add versioning.
687         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
688         (__swapcontext): Remove setting uc_flags field.
689         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
690         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
691         Remove fields uc_high_gprs and __reserved.
692         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
693         New file with reverted content.
694         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
695         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
696         Regenerated.
697         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
698         Regenerated.
700 2014-07-31  Andreas Schwab  <schwab@suse.de>
702         * config.h.in (HAVE_IFUNC): Define to 0.
703         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
704         definedness.
706 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
709         memmove-avx-unaligned, memcpy-avx-unaligned and
710         mempcpy-avx-unaligned.
711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
712         Add tests for AVX memcpy functions.
713         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
714         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
715         memcpy_chk.
716         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
717         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
718         memmove_chk.
719         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
720         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
721         mempcpy_chk.
722         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
723         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
724         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
726 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
728         [BZ #17213]
729         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
730         powerpc64le.
732 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
734         [BZ #16839]
735         * manual/llio.texi: Add section about open file description locks.
736         * manual/examples/ofdlocks.c: Example of open file description
737         lock usage.
738         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
739         F_OFD_SETLK, and F_OFD_SETLKW.
741 2014-07-23  Allan McRae  <allan@archlinux.org>
743         * po/es.po: Update Spanish translation from translation project.
745 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
747         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
749 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
751         [BZ #17078]
752         * sysdeps/arm/dl-machine.h (elf_machine_rela)
753         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
754         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
756 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
758         [BZ #17088]
759         * math/fesetenv.c (__fesetenv)
760         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
761         * math/feupdateenv.c (__feupdateenv)
762         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
764         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
765         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
766         (__ASSUME_SOCKETCALL): Do not define.
768         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
769         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
770         (__ASSUME_SOCKETCALL): Do not define.
771         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
772         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
773         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
774         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
776         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
777         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
778         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
780         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
781         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
782         (__ASSUME_SOCKETCALL): Do not define.
783         (__ASSUME_IPC64): Define unconditionally.
784         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
785         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
786         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
787         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
788         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
789         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
790         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
791         Likewise.
793         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
794         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
795         (__ASSUME_SOCKETCALL): Do not define.
796         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
797         (__ASSUME_FUTEX_LOCK_PI): Likewise.
798         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
799         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
800         (__ASSUME_REQUEUE_PI): Define unconditionally.
801         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
802         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
803         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
804         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
805         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
806         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
808         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
809         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
810         (__ASSUME_SOCKETCALL): Do not define.
811         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
812         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
813         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
814         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
816         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
818         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
819         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
820         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
821         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
822         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
823         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
824         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
825         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
826         (__ASSUME_GETCPU_SYSCALL): Likewise.
828         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
829         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
830         cases for individual architectures.
831         * sysdeps/gnu/configure: Regenerated.
832         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
833         LIBC_SLIBDIR_RTLDDIR.
834         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
835         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
836         LIBC_SLIBDIR_RTLDDIR.
837         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
839         LIBC_SLIBDIR_RTLDDIR.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
841         Regenerated.
842         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
843         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
844         file.
845         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
846         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
847         file.
848         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
849         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
850         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
851         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
853         * sysdeps/aarch64/shlib-versions: Move to ...
854         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
855         * sysdeps/alpha/shlib-versions: Move to ...
856         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
857         * sysdeps/arm/shlib-versions: Move to ...
858         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
859         * sysdeps/hppa/shlib-versions: Move all contents except for
860         libgcc_s entry to ...
861         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
862         entry from ...
863         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
864         * sysdeps/ia64/shlib-versions: Move to ...
865         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
866         entry from ...
867         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
868         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
869         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
870         * sysdeps/microblaze/shlib-versions: Move to ...
871         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
872         * sysdeps/mips/shlib-versions: Move to ...
873         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
874         entry from ...
875         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
876         * sysdeps/tile/shlib-versions: Move to ...
877         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
878         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
879         from ...
880         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
881         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
882         entry from ...
883         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
885 2014-07-17  Will Newton  <will.newton@linaro.org>
887         * sysdeps/arm/bits/atomic.h
888         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
889         (__arch_compare_and_exchange_bool_16_int): Likewise.
890         (__arch_compare_and_exchange_bool_64_int): Likewise.
892         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
893         into an #else block.
895 2014-07-16  Roland McGrath  <roland@hack.frob.com>
897         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
898         just Linux configurations.  Test empirically that the compiler sets
899         __ARM_EABI__, rather than using the tuple to decide.
900         * sysdeps/arm/preconfigure: Regenerated.
901         * sysdeps/unix/sysv/linux/arm/configure: File removed.
902         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
903         contents appended ...
904         * sysdeps/arm/configure.ac: ... here.
905         * sysdeps/arm/configure: Regenerated.
907 2014-07-15  Roland McGrath  <roland@hack.frob.com>
909         * nptl/pthread_kill.c: New file.
910         * nptl/pthread_sigmask.c: New file.
911         * nptl/pthread_sigqueue.c: New file.
913         * sysdeps/nptl/lowlevellock.h: New file.
914         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
915         * sysdeps/nptl/lowlevellock-futex.h: New file.
917         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
918         Remove dead declarations.
920 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
922         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
923         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
924         config-cflags-avx2.
925         * sysdeps/x86_64/configure.ac: Likewise.
926         * sysdeps/i386/configure: Regenerated.
927         * sysdeps/x86_64/configure: Likewise.
928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
929         memset-avx2 only if config-cflags-avx2 is yes.
930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
931         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
932         defined.
933         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
934         only if HAVE_AVX2_SUPPORT is defined.
935         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
937 2014-07-14  Alan Modra  <amodra@gmail.com>
939         [BZ #17153]
940         * elf/elf.h (DT_PPC64_NUM): Correct value.
941         * NEWS: Add to fixed bug list.
943 2014-07-13  Jim Meyering  <meyering@fb.com>
945         [BZ 17150]
946         regex: don't deref NULL upon heap allocation failure
947         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
948         failure in one more place.
949         To trigger the segfault, configure grep -with-included-regex,
950         build it, and run these commands:
951         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
953 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
955         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
957 2014-07-11  Richard Henderson  <rth@redhat.com>
959         * sysdeps/aarch64/libm-test-ulps: Update.
961 2014-07-10  Florian Weimer  <fweimer@redhat.com>
963         [BZ #17135]
964         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
965         * nptl/allocatestack.c (__nptl_setxid_error): New function.
966         (__nptl_setxid): Initialize error member.  Call
967         __nptl_setxid_error.
968         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
969         * nptl/descr.h (struct xid_command): Add error member.
970         * nptl/tst-setuid3.c: New file.
971         * nptl/Makefile (tests): Add it.
973 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
976         New define.
977         (__lll_trylock): Use __lll_base_trylock.
978         (__lll_cond_trylock): Likewise.
980 2014-07-10  Roland McGrath  <roland@hack.frob.com>
982         * nptl/pthread_create.c (start_thread): Use atomic_or and
983         lll_futex_wake directly rather than lll_robust_dead.
984         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
985         (lll_robust_dead): Macro removed.
986         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
987         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
988         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
989         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
990         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
991         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
992         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
993         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
994         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
996         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
997         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
998         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
999         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1002         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1003         Use atomic_compare_and_exchange_val_acq directly rather than
1004         lll_robust_trylock.
1005         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1006         (__lll_robust_trylock, lll_robust_trylock): Removed.
1007         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1008         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1009         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1010         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1011         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1012         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1013         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1014         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1015         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1016         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1017         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1018         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1019         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1022 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1024         * manual/locale.texi (Locale Names): New section documenting
1025         locale name syntax.  Adjust menu and node chaining accordingly.
1026         (Choosing Locale): Reference Locale Names, Locale Categories.
1027         Mention setting LC_ALL=C.  Reflect that name syntax is now
1028         documented.
1029         (Locale Categories): New section title.  Reference Locale Names.
1030         LC_ALL is an environment variable, but not a category.
1031         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1032         description, now in Locale Name.  Reference that section.  Locale
1033         name syntax is now documented.
1035 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1037         [BZ #17137]
1038         * locale/findlocale.c (name_present, valid_locale_name): New
1039         functions.
1040         (_nl_find_locale): Use the loc_name variable to store name
1041         candidates.  Call name_present and valid_locale_name to check and
1042         validate locale names.  Return an error if the locale is invalid.
1044 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1046         * locale/setlocale.c (setlocale): Use strdup for allocating
1047         composite name copy.
1049 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1051         Sync up with gnulib.
1052         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1053         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1054         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1055         and _GL_ARG_NONNULL.
1056         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1057         [!_LIBC]: Include code for Windows and Cygwin.
1058         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1059         Include prototype for int strerror_r.
1060         [!_LIBC] (is_open): New function.
1061         (flush_stdout): New function.
1062         (print_errno_message): Use it.
1063         (error): Likewise.
1064         (error_at_line): Likewise.
1065         (error_tail) Add function attribute macros.  Use
1066         __builtin_expect.
1068         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1070         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1072         * io/ftw.c: Include sys/param.h unconditionally.
1074         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1076         [BZ #17125]
1077         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1078         libc_freeres_ptr.
1079         (freecache): New function to free CACHE on exit.
1081         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1082         initialization.
1084 2014-07-09  David S. Miller  <davem@davemloft.net>
1086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1088         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1089         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1090         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1091         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1092         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1093         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1094         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1095         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1096         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1097         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1098         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1099         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1100         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1102 2014-07-09  Andreas Schwab  <schwab@suse.de>
1104         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1105         output.
1106         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1107         (do_test): Likewise.
1109         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1111 2014-07-09  Will Newton  <will.newton@linaro.org>
1113         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1114         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1115         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1116         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1117         * sysdeps/hppa/start.S (_start): Likewise.
1119 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1121         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1123         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1124         defined.
1126 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1128         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1129         after checking that it is non-NULL.
1131         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1133 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1135         * sysdeps/powerpc/memmove.c: Remove file.
1136         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1137         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1138         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1139         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1140         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1141         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1142         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1143         string memmove instead of removed powerpc one.
1145         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1146         [weak_alias]: Fix compiler warning due trailing data.
1147         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1148         [weak_alias]: Likewise.
1149         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1150         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1153         (__libc_ifunc_impl_list): Add memmove functions.
1155 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1157         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1158         Remove code.
1159         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1160         Likewise
1161         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1162         Likewise
1163         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1164         Likewise
1165         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1166         Likewise
1167         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1168         Likewise
1169         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1170         Likewise
1171         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1172         Likewise
1173         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1174         Likewise
1175         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1176         Likewise
1177         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1178         Likewise
1179         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1180         Likewise
1181         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1182         Likewise
1183         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1184         Likewise
1185         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1186         Likewise
1187         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1188         Likewise
1189         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1190         Likewise
1192 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1194         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1195         to avoid alignment traps in non-cacheable memory.
1196         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1199         multiarch objects.
1200         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1201         file: multiarch power7 memmove.
1202         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1203         multiarch default memmove.
1204         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1205         multiarch memove for powerpc32/power4.
1207         * string/bcopy.c: Use full path to include memmove.c.
1208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1209         multiarch objects.
1210         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1211         bcopy for powerpc64.
1212         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1213         bcopy for powerpc64.
1214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1215         and memmove implementations.
1216         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1217         optimized multiarch memmove for POWER7/powerpc64.
1218         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1219         default multiarch memmove for powerpc64.
1220         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1221         multiarch for powerpc64.
1222         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1223         for POWER7/powerpc64.
1224         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1225         memmove for POWER7/powerpc64.
1227         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1228         glibc default one.
1230         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1231         __ELF_NATIVE_CLASS equal to 64.
1233 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1235         * sysdeps/nptl/lowlevellock.h: File removed.
1237         * NEWS: NPTL is no longer an add-on!
1238         * nptl/internaltypes.h: Moved ...
1239         * sysdeps/nptl/internaltypes.h: ... here.
1240         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1241         * sysdeps/nptl/fork.c: Likewise.
1242         * sysdeps/nptl/gai_misc.h: Likewise.
1243         * sysdeps/nptl/librt-cancellation.c: Likewise.
1244         * sysdeps/nptl/jmp-unwind.c: Likewise.
1245         * sysdeps/nptl/setxid.h: Likewise.
1246         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1247         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1248         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1249         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1250         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1251         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1252         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1253         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1254         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1255         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1256         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1257         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1258         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1259         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1260         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1261         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1262         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1263         * nptl/Makeconfig: Moved ...
1264         * sysdeps/nptl/Makeconfig: ... here.
1265         * nptl/configure: File removed.
1266         * nptl/ANNOUNCE: File removed.
1267         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1268         * sysdeps/unix/sysv/linux/configure: Regenerated.
1270         * nptl/Makefile (routines): Add libc_pthread_init,
1271         libc_multiple_threads, register-atfork and unregister-atfork.
1272         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1273         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1274         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1275         pthread-pi-defines.sym, structsem.sym.
1276         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1277         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1278         [$(subdir) = nptl] (tests): Add tst-setgetname.
1279         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1280         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1281         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1282         [!LIBC_SIGACTION]: Remove aliases.
1283         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1284         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1285         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1286         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1287         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1288         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1289         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1290         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1291         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1292         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1293         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1294         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1295         __libc_allocate_rtsig_private.
1296         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1297         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1298         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1299         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1300         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1301         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1302         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1303         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1304         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1305         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1306         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1307         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1308         * nptl/internaltypes.h: ... here.
1309         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1310         * sysdeps/nptl/jmp-unwind.c: ... here.
1311         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1312         * nptl/libc-lowlevellock.c: ... here.
1313         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1314         * nptl/libc_multiple_threads.c: ... here.
1315         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1316         * nptl/libc_pthread_init.c: ... here.
1317         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1318         * nptl/lowlevelbarrier.sym: ... here.
1319         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1320         * nptl/lowlevelcond.sym: ... here.
1321         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1322         * nptl/lowlevellock.c: ... here.
1323         * nptl/lowlevellock.h: Moved ...
1324         * sysdeps/nptl/lowlevellock.h: ... here.
1325         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1326         * nptl/lowlevelrobustlock.c: ... here.
1327         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1328         * nptl/lowlevelrobustlock.sym: ... here.
1329         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1330         * nptl/lowlevelrwlock.sym: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1332         * nptl/pt-fork.c: ... here.
1333         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1334         * nptl/pthread-pi-defines.sym: ... here.
1335         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1336         * nptl/pthread_attr_getaffinity.c: ... here.
1337         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1338         * nptl/pthread_attr_setaffinity.c: ... here.
1339         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1340         * nptl/pthread_mutex_cond_lock.c: ... here.
1341         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1342         Update #include.
1343         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1344         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1345         * nptl/pthread_once.c: ... here, replacing old file.
1346         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1347         * nptl/pthread_yield.c: ... here.
1348         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1349         * nptl/register-atfork.c: ... here.
1350         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1351         * nptl/sem_post.c: ... here.
1352         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1353         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1354         * nptl/sem_timedwait.c: ... here.
1355         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1356         * nptl/sem_trywait.c: ... here.
1357         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1358         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1359         * nptl/sem_wait.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1361         * nptl/structsem.sym: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1363         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1364         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1365         * nptl/unregister-atfork.c: ... here.
1366         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1367         * nptl/unwindbuf.sym: ... here.
1368         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1369         * sysdeps/nptl/fork.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1371         * sysdeps/nptl/fork.h: ... here.
1372         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1373         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1374         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1375         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1376         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1377         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1378         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1379         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1380         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1382         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1383         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1384         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1385         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1386         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1387         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1388         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1390         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1391         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1392         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1394         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1396         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1398         * sysdeps/unix/sysv/linux/raise.c: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1400         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1402         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1404         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1406         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1408         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1410         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1412         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1413         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1415 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1417         * sysdeps/generic/memcopy.h: Add comment for
1418         MEMCPY_OK_FOR_FWD_MEMMOVE.
1420 2014-07-04  Will Newton  <will.newton@linaro.org>
1422         * string/memchr.c: Merge from gnulib.
1423         [_LIBC]: Remove conditionals.
1424         (__ptr_t): Remove define.
1425         (LONG_MAX_32_BITS): Likewise.
1426         (LONG_MAX): Likewise.
1427         (MEMCHR): Use ANSI prototype and optimize algorithm.
1429         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1431 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1433         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1434         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1436         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1437         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1438         in a bare environment with no <stdlib.h> installed.
1439         * sysdeps/nptl/configure: Regenerated.
1441         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1443         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1444         AC_EGREP_CPP for kernel header checks, so they only succeed if
1445         including <linux/version.h> actually works right.
1446         * sysdeps/unix/sysv/linux/configure: Regenerated.
1448         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1449         value so it's not diagnosed as unused.
1451         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1452         thing) with "ifeq ($(subdir),rt)".
1454 2014-07-03  Richard Henderson  <rth@redhat.com>
1456         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1457         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1458         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1460         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1461         (math_force_eval): New.
1463         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1464         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1466         * sysdeps/alpha/fpu/s_round.c: Remove file.
1467         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1469         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1470         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1471         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1472         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1473         (_dl_start, print_statistics): Likewise.
1474         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1475         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1477         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1478         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1479         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1480         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1482         (HP_SMALL_TIMING_AVAIL): Define.
1483         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1484         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1485         (HP_SMALL_TIMING_AVAIL): Define.
1486         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1487         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1489         * sysdeps/aarch64/hp-timing.h: New file.
1491         * sysdeps/generic/hp-timing.h: Remove dead comment.
1492         * sysdeps/generic/hp-timing-common.h: New file.
1493         * sysdeps/alpha/hp-timing.h: Include it.
1494         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1495         * sysdeps/i386/i686/hp-timing.h: Likewise.
1496         * sysdeps/ia64/hp-timing.h: Likewise.
1497         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1498         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1499         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1500         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1501         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1502         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1503         (hp_timing_t): New.
1505         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1506         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1507         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1508         * elf/rtld.c (_dl_start_final): Likewise.
1509         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1510         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1511         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1512         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1513         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1515         (HP_TIMING_DIFF_INIT): Remove.
1516         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1517         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1518         (HP_TIMING_DIFF_INIT): Remove.
1519         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1520         * sysdeps/i386/i686/hp-timing.c: Remove file.
1521         * sysdeps/x86_64/hp-timing.c: Remove file.
1522         * sysdeps/ia64/hp-timing.c: Remove file.
1523         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1524         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1525         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1526         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1528         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1529         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1530         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1531         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1532         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1533         (HP_TIMING_ACCUM): Remove.
1534         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1536         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1538         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1539         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1540         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1541         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1543         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1544         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1545         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1547         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1549 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1551         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1553 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1555         Sync up with gettext.
1556         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1557         [_MSC_VER]: Include malloc.h
1558         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1559         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1560         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1561         TEMP_FAILURE_RETRY.  Cast return of alloca.
1562         [!_LIBC] Call gl_rwlock_init.
1563         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1565 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1567         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1568         before checking its value.
1570 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1572         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1574         * debug/memcpy_chk.c: Don't include pagecopy.h.
1575         * debug/mempcpy_chk.c: Likewise.
1576         * string/memcpy.c: Likewise.
1577         * string/memmove.c: Likewise.
1578         * sysdeps/powerpc/memmove.c: Likewise.
1579         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1580         definition of PAGE_COPY_FWD_MAYBE here...
1581         * sysdeps/generic/pagecopy.h: ... from here.
1582         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1584 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1585             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1587         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1589         optimizations.
1590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1591         (__libc_ifunc_impl_list): Likewise.
1592         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1593         multiarch strcat for PPC64.
1594         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1595         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1597 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1599         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1601 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1603         * intl/loadmsgcat.c: Remove declaration of
1604         get_sysdep_segment_value.
1605         (get_sysdep_segment_value): Use ISO C style.
1606         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1607         semicolon.  Fix typo and formatting in comment.
1608         (_nl_unload_domain): Use ISO C style.
1610         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1612 2014-07-02  Will Newton  <will.newton@linaro.org>
1614         * malloc/obstack.c: Merge from gnulib master.
1615         [HAVE_CONFIG_H]: Remove conditional code.
1616         [!_LIBC]: Include config.h.
1617         [!ELIDE_CODE]: Don't include inttypes.h, include
1618         stdint.h unconditionally.
1619         (print_and_abort): Mark as _Noreturn.
1620         (_obstack_allocated_p): Mark as __attribute_pure__.
1621         (obstack_free): Rename to __obstack_free.
1622         [!__attribute__]: Remove conditional code.
1623         * malloc/obstack.h: Merge from gnulib master.
1624         [__cplusplus]: Move conditional down.
1625         [!__attribute_pure__]: Define __attribute_pure__ here
1626         if it is not already defined.
1627         (_obstack_memory_used): Mark as __attribute_pure__.
1628         [!__obstack_free]: Define as obstack_free.
1629         [__GNUC__]: Remove check for ancient NeXT gcc.
1631 2014-07-02  Will Newton  <will.newton@linaro.org>
1632             Paul Eggert  <eggert@cs.ucla.edu>
1634         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1636 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1638         * resolv/gethnamaddr.c: Add comment warning that the file is
1639         not maintained.
1641 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1643         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1644         entries.
1646         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1647         entry for aio_cancel and aio_cancel64.
1648         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1649         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1650         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1651         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1652         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1653         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1654         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1655         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1656         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1657         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1658         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1659         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1660         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1662 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1664         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1665         * nptl/pthread_mutex_lock.c: Likewise.
1666         * nptl/pthread_mutex_timedlock.c: Likewise.
1667         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1669 2014-07-01  Richard henderson  <rth@redhat.com>
1671         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1672         (__isnan, __isnanl): Remove.
1673         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1675         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1677 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1679         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1681 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1683         * resolv/nss_dns/dns-host.c (getanswer_r)
1684         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1686 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1689         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1690         undefine.
1691         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1692         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1694 2014-07-01  Roland McGrath <roland@hack.frob.com>
1696         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1697         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1699         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1700         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1702         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1703         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1704         ... here.
1705         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1706         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1708         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1709         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1710         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1711         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1713         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1714         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1715         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1716         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1718         Moved ...
1719         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1720         ... here.
1721         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1722         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1723         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1724         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1725         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1726         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1727         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1728         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1729         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1730         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1731         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1732         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1733         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1734         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1735         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1736         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1737         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1738         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1739         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1740         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1741         ... here.
1742         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1743         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1745         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1746         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1747         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1748         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1749         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1751 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1753         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1754         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1755         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1756         Add sysdep.
1758 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1762 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1764         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1765         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1767         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1769         * sysdeps/arm/libm-test-ulps: Regenerated.
1771 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1772             Roland McGrath <roland@hack.frob.com>
1774         * test-skeleton.c (signal_handler): Kill the whole process group
1775         before killing the child individually.
1776         (main): Report any failure on `setpgid'.
1778 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1780         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1781         from _TLS_H to _ARM_NPTL_TLS_H.
1782         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1783         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1785 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #16539]
1788         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1789         (__expm1l): Return argument unchanged when small but not
1790         subnormal.
1792         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1793         include macro name.
1794         (_FP_UNPACK_RAW_1_P): Likewise.
1795         (_FP_PACK_RAW_1): Likewise.
1796         (_FP_PACK_RAW_1_P): Likewise.
1797         (_FP_MUL_MEAT_1_wide): Likewise.
1798         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1799         (_FP_MUL_MEAT_1_hard): Likewise.
1800         (_FP_DIV_MEAT_1_imm): Likewise.
1801         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1802         (_FP_DIV_MEAT_1_udiv): Likewise.
1803         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1804         (_FP_UNPACK_RAW_2): Likewise.
1805         (_FP_UNPACK_RAW_2_P): Likewise.
1806         (_FP_PACK_RAW_2): Likewise.
1807         (_FP_PACK_RAW_2_P): Likewise.
1808         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1809         (_FP_MUL_MEAT_2_wide): Likewise.
1810         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1811         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1812         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1813         (_FP_MUL_MEAT_2_gmp): Likewise.
1814         (_FP_DIV_MEAT_2_udiv): Likewise.
1815         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1816         (_FP_FRAC_SRL_4): Likewise.
1817         (_FP_FRAC_SRST_4): Likewise.
1818         (_FP_FRAC_SRS_4): Likewise.
1819         (_FP_UNPACK_RAW_4): Likewise.
1820         (_FP_UNPACK_RAW_4_P): Likewise.
1821         (_FP_PACK_RAW_4): Likewise.
1822         (_FP_PACK_RAW_4_P): Likewise.
1823         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1824         (_FP_MUL_MEAT_4_wide): Likewise.
1825         (_FP_MUL_MEAT_4_gmp): Likewise.
1826         (umul_ppppmnnn): Likewise.
1827         (_FP_DIV_MEAT_4_udiv): Likewise.
1828         (__FP_FRAC_ADD_4): Likewise.
1829         (__FP_FRAC_SUB_3): Likewise.
1830         (__FP_FRAC_SUB_4): Likewise.
1831         (__FP_FRAC_DEC_3): Likewise.
1832         (__FP_FRAC_DEC_4): Likewise.
1833         (__FP_FRAC_ADDI_4): Likewise.
1834         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1835         (_FP_FRAC_SRL_8): Likewise.
1836         (_FP_FRAC_SRS_8): Likewise.
1838         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1839         include macro name.
1840         (FP_UNPACK_RAW_EP): Likewise.
1841         (FP_PACK_RAW_E): Likewise.
1842         (FP_PACK_RAW_EP): Likewise.
1843         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1844         (_FP_ISSIGNAN): Likewise.
1845         (_FP_ADD_INTERNAL): Likewise.
1846         (_FP_FMA): Likewise.
1847         (_FP_CMP): Likewise.
1848         (_FP_SQRT): Likewise.
1849         (_FP_TO_INT): Likewise.
1850         (_FP_FROM_INT): Likewise.
1851         (FP_EXTEND): Likewise.
1852         (_FP_DIV_MEAT_N_loop): Likewise.
1854 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1856         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1857         throughout.
1859 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1861         [BZ #17097]
1862         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1863         result with correct sign in case of exponents that produce
1864         overflow except for X very close to 1.
1866 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1868         mktime: merge #if/#ifdef usage from glibc
1869         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1870         as that works with both Glibc's and Gnulib's style.
1871         See thread starting at Siddhesh Poyarekar's bug report at:
1872         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1874 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1876         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1877         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1878         * sysdeps/tile/tilegx/memmove.c: Remove file.
1880 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1882         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1883         abi-name definition.
1884         * scripts/soversions.awk: Do not handle or generate ABI lines.
1885         * shlib-versions: Remove ABI entries.
1886         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1887         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1889 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1892         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1893         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1896         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1898         Moved ...
1899         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1900         ... here.
1901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1904         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1908         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1914         Moved ...
1915         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1917         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1919         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1921         Moved ...
1922         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1924         Moved ...
1925         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1929         Moved ...
1930         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1932         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1936         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1938         Moved ...
1939         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1943         Moved ...
1944         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1946         Moved ...
1947         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1949         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1951         Moved ...
1952         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1953         ... here.
1954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1955         Identical file removed.
1956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1957         Moved ...
1958         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1960         Identical file removed.
1961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1964         Moved ...
1965         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1967         Identical file removed.
1968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1969         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1970         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1971         Identical file removed.
1972         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1973         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1975         Identical file removed.
1976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1977         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1978         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1979         Identical file removed.
1980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1981         Moved ...
1982         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1983         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1984         Identical file removed.
1985         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1986         Moved ...
1987         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1989         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1991         Identical file removed.
1992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1993         Moved ...
1994         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1995         ... here.
1996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1997         Identical file removed.
1998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1999         Moved ...
2000         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2002         Identical file removed.
2003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2004         Moved ...
2005         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2006         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2011         Moved ...
2012         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2013         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2014         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2016         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2017         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2018         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2019         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2020         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2022 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2024         [BZ #17092]
2025         * nscd/nscd.c (monitor_child): Return exit status of child
2026         instead of return value from wait syscall.
2028 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2030         * configure.ac (libc_commonpagesize): Remove variable.
2031         (libc_relro_required): Likewise.
2032         (libc_cv_z_relro): Remove configure test.
2033         * configure: Regenerated.
2034         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2035         variable.
2036         (libc_relro_required): Likewise.
2037         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2038         (libc_relro_required): Likewise.
2039         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2040         (libc_relro_required): Likewise.
2041         * sysdeps/arm/preconfigure: Regenerated.
2042         * sysdeps/ia64/preconfigure: Remove file.
2043         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2044         variable.
2045         (libc_relro_required): Likewise.
2047         [BZ #16561]
2048         [BZ #16562]
2049         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2050         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2051         recompute overflowing results in original rounding mode.
2052         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2053         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2054         recompute overflowing results in original rounding mode.
2055         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2056         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2057         recompute overflowing results in original rounding mode.
2058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2059         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2060         recompute overflowing results in original rounding mode.
2061         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2062         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2063         recompute overflowing results in original rounding mode.
2064         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2065         (libc_feholdsetround_ctx): New macro.
2066         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2067         * sysdeps/i386/fpu/libm-test-ulps: Update.
2068         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2070 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2072         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2073         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2074         corresponding .cpsetup call.
2076 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2078         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2079         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2080         * sysdeps/arm/Makefile [$(subdir) = csu]
2081         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2082         (static-only-routines): Add aeabi_read_tp here.
2083         (shared-only-routines): Add libc-aeabi_read_tp here.
2084         (CFLAGS-libc-start.c): Add -fexceptions here.
2085         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2086         (sysdep_routines, static-only-routines, shared-only-routines):
2087         Don't add to these here.
2088         (CFLAGS-libc-start.c): Likewise.
2090         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2091         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2092         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2093         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2094         * sysdeps/arm/Makefile [$(subdir) = rt]
2095         (librt-sysdep_routines, librt-shared-only-routines):
2096         Append rt-aeabi_unwind_cpp_pr1 here.
2097         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2098         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2099         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2100         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2101         Append nptl-aeabi_unwind_cpp_pr1 here.
2102         (tests): Filter out tst-cleanupx4 here.
2103         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2104         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2105         Don't do those here.
2107 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2109         * scripts/list-sources.sh: Do not handle ports specially.
2111 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2113         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2114         * sysdeps/arm/feupdateenv.c: Likewise.
2116         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2118 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2120         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2121         trailing whitespace removed.
2122         * scripts/config.guess: Update to version 2014-03-23.
2123         * scripts/config.sub: Update to version 2014-05-01
2124         * scripts/install-sh: Update to version 2013-12-25.23.
2125         * scripts/move-if-change: Update from gnulib.
2127 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2129         * debug/memmove_chk.c: Remove pagecopy.h include.
2131 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2133         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2134         identical to gnulib mktime.
2136 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2138         * configure.ac: Do not test for machine being rs6000.  Do not test
2139         for powerpc*-*soft.
2140         * configure: Regenerated.
2142         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2143         test.
2144         * configure: Regenerated.
2145         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2146         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2147         Remove configure test.
2148         * sysdeps/arm/configure: Regenerated.
2149         * sysdeps/nptl/configure.ac: Do not check
2150         libc_cv_asm_cfi_directives.
2151         * sysdeps/nptl/configure: Regenerated.
2152         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2153         * sysdeps/x86_64/nptl/configure: Remove generated file.
2154         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2155         unconditional.
2156         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2158 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2160         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2161         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2162         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2163         it is defined.
2165         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2166         instead of whether it is defined.
2167         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2168         * sysdeps/hppa/dl-machine.h: Likewise.
2169         * sysdeps/ia64/dl-machine.h: Likewise.
2170         * sysdeps/m68k/dl-machine.h: Likewise.
2171         * sysdeps/microblaze/dl-machine.h: Likewise.
2172         * sysdeps/mips/dl-machine.: Likewise.
2173         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2174         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2175         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2176         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2177         * sysdeps/sh/dl-machine.h: Likewise.
2178         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2179         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2180         * sysdeps/tile/dl-machine.h: Likewise.
2181         * sysdeps/x86_64/dl-machine.h: Likewise.
2183         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2184         code.
2185         (verify_persistent_db): Likewise.
2187 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2190         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2192         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2194         Moved ...
2195         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2196         ... here.
2197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2198         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2200         Identical file removed.
2201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2202         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2204         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2206         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2208         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2210         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2212         Moved ...
2213         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2215         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2217         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2219         Moved ...
2220         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2222         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2224         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2226         Identical file removed.
2227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2228         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2230         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2232         Moved ...
2233         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2234         ... here.
2235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2236         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2238         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2240         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2242         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2244         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2246         Moved ...
2247         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2249         Moved ...
2250         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2252         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2254         Moved ...
2255         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2257         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2259         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2260         folded into ...
2261         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2262         * sysdeps/unix/sysv/linux/s390/Versions
2263         (libpthread: GLIBC_2.19): New version set.
2264         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2265         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2266         (librt: GLIBC_2.3.3): New version set.
2267         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2268         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2269         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2270         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2271         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2272         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2273         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2274         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2275         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2276         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2277         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2278         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2279         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2281         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2283         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2284         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2285         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2287         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2288         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2289         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2290         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2291         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2292         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2293         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2294         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2295         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2296         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2297         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2298         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2303         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2305         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2307         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2309         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2311         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2313         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2314         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2315         (__libc_vfork): Define the function under this name.
2316         [!NOT_IN_libc] (__vfork): Make this an alias.
2317         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2319         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2320         (__libc_vfork): Define the function under this name.
2321         [!NOT_IN_libc] (__vfork): Make this an alias.
2322         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2323         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2326         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2327         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2329         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2330         code that was previously under [RESET_PID].
2331         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2332         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2335         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2336         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2337         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2338         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2339         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2340         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2341         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2342         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2343         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2346         Moved ...
2347         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2349         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2351         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2353         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2354         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2355         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2356         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2365         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2371         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2372         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2373         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2375         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2377 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2379         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2380         that was previously under [RESET_PID].
2381         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2383 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2385         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2386         not undefine and redefine.
2387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2388         [O_CLOEXEC]: Make code unconditional.
2389         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2390         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2391         <kernel-features.h>.
2392         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2393         conditional variable definition.
2394         (shm_open) [O_CLOEXEC]: Make code unconditional.
2395         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2396         code.
2398         * configure.ac (USE_REGPARMS): Don't define here.
2399         * configure: Regenerated.
2400         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2401         * sysdeps/i386/configure: Regenerated.
2403         * nptl/createthread.c: Don't include kernel-features.h.
2404         * nptl/pthread_cancel.c: Likewise.
2405         * nptl/pthread_condattr_setclock.c: Likewise.
2406         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2407         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2408         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2409         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2410         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2411         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2415         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2416         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2417         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2418         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2419         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2420         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2421         * nscd/gai.c: Likewise.
2422         * nss/nss_db/db-open.c: Likewise.
2423         * sysdeps/generic/ldsodefs.h: Likewise.
2424         * sysdeps/sh/nptl/tls.h: Likewise.
2425         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2426         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2427         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2428         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2429         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2430         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2431         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2432         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2433         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2434         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2435         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2436         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2437         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2438         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2439         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2440         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2441         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2442         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2443         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2444         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2445         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2447         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2448         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2451         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2453         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2454         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2455         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2456         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2457         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2458         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2459         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2460         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2461         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2462         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2463         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2464         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2465         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2466         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2467         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2468         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2469         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2470         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2471         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2472         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2473         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2474         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2475         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2476         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2477         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2478         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2479         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2480         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2481         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2482         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2505         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2506         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2507         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2508         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2509         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2510         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2511         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2512         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2513         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2514         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2515         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2516         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2517         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2518         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2519         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2520         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2521         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2522         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2523         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2524         * sysdeps/unix/sysv/linux/system.c: Likewise.
2525         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2526         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2527         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2528         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2529         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2530         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2531         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2533         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2534         * configure: Regenerated.
2535         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2537         * configure.ac (base_machine): Do not set specially for particular
2538         machines here.
2539         * configure: Regenerated.
2540         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2541         settings from configure.ac.
2542         * sysdeps/i386/preconfigure: New file.
2543         * sysdeps/s390/preconfigure: Likewise.
2544         * sysdeps/sh/preconfigure: Likewise.
2545         * sysdeps/sparc/preconfigure: Likewise.
2547 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2549         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2550         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2551         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2552         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2553         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2554         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2555         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2556         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2557         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2558         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2559         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2560         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2561         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2562         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2563         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2564         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2565         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2566         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2567         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2569         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2570         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2571         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2572         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2573         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2574         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2575         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2576         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2577         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2578         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2579         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2580         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2581         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2582         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2583         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2584         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2585         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2586         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2587         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2588         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2590         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2591         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2592         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2593         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2594         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2595         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2596         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2598         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2599         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2600         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2601         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2602         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2603         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2604         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2605         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2606         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2609         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2611         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2613         Moved ...
2614         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2615         ... here.
2616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2617         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2619         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2621         Moved ...
2622         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2624         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2626         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2628         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2630         Moved ...
2631         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2633         Moved ...
2634         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2636         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2638         Moved ...
2639         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2641         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2643         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2645         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2647         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2649         Moved ...
2650         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2651         ... here.
2652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2653         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2655         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2657         Moved ...
2658         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2660         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2662         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2664         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2666         Moved ...
2667         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2669         Moved ...
2670         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2672         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2674         Moved ...
2675         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2677         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2679         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2681 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2683         * timezone/checktab.awk: Update from tzcode 2014e.
2684         * timezone/private.h: Likewise.
2685         * timezone/tzfile.h: Likewise.
2686         * timezone/zdump.c: Likewise.
2687         * timezone/zic.c: Likewise.
2689         * sysdeps/unix/sysv/linux/kernel-features.h
2690         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2692         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2693         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2694         Remove conditional code.
2696 2014-06-25  Will Newton  <will.newton@linaro.org>
2698         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2699         (_dl_arm_cap_flags): Add HWCAP2 values.
2700         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2701         (_DL_HWCAP_COUNT): Increase to 37.
2702         (_DL_HWCAP_LAST): New define.
2703         (_DL_HWCAP2_LAST): New define.
2704         (_dl_procinfo): Add support for printing
2705         AT_HWCAP2 entries.
2706         (_dl_string_hwcap): Use _dl_hwcap_string.
2708 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2712 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2714         * README: Do not mention ports directory.
2716         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2717         Remove macro.
2718         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2719         <kernel-features.h>.
2720         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2721         conditional variable definition.
2722         (__futimes): Update comment.
2723         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2724         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2726         [BZ #16560]
2727         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2728         arguments close to 0.
2729         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2730         Likewise.
2731         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2732         Likewise.
2733         * math/auto-libm-test-in: Add more tests of exp10.
2734         * math/auto-libm-test-out: Regenerated.
2735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2737         * sysdeps/unix/sysv/linux/kernel-features.h
2738         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2739         * sysdeps/unix/sysv/linux/readv.c: Do not include
2740         <kernel-features.h>.
2741         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2742         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2743         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2744         unconditional.
2745         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2746         conditional code.
2747         * sysdeps/unix/sysv/linux/writev.c: Do not include
2748         <kernel-features.h>.
2749         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2750         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2751         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2752         unconditional.
2753         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2754         conditional code.
2756 2014-06-25  Will Newton  <will.newton@linaro.org>
2758         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2759         comment changes throughout the file.  Remove checks
2760         for HAVE_*_H definitions that are not required.
2761         (__gen_tempname): Call abort if an unknown kind value is
2762         passed.
2764 2014-06-25  Andreas Schwab  <schwab@suse.de>
2766         [BZ #17086]
2767         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2768         scalbln, scalblnf, scalblnl in libc.
2770 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2772         [BZ #17086]
2773         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2774         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2775         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2777 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2779         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2780         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2781         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2782         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2783         Update #include.
2784         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2785         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2786         Update #include.
2787         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2788         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2789         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2790         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2791         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2792         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2793         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2794         * sysdeps/x86/bits/semaphore.h: ... here.
2795         * sysdeps/x86/nptl/elide.h: Moved ...
2796         * sysdeps/x86/elide.h: ... here.
2797         * sysdeps/x86_64/nptl/Implies: File removed.
2798         * sysdeps/i386/nptl/Implies: File removed.
2800 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2802         [BZ #16539]
2803         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2804         return the argument for normal arguments with exponent below -64.
2805         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2806         Likewise.
2807         * math/auto-libm-test-in: Add another test of expm1.
2808         * math/auto-libm-test-out: Regenerated.
2810         [BZ #16287]
2811         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2812         calling __erfcl for arguments at least 16.
2813         * math/auto-libm-test-in: Add more tests of erf.
2814         * math/auto-libm-test-out: Regenerated.
2816         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2817         individual architectures.
2818         * sysdeps/unix/sysv/linux/configure: Regenerated.
2819         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2820         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2821         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2822         (ldd_rewrite_script): Define variable.
2823         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2825         file.
2826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2827         generated file.
2828         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2829         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2830         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2831         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2832         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2833         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2834         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2835         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2837 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2839         [BZ #17084]
2840         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2841         Rename member __data.d to __data.__elision_data.
2843 2014-06-24  Wilco  <wdijkstr@arm.com>
2845         * NEWS: Add 16918 to fixed bug list.
2847 2014-06-24  Wilco  <wdijkstr@arm.com>
2849         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2851 2014-06-24  Wilco  <wdijkstr@arm.com>
2853         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2854         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2855         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2856         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2857         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2858         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2859         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2860         Use _FPU_MASK_RM.
2862 2014-06-24  Wilco  <wdijkstr@arm.com>
2864         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2866 2014-06-24  Wilco  <wdijkstr@arm.com>
2868         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2869         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2870         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2871         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2873 2014-06-24  Wilco  <wdijkstr@arm.com>
2875         [BZ #16918]
2876         * sysdeps/arm/feupdateenv.c (feupdateenv):
2877         Rewrite to reduce FPSCR accesses and fix return value.
2879 2014-06-24  Wilco  <wdijkstr@arm.com>
2881         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2882         Optimize to avoid unnecessary FPSCR writes.
2883         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2884         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2885         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2886         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2888 2014-06-24  Wilco  <wdijkstr@arm.com>
2890         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2891         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2892         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2893         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2894         Call libc_fetestexcept_vfp.
2895         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2896         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2897         __SOFTFP__ ifdef so that they can be built for softfp.
2899 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2901         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2902         argument type signed char.
2904         * Makerules (check-abi): Dump diff of symlist if the test
2905         fails.
2907 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2909         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2910         using abort.
2912         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2913         Remove unused variable ST.
2915 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2917         [BZ #16354]
2918         [BZ #17061]
2919         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2920         small arguments before calling __expm1.
2921         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2922         small arguments before calling __expm1f.
2923         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2924         small arguments before calling __expm1l.
2925         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2926         Likewise.
2927         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2928         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2929         spurious underflow for some cosh tests.
2930         * math/auto-libm-test-out: Regenerated.
2931         * sysdeps/i386/fpu/libm-test-ulps: Update.
2933         [BZ #17050]
2934         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2935         (__ieee754_y1): Set errno if return value overflows.
2936         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2937         (__ieee754_y1f): Set errno if return value overflows.
2938         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2939         (__ieee754_y1l): Set errno if return value overflows.
2940         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2941         (__ieee754_y1l): Set errno if return value overflows.
2942         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2943         * math/auto-libm-test-out: Regenerated.
2945         * math/gen-auto-libm-tests.c: Document use of
2946         ignore-zero-inf-sign.
2947         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2948         (input_flags): Add ignore-zero-inf-sign.
2949         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2950         * math/gen-libm-test.pl (generate_testfile): Handle
2951         ignore-zero-inf-sign.
2952         * math/auto-libm-test-in: Mark some cpow tests with
2953         ignore-zero-inf-sign and some with xfail-rounding.
2954         * math/auto-libm-test-out: Regenerated.
2955         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2956         * sysdeps/i386/fpu/libm-test-ulps: Update.
2957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2959         [BZ #16315]
2960         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2961         overflowing or underflowing operations take place with sign of
2962         result.
2963         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2964         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2965         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2966         (__ieee754_pow): Recompute overflowing and underflowing results in
2967         original rounding mode.
2968         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2969         (__powl_helper): Allow negative argument X and scale negated value
2970         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2971         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2972         overflowing or underflowing operations take place with sign of
2973         result.
2974         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2975         Include <math.h>.
2976         * math/auto-libm-test-in: Add more tests of pow.
2977         * math/auto-libm-test-out: Regenerated.
2978         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2979         (pow_tonearest_test_data): Remove.
2980         (pow_test_tonearest): Likewise.
2981         (pow_towardzero_test_data): Likewise.
2982         (pow_test_towardzero): Likewise.
2983         (pow_downward_test_data): Likewise.
2984         (pow_test_downward): Likewise.
2985         (pow_upward_test_data): Likewise.
2986         (pow_test_upward): Likewise.
2987         (main): Don't call removed functions.
2988         * sysdeps/i386/fpu/libm-test-ulps: Update.
2989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2991 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2994         Moved ...
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2997         Moved ...
2998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3000         Moved ...
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3003         Moved ...
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3006         File removed.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3008         File removed.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3010         File removed.
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3012         File removed.
3013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3014         File removed.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3016         File removed.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3018         File removed.
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3020         File removed.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3022         File removed.
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3024         File removed.
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3026         File removed.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3028         File removed.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3030         Moved ...
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3033         Moved ...
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3035         ... here.
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3037         Moved ...
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3040         Moved ...
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3043         Moved ...
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3046         Moved ...
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3049         Moved ...
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3052         Moved ...
3053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3055         Moved ...
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3059         ... here.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3061         Moved ...
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3064         Moved ...
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3066         ... here.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3068         Moved ...
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3070         ... here.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3072         Moved ...
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3074         ... here.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3076         Moved ...
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3079         Moved ...
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3084         Moved ...
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3086         ... here.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3088         Moved ...
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3090         ... here.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3092         Moved ...
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3095         Moved ...
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3098         Moved ...
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3104         Moved ...
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3106         ... here.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3108         Moved ...
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3111         Moved ...
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3114         Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3117         Moved ...
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3122         Moved ...
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3125         Moved ...
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3128         Moved ...
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3130         ... here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3134         ... here.
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3136         Moved ...
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3138         ... here.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3140         Moved ...
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3143         Moved ...
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3146         Moved ...
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3149         Moved ...
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3151         ... here.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3153         Moved ...
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3155         ... here.
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3157         Moved ...
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3159         ... here.
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3161         Moved ...
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3164         Moved ...
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3167 2014-06-23  Will Newton  <will.newton@linaro.org>
3168             Wilco  <wdijkstr@arm.com>
3170         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3171         implementation.  Include get-rounding-mode.h.
3172         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3173         [!libc_feholdsetround_noex_ctx]: Define
3174         libc_feholdsetround_noex_ctx.
3175         [!libc_feholdsetround_noexf_ctx]: Define
3176         libc_feholdsetround_noexf_ctx.
3177         [!libc_feholdsetround_noexl_ctx]: Define
3178         libc_feholdsetround_noexl_ctx.
3179         (libc_feholdsetround_ctx): New function.
3180         (libc_feresetround_ctx): New function.
3181         (libc_feholdsetround_noex_ctx): New function.
3182         (libc_feresetround_noex_ctx): New function.
3184 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3186         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3187         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3188         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3189         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3190         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3191         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3193         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3194         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3195         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3196         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3197         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3198         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3200         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3202         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3204         Moved ...
3205         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3206         ... here.
3207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3208         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3210         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3215         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3217         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3219         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3221         Moved ...
3222         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3227         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3229         Moved ...
3230         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3232         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3233         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3234         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3235         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3236         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3237         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3238         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3240         Moved ...
3241         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3242         ... here.
3243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3244         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3246         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3248         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3250         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3251         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3252         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3254         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3255         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3256         Moved ...
3257         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3259         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3260         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3261         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3262         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3263         Moved ...
3264         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3266         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3267         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3268         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3270         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3271         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3272         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3273         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3274         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3275         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3277         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3281         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3285         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3289         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3290         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3291         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3292         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3293         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3295         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3296         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3297         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3299 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3302         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3303         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3304         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3305         (IPV6_PMTUDISC_INTERFACE): Likewise.
3306         (IPV6_PMTUDISC_OMIT): Likewise.
3308 2014-06-23  Andreas Schwab  <schwab@suse.de>
3310         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3311         Remove unused errout label.
3313 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3315         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3316         macro: hardware supports Vector Crypto instructions.
3318 2014-06-23  Will Newton  <will.newton@linaro.org>
3320         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3321         rather than __builtin_expect.
3323         * elf/dl-lookup.c (undefined_msg): Remove variable.
3324         (_dl_lookup_symbol_x): Replace undefined_msg with string
3325         literal.
3327         * elf/dl-lookup.c (do_lookup_unique): New function.
3328         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3329         to a separate function.
3331 2014-06-23  Andreas Schwab  <schwab@suse.de>
3333         [BZ #17079]
3334         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3335         before reading the next line.
3337 2014-06-23  Will Newton  <will.newton@linaro.org>
3339         * test-skeleton.c (signal_handler): Use printf and %m
3340         rather than perror.  Use printf rather than fprintf to
3341         stderr.  Use puts rather than fputs to stderr.
3342         (main): Likewise.
3344 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3346         * nscd/nscd.c (thread_info_t): Remove typedef.
3347         (thread_info): Remove variable.
3349 2014-06-21  Allan McRae  <allan@archlinux.org>
3351         * NEWS: Mention CVE-2014-4043.
3353 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3355         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3356         * nptl/smp.h: ... here.
3358         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3360         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3361         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3362         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3363         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3365         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3366         * nptl/stack-aliasing.h: New file.
3367         * sysdeps/i386/i686/stack-aliasing.h: New file.
3368         * sysdeps/i386/i686/nptl/Makefile: File removed.
3369         * sysdeps/x86_64/stack-aliasing.h: New file.
3370         * sysdeps/x86_64/nptl/Makefile
3371         (CFLAGS-pthread_create.c): Variable removed.
3373         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3374         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3375         old file.
3376         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3377         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3378         old file.
3380 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3382         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3383         (__ASSUME_SIGFRAME_V2): Remove macro.
3384         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3385         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3386         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3387         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3388         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3389         Declare as function.  Remove conditional macro definitions.
3390         (__default_rt_sa_restorer): Likewise.
3391         (__default_sa_restorer_v1): Remove declaration.
3392         (__default_sa_restorer_v2): Likewise.
3393         (__default_rt_sa_restorer_v1): Likewise.
3394         (__default_rt_sa_restorer_v2): Likewise.
3395         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3396         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3397         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3399 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3401         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3402         (libpthread-routines): Add sysdep.
3403         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3404         * sysdeps/unix/sysv/linux/sparc/Versions
3405         (libpthread: GLIBC_2.3.3): New version set.
3406         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3407         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3408         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3409         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3410         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3411         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3412         Moved ...
3413         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3414         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3415         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3416         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3417         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3418         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3419         * sysdeps/sparc/nptl/sem_init.c: ... here.
3420         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3421         * sysdeps/sparc/nptl/sem_post.c: ... here.
3422         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3423         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3424         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3425         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3426         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3427         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3428         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3429         (libpthread-routines): Add cpu_relax.
3430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3431         File removed.
3432         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3433         (librt: GLIBC_2.3.3): New version set.
3434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3435         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3436         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3437         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3440         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3442         Moved ...
3443         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3445         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3447         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3449         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3451         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3453         Moved ...
3454         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3455         Update #include.
3456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3457         Moved ...
3458         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3459         Update #include.
3460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3461         Moved ...
3462         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3463         Update #include.
3464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3465         Moved ...
3466         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3467         Update #include.
3468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3469         Moved ...
3470         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3471         Update #include.
3472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3473         Moved ...
3474         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3475         Update #include.
3476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3477         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3479         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3483         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3485         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3487         Moved ...
3488         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3490         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3492         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3494 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3496         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3497         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3498         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3499         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3500         * nscd/nscd.c: Likewise.
3501         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3502         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3503         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3504         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3506         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3507         <kernel-features.h>.
3508         (init_mq_netlink): Remove conditional have_sock_cloexec
3509         definitions.  Remove code conditional on have_sock_cloexec < 0.
3510         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3511         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3512         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3513         <kernel-features.h>.
3514         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3515         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3517 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3520         Add tests for memset_chk and memset.
3522         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3523         with AVX2_Usable.
3525 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3527         [BZ #16046]
3528         * elf/tst-dl-iter-static.c: New file.
3529         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3531         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3532         error.
3534 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3536         * sysdeps/unix/sysv/linux/kernel-features.h
3537         (__ASSUME_F_GETOWN_EX): Remove macro.
3538         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3539         <kernel-features.h>.
3540         (miss_F_GETOWN_EX): Remove variable or macro.
3541         (do_fcntl): Do not check miss_F_GETOWN_EX.
3542         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3545         Remove macro.
3546         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3547         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3548         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3550         * sysdeps/unix/sysv/linux/kernel-features.h
3551         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3552         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3553         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3554         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3556 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3558         [BZ #17075]
3559         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3560         Fix calculation of the symbol's value.
3561         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3562         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3563         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3564         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3565         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3566         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3567         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3568         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3569         (modules-names): Add `tst-armtlsdescmod',
3570         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3571         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3572         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3573         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3574         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3575         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3576         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3577         ($(objpfx)tst-armtlsdescloc): New dependency.
3578         ($(objpfx)tst-armtlsdescextnow): Likewise.
3579         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3580         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3581         TLS scheme support.
3582         * sysdeps/arm/configure: Regenerate.
3584 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3586         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3587         (__atfct_seterrno_2): Likewise.
3588         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3589         <kernel-features.h>.
3590         (__ASSUME_ATFCTS): Do not undefine and redefine.
3591         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3592         (__have_atfcts): Remove conditional definition.
3593         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3594         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3595         unreachable if [__ASSUME_ATFCTS].
3596         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3597         not undefine and redefine.
3598         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3599         <kernel-features.h>.
3600         (faccessat) [__NR_faccessat]: Make code unconditional.
3601         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3602         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3603         <kernel-features.h>.
3604         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3605         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3606         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3607         <kernel-features.h>.
3608         (fchownat) [__NR_fchownat]: Make code unconditional.
3609         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3610         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3611         <kernel-features.h>.
3612         (futimesat) [__NR_futimesat]: Make code unconditional.
3613         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3614         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3615         <kernel-features.h>.
3616         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3617         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3618         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3619         <kernel-features.h>.
3620         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3621         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3622         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3623         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3624         <kernel-features.h>.
3625         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3626         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3627         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3628         <kernel-features.h>.
3629         (linkat) [__NR_linkat]: Make code unconditional.
3630         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3631         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3632         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3633         <kernel-features.h>.
3634         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3635         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3636         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3637         <kernel-features.h>.
3638         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3639         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3640         * sysdeps/unix/sysv/linux/openat.c: Do not include
3641         <kernel-features.h>.
3642         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3643         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3644         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3645         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3646         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3647         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3648         <kernel-features.h>.
3649         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3650         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3651         result of INLINE_SYSCALL directly, not via int variable.
3652         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3653         <kernel-features.h>.
3654         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3655         (renameat) [__NR_renameat]: Make code unconditional.
3656         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3657         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3658         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3659         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3660         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3661         (__ASSUME_ATFCTS): Do not undefine and redefine.
3662         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3663         <kernel-features.h>.
3664         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3665         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3666         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3667         <kernel-features.h>.
3668         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3669         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3670         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3671         (__ASSUME_ATFCTS): Do not undefine and redefine.
3672         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3673         <kernel-features.h>.
3674         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3675         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3676         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3677         <kernel-features.h>.
3678         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3679         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3681 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3683         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3685 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3687         [BZ #17069]
3688         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3689         constructed tree before returning error.
3690         * posix/bug-regexp36.c: Expand test case.
3692 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3694         [BZ #6803]
3695         * math/libm-test.inc (scalbln_test_date):
3696         Add errno expectations.
3697         * math/w_scalblnf.c: New File.
3698         Add wrapper which checks for setting errno to ERANGE.
3699         Add weak_alias for corresponding scalbln function.
3700         * math/w_scalbln.c: Likewise.
3701         * math/w_scalblnl.c: Likewise.
3702         * math/Makefile (libm-calls): Add w_scalbln.
3703         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3704         Remove weak_alias for corresponding scalbln function.
3705         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3707         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3708         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3709         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3710         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3711         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3712         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3713         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3714         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3715         Remove long_double_symbol for scalblnl function in libm, libc.
3716         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3717         Add wrapper which checks for setting errno to ERANGE.
3718         Add long_double_symbol for scalblnl function in libm, libc.
3719         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3720         Remove long_double_symbol for scalblnl in libm.
3721         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3722         Add wrapper which checks for setting errno to ERANGE.
3723         Add long_double_symbol for scalblnl function in libm.
3724         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3725         Do not use wrapper because of own implementation.
3727 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3729         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3730         3 bytes for __pad1 for x32.
3731         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3733 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3734             H.J. Lu  <hongjiu.lu@intel.com>
3736         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3737         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3740         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3742 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3744         [BZ #17069]
3745         * posix/regcomp.c (parse_expression): Deallocate partially
3746         constructed tree before returning error.
3747         * posix/Makefile.c (tests): Add bug-regex36.
3748         (generated): Add bug-regex36.mtrace.
3749         (tests-special): Add $(objpfx)bug-regex36-mem.out
3750         (bug-regex36-ENV): New variable.
3751         ($(objpfx)bug-regex36-mem.out): New rule.
3752         * posix/bug-regex36.c: New file.
3754 2014-06-19  Will Newton  <will.newton@linaro.org>
3756         * malloc/malloc.c (systrim): If extra is zero then return
3757         early.
3759 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3761         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3763 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3765         * sysdeps/aarch64/strchr.S: New file.
3767 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3769         [BZ #17022]
3770         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3771         from arguments -2 or below.
3772         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3773         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3775 2014-06-18  Andreas Schwab  <schwab@suse.de>
3777         [BZ #17062]
3778         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3779         of a bracket expr not to run off the end of the string.
3780         * posix/Makefile (tests): Add tst-fnmatch3.
3781         * posix/tst-fnmatch3.c: New file.
3783 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3785         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3786         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3787         [$(cross-compiling) = no]: Likewise.
3788         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3789         [$(cross-compiling) = no]: Likewise.
3791 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3793         [BZ #17031]
3794         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3795         double, adjusted for any remainder from the high double.
3796         * math/libm-test.inc (nearbyint): Add tests.
3797         (rint): Likewise.
3799 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3801         * nptl/sysdeps/powerpc/Makefile: Moved ...
3802         * sysdeps/powerpc/nptl/Makefile: ... here.
3803         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3804         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3805         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3806         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3807         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3808         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3809         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3810         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3811         * nptl/sysdeps/powerpc/tls.h: Moved ...
3812         * sysdeps/powerpc/nptl/tls.h: ... here.
3814 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3816         [BZ #16681]
3817         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3818         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3819         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3820         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3821         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3822         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3823         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3824         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3825         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3827 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3829         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3831 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3833         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3834         defined operator.
3836         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3837         $TIMEOUTFACTOR.
3839 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3841         [BZ #17058]
3842         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3843         non-executed part of the test.
3845 2014-06-16  Andreas Schwab  <schwab@suse.de>
3847         * string/bits/string2.h (strdup, strndup): Update feature guard.
3849 2014-06-14  David S. Miller  <davem@davemloft.net>
3851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3853 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3855         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3856         that was previously under [RESET_PID].
3857         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3859         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3860         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3861         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3862         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3863         (__libc_vfork): New strong alias.
3864         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3866 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3868         * sysdeps/generic/elide.h: New file.
3870 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3872         * Makefile (installed-headers): Adjust path of pthread.h header.
3874 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3876         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3877         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3878         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3879         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3881         * nptl/sysdeps/s390/Makefile: Moved ...
3882         * sysdeps/s390/nptl/Makefile: ... here.
3883         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3884         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3885         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3886         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3887         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3888         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3889         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3890         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3891         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3892         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3893         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3894         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3895         * nptl/sysdeps/s390/tls.h: Moved ...
3896         * sysdeps/s390/nptl/tls.h: ... here.
3898         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3899         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3901 2014-06-13  David S. Miller  <davem@davemloft.net>
3903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3906         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3910         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3911         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3912         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3913         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3914         Remove RESET_PID cpp guards.
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3916         Remove RESET_PID cpp guards.
3917         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3919 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3921         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3922         __sp to uintptr_t.
3924 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3926         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3927         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3928         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3930         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3931         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3932         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3933         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3935         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3936         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3937         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3938         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3941         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3943         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3944         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3945         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3947         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3948         (pthread_rwlock_rdlock): Add elision.
3949         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3950         (pthread_rwlock_wrlock): Add elision.
3951         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3952         (pthread_rwlock_trywrlock): Add elision.
3953         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3954         (pthread_rwlock_tryrdlock): Add elision.
3955         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3956         (pthread_rwlock_tryrdlock): Add elision unlock.
3957         * nptl/sysdeps/pthread/pthread.h:
3958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3959         (PTHREAD_RWLOCK_INITIALIZER,
3960         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3961         Handle new elision field.
3962         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3963         * sysdeps/arm/nptl/bits/pthreadtypes.h
3964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3965         * sysdeps/sh/nptl/bits/pthreadtypes.h
3966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3967         * sysdeps/tile/nptl/bits/pthreadtypes.h
3968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3969         * sysdeps/a/nptl/bits/pthreadtypes.h
3970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3971         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3973         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3975         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3977         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3979         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3981         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3982         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3983         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3985         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3987         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3988         (elision_init): Set try_xbegin to zero when no RTM.
3989         * sysdeps/x86/nptl/bits/pthreadtypes.h
3990         (pthread_rwlock_t): Change __pad1 to __rwelision.
3991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3993 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3995         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3996         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3997         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3998         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4000 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4002         [BZ #16996]
4003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4004         that the cached result has been set before returning it.
4006 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4008         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4009         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4010         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4011         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4012         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4013         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4015         * nptl/sysdeps/sparc/Makefile: Moved ...
4016         * sysdeps/sparc/nptl/Makefile: ... here.
4017         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4018         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4019         * nptl/sysdeps/sparc/tls.h: Moved ...
4020         * sysdeps/sparc/nptl/tls.h: ... here.
4021         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4022         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4023         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4024         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4025         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4026         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4027         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4028         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4029         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4030         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4031         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4032         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4033         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4034         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4035         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4036         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4037         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4039         Update #include.
4040         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4042         Update #include.
4043         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4045         Update #include.
4046         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4048         Update #include.
4050         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4052         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4053         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4055         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4056         (struct list_links): Type removed.
4057         (struct thread_node, struct timer_node): Replace struct list_links
4058         with struct list_head.
4059         (list_unlink_ip): Likewise.
4060         * sysdeps/pthread/timer_routines.c
4061         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4062         (list_append, list_insbefore): Likewise.
4063         (list_init): Function removed.
4064         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4065         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4066         * sysdeps/pthread/Makefile: ... here, new file.
4068         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4069         * sysdeps/nptl/Implies: ... here.
4070         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4071         * nptl/sysdeps/pthread/list.h: Moved ...
4072         * include/list.h: ... here.
4073         * nptl/sysdeps/pthread/createthread.c: Moved ...
4074         * nptl/createthread.c: ... here.
4075         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4076         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4077         * nptl/pt-longjmp.c: ... here.
4078         * nptl/sysdeps/pthread/Makefile: Moved ...
4079         * sysdeps/nptl/Makefile: ... here.
4080         * nptl/sysdeps/pthread/Subdirs: Moved ...
4081         * sysdeps/nptl/Subdirs: ... here.
4082         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4083         * sysdeps/nptl/aio_misc.h: ... here.
4084         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4085         * sysdeps/nptl/bits/libc-lock.h: ... here.
4086         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4087         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4088         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4089         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4090         * nptl/sysdeps/pthread/configure: Moved ...
4091         * sysdeps/nptl/configure: ... here.
4092         * nptl/sysdeps/pthread/configure.ac: Moved ...
4093         * sysdeps/nptl/configure.ac: ... here.
4094         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4095         * sysdeps/nptl/gai_misc.h: ... here.
4096         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4097         * sysdeps/nptl/librt-cancellation.c: ... here.
4098         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4099         * sysdeps/nptl/malloc-machine.h: ... here.
4100         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4101         * sysdeps/nptl/pthread-functions.h: ... here.
4102         * nptl/sysdeps/pthread/pthread.h: Moved ...
4103         * sysdeps/nptl/pthread.h: ... here.
4104         * nptl/sysdeps/pthread/setxid.h: Moved ...
4105         * sysdeps/nptl/setxid.h: ... here.
4106         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4107         * sysdeps/nptl/sigfillset.c: ... here.
4108         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4109         * sysdeps/nptl/tcb-offsets.h: ... here.
4110         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4111         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4112         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4113         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4114         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4115         * sysdeps/pthread/allocalim.h: ... here.
4116         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4117         * sysdeps/pthread/bits/sigthread.h: ... here.
4118         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4119         * sysdeps/pthread/flockfile.c: ... here.
4120         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4121         * sysdeps/pthread/ftrylockfile.c: ... here.
4122         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4123         * sysdeps/pthread/funlockfile.c: ... here.
4124         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4125         * sysdeps/pthread/posix-timer.h: ... here.
4126         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4127         * sysdeps/pthread/timer_create.c: ... here.
4128         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4129         * sysdeps/pthread/timer_delete.c: ... here.
4130         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4131         * sysdeps/pthread/timer_getoverr.c: ... here.
4132         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4133         * sysdeps/pthread/timer_gettime.c: ... here.
4134         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4135         * sysdeps/pthread/timer_routines.c: ... here.
4136         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4137         * sysdeps/pthread/timer_settime.c: ... here.
4138         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4139         * sysdeps/pthread/tst-timer.c: ... here.
4140         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4141         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4143         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4144         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4146         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4147         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4148         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4149         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4150         Update #include target.
4151         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4152         * sysdeps/i386/i686/nptl/Makefile: ... here.
4153         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4154         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4155         Update #include target.
4156         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4157         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4158         * nptl/sysdeps/i386/Makefile: Moved ...
4159         * sysdeps/i386/nptl/Makefile: ... here.
4160         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4161         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4162         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4163         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4164         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4165         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4166         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4167         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4168         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4169         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4170         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4171         * nptl/sysdeps/i386/tls.h: Moved ...
4172         * sysdeps/i386/nptl/tls.h: ... here.
4174         * sysdeps/sh/Makefile [$(subdir) = csu]
4175         (gen-as-const-headers): Add tcb-offsets.sym.
4176         * nptl/sysdeps/sh/Makefile: File removed.
4177         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4178         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4179         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4180         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4181         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4182         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4183         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4184         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4185         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4186         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4187         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4188         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4189         * nptl/sysdeps/sh/tls.h: Moved ...
4190         * sysdeps/sh/nptl/tls.h: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4192         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4193         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4194         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4195         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4196         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4198         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4200         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4202         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4204         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4205         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4206         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4208         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4210         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4212         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4216         Moved ...
4217         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4219         Moved ...
4220         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4222         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4224         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4225         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4226         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4228         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4230         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4231         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4232         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4234         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4235         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4236         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4237         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4238         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4240 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4242         * posix/spawn_faction_addopen.c: Include string.h.
4244 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4246         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4247         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4248         * nptl/sysdeps/x86_64/Makefile: Moved ...
4249         * sysdeps/x86_64/nptl/Makefile: ... here.
4250         * nptl/sysdeps/x86_64/configure: Moved ...
4251         * sysdeps/x86_64/nptl/configure: ... here.
4252         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4253         * sysdeps/x86_64/nptl/configure.ac: ... here.
4254         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4255         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4256         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4257         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4258         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4259         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4260         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4261         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4262         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4263         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4264         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4265         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4266         * nptl/sysdeps/x86_64/tls.h: Moved ...
4267         * sysdeps/x86_64/nptl/tls.h: ... here.
4268         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4269         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4270         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4271         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4273         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4275 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4279 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4281         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4282         type.
4283         [POSIX] (off_t): Likewise.
4284         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4285         [POSIX] (S_ISBLK): Require macro.
4286         [POSIX] (S_ISCHR): Likewise.
4287         [POSIX] (S_ISDIR): Likewise.
4288         [POSIX] (S_ISFIFO): Likewise.
4289         [POSIX] (S_ISREG): Likewise.
4290         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4291         optional-macro.
4292         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4293         type.
4294         [POSIX] (time_t): Likewise.
4295         [POSIX] (timer_t): Likewise.
4297 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4299         [BZ #17048]
4300         * posix/spawn_int.h (struct __spawn_action): Make the path string
4301         non-const to support deallocation.
4302         * posix/spawn_faction_addopen.c
4303         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4304         * posix/spawn_faction_destroy.c
4305         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4306         path in all spawn_do_open actions.
4307         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4308         posix_spawn_file_actions_addopen.
4310 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4312         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4313         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4314         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4315         conditional code always true.
4316         (__libc_vfork): New alias.
4318 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4320         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4321         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4323         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4325         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4326         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4328         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4329         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4331         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4332         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4334 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4336         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4337         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4338         multiarch strcmp for PPC64.
4339         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4340         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4342         multiarch optimizations.
4343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4344         (__libc_ifunc_impl_list): Likewise.
4346 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4348         * benchtests/scripts/validate_benchout.py: New script.
4349         * benchtests/Makefile (bench-func): Call it.
4350         * benchtests/scripts/benchout.schema.json: New file.
4352 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4354         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4355         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4356         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4357         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4358         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4359         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4360         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4361         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4362         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4363         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4364         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4365         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4366         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4367         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4368         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4369         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4371         Moved ...
4372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4373         ... here.
4374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4375         Moved ...
4376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4378         Moved ...
4379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4380         ... here.
4381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4382         Moved ...
4383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4384         ... here.
4385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4386         Moved ...
4387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4389         Moved ...
4390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4391         ... here.
4392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4393         Moved ...
4394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4395         ... here.
4396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4397         Moved ...
4398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4400         Moved ...
4401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4402         ... here.
4403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4404         Moved ...
4405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4406         ... here.
4407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4408         Moved ...
4409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4410         ... here.
4411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4412         Moved ...
4413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4415         Moved ...
4416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4417         ... here.
4418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4419         Moved ...
4420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4421         ... here.
4422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4423         Moved ...
4424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4425         ... here.
4426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4427         Moved ...
4428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4430         Moved ...
4431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4432         ... here.
4433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4434         Moved ...
4435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4436         ... here.
4437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4438         Moved ...
4439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4441         Moved ...
4442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4443         ... here.
4444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4445         Moved ...
4446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4448         Moved ...
4449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4451         Moved ...
4452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4453         ... here.
4454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4455         Moved ...
4456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4457         ... here.
4458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4459         Moved ...
4460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4461         ... here.
4462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4463         Moved ...
4464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4466         Moved ...
4467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4468         ... here.
4469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4470         Moved ...
4471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4472         ... here.
4473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4474         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4476         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4478         Moved ...
4479         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4480         ... here.
4481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4482         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4484         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4486         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4488         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4489         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4490         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4492         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4494         Moved ...
4495         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4497         Moved ...
4498         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4500         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4501         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4502         Moved ...
4503         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4505         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4506         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4507         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4508         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4509         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4511 2014-06-10  Wilco  <wdijkstr@arm.com>
4513         * math/test-fenv-return.c: New file.
4514         * math/Makefile: Add new test test-fenv-return.
4516 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4518         [BZ #17042]
4519         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4520         when x - 1 is zero.
4521         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4522         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4523         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4524         0.0L for an argument of 1.0L.
4525         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4526         Likewise.
4527         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4528         value when x - 1 is zero.
4529         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4530         * sysdeps/i386/fpu/libm-test-ulps: Update.
4531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4533 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4535         [BZ #15119]
4536         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4538 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4540         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4541         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4543 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4545         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4546         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4548         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4549         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4551         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4552         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4554         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4555         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4557         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4558         if not already defined.
4559         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4560         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4561         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4562         (TLS_INIT_TP): Use it.
4563         (TLS_DEFINE_INIT_TP): New macro.
4564         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4566 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4568         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4569         constant.
4570         [POSIX] (IXANY): Likewise.
4571         [POSIX] (OLCUC): Likewise.
4572         [POSIX || POSIX2008] (CBAUD): Do not allow.
4573         [POSIX || POSIX2008] (DEFECHO): Likewise.
4574         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4575         [POSIX || POSIX2008] (ECHOKE): Likewise.
4576         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4577         [POSIX || POSIX2008] (EXTA): Likewise.
4578         [POSIX || POSIX2008] (EXTB): Likewise.
4579         [POSIX || POSIX2008] (FLUSHO): Likewise.
4580         [POSIX || POSIX2008] (LOBLK): Likewise.
4581         [POSIX || POSIX2008] (PENDIN): Likewise.
4582         [POSIX || POSIX2008] (SWTCH): Likewise.
4583         [POSIX || POSIX2008] (VDISCARD): Likewise.
4584         [POSIX || POSIX2008] (VDSUSP): Likewise.
4585         [POSIX || POSIX2008] (VLNEXT): Likewise.
4586         [POSIX || POSIX2008] (VREPRINT): Likewise.
4587         [POSIX || POSIX2008] (VSTATUS): Likewise.
4588         [POSIX || POSIX2008] (VWERASE): Likewise.
4589         (B*): Change to B[0123456789]*.
4590         * conform/data/time.h-data [POSIX || UNIX98]
4591         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4592         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4593         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4594         [POSIX] (tm_*): Do not allow.
4596 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4598         * Makefile (install): Don't set LANGUAGE.
4599         * Makefile.in (install): Likewise.
4600         * assert/Makefile (test-assert-ENV): Remove variable.
4601         (test-assert-perr-ENV): Likewise.
4602         * elf/Makefile (neededtest4-ENV): Likewise.
4603         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4604         [$(cross-compiling) = no]: Don't set LANGUAGE.
4605         * io/ftwtest-sh (LANG): Remove variable.
4606         * libio/Makefile (tst-widetext-ENV): Likewise.
4607         * manual/install.texi (Running make install): Don't refer to
4608         environment settings for make install.
4609         * INSTALL: Regenerated.
4610         * nptl/tst-tls6.sh: Don't set LANG.
4611         * posix/globtest.sh (LANG): Remove variable.
4612         * string/Makefile (tester-ENV): Likewise.
4613         (inl-tester-ENV): Likewise.
4614         (noinl-tester-ENV): Likewise.
4615         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4616         [$(cross-compiling) = no]: Don't set LANGUAGE.
4617         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4618         without explicit environment settings.
4620 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4622         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4623         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4624         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4625         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4627 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4629         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4630         other files in the crypt directory.
4631         * crypt/crypt.c: Remove duplicate includes.
4632         * crypt/crypt-entry.c: Likewise.
4633         * crypt/crypt_util.c: Likewise.
4635 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4637         * Makeconfig (run-program-env): New variable.
4638         (run-program-prefix-before-env): Likewise.
4639         (run-program-prefix-after-env): Likewise.
4640         (run-program-prefix): Define in terms of new variables.
4641         (built-program-cmd-before-env): New variable.
4642         (built-program-cmd-after-env): Likewise.
4643         (built-program-cmd): Define in terms of new variables.
4644         (test-program-prefix-before-env): New variable.
4645         (test-program-prefix-after-env): Likewise.
4646         (test-program-prefix): Define in terms of new variables.
4647         (test-program-cmd-before-env): New variable.
4648         (test-program-cmd-after-env): Likewise.
4649         (test-program-cmd): Define in terms of new variables.
4650         * Rules (make-test-out): Use $(run-program-env).
4651         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4652         (help): Do not mention environment variables.  Mention
4653         --timeoutfactor option.
4654         (timeoutfactor): New variable.
4655         (blacklist_exports): Remove function.
4656         (exports): Remove variable.
4657         (command): Do not include ${exports}.
4658         * manual/install.texi (Configuring and compiling): Do not mention
4659         test wrappers preserving environment variables.  Mention that last
4660         assignment to a variable must take precedence.
4661         * INSTALL: Regenerated.
4662         * benchtests/Makefile (run-bench): Use $(run-program-env).
4663         * catgets/Makefile ($(objpfx)test1.cat): Use
4664         $(built-program-cmd-before-env), $(run-program-env) and
4665         $(built-program-cmd-after-env).
4666         ($(objpfx)test2.cat): Do not specify environment variables
4667         explicitly.
4668         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4669         $(run-program-env) and $(built-program-cmd-after-env).
4670         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4671         $(run-program-env) and $(test-program-cmd-after-env).
4672         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4673         explicitly.
4674         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4675         run_program_env and test_program_cmd_after_env arguments.
4676         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4677         * elf/tst-pathopt.sh: Use run_program_env argument.
4678         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4679         $(test-wrapper-env) and $(run-program-env).
4680         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4681         run_program_env arguments.
4682         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4683         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4684         $(test-program-prefix-before-env), $(run-program-env) and
4685         $(test-program-prefix-after-env).
4686         ($(objpfx)tst-gettext2.out): Likewise.
4687         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4688         run_program_env and test_program_prefix_after_env arguments.
4689         * intl/tst-gettext2.sh: Likewise.
4690         * intl/tst-gettext4.sh: Do not set environment variables
4691         explicitly.
4692         * intl/tst-gettext6.sh: Likewise.
4693         * intl/tst-translit.sh: Likewise.
4694         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4695         $(test-program-prefix-before-env), $(run-program-env) and
4696         $(test-program-prefix-after-env).
4697         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4698         run_program_env and test_program_prefix_after_env arguments.
4699         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4700         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4701         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4702         explicitly with each use of ${test_wrapper_env}.
4703         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4704         $(test-program-prefix-before-env), $(run-program-env) and
4705         $(test-program-prefix-after-env).
4706         * posix/tst-getconf.sh: Do not set environment variables
4707         explicitly.
4708         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4709         run_program_env and test_program_prefix_after_env arguments.
4710         * stdio-common/tst-printf.sh: Do not set environment variables
4711         explicitly.
4712         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4713         $(test-program-prefix-before-env), $(run-program-env) and
4714         $(test-program-prefix-after-env).
4715         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4716         run_program_env and test_program_prefix_after_env arguments.
4717         Split $test calls into $test_pre and $test.
4718         * timezone/Makefile (build-testdata): Use
4719         $(built-program-cmd-before-env), $(run-program-env) and
4720         $(built-program-cmd-after-env).
4722 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4724         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4725         strlen for non SHARED builds.
4727 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4729         * nptl/allocatestack.c (check_list): Inlined function...
4730         (__reclaim_stacks): ... here.
4732 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4734         [BZ #15698]
4735         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4736         memory overrun.
4738 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4740         * Rules (make-test-out): Include
4741         LOCPATH=$(common-objpfx)localedata in default environment.
4742         * debug/Makefile (tst-chk1-ENV): Remove variable.
4743         (tst-chk2-ENV): Likewise.
4744         (tst-chk3-ENV): Likewise.
4745         (tst-chk4-ENV): Likewise.
4746         (tst-chk5-ENV): Likewise.
4747         (tst-chk6-ENV): Likewise.
4748         (tst-lfschk1-ENV): Likewise.
4749         (tst-lfschk2-ENV): Likewise.
4750         (tst-lfschk3-ENV): Likewise.
4751         (tst-lfschk4-ENV): Likewise.
4752         (tst-lfschk5-ENV): Likewise.
4753         (tst-lfschk6-ENV): Likewise.
4754         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4755         (tst-iconv7-ENV): Likewise.
4756         * intl/Makefile (LOCPATH-ENV): Likewise.
4757         (tst-codeset-ENV): Likewise.
4758         (tst-gettext3-ENV): Likewise.
4759         (tst-gettext5-ENV): Likewise.
4760         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4761         (tst-fopenloc-ENV): Likewise.
4762         (tst-fgetws-ENV): Remove variable.
4763         (tst-ungetwc1-ENV): Likewise.
4764         (tst-ungetwc2-ENV): Likewise.
4765         (bug-ungetwc2-ENV): Likewise.
4766         (tst-swscanf-ENV): Likewise.
4767         (bug-ftell-ENV): Likewise.
4768         (tst-fgetwc-ENV): Likewise.
4769         (tst-fseek-ENV): Likewise.
4770         (tst-ftell-partial-wide-ENV): Likewise.
4771         (tst-ftell-active-handler-ENV): Likewise.
4772         (tst-ftell-append-ENV): Likewise.
4773         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4774         (tst-regexloc-ENV): Likewise.
4775         (bug-regex1-ENV): Likewise.
4776         (tst-regex-ENV): Likewise.
4777         (tst-regex2-ENV): Likewise.
4778         (bug-regex5-ENV): Likewise.
4779         (bug-regex6-ENV): Likewise.
4780         (bug-regex17-ENV): Likewise.
4781         (bug-regex18-ENV): Likewise.
4782         (bug-regex19-ENV): Likewise.
4783         (bug-regex20-ENV): Likewise.
4784         (bug-regex22-ENV): Likewise.
4785         (bug-regex23-ENV): Likewise.
4786         (bug-regex25-ENV): Likewise.
4787         (bug-regex26-ENV): Likewise.
4788         (bug-regex30-ENV): Likewise.
4789         (bug-regex32-ENV): Likewise.
4790         (bug-regex33-ENV): Likewise.
4791         (bug-regex34-ENV): Likewise.
4792         (bug-regex35-ENV): Likewise.
4793         (tst-rxspencer-ENV): Likewise.
4794         (tst-rxspencer-no-utf8-ENV): Likewise.
4795         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4796         (tst-sscanf-ENV): Likewise.
4797         (tst-swprintf-ENV): Likewise.
4798         (tst-swscanf-ENV): Likewise.
4799         (test-vfprintf-ENV): Likewise.
4800         (scanf13-ENV): Likewise.
4801         (bug14-ENV): Likewise.
4802         (tst-grouping-ENV): Likewise.
4803         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4804         (tst-strtod3-ENV): Likewise.
4805         (tst-strtod4-ENV): Likewise.
4806         (tst-strtod5-ENV): Likewise.
4807         (testmb2-ENV): Likewise./
4808         * string/Makefile (tst-strxfrm-ENV): Likewise.
4809         (tst-strxfrm2-ENV): Likewise.
4810         (bug-strcoll1-ENV): Likewise.
4811         (test-strcasecmp-ENV): Likewise.
4812         (test-strncasecmp-ENV): Likewise.
4813         * time/Makefile (tst-strptime-ENV): Likewise.
4814         (tst-ftime_l-ENV): Likewise.
4815         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4816         (tst-mbrtowc-ENV): Likewise.
4817         (tst-wcrtomb-ENV): Likewise.
4818         (tst-mbrtowc2-ENV): Likewise.
4819         (tst-c16c32-1-ENV): Likewise.
4820         (tst-mbsnrtowcs-ENV): Likewise.
4822 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4824         * manual/resource.texi (How to get information about the memory
4825         subsystem?): Fix typo.
4826         Reported by Peon de la Parra Ivan <peon@keba.com>
4828 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4830         [BZ #16882]
4831         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4832         (pthread_spin_lock): Branch out of spin loop to proper location.
4833         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4834         (pthread_spin_lock): Likewise.
4836         * nptl/tst-spin4.c: New test.
4837         * nptl/Makefile (tests): Add tst-spin4.
4839 2014-06-03  Andreas Schwab  <schwab@suse.de>
4841         [BZ #15946]
4842         * resolv/res_send.c (send_dg): Reload file descriptor after
4843         calling reopen.
4845 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4847         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4849 2014-06-03  Richard Henderson  <rth@redhat.com>
4851         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4852         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4853         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4854         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4855         in the SAVE_PID block.
4856         (__libc_vfork): New alias.
4857         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4859         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4860         child in registers, not on the stack.  Remove RESET_PID conditionals.
4861         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4863 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4865         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4867 2014-06-03  Wilco  <wdijkstr@arm.com>
4869         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4870         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4871         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4872         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4873         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4874         Likewise.
4876 2014-06-03  Wilco  <wdijkstr@arm.com>
4878         * sysdeps/aarch64/fpu/math_private.h
4879         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4880         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4881         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4882         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4883         Fix declarations.
4885 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4887         * crypt/crypt-private.h: Include ufc-crypt.h.
4888         (__b64_from_24bit): Declare extern.
4889         * crypt/crypt_util.c(__b64_from_24bit): New function.
4890         (b64t): New static const variable.
4891         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4892         (b64t): Remove variable.
4893         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4894         * crypt/sha256-crypt.c: Include crypt-private.h.
4895         (b64t): Remove variable.
4896         (__sha256_crypt_r): Remove b64_from_24bit and replace
4897         with __b64_from_24bit.
4898         * crypt/sha512-crypt.c: Likewise.
4900 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4902         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4903         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4904         Label the code __libc_vfork rather than __vfork.
4905         [!NOT_IN_libc] (vfork): Define as weak alias.
4906         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4907         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4908         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4910 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4912         * malloc/malloc.c (malloc_info): Fix format specifier for
4913         n_mmaps.
4915 2014-06-02  Wilco  <wdijkstr@arm.com>
4917         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4918         FPCR write.
4920 2014-06-02  Wilco  <wdijkstr@arm.com>
4922         [BZ #17009]
4923         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4924         Rewrite to reduce FPCR/FPSR accesses.
4926 2014-06-01  David S. Miller  <davem@davemloft.net>
4928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4930 2014-05-31  David S. Miller  <davem@davemloft.net>
4932         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4933         to occur in round to nearest mode when |x| >= 2.0
4935 2014-05-30  Richard Henderson  <rth@twiddle.net>
4937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4938         (PSEUDO_RET_NOERRNO): Remove.
4939         (ret): Don't redefine.
4940         (ret_NOERRNO): Define in terms of ret.
4941         (ret_ERRVAL): Likewise.
4943         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4944         use of PSEUDO_RET; perform the error check directly.
4946 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4948         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4949         with __int128_t.
4951 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4953         * malloc/malloc (malloc_info): Fix formatting.
4955 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4956             Roland McGrath  <roland@hack.frob.com>
4958         * malloc/malloc (malloc_info): Also print mmapped statistics.
4960 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4962         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4963         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4965 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4967         * malloc/malloc.c (malloc_info): Inline mi_arena.
4969 2014-05-29  Richard Henderson  <rth@twiddle.net>
4971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4972         Remove comma before expanding ASM_ARGS_##nr.
4973         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4974         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4975         of ASM_ARGS_##nr.
4976         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4977         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4978         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4979         (ASM_ARGS_1): Add leading comma.
4981         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4982         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4983         to __errno_location.
4984         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4985         Remove the expected plt for __errno_location.
4987         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4988         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4989         call to __read_tp.
4991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4992         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4993         it and break it down.
4994         (DOCARGS_0, DOCARGS_1): Do nothing.
4995         (DOCARGS_2): Update to store into the new stack frame.
4996         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4997         (UNDOCARGS_1): Update to restore from the new stack frame.
4998         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4999         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5002         (SINGLE_THREAD_P): New parameter for result regno.
5003         (PSEUDO): Update to match; use cbz instead of beq.
5005         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5006         Use ENTRY to define the _nocancel entry point.  Share the syscall
5007         and syscall error check paths with the cancel path.
5008         (PSEUDO_END): New.
5010         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5011         whitespace; tabs before and after asm mnemonics.
5013 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5015         [BZ #15132]
5016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5017         Call fstat64 or stat64 internally, depending on arguments passed.
5018         Replace stat buffer argument with file descriptor argument.
5019         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5020         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5021         Pass fd to __internal_statvfs instead of calling fstat64.
5022         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5023         Pass fd to __internal_statvfs64 instead of calling fstat64.
5024         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5025         Pass -1 to __internal_statvfs instead of calling stat64.
5026         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5027         Pass -1 to __internal_statvfs64 instead of calling stat64.
5029 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5031         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5032         that was previously under [RESET_PID].
5033         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5035         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5036         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5038 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5040         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5042         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5043         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5045 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5047         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5049 2014-05-27  Andreas Schwab  <schwab@suse.de>
5051         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5052         TLS_INIT_TP macro.
5053         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5054         * elf/rtld.c (init_tls, dl_main): Likewise.
5055         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5056         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5057         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5058         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5059         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5060         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5061         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5062         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5063         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5064         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5065         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5066         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5067         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5068         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5069         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5070         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5071         * sysdeps/generic/tls.h: Update description.
5073 2014-05-27  Will Newton  <will.newton@linaro.org>
5075         [BZ #16990]
5076         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5077         and restore r2 rather than just restoring.
5079 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5081         [BZ #16724]
5082         * libio/tst-ftell-append.c: New test case.
5083         * libio/Makefile (tests): Add test case.
5084         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5085         append mode.
5086         * libio/wfileops.c (do_ftell_wide): Likewise.
5088 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5092         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5093         ...
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5096         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5097         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5098         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5099         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5100         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5101         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5103         Moved ...
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5106         Moved ...
5107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5108         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5109         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5110         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5111         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5112         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5113         ...
5114         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5115         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5116         Moved ...
5117         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5118         here.
5119         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5120         ...
5121         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5122         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5123         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5125         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5126         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5127         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5128         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5131         merge into ...
5132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5134         ...
5135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5137         ...
5138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5140         Moved ...
5141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5142         here.
5143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5144         Moved ...
5145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5147         Moved ...
5148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5151         conditional [RESET_PID].
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5154         removed.
5155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5156         removed.
5158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5159         <tcb-offsets.h>.
5160         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5161         (__libc_vfork): New strong alias.
5162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5163         removed.
5164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5165         Removed.
5167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5168         <tcb-offsets.h>.
5169         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5170         (__libc_vfork): New strong alias.
5171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5172         removed.
5173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5174         removed.
5176 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5178         * malloc/malloc.c (mi_arena): New function.
5179         (malloc_info): Remove nested function mi_arena. Call non-nosted
5180         function mi_arena.
5182 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5184         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5185         by insrwi.
5186         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5187         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5188         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5189         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5190         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5191         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5192         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5194 2014-05-26  Andreas Schwab  <schwab@suse.de>
5196         [BZ #16984]
5197         * locale/programs/repertoire.c (repertoire_read): Add slash
5198         between I18NPATH element and file name.
5199         * locale/programs/locfile.c (locfile_read): Likewise.
5201 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5203         * nptl/pthread_mutexattr_settype.c
5204         (__pthread_mutexattr_settype):
5205         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5207 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5209         * nptl/tst-mutex5 (do_test):
5210         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5212 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5214         * benchtests/README: Document 'init' directive.
5215         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5216         BENCH_INIT.
5217         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5218         (parse_file): Recognize 'init' directive.
5220 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5222         [BZ #16796]
5223         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5224         alignment of struct pthread.
5226 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5228         [BZ #16878]
5229         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5230         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5231         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5232         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5234 2014-05-25  Richard Henderson  <rth@twiddle.net>
5236         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5237         (SINGLE_THREAD_P_PIC): Remove.
5238         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5239         (SINGLE_THREAD_P_PIC): Remove.
5241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5242         branch to syscall error ...
5243         (PSEUDO): ... here.
5244         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5245         from __local_syscall_error to .Lsyscall_error.
5246         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5247         (SYSCALL_ERROR): Update label name.
5249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5250         Do not use DOARGS/UNDOARGS.
5251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5252         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5253         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5254         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5255         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5258         block comment.
5260         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5261         define if !NOT_IN_libc.
5262         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5263         define with non-default symbol versions.
5265 2014-05-23  Richard Henderson  <rth@twiddle.net>
5267         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5268         (vfork, __vfork): Define via compat_symbol.
5270         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5271         [!HAVE_IFUNC] (vfork_compat): Remove.
5272         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5274 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5276         [BZ #16978]
5277         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5278         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5279         variable.
5281 2014-05-23  Richard Henderson  <rth@twiddle.net>
5283         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5284         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5285         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5286         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5288         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5289         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5290         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5291         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5292         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5293         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5294         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5295         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5296         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5297         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5298         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5299         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5300         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5301         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5302         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5303         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5304         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5305         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5307         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5308         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5309         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5310         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5311         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5312         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5313         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5314         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5315         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5316         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5317         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5318         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5319         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5321         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5322         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5323         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5324         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5325         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5327         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5328         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5329         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5330         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5331         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5332         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5333         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5334         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5335         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5336         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5337         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5338         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5339         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5340         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5341         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5342         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5343         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5345         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5346         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5347         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5348         before exiting on error.
5349         (__libc_vfork): New strong alias.
5350         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5351         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5353         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5354         that was previously under [RESET_PID].
5355         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5357         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5359 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5361         [BZ #16977]
5362         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5363         value when x - 1 is zero.
5364         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5365         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5366         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5367         0.0L for an argument of 1.0L.
5368         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5369         Likewise.
5370         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5371         value when x - 1 is zero.
5372         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5373         * sysdeps/i386/fpu/libm-test-ulps: Update.
5374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5378         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5379         alphasort and versionsort.
5381 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5383         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5384         macro.
5385         [copysignf]: Likewise.
5387 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5389         * crypt/md5-crypt.c: Fix formatting.
5391 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5393         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5394         (b64_from_24bit): New function.
5396 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5399         libc_hidden_builtin_def to ifunc.
5400         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5401         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5403 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5405         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5406         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5408 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5410         * nscd/Depend (linuxthreads): Remove.
5411         (nptl): Add.
5412         * resolv/Depend (linuxthreads): Remove.
5413         * rt/Depend (linuxthreads): Remove.
5415         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5416         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5417         $(common-objpfx)elf/.
5418         (link-libc-before-gnulib): Likewise.
5419         (elfobjdir): Remove variable.
5420         * Makefile (install): Use $(elf-objpfx) instead of
5421         $(common-objpfx)elf/.
5422         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5423         $(elfobjdir)/.
5424         (link-libc-deps): Likewise.
5425         ($(common-objpfx)libc.so): Likewise.
5426         ($(common-objpfx)linkobj/libc.so): Likewise.
5427         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5428         instead of $(common-objpfx)elf/.
5429         (symbolic-link-list): Likewise.
5430         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5431         [$(cross-compiling) = no]: Likewise.
5432         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5433         $(elfobjdir)/.
5434         (static-gnulib-arch): Likewise.
5435         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5436         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5437         $(common-objpfx)elf/.
5439 2014-05-21  Richard Henderson  <rth@redhat.com>
5441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5442         (SINGLE_THREAD_P): Use the correct width load.  Fold
5443         into the ldr offset.
5445         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5446         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5448 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5450         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5451         (libgcc_s_resume): Use __attribute_used__.
5452         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5453         Likewise.
5455 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5457         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5458         optimization when used with float constants.
5460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5462 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5464         [BZ #16915]
5465         * locale/nl_langinfo_l.c: Make direct reference to every
5466         _nl_current_CATEGORY symbol.
5467         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5468         (tests-static): Add tst-langinfo-static.
5469         (tests-special): Add tst-langinfo-static.out.
5470         ($(objpfx)tst-langinfo.out): Redirect output.
5471         ($(objpfx)tst-langinfo-static.out): New.
5472         * localedata/tst-langinfo.sh: Send output to stdout.
5473         * localedata/tst-langinfo-static.c: New file.
5475         [BZ #16965]
5476         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5477         when the shift amount is modulo the limb size.
5479 2014-05-20  Richard Henderson  <rth@redhat.com>
5481         [BZ #16967]
5482         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5483         Change type of sa_flags from unsigned int to int.
5485         [BZ #16966]
5486         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5488         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5490 2014-05-20  Will Newton  <will.newton@linaro.org>
5492         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5493         Test the return value of the system call in the nocancel case.
5495 2014-05-20  Will Newton  <will.newton@linaro.org>
5496             Yvan Roux  <yvan.roux@linaro.org>
5498         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5499         #include of asm/ptrace.h.
5500         (PTRACE_GET_THREAD_AREA): Remove #undef.
5501         (PTRACE_GETHBPREGS): Likewise.
5502         (PTRACE_SETHBPREGS): Likewise.
5503         (struct user_regs_struct): New structure.
5504         (struct user_fpsimd_struct): New structure.
5505         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5506         #include of asm/ptrace.h and second #include of sys/user.h.
5507         (PTRACE_GET_THREAD_AREA): Remove #undef.
5508         (PTRACE_GETHBPREGS): Likewise.
5509         (PTRACE_SETHBPREGS): Likewise.
5510         (ELF_NGREG): Use new struct user_regs_struct.
5511         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5513 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5515         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5516         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5518 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5520         [BZ #16958]
5521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5522         membar to avoid block loads/stores to overlap previous stores.
5524 2014-05-17  Richard Henderson  <rth@redhat.com>
5526         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5527         Create the __##syscall_name##_nocancel entry point.
5528         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5529         Remove; let the sysdep-cancel.h code create it.
5531 2014-05-17  David S. Miller  <davem@davemloft.net>
5533         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5534         Protect with __USE_GNU.
5535         (TIOCSET_TEMPT): Likewise.
5536         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5537         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5538         these are already provided in bits/ioctl-types.h
5540 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5542         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5543         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5545         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5546         Use wait4 regardless of [__NR_waitpid].
5548 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5550         PR libgcc/60166
5551         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5552         (_FP_NANSIGN_Q): Set the quiet bit.
5554 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5556         * benchtests/Makefile
5557         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5558         not $(common-objpfx)math/libm.so.
5559         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5560         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5561         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5562         $(common-objpfx)dlfcn/libdl.so.
5563         ($(objpfx)tst-audit8): Depend on $(libm), not
5564         $(common-objpfx)math/libm.so.
5565         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5566         not $(common-objpfx)dlfcn/libdl.so.
5567         * math/Makefile
5568         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5569         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5570         [$(build-shared) = yes].
5571         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5572         $(common-objpfx)nptl/libpthread.so.
5573         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5574         $(common-objpfx)math/libm.so$(libm.so-version) or
5575         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5576         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5577         $(common-objpfx)dlfcn/libdl.so.
5578         * setjmp/Makefile (link-libm): Remove variable.
5579         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5580         * stdio-common/Makefile (link-libm): Remove variable.
5581         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5582         * stdlib/Makefile (link-libm): Remove variable.
5583         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5584         ($(objpfx)tst-strtod-round): Likewise.
5585         ($(objpfx)tst-tininess): Likewise.
5586         ($(objpfx)tst-strtod-underflow): Likewise.
5587         ($(objpfx)tst-strtod6): Likewise.
5588         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5589         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5590         $(common-objpfx)dlfcn/libdl.so.
5592 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5594         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5595         BSD terminal modes definitions.
5597 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5599         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5600         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5602         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5603         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5604         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5605         Don't do #include_next.
5606         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5607         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5608         Don't do #include_next.
5609         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5610         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5611         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5612         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5614 2014-05-16  Allan McRae  <allan@archlinux.org>
5616         * po/sv.po: Update Swedish translation from translation project.
5618         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5619         in sed expression.
5621 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5623         [BZ #16917]
5624         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5625         errno if the TIOCGPTN ioctl fails with an error different than
5626         EINVAL.
5627         * login/tst-ptsname.c: New file.
5628         * login/Makefile (tests): Add tst-ptsname.
5630         [BZ #16943]
5631         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5632         and prlimit64.
5634 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5636         [BZ #16849]
5637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5638         herrno to return EAI_AGAIN.
5640 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5642         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5643         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5644         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5645         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5646         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5647         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5648         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5649         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5650         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5651         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5652         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5653         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5654         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5655         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5656         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5657         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5658         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5659         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5660         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5661         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5662         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5663         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5664         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5665         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5666         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5667         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5668         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5669         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5670         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5671         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5673         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5675         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5677         Moved ...
5678         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5680         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5682         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5684         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5686         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5688         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5690         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5692         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5694         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5696         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5698         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5700         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5702         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5704         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5706         Moved ...
5707         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5709         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5711         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5713         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5715         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5717         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5719         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5721         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5723         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5725         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5727         Moved ...
5728         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5730         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5732         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5733         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5734         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5735         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5736         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5737         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5738         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5740         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5742         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5743         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5744         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5745         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5746         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5748         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5749         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5750         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5752         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5753         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5754         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5755         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5756         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5758         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5760         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5761         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5762         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5764         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5765         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5767         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5768         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5769         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5770         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5771         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5772         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5773         Moved ...
5774         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5776         Moved ...
5777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5779         Moved ...
5780         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5782         Moved ...
5783         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5785         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5787         Moved ...
5788         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5789         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5790         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5792         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5793         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5794         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5795         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5796         Moved ...
5797         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5798         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5799         Moved ...
5800         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5801         ... here.
5802         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5803         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5804         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5805         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5806         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5807         Moved ...
5808         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5809         ... here.
5810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5811         Moved ...
5812         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5813         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5814         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5815         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5816         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5818         Moved ...
5819         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5821         Moved ...
5822         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5824         Moved ...
5825         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5827         Moved ...
5828         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5829         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5830         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5832         Moved ...
5833         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5834         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5835         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5837         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5838         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5839         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5840         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5841         Moved ...
5842         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5843         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5844         Moved ...
5845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5846         ... here.
5847         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5848         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5849         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5850         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5851         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5852         Moved ...
5853         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5854         ... here.
5855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5856         Moved ...
5857         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5858         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5859         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5860         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5861         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5862         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5863         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5864         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5865         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5867         Moved ...
5868         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5869         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5870         Moved ...
5871         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5872         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5873         Moved ...
5874         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5876         Moved ...
5877         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5878         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5879         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5880         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5881         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5883         Moved ...
5884         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5886         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5887         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5888         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5889         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5890         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5891         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5892         Moved ...
5893         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5895         Moved ...
5896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5897         ... here.
5898         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5899         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5900         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5901         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5903         Moved ...
5904         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5905         ... here.
5906         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5907         Moved ...
5908         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5910         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5912         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5914         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5916         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5918         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5920         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5921         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5923         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5924         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5926         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5927         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5928         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5929         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5930         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5931         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5932         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5933         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5934         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5935         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5937         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5938         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5939         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5940         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5942         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5944         Moved ...
5945         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5947         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5949         Moved ...
5950         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5952         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5953         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5954         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5958         Moved ...
5959         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5960         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5961         Moved ...
5962         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5964         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5966         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5968         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5970         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5971         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5972         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5974         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5976         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5978         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5980         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5981         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5982         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5983         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5984         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5986         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5987         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5988         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5989         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5990         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5991         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5992         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5993         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5994         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5995         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5998         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6000         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6001         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6002         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6003         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6004         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6005         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6006         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6007         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6008         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6009         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6010         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6011         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6012         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6013         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6015         Update #include.
6016         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6017         Likewise.
6018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6019         Likewise.
6020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6021         Likewise.
6022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6023         Likewise.
6024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6025         Likewise.
6026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6027         Likewise.
6028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6029         Likewise.
6030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6031         Likewise.
6032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6033         Likewise.
6034         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6036         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6038         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6039         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6040         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6041         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6042         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6043         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6044         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6045         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6046         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6047         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6048         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6050         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6051         that was previously under [RESET_PID].
6052         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6053         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6054         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6056         * sysdeps/i386/nptl/Implies: New file.
6057         * sysdeps/x86_64/nptl/Implies: New file.
6058         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6059         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6060         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6061         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6063         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6064         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6065         (__libc_vfork): New strong alias.
6066         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6067         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6069         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6070         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6071         (__libc_vfork): New strong alias.
6072         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6073         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6075         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6076         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6077         (__libc_vfork): New strong alias.
6078         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6079         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6080         * nptl/pt-vfork.c: New file.
6081         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6082         (libpthread: GLIBC_2.20): New version set (empty).
6084 2014-05-14  Will Newton  <will.newton@linaro.org>
6086         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6087         rather than #if.
6089 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6091         [BZ #16564]
6092         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6093         arguments with exponent 65 or above.
6094         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6095         arguments 0x1p113L or above.
6096         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6097         to arguments 0x1p107L or above.
6098         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6099         positive arguments with exponent 65 or above.
6100         * math/auto-libm-test-in: Add more tests of log1p.
6101         * math/auto-libm-test-out: Regenerated.
6103         [BZ #16928]
6104         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6105         non-finite arguments is +0.
6106         * math/s_cacosf.c (__cacosf): Likewise.
6107         * math/s_cacosl.c (__cacosl): Likewise.
6108         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6109         * sysdeps/i386/fpu/libm-test-ulps: Update.
6110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6112         [BZ #16927]
6113         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6114         value.
6115         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6116         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6117         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6118         for explicit high bit of mantissa when testing for argument equal
6119         to 1.
6120         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6121         * sysdeps/i386/fpu/libm-test-ulps: Update.
6122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6124         [BZ #16516]
6125         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6126         (__erf): Scale by 16 instead of 8 in potentially underflowing
6127         case.  Ensure exception if result actually underflows.
6128         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6129         (__erff): Scale by 16 instead of 8 in potentially underflowing
6130         case.  Ensure exception if result actually underflows.
6131         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6132         (efx8): Remove variable.
6133         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6134         case.  Ensure exception if result actually underflows.
6135         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6136         (efx8): Remove variable.
6137         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6138         case.  Ensure exception if result actually underflows.
6139         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6140         (efx8): Remove variable.
6141         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6142         case.  Ensure exception if result actually underflows.
6143         * math/auto-libm-test-in: Add more tests of erf.
6144         * math/auto-libm-test-out: Regenerated.
6146 2014-05-14  Andreas Schwab  <schwab@suse.de>
6148         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6149         Remove code conditionalized on USE___THREAD.
6151         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6152         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6153         not definedness.
6155 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6157         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6158         Define unconditionally.
6159         (__ASSUME_O_CLOEXEC): Likewise.
6160         (__ASSUME_SOCK_CLOEXEC): Likewise.
6161         (__ASSUME_IN_NONBLOCK): Likewise.
6162         (__ASSUME_PIPE2): Likewise.
6163         (__ASSUME_EVENTFD2): Likewise.
6164         (__ASSUME_SIGNALFD4): Likewise.
6165         (__ASSUME_DUP3): Likewise.
6166         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6167         (__ASSUME_DUP3): Do not define.
6168         (__ASSUME_EVENTFD2): Likewise.
6169         (__ASSUME_IN_NONBLOCK): Likewise.
6170         (__ASSUME_O_CLOEXEC): Likewise.
6171         (__ASSUME_PIPE2): Likewise.
6172         (__ASSUME_SIGNALFD4): Likewise.
6173         (__ASSUME_SOCK_CLOEXEC): Likewise.
6174         (__ASSUME_UTIMES): Undefine.
6175         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6176         (__ASSUME_UTIMES): Do not define.
6177         (__ASSUME_O_CLOEXEC): Likewise.
6178         (__ASSUME_SOCK_CLOEXEC): Likewise.
6179         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6180         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6181         0x020621].
6182         (__ASSUME_PIPE2): Likewise.
6183         (__ASSUME_EVENTFD2): Likewise.
6184         (__ASSUME_SIGNALFD4): Likewise.
6185         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6186         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6187         Do not define.
6188         (__ASSUME_EVENTFD2): Likewise.
6189         (__ASSUME_SIGNALFD4): Likewise.
6190         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6191         (__ASSUME_32BITUIDS): Likewise.
6192         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6193         (__ASSUME_IPC64): Likewise.
6194         (__ASSUME_ST_INO_64_BIT): Likewise.
6195         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6196         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6197         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6198         (__ASSUME_UTIMES): Do not define.
6199         (__ASSUME_PSELECT): Likewise.
6200         (__ASSUME_PPOLL): Likewise.
6201         (__ASSUME_O_CLOEXEC): Likewise.
6202         (__ASSUME_SOCK_CLOEXEC): Likewise.
6203         (__ASSUME_IN_NONBLOCK): Likewise.
6204         (__ASSUME_PIPE2): Likewise.
6205         (__ASSUME_EVENTFD2): Likewise.
6206         (__ASSUME_SIGNALFD4): Likewise.
6207         (__ASSUME_DUP3): Likewise.
6208         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6209         (__ASSUME_UTIMES): Likewise.
6210         (__ASSUME_O_CLOEXEC): Likewise.
6211         (__ASSUME_SOCK_CLOEXEC): Likewise.
6212         (__ASSUME_IN_NONBLOCK): Likewise.
6213         (__ASSUME_PIPE2): Likewise.
6214         (__ASSUME_EVENTFD2): Likewise.
6215         (__ASSUME_SIGNALFD4): Likewise.
6216         (__ASSUME_DUP3): Likewise.
6217         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6218         (__ASSUME_UTIMES): Likewise.
6219         (__ASSUME_O_CLOEXEC): Likewise.
6220         (__ASSUME_SOCK_CLOEXEC): Likewise.
6221         (__ASSUME_IN_NONBLOCK): Likewise.
6222         (__ASSUME_PIPE2): Likewise.
6223         (__ASSUME_EVENTFD2): Likewise.
6224         (__ASSUME_SIGNALFD4): Likewise.
6225         (__ASSUME_DUP3): Likewise.
6226         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6227         Likewise.
6228         (__ASSUME_UTIMES): Likewise.
6229         (__ASSUME_EVENTFD2): Likewise.
6230         (__ASSUME_SIGNALFD4): Likewise.
6231         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6232         (__ASSUME_O_CLOEXEC): Likewise.
6233         (__ASSUME_SOCK_CLOEXEC): Likewise.
6234         (__ASSUME_IN_NONBLOCK): Likewise.
6235         (__ASSUME_PIPE2): Likewise.
6236         (__ASSUME_EVENTFD2): Likewise.
6237         (__ASSUME_SIGNALFD4): Likewise.
6238         (__ASSUME_DUP3): Likewise.
6239         (__ASSUME_UTIMES): Undefine.
6241         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6242         feclearexcept.  Remove symbol versioning code.
6243         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6244         symbol versioning code.
6245         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6246         symbol versioning code.
6247         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6248         feupdateenv.  Remove symbol versioning code.
6249         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6250         fegetexceptflag.  Remove symbol versioning code.
6251         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6252         fesetexceptflag.  Remove symbol versioning code.
6253         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6254         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6255         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6256         (__posix_fadvise64_l32): Remove prototype.
6257         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6258         code.
6260 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6262         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6263         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6264         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6265         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6267 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6269         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6270         current working directory
6272 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6274         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6275         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6276         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6277         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6278         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6279         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6280         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6281         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6283         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6285         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6286         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6287         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6288         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6289         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6291         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6293         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6295         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6296         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6297         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6298         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6299         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6300         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6301         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6303         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6304         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6305         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6306         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6307         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6308         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6309         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6310         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6311         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6312         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6313         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6314         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6315         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6317         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6318         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6320         * sysdeps/unix/sysv/linux/arm/Makefile
6321         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6322         Add rt-aeabi_unwind_cpp_pr1.
6323         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6324         Add nptl-aeabi_unwind_cpp_pr1.
6325         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6326         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6327         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6328         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6329         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6330         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6332         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6333         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6334         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6335         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6337         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6338         Deconditionalize the code that was previously under [RESET_PID].
6339         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6341         * sysdeps/generic/exit-thread.h: New file.
6342         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6343         * include/unistd.h (__exit_thread): Remove declaration.
6344         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6345         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6346         * csu/libc-start.c: Include <exit-thread.h>.
6347         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6348         * nptl/pthread_create.c: Include <exit-thread.h>.
6349         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6350         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6351         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6352         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6353         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6354         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6355         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6356         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6357         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6358         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6359         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6360         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6361         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6362         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6363         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6364         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6365         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6367 2014-05-13  Andreas Schwab  <schwab@suse.de>
6369         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6371 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6373         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6374         (__ASSUME_UTIMES): Do not condition on kernel version.
6375         (__ASSUME_PSELECT): Define unconditionally.
6376         (__ASSUME_PPOLL): Likewise.
6377         (__ASSUME_ATFCTS): Likewise.
6378         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6379         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6380         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6381         (__ASSUME_UTIMENSAT): Define unconditionally.
6382         (__ASSUME_PRIVATE_FUTEX): Likewise.
6383         (__ASSUME_FALLOCATE): Likewise.
6384         (__ASSUME_O_CLOEXEC): Likewise.
6385         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6386         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6387         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6388         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6389         (__ASSUME_IN_NONBLOCK): Likewise.
6390         (__ASSUME_PIPE2): Likewise.
6391         (__ASSUME_EVENTFD2): Likewise.
6392         (__ASSUME_SIGNALFD4): Likewise.
6393         (__ASSUME_DUP3): Likewise.
6394         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6395         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6396         (__ASSUME_AT_RANDOM): Likewise.
6397         (__ASSUME_PREADV): Likewise.
6398         (__ASSUME_PWRITEV): Likewise.
6399         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6400         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6401         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6402         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6403         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6405         (__ASSUME_O_CLOEXEC): Define unconditionally.
6406         (__ASSUME_PSELECT): Do not undefine conditionally.
6407         (__ASSUME_PPOLL): Likewise.
6408         (__ASSUME_ATFCTS): Likewise.
6409         (__ASSUME_SET_ROBUST_LIST): Likewise.
6410         (__ASSUME_UTIMENSAT): Likewise.
6411         (__ASSUME_FDATASYNC): Define unconditionally.
6412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6413         (__ASSUME_SIGFRAME_V2): Likewise.
6414         )__ASSUME_EVENTFD2): Likewise.
6415         (__ASSUME_SIGNALFD4): Likewise.
6416         (__ASSUME_PSELECT): Do not undefine conditionally.
6417         (__ASSUME_PPOLL): Likewise.
6418         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6419         (__ASSUME_PSELECT): Define unconditionally.
6420         (__ASSUME_PPOLL): Likewise.
6421         (__ASSUME_O_CLOEXEC): Likewise.
6422         (__ASSUME_SOCK_CLOEXEC): Likewise.
6423         (__ASSUME_IN_NONBLOCK): Likewise.
6424         (__ASSUME_PIPE2): Likewise.
6425         (__ASSUME_EVENTFD2): Likewise.
6426         (__ASSUME_SIGNALFD4): Likewise.
6427         (__ASSUME_DUP3): Likewise.
6428         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6429         (__ASSUME_O_CLOEXEC): Likewise.
6430         (__ASSUME_SOCK_CLOEXEC): Likewise.
6431         (__ASSUME_IN_NONBLOCK): Likewise.
6432         (__ASSUME_PIPE2): Likewise.
6433         (__ASSUME_EVENTFD2): Likewise.
6434         (__ASSUME_SIGNALFD4): Likewise.
6435         (__ASSUME_DUP3): Likewise.
6436         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6437         (__ASSUME_EVENTFD2): Likewise.
6438         (__ASSUME_SIGNALFD4): Likewise.
6439         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6441 2014-05-12  Andreas Schwab  <schwab@suse.de>
6443         [BZ #16932]
6444         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6445         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6446         than maximum RPC packet size.
6447         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6448         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6449         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6450         (_nss_nis_getservbyport_r): Likewise.
6452 2014-05-12  Will Newton  <will.newton@linaro.org>
6454         * malloc/Makefile (tests): Add tst-mallopt.
6455         * malloc/tst-mallopt.c: New file.
6457 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6459         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6460         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6462 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6464         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6465         (tst-tlsmod6.so): Likewise.
6467 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6469         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6471 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6473         [BZ #16064]
6474         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6475         and <dl-procinfo.h>.
6476         (__fegetenv): Save SSE state in envp->__eip if supported.
6477         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6478         envp->__eip if supported.
6479         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6480         and <dl-procinfo.h>.
6481         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6482         __data_offset and __data_selector in environment to 0.  Set SSE
6483         state if supported.
6484         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6485         test-fenv-sse.
6486         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6487         -mfpmath=sse.
6488         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6490 2014-05-09  Will Newton  <will.newton@linaro.org>
6492         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6493         and libc_relro_required for ARM.
6494         * sysdeps/arm/preconfigure: Regenerate.
6496 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6497             Stefan Liebler  <stli@linux.vnet.ibm.com>
6499         * config.make.in (enable-lock-elision): New Makefile variable.
6500         * configure.ac: Likewise.
6501         * configure: Regenerate.
6502         * sysdeps/s390/configure.ac:
6503         Add check for gcc transactions support.
6504         * sysdeps/s390/configure: Regenerate.
6505         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6506         Build elision files if enabled.
6507         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6508         Add lock elision support for s390.
6509         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6510         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6511         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6512         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6513         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6514         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6515         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6516         Likewise.
6517         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6518         Likewise.
6519         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6520         Likewise.
6521         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6522         Likewise.
6523         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6524         (__lll_timedlock_elision, __lll_lock_elision)
6525         (__lll_unlock_elision, __lll_trylock_elision)
6526         (lll_timedlock_elision, lll_lock_elision)
6527         (lll_unlock_elision, lll_trylock_elision): Add.
6528         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6529         (pthread_mutex_t): Add lock elision support for s390.
6531 2014-05-14  Wilco  <wdijkstr@arm.com>
6533         * sysdeps/arm/fclrexcpt.c: Cleanup.
6534         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6535         * sysdeps/arm/feenablxcpt.c: Cleanup.
6536         * sysdeps/arm/fegetenv.c: Cleanup.
6537         * sysdeps/arm/fegetexcept.c: Cleanup.
6538         * sysdeps/arm/fegetround.c: Cleanup.
6539         * sysdeps/arm/feholdexcpt.c: Cleanup.
6540         * sysdeps/arm/fesetenv.c: Cleanup.
6541         * sysdeps/arm/fesetround.c: Cleanup.
6542         * sysdeps/arm/feupdateenv.c: Cleanup.
6543         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6544         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6545         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6546         * sysdeps/arm/ftestexcept.c: Cleanup.
6547         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6548         * sysdeps/arm/setfpucw.c: Cleanup.
6550 2014-05-09  Will Newton  <will.newton@linaro.org>
6552         * sysdeps/arm/armv7/strcmp.S: New file.
6553         * NEWS: Mention addition of ARMv7 optimized strcmp.
6555 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6557         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6558         look for %.ac rather than %.in.
6560         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6561         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6562         * sysdeps/mach/hurd/configure: Regenerated.
6563         * sysdeps/unix/sysv/linux/configure: Regenerated.
6565         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6567 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6569         [BZ# 16922]
6570         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6571         (LONG_SUB): Ditto.
6572         (PTR_SUB): Ditto.
6574 2014-05-07  Andreas Schwab  <schwab@suse.de>
6576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6577         when skipping over non-matching result from nscd.
6579 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6581         [BZ #16876]
6582         * nptl/sockperf.c (client): Check socket return value.
6584         [BZ #16877]
6585         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6586         nscd security class.
6588 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6590         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6591         * sysdeps/arm/unwind.h: ... here.
6593 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6595         [BZ# 16916]
6596         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6597         Define.
6599 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6601         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6602         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6603         multiarch strncpy for PPC64.
6604         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6605         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6607         multiarch optimizations.
6608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6609         (__libc_ifunc_impl_list): Likewise.
6610         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6611         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6612         multiarch stpncpy for PPC64.
6613         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6614         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6616 2014-05-06  Andreas Schwab  <schwab@suse.de>
6618         [BZ #16912]
6619         * gmon/mcount.c (_MCOUNT_DECL): Use
6620         atomic_compare_and_exchange_bool_acq instead of
6621         catomic_compare_and_exchange_bool_acq.
6623 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6625         * elf/Makefile (others, install-bin): Remove pldd.
6626         (pldd-modules): Variable removed.
6627         ($(objpfx)pldd): Target removed.
6628         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6629         (others, install-bin): Append pldd here.
6630         ($(objpfx)pldd): New target.
6632         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6633         to 0, so the first #if test emitted later doesn't see it undefined.
6634         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6635         * sysdeps/gnu/errlist.c: Regenerated.
6637 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6639         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6640         [libc_hidden_builtin_def]: Define to empty value.
6641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6642         [libc_hidden_builtin_def]: Likewise.
6643         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6644         [libc_hidden_builtin_def]: Likewise.
6645         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6646         [libc_hidden_builtin_def]: Likewise.
6647         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6648         __redirect_memcpy and define ifunc as default hidden symbol.
6649         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6650         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6652 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6654         * locale/iso-4217.def: Reintroduce XDR currency.
6656 2014-05-04  Allan McRae  <allan@archlinux.org>
6658         * po/eo.po: Update Esperanto translation from translation project.
6660 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6662         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6663         and FEATURE_INDEX_MAX to 1.
6664         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6666 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6668         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6669         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6670         * iconvdata/big5.c (ONE_DIRECTION): Define.
6671         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6672         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6673         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6674         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6675         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6676         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6677         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6678         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6679         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6680         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6681         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6682         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6683         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6684         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6685         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6686         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6687         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6688         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6689         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6690         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6691         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6692         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6693         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6694         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6695         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6696         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6697         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6698         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6699         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6700         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6701         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6702         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6703         * iconvdata/johab.c (ONE_DIRECTION): Define.
6704         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6705         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6706         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6707         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6708         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6709         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6710         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6711         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6712         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6713         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6715 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6717         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6718         (_IO_JUMPS_OFFSET): Define to 0.
6720         * nptl/sysdeps/pthread/bits/libc-lock.h
6721         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6722         (__libc_lock_define_initialized_recursive): Always define using
6723         initializer.  Modern compilers treat uninitialized (implicit zero) and
6724         explicit zero initializers the same (i.e. put the datum in bss).
6726 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6728         * nscd/nscd-client.h: Include <string.h>.
6730 2014-05-01  David S. Miller  <davem@davemloft.net>
6732         [BZ #16885]
6733         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6734         multiple zero bytes exist at the end of a string.
6735         Reported by Aurelien Jarno <aurelien@aurel32.net>
6737         * string/test-strcmp.c (check): Add explicit test for situations where
6738         there are multiple zero bytes after the first.
6740 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6742         [BZ #16890]
6743         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6744         when compiling wprintf.
6745         * stdio-common/tstdiomisc.c (t3): New function.
6746         (main): Call it.
6748 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6750         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6751         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6752         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6753         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6755 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6757         * stdlib/longlong.h: Updated from GCC.
6759 2014-05-01  Will Newton  <will.newton@linaro.org>
6760             Bernard Ogden  <bernie.ogden@linaro.org>
6762         * NEWS: Update fixed bug list.
6764         [BZ #15119]
6765         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6767 2014-04-30  David S. Miller  <davem@davemloft.net>
6769         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6770         (libc_feholdexcept_setround_sparc_ctx): New function.
6771         (libc_fesetenv_sparc_ctx): Likewise.
6772         (libc_feupdateenv_sparc_ctx): Likewise.
6773         (libc_feholdsetround_sparc_ctx): Likewise.
6774         (libc_feholdexcept_setround_ctx): Define.
6775         (libc_feholdexcept_setroundf_ctx): Likewise.
6776         (libc_feholdexcept_setroundl_ctx): Likewise.
6777         (libc_fesetenv_ctx): Likewise.
6778         (libc_fesetenvf_ctx): Likewise.
6779         (libc_fesetenvl_ctx): Likewise.
6780         (libc_feupdateenv_ctx): Likewise.
6781         (libc_feupdateenvf_ctx): Likewise.
6782         (libc_feupdateenvl_ctx): Likewise.
6783         (libc_feresetround_ctx): Likewise.
6784         (libc_feresetroundf_ctx): Likewise.
6785         (libc_feresetroundl_ctx): Likewise.
6786         (libc_feholdsetround_ctx): Likewise.
6787         (libc_feholdsetroundf_ctx): Likewise.
6788         (libc_feholdsetroundl_ctx): Likewise.
6790         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6791         with __USE_GNU instead of XOPEN cpp guards.
6793         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6794         0.
6796         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6797         with XOPEN cpp guards.
6799 2014-04-30  Julian Brown  <julian@codesourcery.com>
6801         [BZ #16888]
6802         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6803         handling.
6805 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6807         [BZ #9894]
6808         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6809         Change to 2.6.32.
6810         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6811         * sysdeps/unix/sysv/linux/configure: Regenerated.
6812         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6813         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6814         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6815         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6816         * README: Update reference to required Linux kernel version.
6817         * manual/install.texi (Linux): Update reference to required Linux
6818         kernel headers version.
6819         * INSTALL: Regenerated.
6821         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6822         header inclusion.
6823         [POSIX] (limits.h): Likewise.
6824         [POSIX] (math.h): Likewise.
6825         [POSIX] (sys/wait.h): Likewise.
6826         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6827         function.
6828         [POSIX] (stddef.h): Do not allow header inclusion.
6830 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6832         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6834 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6836         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6837         Return immediately after lll_futex_wake.
6839 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6841         [BZ #16791]
6842         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6843         structure.
6844         (datahead_init_pos): Call datahead_init_common early.
6845         (datahead_init_neg): Likewise.
6847         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6848         datahead_init_neg): New functions.
6849         * nscd/aicache.c (addhstaiX): Use them.
6850         * nscd/grpcache.c (cache_addgr): Likewise.
6851         * nscd/hstcache.c (cache_addhst): Likewise.
6852         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6853         * nscd/netgroupcache.c (do_notfound): Likewise.
6854         (addgetnetgrentX): Likewise.
6855         (addinnetgrX): Likewise.
6856         * nscd/pwdcache.c (cache_addpw): Likewise.
6857         * nscd/servicescache.c (cache_addserv): Likewise.
6859 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6860             Atsushi Onoe  <atsushi@onoe.org>
6862         [BZ #14308]
6863         [BZ #12994]
6864         [BZ #13651]
6865         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6866         one response is valid.
6867         * resolv/res_send.c (send_dg): Check for validity of other
6868         response if the current response is a referral.
6870 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6872         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6874 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6876         [BZ #16823]
6877         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6878         Always divide by positive zero when computing -Inf result.
6879         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6880         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6882 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6884         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6885         FPSCR if value do not change.
6886         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6887         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6888         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6889         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6890         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6891         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6892         function.
6894 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6896         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6897         * sysdeps/unix/sysv/linux/hppa: Move directory from
6898         ports/systeps/unix/sysv/linux/hppa.
6899         * README: Update listing for hppa-*-linux-gnu.
6901 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6903         [BZ #16754]
6904         * manual/stdio.texi (Hook functions): Fix types of stream hook
6905         functions.
6906         [BZ #16854]
6907         * socket/sys/socket.h: Fix typo in comment.
6909 2014-04-28  Wilco  <wdijkstr@arm.com>
6911         * sysdeps/arm/fenv_private.h: New file.
6912         * sysdeps/arm/math_private.h: New file.
6913         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6915 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6917         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6918         with __int128_t.
6919         (La_x86_64_retval): Likewise.
6921 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6923         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6924         fpsr if value didn't change.
6925         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6926         to fpcr if value didn't change.
6927         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6928         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6929         fpsr or fpcr if value didn't change.
6930         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6931         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6932         fpcr if value didn't change.
6933         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6934         to fpsr if value didn't change.
6936 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6938         * nptl/tst-sem3.c: Use test-skeleton.c
6939         (main): Rename to do_test.  Use return instead of
6940         exit.
6941         * nptl/tst-sem4.c: Use test-skeleton.c
6942         (main): Rename to do_test.
6944 2014-04-22  David S. Miller  <davem@davemloft.net>
6946         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6947         (struct sigaction): New struct member __glibc_reserved0, change
6948         type of sa_flags to int.
6950 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6952         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6953         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6955 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6957         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6958         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6960 2014-04-22  Will Newton  <will.newton@linaro.org>
6961             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6963         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6964         (__longjmp): Add longjmp and longjmp_target SystemTap
6965         probes.
6966         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6967         (__sigsetjmp): Add setjmp SystemTap probe.
6969 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6971         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6972         match manual order.
6974 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6976         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6978         * sysdeps/powerpc/fpu/fenv_private.h
6979         (libc_feholdexcept_setroundl_ctx): Define to
6980         libc_feholdexcept_setround_ppc_ctx.
6981         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6982         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6983         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6984         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6986 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6988         * sysdeps/aarch64/math-tests.h: New file.
6990 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6992         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6993         New.
6994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6995         Check and set bit_AVX2_Usable.
6996         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6997         macro.
6998         (bit_AVX2): Likewise.
6999         (index_AVX2_Usable): Likewise.
7000         (CPUID_AVX2): Likewise.
7001         (HAS_AVX2): Likewise.
7003 2014-04-17  Will Newton  <will.newton@linaro.org>
7005         * manual/setjmp.texi (System V contexts): Add note that
7006         calling setcontext on a context created by a call to a
7007         signal handler is undefined.  Update text to note that
7008         setcontext from a signal handler is possible but not
7009         recommended.
7011         [BZ #16629]
7012         * stdlib/tst-setcontext.c: Include signal.h.
7013         (main): Check that the signal stack before and
7014         after swapcontext is the same.
7016         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7017         Re-implement to restore registers in user code and avoid
7018         rt_sigreturn system call.
7020 2014-04-17  Wilco  <wdijkstr@arm.com>
7022         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7023         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7024         * math/test-fenv.c: Skip exception trap tests on targets which only
7025         support non-stop mode.
7027 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7028             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7030         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7031         (libc_feholdsetround_aarch64_ctx)
7032         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7033         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7034         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7035         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7036         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7037         (libc_feresetround_noexl_ctx): Define.
7039 2014-04-16  Richard Henderson  <rth@redhat.com>
7041         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7043         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7044         unwind tables.
7046         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7047         const from the non-libc, non-ldso copy.
7049         * sysdeps/alpha/libm-test-ulps: Regenerate.
7051 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7052             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7054         * sysdeps/aarch64/fpu/math_private.h: New file.
7056 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7058         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7060 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7062         [BZ #16275]
7063         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7064         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7066         Intel MPX bound registers before _dl_profile_fixup.
7067         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7068         registers after _dl_profile_fixup.  Save and restore bound
7069         registers bnd0/bnd1 when calling _dl_call_pltexit.
7070         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7071         (LR_BND_OFFSET): Likewise.
7072         (LRV_BND0_OFFSET): Likewise.
7073         (LRV_BND1_OFFSET): Likewise.
7075 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7077         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7078         to...
7079         * sysdeps/mach/hurd/i386/tls.h: ... here.
7080         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7081         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7082         fields.
7084 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7086         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7088 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7090         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7092 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7094         [BZ #14770]
7095         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7096         * sysdeps/s390/configure: Regenerate.
7098         [BZ #16824]
7099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7100         Set round-to-nearest internally to reduce error accumulation.
7102 2014-04-16  Alan Modra  <amodra@gmail.com>
7104         [BZ #16740]
7105         [BZ #16619]
7106         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7107         * math/libm-test.inc (frexp_test_data): Add tests.
7108         * NEWS: Update fixed bug list.
7110 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7112         * benchtests/Makefile: Depend on libraries in build directory.
7113         (bench-math): Separate out math tests.
7114         (bench-pthread): Separate out pthread tests.
7115         (bench): Include math and pthread tests.
7117 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7119         [BZ #16831]
7120         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7121         _dl_debug_initialize.
7123         * configure.ac: Remove SELinux header check.
7124         * configure: Regenerate.
7125         * nscd/selinux.c (perms): Array of const char* to permission names.
7126         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7127         default policy. Call string_to_security_class and string_to_av_perm to
7128         translate strings. Enforce default policy and call avs_has_perm with
7129         results of translated strings.
7131 2014-04-13  David S. Miller  <davem@davemloft.net>
7133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7135 2014-04-12  Allan McRae  <allan@archlinux.org>
7137         [BZ #16838]
7138         * manual/string.texi (Collation Functions): Fix qsort argument
7139         order in example.
7140         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7142 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7144         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7145         Make the test a no-op if there are no exceptions defined.
7147 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7149         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7150         enable-hardcoded-path-in-tests
7152 2014-04-11  Will Newton  <will.newton@linaro.org>
7154         * benchtests/Makefile (extra-objs): Add json-lib.o.
7155         (bench-func): Tidy up JSON output.
7156         * benchtests/bench-skeleton.c: Include json-lib.h.
7157         (main): Use JSON library functions to do output of
7158         benchmark results.
7159         * benchtests/bench-timing-type.c (main): Output the
7160         timing type simply, leaving formatting to the user.
7161         * benchtests/json-lib.c: New file.
7162         * benchtests/json-lib.h: Likewise.
7164 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7166         [BZ #15215]
7167         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7168         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7169         memory barriers.  Add comments.
7170         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7171         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7172         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7173         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7174         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7175         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7177 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7179         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7180         * sysdeps/s390/s390-64/configure.ac: ... this ...
7181         * sysdeps/s390/configure.ac: ... to here.
7182         * sysdeps/s390/s390-32/configure: Delete file.
7183         * sysdeps/s390/s390-64/configure: Delete file.
7184         * sysdeps/s390/configure: Regenerate.
7186 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7188         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7190 2014-04-11  Will Newton  <will.newton@linaro.org>
7192         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7193         to zero if it is not defined elsewhere.  (mtrim): Test
7194         the value of MALLOC_DEBUG with #if rather than #ifdef.
7196 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7198         * benchtests/pthread_once-inputs: New file.
7199         * benchtests/pthread_once-source.c: New file.
7200         * benchtests/README: Update documentation.
7202 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7203             H.J. Lu  <hongjiu.lu@intel.com>
7205         [BZ #16275]
7206         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7207         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7208         * sysdeps/x86_64/configure: Regenerated.
7209         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7210         macro.
7211         (REGISTER_SAVE_RAX): Likewise.
7212         (REGISTER_SAVE_RCX): Likewise.
7213         (REGISTER_SAVE_RDX): Likewise.
7214         (REGISTER_SAVE_RSI): Likewise.
7215         (REGISTER_SAVE_RDI): Likewise.
7216         (REGISTER_SAVE_R8): Likewise.
7217         (REGISTER_SAVE_R9): Likewise.
7218         (REGISTER_SAVE_BND0): Likewise.
7219         (REGISTER_SAVE_BND1): Likewise.
7220         (REGISTER_SAVE_BND2): Likewise.
7221         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7222         bound registers when calling _dl_fixup.
7224 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7226         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7227         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7228         of its definition.
7229         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7230         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7231         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7232         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7233         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7234         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7235         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7237 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7239         [BZ #15514]
7240         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7241         pathconf(_PC_NAME_MAX).
7243 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7245         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7246         Remove macro usage.
7247         (__PTHREAD_SPINS): Move definition to ...
7248         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7249         (__PTHREAD_SPINS): ... here.
7250         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7251         (__PTHREAD_SPIN): Likewise.
7252         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7253         (__PTHREAD_SPIN): Likewise.
7254         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7255         (__PTHREAD_SPIN): Likewise.
7256         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7257         (__PTHREAD_SPIN): Likewise.
7258         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7259         (__PTHREAD_SPIN): Likewise.
7260         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7261         (__PTHREAD_SPIN): Likewise.
7262         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7263         (__PTHREAD_SPIN): Likewise.
7264         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7265         (__PTHREAD_SPIN): Likewise.
7266         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7267         (__PTHREAD_SPIN): Likewise.
7268         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7269         (__PTHREAD_SPIN): Likewise.
7270         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7271         (__PTHREAD_SPIN): Likewise.
7272         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7273         (__PTHREAD_SPIN): Likewise.
7275         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7276         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7277         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7278         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7279         imply folder.
7280         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7281         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7282         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7283         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7284         correct imply path.
7285         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7286         strlen symbol for non multi-arch builds.
7287         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7288         missing hidden_def and weak_alias.
7290 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7292         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7294 2014-04-07  Will Newton  <will.newton@linaro.org>
7296         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7297         and contents.  [!_LIBC] Remove #ifndef and contents.
7298         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7299         * string/memccpy.c (__memccpy): Use ANSI prototype.
7300         * string/memfrob.c (memfrob): Likewise.
7301         * string/strcoll.c (STRCOLL): Likewise.
7302         * string/strlen.c (strlen): Likewise.
7303         * string/strtok.c (STRTOK): Likewise.
7304         * string/strcat.c: Remove unused #include of memcopy.h.
7305         (strcat): Use ANSI prototype.
7306         * string/strchr.c: Remove unused #include of memcopy.h.
7307         (strchr): Use ANSI prototype.
7308         * string/strcmp.c: Remove unused #include of memcopy.h.
7309         (strcmp): Use ANSI prototype.
7310         * string/strcpy.c: Remove unused #include of memcopy.h.
7311         (strcpy): Use ANSI prototype.
7313 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7315         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7316         * config.make.in (config-extra-cppflags): Set it from
7317         libc_extra_cppflags.
7318         * configure.ac (libc_extra_cflags): Make it accumulate over
7319         configure fragments.
7320         (libc_extra_cppflags): New flag.
7321         * configure. Regenerate.
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7323         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7324         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7327         [BZ #16815]
7328         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7329         result for FE_DOWNWARD rounding mode.
7330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7331         Likewise.
7332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7334 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7336         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7337         in function argument name.
7339 2014-04-03  David Svoboda  <svoboda@cert.org>
7341         [BZ #5666]
7342         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7343         explicitly.
7345 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7347         * elf/dl-unmap-segments.h: New file.
7348         * sysdeps/generic/ldsodefs.h
7349         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7350         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7351         * elf/dl-fptr.c: Likewise.
7352         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7353         * sysdeps/aarch64/tlsdesc.c: Likewise.
7354         * sysdeps/arm/tlsdesc.c: Likewise.
7355         * sysdeps/i386/tlsdesc.c: Likewise.
7356         * sysdeps/tile/dl-runtime.c: Likewise.
7357         * sysdeps/x86_64/tlsdesc.c: Likewise.
7358         * elf/dl-load.h: New file.
7359         * elf/dl-load.c: Include it.
7360         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7361         Macros moved to dl-load.h.
7362         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7363         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7364         Use _dl_unmap_segments in place of __munmap.
7365         Break out segment-mapping loop into ...
7366         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7368 2014-04-03  Will Newton  <will.newton@linaro.org>
7370         * elf/dl-lookup.c (do_lookup_x): Remove comment
7371         referring to nested function and move variable
7372         declarations down to before first use.
7374 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7376         [BZ #16799]
7377         [BZ #16800]
7378         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7379         with 0 numerator.
7380         * math/s_catanf.c (__catanf): Likewise.
7381         * math/s_catanh.c (__catanh): Likewise.
7382         * math/s_catanhf.c (__catanhf): Likewise.
7383         * math/s_catanhl.c (__catanhl): Likewise.
7384         * math/s_catanl.c (__catanl): Likewise.
7385         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7386         by positive zero when computing -Inf result.
7387         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7388         (catanh_test): Likewise.
7389         * sysdeps/i386/fpu/libm-test-ulps: Update.
7390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7392         [BZ #16789]
7393         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7394         instead of using underflowing value in computing result.
7395         * math/s_clog10.c (__clog10): Likewise.
7396         * math/s_clog10f.c (__clog10f): Likewise.
7397         * math/s_clog10l.c (__clog10l): Likewise.
7398         * math/s_clogf.c (__clogf): Likewise.
7399         * math/s_clogl.c (__clogl): Likewise.
7400         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7401         (clog10_test): Likewise.
7402         * sysdeps/i386/fpu/libm-test-ulps: Update.
7403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7405 2014-04-02  Alan Modra  <amodra@gmail.com>
7407         [BZ #16739]
7408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7409         output when value is near a power of two.  Use int64_t for lx and
7410         remove casts.  Use decimal rather than hex exponent constants.
7411         Don't use long double multiplication when double will suffice.
7412         * math/libm-test.inc (nextafter_test_data): Add tests.
7413         * NEWS: Add 16739 and 16786 to bug list.
7415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7417         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7419 2014-04-01  Will Newton  <will.newton@linaro.org>
7421         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7422         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7424 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7426         [BZ #13347]
7427         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7428         * nptl/tst-setuid2.c: New file.
7429         * nptl/Makefile (xtests): Add tst-setuid2.
7431 2014-04-01  Alan Modra  <amodra@gmail.com>
7433         [BZ #16786]
7434         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7436 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7438         [BZ #6803]
7439         [BZ #6804]
7440         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7441         set errno as appropriate.
7442         * math/w_scalbf.c (__scalbf): Likewise.
7443         * math/w_scalbl.c (__scalbl): Likewise.
7444         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7445         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7446         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7447         Add more NaN tests.
7449         [BZ #16349]
7450         * math/w_atan2.c: Include <errno.h>.
7451         (__atan2): Set errno for result underflowing to zero.
7452         * math/w_atan2f.c: Include <errno.h>.
7453         (__atan2f): Set errno for result underflowing to zero.
7454         * math/w_atan2l.c: Include <errno.h>.
7455         (__atan2l): Set errno for result underflowing to zero.
7456         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7457         tests.
7458         * math/auto-libm-test-out: Regenerated.
7460 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7463         Encode instruction correctly in little endian.
7464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7465         Likewise.
7466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7467         Likewise.
7468         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7469         Likewise.
7470         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7471         Likewise.
7473 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7475         [BZ #9894]
7476         * sysdeps/unix/sysv/linux/kernel-features.h
7477         [__sparc__ && !__arch64__ && !__sparc_v9__]
7478         (__ASSUME_SET_ROBUST_LIST): Do not define.
7479         [__sparc__ && !__arch64__ && !__sparc_v9__]
7480         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7481         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7482         Likewise.
7483         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7484         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7485         (__ASSUME_REQUEUE_PI): Likewise.
7486         (__ASSUME_SET_ROBUST_LIST): Likewise.
7487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7488         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7489         Undefine.
7490         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7491         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7492         Likewise.
7493         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7494         Likewise.
7495         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7496         Likewise.
7497         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7498         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7499         Undefine.
7500         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7501         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7502         Likewise.
7504         [BZ #16648]
7505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7507         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7509 2014-03-31  Will Newton  <will.newton@linaro.org>
7511         * benchtests/Makefile (bench): Add ffs and ffsll to list
7512         of tests.
7513         * benchtests/ffs-inputs: New file.
7514         * benchtests/ffsll-inputs: Likewise.
7516 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7518         [BZ #16770]
7519         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7520         too large before casting to int.
7521         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7522         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7523         * math/libm-test.inc (scalb_test_data): Add more tests.
7525 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7527         * benchtests/Makefile (DETAILED_OPT): New make option.
7528         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7529         set.
7530         * benchtests/bench-skeleton.c: Include stdbool.h.
7531         (main): Store and print timings per input.
7532         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7533         member to each argument value.
7534         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7535         (_print_arg_data): Initialize per-input timing to 0.
7537         * benchtests/Makefile (timing-type): New binary.
7538         (bench-clean): Also remove bench-timing-type.
7539         (bench): New target for timing-type.
7540         (bench-func): Print output in JSON format.
7541         * benchtests/bench-skeleton.c (main): Print output in JSON
7542         format.
7543         * benchtests/bench-timing-type.c: New file.
7544         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7545         (TIMING_PRINT_STATS): Remove.
7546         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7547         name separately.
7549         * benchtests/bench-modf.c: Remove.
7550         * benchtests/modf-inputs: New inputs file.
7552 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7554         [BZ #16362]
7555         * math/s_clog10.c (M_PI_LOG10E): New macro.
7556         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7557         imaginary parts are 0.
7558         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7559         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7560         imaginary parts are 0.
7561         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7562         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7563         imaginary parts are 0.
7564         * math/libm-test.inc (clog10_test_data): Update expected results
7565         for when real and imaginary parts are 0.
7567 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7569         * elf/dl-load.c: Finish conversion of __builtin_expect into
7570         __glibc_{un}likely.
7572 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7574         [BZ #16348]
7575         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7576         1+x for argument with exponent below -67.
7577         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7578         Likewise.
7579         * math/auto-libm-test-in: Add more tests of exp.
7580         * math/auto-libm-test-out: Regenerated.
7582 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7584         [BZ #16759]
7585         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7586         (nscd_getnetgrent): Use it.
7588         [BZ #16760]
7589         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7590         of stpcpy.
7592 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7594         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7595         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7596         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7597         (lll_robust_unlock): Remove out of line section. Use cfi
7598         intrinsics.
7599         (LLL_STUB_UNWIND_INFO*): Remove.
7600         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7601         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7602         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7603         (lll_robust_unlock): Remove out of line section. Use cfi
7604         intrinsics.
7605         (LLL_STUB_UNWIND_INFO*): Remove.
7607 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7609         [BZ #16758]
7610         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7611         blank values.
7613 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7615         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7617 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7619         [BZ #16198]
7620         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7621         fnstenv.
7622         * math/test-fenv-preserve.c: New file.
7623         * math/Makefile (tests): Add test-fenv-preserve.
7625 2014-03-26  Will Newton <will.newton@linaro.org>
7627         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7629 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7631         * scripts/versionlist.awk: Partition the version sets and emit all
7632         GLIBC_* (sorted) before all others (sorted).
7634 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7636         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7637         GLIBC_2.2.5 version.
7639 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7641         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7642         calls.
7644         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7645         previous change.
7647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7649 2014-03-25  Andreas Schwab  <schwab@suse.de>
7651         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7652         label to be used after in6ailist is initialized.
7654 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7656         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7657         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7659 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7661         [BZ #16357]
7662         [BZ #16599]
7663         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7664         min_plus_half.
7665         (fp_formats): Update initializers.
7666         (init_fp_formats): Initialize new field.
7667         (output_for_one_input_case): Allow underflow for results up to
7668         min_plus_half.
7669         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7670         * math/auto-libm-test-in: Don't mark some underflows from asin and
7671         atanh as spurious.
7672         * math/auto-libm-test-out: Regenerated.
7673         * sysdeps/i386/fpu/libm-test-ulps: Update.
7674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7676 2014-03-25  Andreas Schwab  <schwab@suse.de>
7678         * libio/Makefile (tst-ftell-partial-wide-ENV)
7679         (tst-ftell-active-handler-ENV): Define.
7681 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7683         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7685 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7687         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7689 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7691         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7692         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7693         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7695 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7697         [BZ #16634]
7698         * elf/dl-load.c (open_verify): Add mode parameter.
7699         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7700         (open_path): Change from boolean 'secure' to complete flag 'mode'
7701         (_dl_map_object): Adjust.
7702         * elf/Makefile (tests): Add tst-dlopen-aout.
7703         * elf/tst-dlopen-aout.c: New test.
7705 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7707         [BZ #16714]
7708         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7709         (struct stat): Rename member pad0 to __glibc_reserved0.
7711         [BZ #16712]
7712         * sysdeps/s390/s390-32/bits/wordsize.h
7713         (__WORDSIZE32_SIZE_ULONG): New define.
7714         * sysdeps/s390/s390-64/bits/wordsize.h
7715         (__WORDSIZE32_SIZE_ULONG): Likewise.
7716         * sysdeps/generic/stdint.h (SIZE_MAX):
7717         Define as UL if __WORDSIZE32_SIZE_ULONG.
7719         [BZ #16713]
7720         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7721         (__glibc_reserved0): New variable.
7722         (sa_flags): Change type to int.
7724         * posix/Makefile (before-compile): Use += before-compile instead
7725         of a :=.
7727         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7728         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7730 2014-03-20  Andreas Schwab  <schwab@suse.de>
7732         [BZ #16743]
7733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7734         non-matching result from nscd.
7736 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7738         * scripts/bench.py: Moved to ...
7739         * benchtests/scripts/bench.py: ... here.
7740         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7742 2014-03-24  Andreas Schwab  <schwab@suse.de>
7744         [BZ #16002]
7745         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7746         alloca_account and account alloca use for struct in6ailist.
7748 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7750         [BZ #16284]
7751         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7752         rounding mode to recompute results that overflow to infinity or
7753         underflow to zero.
7754         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7755         bug 16284.
7756         * math/auto-libm-test-out: Regenerated.
7757         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7758         (ccosh_test): Likewise.
7759         (csin_test_data): Use plus_oflow.
7760         (csin_test): Use ALL_RM_TEST.
7761         (csinh_test_data): Use plus_oflow.
7762         (csinh_test): Use ALL_RM_TEST.
7763         * sysdeps/i386/fpu/libm-test-ulps: Update.
7764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7766 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7768         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7769         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7770         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7772         [BZ #16731]
7773         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7774         when x - 1 is zero.
7775         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7776         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7777         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7778         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7779         argument is 1.
7780         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7781         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7782         zero.
7783         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7784         * sysdeps/i386/fpu/libm-test-ulps: Update.
7785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7787 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7789         * scripts/bench.pl: Remove file.
7790         * scripts/bench.py: New benchmark script.
7791         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7792         * benchtests/README: Mention python dependency.
7793         * scripts/pylintrc: New file.
7794         * scripts/pylint: New file.
7796         * bits/mathdef.h: Use #ifdef instead of #if.
7797         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7798         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7799         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7800         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7801         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7802         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7804 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7805             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7807         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7809         and strpbrk-ppc64 objects.
7810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7811         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7812         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7813         multiarch strpbrk for POWER7.
7814         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7815         multiarch strpbrk for PPC64.
7816         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7817         ifunc selector.
7818         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7819         strpbrk for POWER7.
7821 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7823         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7824         (atan_test): Likewise.
7825         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7826         (atanh_test): Use ALL_RM_TEST.
7827         (atan2_test_data): Likewise.
7828         (cabs_test): Likewise.
7829         (cacosh_test): Likewise.
7830         (carg_test): Likewise.
7831         (casin_test): Likewise.
7832         (casinh_test): Likewise.
7833         (cbrt_test): Likewise.
7834         (csqrt_test): Likewise.
7835         (erf_test): Likewise.
7836         (erfc_test): Likewise.
7837         (pow10_test): Likewise.
7838         (exp2_test): Likewise.
7839         (hypot_test): Likewise.
7840         (j0_test): Likewise.
7841         (j1_test): Likewise.
7842         (lgamma_test): Likewise.
7843         (gamma_test): Likewise.
7844         (sincos_test): Likewise.
7845         (tanh_test): Likewise.
7846         (y0_test): Likewise.
7847         (y1_test): Likewise.
7848         * sysdeps/i386/fpu/libm-test-ulps: Update.
7849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7851 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7853         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7855         and strcspn-ppc64 objects.
7856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7857         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7858         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7859         multiarch strcspn for POWER7.
7860         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7861         multiarch strcspn for PPC64.
7862         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7863         ifunc selector.
7864         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7865         strcspn for POWER7.
7867 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7869         * math/gen-libm-test.pl (generate_testfile): Expect only function
7870         name as argument to AUTO_TESTS_* and pass results for all rounding
7871         modes to parse_args.
7872         (parse_auto_input): Separate inputs of automatic tests from
7873         outputs before storing in %auto_tests.
7874         * math/libm-test.inc (acos_test_data): Update call to
7875         AUTO_TESTS_f_f.
7876         (acos_test): Use ALL_RM_TEST.
7877         (acos_tonearest_test_data): Remove.
7878         (acos_test_tonearest): Likewise.
7879         (acos_towardzero_test_data): Likewise.
7880         (acos_test_towardzero): Likewise.
7881         (acos_downward_test_data): Likewise.
7882         (acos_test_downward): Likewise.
7883         (acos_upward_test_data): Likewise.
7884         (acos_test_upward): Likewise.
7885         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7886         (asin_test_data): Likewise.
7887         (asin_test): Use ALL_RM_TEST.
7888         (asin_tonearest_test_data): Remove.
7889         (asin_test_tonearest): Likewise.
7890         (asin_towardzero_test_data): Likewise.
7891         (asin_test_towardzero): Likewise.
7892         (asin_downward_test_data): Likewise.
7893         (asin_test_downward): Likewise.
7894         (asin_upward_test_data): Likewise.
7895         (asin_test_upward): Likewise.
7896         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7897         (atan_test_data): Likewise.
7898         (atanh_test_data): Likewise.
7899         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7900         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7901         (carg_test_data): Likewise.
7902         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7903         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7904         (ccosh_test_data): Likewise.
7905         (cexp_test_data): Likewise.
7906         (clog_test_data): Likewise.
7907         (clog10_test_data): Likewise.
7908         (cos_test_data): Update call to AUTO_TESTS_f_f.
7909         (cos_test): Use ALL_RM_TEST.
7910         (cos_tonearest_test_data): Remove.
7911         (cos_test_tonearest): Likewise.
7912         (cos_towardzero_test_data): Likewise.
7913         (cos_test_towardzero): Likewise.
7914         (cos_downward_test_data): Likewise.
7915         (cos_test_downward): Likewise.
7916         (cos_upward_test_data): Likewise.
7917         (cos_test_upward): Likewise.
7918         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7919         (cosh_test): Use ALL_RM_TEST.
7920         (cosh_tonearest_test_data): Remove.
7921         (cosh_test_tonearest): Likewise.
7922         (cosh_towardzero_test_data): Likewise.
7923         (cosh_test_towardzero): Likewise.
7924         (cosh_downward_test_data): Likewise.
7925         (cosh_test_downward): Likewise.
7926         (cosh_upward_test_data): Likewise.
7927         (cosh_test_upward): Likewise.
7928         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7929         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7930         (ctan_test_data): Likewise.
7931         (ctan_test): Use ALL_RM_TEST.
7932         (ctan_tonearest_test_data): Remove.
7933         (ctan_test_tonearest): Likewise.
7934         (ctan_towardzero_test_data): Likewise.
7935         (ctan_test_towardzero): Likewise.
7936         (ctan_downward_test_data): Likewise.
7937         (ctan_test_downward): Likewise.
7938         (ctan_upward_test_data): Likewise.
7939         (ctan_test_upward): Likewise.
7940         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7941         (ctanh_test): Use ALL_RM_TEST.
7942         (ctanh_tonearest_test_data): Remove.
7943         (ctanh_test_tonearest): Likewise.
7944         (ctanh_towardzero_test_data): Likewise.
7945         (ctanh_test_towardzero): Likewise.
7946         (ctanh_downward_test_data): Likewise.
7947         (ctanh_test_downward): Likewise.
7948         (ctanh_upward_test_data): Likewise.
7949         (ctanh_test_upward): Likewise.
7950         (erf_test_data): Update call to AUTO_TESTS_f_f.
7951         (erfc_test_data): Likewise.
7952         (exp_test_data): Likewise.
7953         (exp_test): Use ALL_RM_TEST.
7954         (exp_tonearest_test_data): Remove.
7955         (exp_test_tonearest): Likewise.
7956         (exp_towardzero_test_data): Likewise.
7957         (exp_test_towardzero): Likewise.
7958         (exp_downward_test_data): Likewise.
7959         (exp_test_downward): Likewise.
7960         (exp_upward_test_data): Likewise.
7961         (exp_test_upward): Likewise.
7962         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7963         (exp10_test): Use ALL_RM_TEST.
7964         (exp10_tonearest_test_data): Remove.
7965         (exp10_test_tonearest): Likewise.
7966         (exp10_towardzero_test_data): Likewise.
7967         (exp10_test_towardzero): Likewise.
7968         (exp10_downward_test_data): Likewise.
7969         (exp10_test_downward): Likewise.
7970         (exp10_upward_test_data): Likewise.
7971         (exp10_test_upward): Likewise.
7972         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7973         (expm1_test_data): Likewise.
7974         (expm1_test): Use ALL_RM_TEST.
7975         (expm1_tonearest_test_data): Remove.
7976         (expm1_test_tonearest): Likewise.
7977         (expm1_towardzero_test_data): Likewise.
7978         (expm1_test_towardzero): Likewise.
7979         (expm1_downward_test_data): Likewise.
7980         (expm1_test_downward): Likewise.
7981         (expm1_upward_test_data): Likewise.
7982         (expm1_test_upward): Likewise.
7983         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7984         (fma_test): Use ALL_RM_TEST.
7985         (fma_towardzero_test_data): Remove.
7986         (fma_test_towardzero): Likewise.
7987         (fma_downward_test_data): Likewise.
7988         (fma_test_downward): Likewise.
7989         (fma_upward_test_data): Likewise.
7990         (fma_test_upward): Likewise.
7991         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7992         (j0_test_data): Update call to AUTO_TESTS_f_f.
7993         (j1_test_data): Likewise.
7994         (jn_test_data): Update call to AUTO_TESTS_if_f.
7995         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7996         (log_test_data): Update call to AUTO_TESTS_f_f.
7997         (log10_test_data): Likewise.
7998         (log1p_test_data): Likewise.
7999         (log2_test_data): Likewise.
8000         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8001         (pow_tonearest_test_data): Likewise.
8002         (sin_test_data): Update call to AUTO_TESTS_f_f.
8003         (sin_test): Use ALL_RM_TEST.
8004         (sin_tonearest_test_data): Remove.
8005         (sin_test_tonearest): Likewise.
8006         (sin_towardzero_test_data): Likewise.
8007         (sin_test_towardzero): Likewise.
8008         (sin_downward_test_data): Likewise.
8009         (sin_test_downward): Likewise.
8010         (sin_upward_test_data): Likewise.
8011         (sin_test_upward): Likewise.
8012         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8013         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8014         (sinh_test): Use ALL_RM_TEST.
8015         (sinh_tonearest_test_data): Remove.
8016         (sinh_test_tonearest): Likewise.
8017         (sinh_towardzero_test_data): Likewise.
8018         (sinh_test_towardzero): Likewise.
8019         (sinh_downward_test_data): Likewise.
8020         (sinh_test_downward): Likewise.
8021         (sinh_upward_test_data): Likewise.
8022         (sinh_test_upward): Likewise.
8023         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8024         (sqrt_test): Use ALL_RM_TEST.
8025         (sqrt_tonearest_test_data): Remove.
8026         (sqrt_test_tonearest): Likewise.
8027         (sqrt_towardzero_test_data): Likewise.
8028         (sqrt_test_towardzero): Likewise.
8029         (sqrt_downward_test_data): Likewise.
8030         (sqrt_test_downward): Likewise.
8031         (sqrt_upward_test_data): Likewise.
8032         (sqrt_test_upward): Likewise.
8033         (tan_test_data): Update call to AUTO_TESTS_f_f.
8034         (tan_test): Use ALL_RM_TEST.
8035         (tan_tonearest_test_data): Remove.
8036         (tan_test_tonearest): Likewise.
8037         (tan_towardzero_test_data): Likewise.
8038         (tan_test_towardzero): Likewise.
8039         (tan_downward_test_data): Likewise.
8040         (tan_test_downward): Likewise.
8041         (tan_upward_test_data): Likewise.
8042         (tan_test_upward): Likewise.
8043         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8044         (tgamma_test_data): Likewise.
8045         (y0_test_data): Likewise.
8046         (y1_test_data): Likewise.
8047         (yn_test_data): Update call to AUTO_TESTS_if_f.
8048         (main): Do not call removed functions.
8050 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8052         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8053         (ldexp_test_data): Remove.
8054         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8055         scalbn_test_data.
8056         (scalb_test): Use ALL_RM_TEST.
8058 2014-03-19  Andreas Schwab  <schwab@suse.de>
8060         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8062 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8064         [BZ #16649]
8065         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8066         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8068         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8069         (__ASSUME_PREADV): Undefine.
8070         (__ASSUME_PWRITEV): Likewise.
8072 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8074         * bits/mman-linux.h: Add comment about non-Linux use.
8075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8076         bits/mman-linux.h resting place.
8078         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8079         * bits/mman-linux.h: ... here.
8081 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8083         * conform/conformtest.pl: Add standard definition when calling C
8084         preprocessor on data files.
8085         (checknamespace): Remove unused variable.
8087 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8089         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8090         minus_oflow, plus_uflow and minus_uflow in expected results.
8091         * math/libm-test.inc (scalbn_test_data): Add more tests of
8092         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8093         minus_uflow.
8094         (scalbn_test): Use ALL_RM_TEST.
8095         (scalbln_test_data): Add more tests of negative arguments.  Use
8096         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8097         (scalbln_test): Use ALL_RM_TEST.
8099 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8101         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8103 2014-03-18  Will Newton  <will.newton@linaro.org>
8105         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8106         inaccurate comment.
8108 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8110         * Makerules [!subdir] (check-abi): Exit with error status if a
8111         test failed.
8113 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8115         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8116         for rint.  Include results for all rounding modes.
8117         (nearbyint_test): Use ALL_RM_TEST.
8118         (rint_test_data): Include all tests used for nearbyint.
8120 2014-03-17  Will Newton  <will.newton@linaro.org>
8122         * nptl/sysdeps/pthread/pthread.h: Revert previous
8123         change.
8125         * sysdeps/generic/ldsodefs.h: Revert previous
8126         change.
8128         * libio/genops.c: Revert previous change.
8129         * libio/libioP.h: Likewise.
8130         * stdio-common/vfprintf.c: Likewise.
8132         * sysdeps/generic/math_private.h: Revert previous
8133         change.
8135         * sysdeps/generic/math_private.h: Check whether
8136         HAVE_RM_CTX is defined with #ifdef rather
8137         than #if.
8139         * argp/argp-fmtstream.h: Check whether
8140         __STRICT_ANSI__ is defined with #ifdef rather
8141         than #if.
8142         * argp/argp.h: Likewise.
8144         * libio/genops.c: Check whether
8145         _IO_JUMPS_OFFSET is defined with #ifdef rather
8146         than #if.
8147         * libio/libioP.h: Likewise.
8148         * stdio-common/vfprintf.c: Likewise.
8150         * sysdeps/generic/ldsodefs.h: Check whether
8151         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8152         than #if.
8154         * nptl/sysdeps/pthread/pthread.h: Check
8155         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8156         its value.
8158 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8160         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8161         setting O_APPEND.
8162         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8163         test case.
8165         [BZ #16680]
8166         * libio/fileops.c (_IO_file_open): Seek to end of file but
8167         don't cache the offset.
8168         (get_file_offset): Remove function.
8169         (do_ftell): Use cached offset when available.
8170         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8171         don't cache the offset.
8172         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8173         case.
8174         (do_one_test): Call it.
8175         (do_ftell_test): Fix up expected old offset for a+ mode.
8176         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8177         available.
8179         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8180         up test status with function return status.
8181         (do_write_test): Likewise.
8182         (do_append_test): Likewise.
8184         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8185         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8186         Remove.
8188 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8190         * math/gen-libm-test.pl (parse_args): Handle results specified for
8191         each rounding mode separately.
8192         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8193         tests and results from lrint_tonearest_test_data,
8194         lrint_towardzero_test_data, lrint_downward_test_data and
8195         lrint_upward_test_data.
8196         (lrint_test): Use ALL_RM_TEST.
8197         (lrint_tonearest_test_data): Remove.
8198         (lrint_test_tonearest): Likewise.
8199         (lrint_towardzero_test_data): Likewise.
8200         (lrint_test_towardzero): Likewise.
8201         (lrint_downward_test_data): Likewise.
8202         (lrint_test_downward): Likewise.
8203         (lrint_upward_test_data): Likewise.
8204         (lrint_test_upward): Likewise.
8205         (llrint_test_data): Merge in per-rounding-mode tests and results
8206         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8207         llrint_downward_test_data and llrint_upward_test_data.
8208         (llrint_test): Use ALL_RM_TEST.
8209         (llrint_tonearest_test_data): Remove.
8210         (llrint_test_tonearest): Likewise.
8211         (llrint_towardzero_test_data): Likewise.
8212         (llrint_test_towardzero): Likewise.
8213         (llrint_downward_test_data): Likewise.
8214         (llrint_test_downward): Likewise.
8215         (llrint_upward_test_data): Likewise.
8216         (llrint_test_upward): Likewise.
8217         (rint_test_data): Merge in per-rounding-mode tests and results
8218         from rint_tonearest_test_data, rint_towardzero_test_data,
8219         rint_downward_test_data and rint_upward_test_data.  Add
8220         per-rounding-mode results for tests not in those arrays.
8221         (rint_test): Use ALL_RM_TEST.
8222         (rint_tonearest_test_data): Remove.
8223         (rint_test_tonearest): Likewise.
8224         (rint_towardzero_test_data): Likewise.
8225         (rint_test_towardzero): Likewise.
8226         (rint_downward_test_data): Likewise.
8227         (rint_test_downward): Likewise.
8228         (rint_upward_test_data): Likewise.
8229         (rint_test_upward): Likewise.
8230         (main): Don't call removed functions.
8232 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8234         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8235         "Compiled on ..." crapola.  It is anti-useful.
8237 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8239         * scripts/evaluate-test.sh: Handle fourth argument to determine
8240         whether test run should stop on failure.
8241         * Makeconfig (stop-on-test-failure): New variable.
8242         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8243         $(stop-on-test-failure).
8244         * Makefile (tests): Give a summary of results from testing and
8245         exit with failure status if they include an ERROR or FAIL.
8246         (xtests): Likewise.
8247         * manual/install.texi (Configuring and compiling): Mention
8248         stop-on-test-failure=y.
8249         * INSTALL: Regenerated.
8251 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8253         * scripts/versionlist.awk: New file.
8254         * Makerules [$(build-shared) = yes]
8255         (postclean-generated): Add Versions.def, not Versions.def.v and
8256         Versions.def.v.i.
8257         ($(common-objpfx)Versions.def.v.i): Target removed.
8258         ($(common-objpfx)Versions.def): New target.
8259         ($(common-objpfx)Versions.all): Depend on that rather that
8260         $(common-objpfx)Versions.def.v.
8261         * Versions.def: File removed.
8263         * Makeconfig (+gccwarn): Add -Wundef.
8264         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8265         a dl-sysdep.h breaking its contract.
8266         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8267         * include/stackinfo.h: New file.
8268         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8269         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8270         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8271         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8272         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8273         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8274         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8275         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8276         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8277         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8278         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8279         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8280         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8281         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8282         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8284 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8286         [BZ #16707]
8287         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8288         implementation.
8289         * math/libm-test.inc (round_test_data): Add more tests.
8291         [BZ #16706]
8292         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8293         implementation.
8294         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8296         [BZ #16701]
8297         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8298         implementation.
8299         * math/libm-test.inc (ceil_test_data): Add more tests.
8301         * math/libm-test.inc (trunc_test_data): Add more tests related to
8302         BZ#16414.
8304 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8306         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8307         with #if rather than #ifdef.
8308         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8310 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8312         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8313         first.  Disable AVX-512 GCC support if assembler doesn't support
8314         it.
8315         * sysdeps/x86_64/configure: Regenerated.
8317 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8319         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8320         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8321         (__old_pthread_attr_setstack): Likewise.
8322         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8323         [!_STACK_GROWS_DOWN]: Likewise.
8325 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8327         * config.make.in (have-bash2): Delete.
8328         * configure.ac (libc_cv_have_bash2): Delete.
8329         * configure: Regenerate.
8330         * elf/Makefile (common-ldd-rewrite): Rename to ...
8331         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8332         (sh-ldd-rewrite): Delete.
8333         (bash-ldd-rewrite): Delete.
8334         (have-bash2): Delete checks.
8335         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8336         ldd-rewrite.
8338         * config.make.in (have-ksh): Delete.
8339         (KSH): Delete.
8340         * configure.ac (libc_cv_have_ksh): Delete.
8341         * configure: Regenerate.
8343         * elf/Makefile: Delete $(have-ksh) check.
8344         ($(objpfx)sotruss): Change KSH to BASH.
8345         * elf/sotruss.ksh: Rename to ...
8346         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8347         function style to match POSIX.  Drop ksh vim mode setting.
8349         * manual/time.texi (Specifying the Time Zone with TZ): Change
8350         Tuesday to Thursday.
8352         * debug/tst-longjmp_chk2.c: Update header comment.
8353         (stackoverflow_handler): Add comment.  Call assert on pass value.
8355 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8357         [BZ #16194]
8358         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8359         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8360         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8361         (La_x86_64_vector): Add zmm.
8362         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8363         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8364         ($(objpfx)tst-audit10): New target.
8365         ($(objpfx)tst-audit10.out): Likewise.
8366         (tst-audit10-ENV): New.
8367         (AVX512-CFLAGS): Likewise.
8368         (CFLAGS-tst-audit10.c): Likewise.
8369         (CFLAGS-tst-auditmod10a.c): Likewise.
8370         (CFLAGS-tst-auditmod10b.c): Likewise.
8371         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8372         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8373         * sysdeps/x86_64/configure: Regenerated.
8374         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8375         AVX-512 zmm register support.
8376         (_dl_x86_64_save_sse): Likewise.
8377         (_dl_x86_64_restore_sse): Likewise.
8378         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8379         size vector registers.
8380         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8381         (ZMM_SIZE): Likewise.
8382         * sysdeps/x86_64/tst-audit10.c: New file.
8383         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8384         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8386 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8388         * configure.ac (HAVE_EHDR_START): New check.
8389         * configure: Regenerated.
8390         * config.h.in (HAVE_EHDR_START): New #undef.
8391         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8392         assuming the lowest-addressed segment maps the start of the file.
8394 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8396         * INSTALL: Regenerated.
8398 2014-03-13  Will Newton  <will.newton@linaro.org>
8400         * manual/setjmp.texi (System V contexts): Improve
8401         clarity and grammar of documentation.
8403 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8405         [BZ #16381]
8406         * elf/Makefile (tests): Add tst-pie2.
8407         (tests-pie): Add tst-pie2.
8408         * elf/tst-pie2.c: New file.
8409         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8410         for ET_EXEC.
8411         * elf/rtld.c (map_doit): Load executable as lt_executable.
8412         (dl_main): Likewise.
8414 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8416         [BZ #16642]
8417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8418         (__ASSUME_PSELECT): Undefine.
8420 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8422         [BZ #16689]
8423         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8424         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8425         static build.
8426         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8427         selector for static builds.
8429 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8431         [BZ #16695]
8432         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8433         key in the buffer.
8435 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8437         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8438         IFUNC selector for static builds.
8440 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8442         * sysdeps/mips/math_private.h [__mips_hard_float]
8443         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8444         libc_feresetround_mips_ctx.
8445         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8446         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8447         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8449         [BZ #16677]
8450         * math/s_nextafter.c (__nextafter): Do not return value from
8451         overflowing computation.
8452         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8453         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8454         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8455         Likewise.
8456         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8457         Likewise.
8458         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8459         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8461 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8463         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8464         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8465         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8466         the new mov targetting sp.
8468 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8470         [BZ #16683]
8471         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8472         Define it for static builds as well.
8473         (NO_BZERO_IMPL): Likewise.
8475 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8477         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8478         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8479         multiarch strspn for PPC64.
8480         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8481         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8483         (__libc_ifunc_impl_list): Likewise.
8484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8485         multiarch optimizations
8486         * string/strspn.c (strspn): Using macro to redefine symbol name.
8488 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8489             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8491         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8492         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8493         multiarch strncat for PPC64.
8494         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8495         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8497         (__libc_ifunc_impl_list): Likewise.
8498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8499         multiarch optimizations
8501 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8503         [BZ #16639]
8504         * nscd/nscd.service: Make service type forking.
8506 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8508         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8509         sign in non default rounding modes.
8510         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8512 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8514         * math/libm-test.inc (ALL_RM_TEST): New macro.
8515         (ceil_test): Use ALL_RM_TEST.
8516         (cimag_test): Likewise.
8517         (conj_test): Likewise.
8518         (copysign_test): Likewise.
8519         (cproj_test): Likewise.
8520         (creal_test): Likewise.
8521         (fabs_test): Likewise.
8522         (floor_test): Likewise.
8523         (fmax_test): Likewise.
8524         (fmin_test): Likewise.
8525         (fmod_test): Likewise.
8526         (fpclassify_test): Likewise.
8527         (frexp_test): Likewise.
8528         (ilogb_test): Likewise.
8529         (isfinite_test): Likewise.
8530         (finite_test): Likewise.
8531         (isgreater_test): Likewise.
8532         (isgreaterequal_test): Likewise.
8533         (isinf_test): Likewise.
8534         (isless_test): Likewise.
8535         (islessequal_test): Likewise.
8536         (islessgreater_test): Likewise.
8537         (isnan_test): Likewise.
8538         (isnormal_test): Likewise.
8539         (issignaling_test): Likewise.
8540         (isunordered_test): Likewise.
8541         (logb_test): Likewise.
8542         (logb_downward_test_data): Remove.
8543         (logb_test_downward): Likewise.
8544         (lround_test): Use ALL_RM_TEST.
8545         (llround_test): Likewise.
8546         (modf_test): Likewise.
8547         (nexttoward_test): Likewise.
8548         (remainder_test): Likewise.
8549         (drem_test): Likewise.
8550         (remainder_tonearest_test_data): Likewise.
8551         (remainder_test_tonearest): Likewise.
8552         (drem_test_tonearest): Likewise.
8553         (remainder_towardzero_test_data): Likewise.
8554         (remainder_test_towardzero): Likewise.
8555         (drem_test_towardzero): Likewise.
8556         (remainder_downward_test_data): Likewise.
8557         (remainder_test_downward): Likewise.
8558         (drem_test_downward): Likewise.
8559         (remainder_upward_test_data): Likewise.
8560         (remainder_test_upward): Likewise.
8561         (drem_test_upward): Likewise.
8562         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8563         (round_test): Use ALL_RM_TEST.
8564         (signbit_test): Likewise.
8565         (trunc_test): Likewise.
8566         (significand_test): Likewise.
8567         (main): Don't call removed functions.
8569 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8571         [BZ #16674]
8572         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8573         || __USE_XOPEN2K8].
8574         (ILL_ILLOPN): Likewise.
8575         (ILL_ILLADR): Likewise.
8576         (ILL_ILLTRP): Likewise.
8577         (ILL_PRVOPC): Likewise.
8578         (ILL_PRVREG): Likewise.
8579         (ILL_COPROC): Likewise.
8580         (ILL_BADSTK): Likewise.
8581         (FPE_INTDIV): Likewise.
8582         (FPE_INTOVF): Likewise.
8583         (FPE_FLTDIV): Likewise.
8584         (FPE_FLTOVF): Likewise.
8585         (FPE_FLTUND): Likewise.
8586         (FPE_FLTRES): Likewise.
8587         (FPE_FLTINV): Likewise.
8588         (FPE_FLTSUB): Likewise.
8589         (SEGV_MAPERR): Likewise.
8590         (SEGV_ACCERR): Likewise.
8591         (BUS_ADRALN): Likewise.
8592         (BUS_ADRERR): Likewise.
8593         (BUS_OBJERR): Likewise.
8594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8595         (TRAP_TRACE): Likewise.
8596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8597         __USE_XOPEN2K8].
8598         (CLD_KILLED): Likewise.
8599         (CLD_DUMPED): Likewise.
8600         (CLD_TRAPPED): Likewise.
8601         (CLD_STOPPED): Likewise.
8602         (CLD_CONTINUED): Likewise.
8603         (POLL_IN): Likewise.
8604         (POLL_OUT): Likewise.
8605         (POLL_MSG): Likewise.
8606         (POLL_ERR): Likewise.
8607         (POLL_PRI): Likewise.
8608         (POLL_HUP): Likewise.
8609         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8610         Likewise.
8611         (ILL_ILLOPN): Likewise.
8612         (ILL_ILLADR): Likewise.
8613         (ILL_ILLTRP): Likewise.
8614         (ILL_PRVOPC): Likewise.
8615         (ILL_PRVREG): Likewise.
8616         (ILL_COPROC): Likewise.
8617         (ILL_BADSTK): Likewise.
8618         (FPE_INTDIV): Likewise.
8619         (FPE_INTOVF): Likewise.
8620         (FPE_FLTDIV): Likewise.
8621         (FPE_FLTOVF): Likewise.
8622         (FPE_FLTUND): Likewise.
8623         (FPE_FLTRES): Likewise.
8624         (FPE_FLTINV): Likewise.
8625         (FPE_FLTSUB): Likewise.
8626         (SEGV_MAPERR): Likewise.
8627         (SEGV_ACCERR): Likewise.
8628         (BUS_ADRALN): Likewise.
8629         (BUS_ADRERR): Likewise.
8630         (BUS_OBJERR): Likewise.
8631         (BUS_MCEERR_AR): Likewise.
8632         (BUS_MCEERR_AO): Likewise.
8633         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8634         (TRAP_TRACE): Likewise.
8635         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8636         __USE_XOPEN2K8].
8637         (CLD_KILLED): Likewise.
8638         (CLD_DUMPED): Likewise.
8639         (CLD_TRAPPED): Likewise.
8640         (CLD_STOPPED): Likewise.
8641         (CLD_CONTINUED): Likewise.
8642         (POLL_IN): Likewise.
8643         (POLL_OUT): Likewise.
8644         (POLL_MSG): Likewise.
8645         (POLL_ERR): Likewise.
8646         (POLL_PRI): Likewise.
8647         (POLL_HUP): Likewise.
8648         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8649         (ILL_ILLOPN): Likewise.
8650         (ILL_ILLADR): Likewise.
8651         (ILL_ILLTRP): Likewise.
8652         (ILL_PRVOPC): Likewise.
8653         (ILL_PRVREG): Likewise.
8654         (ILL_COPROC): Likewise.
8655         (ILL_BADSTK): Likewise.
8656         (FPE_INTDIV): Likewise.
8657         (FPE_INTOVF): Likewise.
8658         (FPE_FLTDIV): Likewise.
8659         (FPE_FLTOVF): Likewise.
8660         (FPE_FLTUND): Likewise.
8661         (FPE_FLTRES): Likewise.
8662         (FPE_FLTINV): Likewise.
8663         (FPE_FLTSUB): Likewise.
8664         (SEGV_MAPERR): Likewise.
8665         (SEGV_ACCERR): Likewise.
8666         (BUS_ADRALN): Likewise.
8667         (BUS_ADRERR): Likewise.
8668         (BUS_OBJERR): Likewise.
8669         (BUS_MCEERR_AR): Likewise.
8670         (BUS_MCEERR_AO): Likewise.
8671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8672         (TRAP_TRACE): Likewise.
8673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8674         __USE_XOPEN2K8].
8675         (CLD_KILLED): Likewise.
8676         (CLD_DUMPED): Likewise.
8677         (CLD_TRAPPED): Likewise.
8678         (CLD_STOPPED): Likewise.
8679         (CLD_CONTINUED): Likewise.
8680         (POLL_IN): Likewise.
8681         (POLL_OUT): Likewise.
8682         (POLL_MSG): Likewise.
8683         (POLL_ERR): Likewise.
8684         (POLL_PRI): Likewise.
8685         (POLL_HUP): Likewise.
8686         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8687         Likewise.
8688         (ILL_ILLOPN): Likewise.
8689         (ILL_ILLADR): Likewise.
8690         (ILL_ILLTRP): Likewise.
8691         (ILL_PRVOPC): Likewise.
8692         (ILL_PRVREG): Likewise.
8693         (ILL_COPROC): Likewise.
8694         (ILL_BADSTK): Likewise.
8695         (ILL_BADIADDR): Likewise.
8696         (ILL_BREAK): Likewise.
8697         (FPE_INTDIV): Likewise.
8698         (FPE_INTOVF): Likewise.
8699         (FPE_FLTDIV): Likewise.
8700         (FPE_FLTOVF): Likewise.
8701         (FPE_FLTUND): Likewise.
8702         (FPE_FLTRES): Likewise.
8703         (FPE_FLTINV): Likewise.
8704         (FPE_FLTSUB): Likewise.
8705         (FPE_DECOVF): Likewise.
8706         (FPE_DECDIV): Likewise.
8707         (FPE_DECERR): Likewise.
8708         (FPE_INVASC): Likewise.
8709         (FPE_INVDEC): Likewise.
8710         (SEGV_MAPERR): Likewise.
8711         (SEGV_ACCERR): Likewise.
8712         (SEGV_PSTKOVF): Likewise.
8713         (BUS_ADRALN): Likewise.
8714         (BUS_ADRERR): Likewise.
8715         (BUS_OBJERR): Likewise.
8716         (BUS_MCEERR_AR): Likewise.
8717         (BUS_MCEERR_AO): Likewise.
8718         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8719         (TRAP_TRACE): Likewise.
8720         (TRAP_BRANCH): Likewise.
8721         (TRAP_HWBKPT): Likewise.
8722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8723         __USE_XOPEN2K8].
8724         (CLD_KILLED): Likewise.
8725         (CLD_DUMPED): Likewise.
8726         (CLD_TRAPPED): Likewise.
8727         (CLD_STOPPED): Likewise.
8728         (CLD_CONTINUED): Likewise.
8729         (POLL_IN): Likewise.
8730         (POLL_OUT): Likewise.
8731         (POLL_MSG): Likewise.
8732         (POLL_ERR): Likewise.
8733         (POLL_PRI): Likewise.
8734         (POLL_HUP): Likewise.
8735         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8736         (ILL_ILLOPN): Likewise.
8737         (ILL_ILLADR): Likewise.
8738         (ILL_ILLTRP): Likewise.
8739         (ILL_PRVOPC): Likewise.
8740         (ILL_PRVREG): Likewise.
8741         (ILL_COPROC): Likewise.
8742         (ILL_BADSTK): Likewise.
8743         (FPE_INTDIV): Likewise.
8744         (FPE_INTOVF): Likewise.
8745         (FPE_FLTDIV): Likewise.
8746         (FPE_FLTOVF): Likewise.
8747         (FPE_FLTUND): Likewise.
8748         (FPE_FLTRES): Likewise.
8749         (FPE_FLTINV): Likewise.
8750         (FPE_FLTSUB): Likewise.
8751         (SEGV_MAPERR): Likewise.
8752         (SEGV_ACCERR): Likewise.
8753         (BUS_ADRALN): Likewise.
8754         (BUS_ADRERR): Likewise.
8755         (BUS_OBJERR): Likewise.
8756         (BUS_MCEERR_AR): Likewise.
8757         (BUS_MCEERR_AO): Likewise.
8758         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8759         (TRAP_TRACE): Likewise.
8760         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8761         __USE_XOPEN2K8].
8762         (CLD_KILLED): Likewise.
8763         (CLD_DUMPED): Likewise.
8764         (CLD_TRAPPED): Likewise.
8765         (CLD_STOPPED): Likewise.
8766         (CLD_CONTINUED): Likewise.
8767         (POLL_IN): Likewise.
8768         (POLL_OUT): Likewise.
8769         (POLL_MSG): Likewise.
8770         (POLL_ERR): Likewise.
8771         (POLL_PRI): Likewise.
8772         (POLL_HUP): Likewise.
8773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8774         (ILL_ILLOPN): Likewise.
8775         (ILL_ILLADR): Likewise.
8776         (ILL_ILLTRP): Likewise.
8777         (ILL_PRVOPC): Likewise.
8778         (ILL_PRVREG): Likewise.
8779         (ILL_COPROC): Likewise.
8780         (ILL_BADSTK): Likewise.
8781         (FPE_INTDIV): Likewise.
8782         (FPE_INTOVF): Likewise.
8783         (FPE_FLTDIV): Likewise.
8784         (FPE_FLTOVF): Likewise.
8785         (FPE_FLTUND): Likewise.
8786         (FPE_FLTRES): Likewise.
8787         (FPE_FLTINV): Likewise.
8788         (FPE_FLTSUB): Likewise.
8789         (SEGV_MAPERR): Likewise.
8790         (SEGV_ACCERR): Likewise.
8791         (BUS_ADRALN): Likewise.
8792         (BUS_ADRERR): Likewise.
8793         (BUS_OBJERR): Likewise.
8794         (BUS_MCEERR_AR): Likewise.
8795         (BUS_MCEERR_AO): Likewise.
8796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8797         (TRAP_TRACE): Likewise.
8798         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8799         __USE_XOPEN2K8].
8800         (CLD_KILLED): Likewise.
8801         (CLD_DUMPED): Likewise.
8802         (CLD_TRAPPED): Likewise.
8803         (CLD_STOPPED): Likewise.
8804         (CLD_CONTINUED): Likewise.
8805         (POLL_IN): Likewise.
8806         (POLL_OUT): Likewise.
8807         (POLL_MSG): Likewise.
8808         (POLL_ERR): Likewise.
8809         (POLL_PRI): Likewise.
8810         (POLL_HUP): Likewise.
8811         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8812         (ILL_ILLOPN): Likewise.
8813         (ILL_ILLADR): Likewise.
8814         (ILL_ILLTRP): Likewise.
8815         (ILL_PRVOPC): Likewise.
8816         (ILL_PRVREG): Likewise.
8817         (ILL_COPROC): Likewise.
8818         (ILL_BADSTK): Likewise.
8819         (FPE_INTDIV): Likewise.
8820         (FPE_INTOVF): Likewise.
8821         (FPE_FLTDIV): Likewise.
8822         (FPE_FLTOVF): Likewise.
8823         (FPE_FLTUND): Likewise.
8824         (FPE_FLTRES): Likewise.
8825         (FPE_FLTINV): Likewise.
8826         (FPE_FLTSUB): Likewise.
8827         (SEGV_MAPERR): Likewise.
8828         (SEGV_ACCERR): Likewise.
8829         (BUS_ADRALN): Likewise.
8830         (BUS_ADRERR): Likewise.
8831         (BUS_OBJERR): Likewise.
8832         (BUS_MCEERR_AR): Likewise.
8833         (BUS_MCEERR_AO): Likewise.
8834         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8835         (TRAP_TRACE): Likewise.
8836         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8837         __USE_XOPEN2K8].
8838         (CLD_KILLED): Likewise.
8839         (CLD_DUMPED): Likewise.
8840         (CLD_TRAPPED): Likewise.
8841         (CLD_STOPPED): Likewise.
8842         (CLD_CONTINUED): Likewise.
8843         (POLL_IN): Likewise.
8844         (POLL_OUT): Likewise.
8845         (POLL_MSG): Likewise.
8846         (POLL_ERR): Likewise.
8847         (POLL_PRI): Likewise.
8848         (POLL_HUP): Likewise.
8849         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8850         (ILL_ILLOPN): Likewise.
8851         (ILL_ILLADR): Likewise.
8852         (ILL_ILLTRP): Likewise.
8853         (ILL_PRVOPC): Likewise.
8854         (ILL_PRVREG): Likewise.
8855         (ILL_COPROC): Likewise.
8856         (ILL_BADSTK): Likewise.
8857         (ILL_DBLFLT): Likewise.
8858         (ILL_HARDWALL): Likewise.
8859         (FPE_INTDIV): Likewise.
8860         (FPE_INTOVF): Likewise.
8861         (FPE_FLTDIV): Likewise.
8862         (FPE_FLTOVF): Likewise.
8863         (FPE_FLTUND): Likewise.
8864         (FPE_FLTRES): Likewise.
8865         (FPE_FLTINV): Likewise.
8866         (FPE_FLTSUB): Likewise.
8867         (SEGV_MAPERR): Likewise.
8868         (SEGV_ACCERR): Likewise.
8869         (BUS_ADRALN): Likewise.
8870         (BUS_ADRERR): Likewise.
8871         (BUS_OBJERR): Likewise.
8872         (BUS_MCEERR_AR): Likewise.
8873         (BUS_MCEERR_AO): Likewise.
8874         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8875         (TRAP_TRACE): Likewise.
8876         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8877         __USE_XOPEN2K8].
8878         (CLD_KILLED): Likewise.
8879         (CLD_DUMPED): Likewise.
8880         (CLD_TRAPPED): Likewise.
8881         (CLD_STOPPED): Likewise.
8882         (CLD_CONTINUED): Likewise.
8883         (POLL_IN): Likewise.
8884         (POLL_OUT): Likewise.
8885         (POLL_MSG): Likewise.
8886         (POLL_ERR): Likewise.
8887         (POLL_PRI): Likewise.
8888         (POLL_HUP): Likewise.
8889         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8890         (ILL_ILLOPN): Likewise.
8891         (ILL_ILLADR): Likewise.
8892         (ILL_ILLTRP): Likewise.
8893         (ILL_PRVOPC): Likewise.
8894         (ILL_PRVREG): Likewise.
8895         (ILL_COPROC): Likewise.
8896         (ILL_BADSTK): Likewise.
8897         (FPE_INTDIV): Likewise.
8898         (FPE_INTOVF): Likewise.
8899         (FPE_FLTDIV): Likewise.
8900         (FPE_FLTOVF): Likewise.
8901         (FPE_FLTUND): Likewise.
8902         (FPE_FLTRES): Likewise.
8903         (FPE_FLTINV): Likewise.
8904         (FPE_FLTSUB): Likewise.
8905         (SEGV_MAPERR): Likewise.
8906         (SEGV_ACCERR): Likewise.
8907         (BUS_ADRALN): Likewise.
8908         (BUS_ADRERR): Likewise.
8909         (BUS_OBJERR): Likewise.
8910         (BUS_MCEERR_AR): Likewise.
8911         (BUS_MCEERR_AO): Likewise.
8912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8913         (TRAP_TRACE): Likewise.
8914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8915         __USE_XOPEN2K8].
8916         (CLD_KILLED): Likewise.
8917         (CLD_DUMPED): Likewise.
8918         (CLD_TRAPPED): Likewise.
8919         (CLD_STOPPED): Likewise.
8920         (CLD_CONTINUED): Likewise.
8921         (POLL_IN): Likewise.
8922         (POLL_OUT): Likewise.
8923         (POLL_MSG): Likewise.
8924         (POLL_ERR): Likewise.
8925         (POLL_PRI): Likewise.
8926         (POLL_HUP): Likewise.
8927         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8928         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8930         [BZ #16670]
8931         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8932         before #include of <time.h>.
8933         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8934         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8935         (test-xfail-UNIX98/sched.h/conform): Likewise.
8937 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8939         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8940         error absence of trapping exception support.
8941         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8943 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8945         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8946         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8947         * timezone/Makefile (testdata): Move definition above include of
8948         Rules.
8949         (test-zones): New variable.
8950         (tests-special): Add zone files.
8951         (build-testdata): Use $(evaluate-test).
8953         * elf/Makefile (tests-special): Rename tests to end with .out.
8954         ($(objpfx)noload-mem): Likewise.
8955         ($(objpfx)tst-leaks1-mem): Likewise.
8956         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8957         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8958         $(objpfx)test-iconvconfig.out.
8959         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8960         set -e inside subshell and redirect output to file.
8961         * iconvdata/Makefile (generated): Rename tests to end with .out.
8962         Correct type.
8963         (tests-special): Rename tests to end with .out.
8964         ($(objpfx)mtrace-tst-loading): Likewise.
8965         * intl/Makefile (generated): Likewise.
8966         (tests-special): Likewise.
8967         ($(objpfx)mtrace-tst-gettext): Likewise.
8968         * misc/Makefile (generated): Likewise.
8969         (tests-special): Likewise.
8970         ($(objpfx)tst-error1-mem): Likewise.
8971         * nptl/Makefile (tests-special): Likewise.
8972         ($(objpfx)tst-stack3-mem): Likewise.
8973         (generated): Likewise.
8974         * posix/Makefile (generated): Likewise.
8975         (tests-special): Likewise.
8976         (xtests-special): Likewise.
8977         ($(objpfx)tst-fnmatch-mem): Likewise.
8978         ($(objpfx)bug-regex2-mem): Likewise.
8979         ($(objpfx)bug-regex14-mem): Likewise.
8980         ($(objpfx)bug-regex21-mem): Likewise.
8981         ($(objpfx)bug-regex31-mem): Likewise.
8982         ($(objpfx)tst-vfork3-mem): Likewise.
8983         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8984         ($(objpfx)tst-pcre-mem): Likewise.
8985         ($(objpfx)tst-boost-mem): Likewise.
8986         ($(objpfx)bug-ga2-mem): Likewise.
8987         ($(objpfx)bug-glob2-mem): Likewise.
8988         * resolv/Makefile (generate): Likewise.
8989         (tests-special): Likewise.
8990         (xtests-special): Likewise.
8991         (generated): Likewise.
8992         ($(objpfx)mtrace-tst-leaks): Likewise.
8993         ($(objpfx)mtrace-tst-leaks2): Likewise.
8995         * scripts/merge-test-results.sh: New file.
8996         * Makefile (tests-special-notdir): New variable.
8997         (tests): Run merge-test-results.sh.
8998         (xtests): Likewise.
8999         * Rules (tests-special-notdir): New variable.
9000         (xtests-special-notdir): Likewise.
9001         (tests): Run merge-test-results.sh
9002         (xtests): Likewise.
9004         * Makeconfig (test-xfail-name): New variable.
9005         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9006         compute variable name for expected failures.
9007         * conform/Makefile (conformtest-headers-data): New variable.
9008         (conformtest-standards): Likewise.
9009         (conformtest-headers-ISO): Likewise.
9010         (conformtest-headers-ISO99): Likewise.
9011         (conformtest-headers-ISO11): Likewise.
9012         (conformtest-headers-POSIX): Likewise.
9013         (conformtest-headers-XPG3): Likewise.
9014         (conformtest-headers-XPG4): Likewise.
9015         (conformtest-headers-UNIX98): Likewise.
9016         (conformtest-headers-XOPEN2K): Likewise.
9017         (conformtest-headers-POSIX2008): Likewise.
9018         (conformtest-headers-XOPEN2K8): Likewise.
9019         (conformtest-header-list-base): Likewise.
9020         (conformtest-header-list-tests): Likewise.
9021         (conformtest-header-base): Likewise.
9022         (conformtest-header-tests): Likewise.
9023         (tests-special): Add $(conformtest-header-list-tests).  If
9024         [$(fast-check) && !$(cross-compiling)], add
9025         $(conformtest-header-tests) instead of
9026         $(objpfx)run-conformtest.out.
9027         (generated): Add $(conformtest-header-list-base).  If
9028         [$(fast-check) && !$(cross-compiling)], add
9029         $(conformtest-header-base).  Remove previous setting.
9030         ($(conformtest-header-list-tests)): New target.
9031         (test-xfail-run-conformtest): Remove variable.
9032         ($(objpfx)run-conformtest.out): Remove target.
9033         (test-xfail-ISO11/complex.h/conform): New variable.
9034         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9035         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9036         (test-xfail-XPG3/varargs.h/conform): Likewise.
9037         (test-xfail-XPG4/varargs.h/conform): Likewise.
9038         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9039         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9040         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9041         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9042         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9043         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9044         (test-xfail-XPG3/ftw.h/conform): Likewise.
9045         (test-xfail-XPG3/grp.h/conform): Likewise.
9046         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9047         (test-xfail-XPG3/limits.h/conform): Likewise.
9048         (test-xfail-XPG3/pwd.h/conform): Likewise.
9049         (test-xfail-XPG3/search.h/conform): Likewise.
9050         (test-xfail-XPG3/signal.h/conform): Likewise.
9051         (test-xfail-XPG3/stdio.h/conform): Likewise.
9052         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9053         (test-xfail-XPG3/string.h/conform): Likewise.
9054         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9055         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9056         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9057         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9058         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9059         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9060         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9061         (test-xfail-XPG3/termios.h/conform): Likewise.
9062         (test-xfail-XPG3/time.h/conform): Likewise.
9063         (test-xfail-XPG3/unistd.h/conform): Likewise.
9064         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9065         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9066         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9067         (test-xfail-XPG4/netdb.h/conform): Likewise.
9068         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9069         (test-xfail-XPG4/signal.h/conform): Likewise.
9070         (test-xfail-XPG4/stdio.h/conform): Likewise.
9071         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9072         (test-xfail-XPG4/stropts.h/conform): Likewise.
9073         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9074         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9075         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9076         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9077         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9078         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9079         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9080         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9081         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9082         (test-xfail-XPG4/termios.h/conform): Likewise.
9083         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9084         (test-xfail-XPG4/unistd.h/conform): Likewise.
9085         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9086         (test-xfail-POSIX/sched.h/conform): Likewise.
9087         (test-xfail-POSIX/signal.h/conform): Likewise.
9088         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9089         (test-xfail-POSIX/tar.h/conform): Likewise.
9090         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9091         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9092         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9093         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9094         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9095         (test-xfail-UNIX98/sched.h/conform): Likewise.
9096         (test-xfail-UNIX98/signal.h/conform): Likewise.
9097         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9098         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9099         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9100         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9101         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9102         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9103         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9104         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9105         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9106         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9107         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9108         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9109         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9110         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9111         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9112         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9113         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9114         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9115         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9116         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9117         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9118         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9119         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9120         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9121         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9122         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9123         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9124         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9125         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9126         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9127         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9128         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9129         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9130         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9131         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9132         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9133         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9134         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9135         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9136         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9137         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9138         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9139         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9140         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9141         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9142         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9143         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9144         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9145         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9146         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9147         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9148         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9149         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9150         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9151         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9152         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9153         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9154         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9155         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9156         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9157         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9158         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9159         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9160         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9161         (conformtest-cc-flags): Likewise.
9162         ($(conformtest-header-tests): New target.
9163         * conform/check-header-lists.sh: New file.
9164         * conform/run-conformtest.sh: Remove.
9166         * conform/conformtest.pl: Allow ' and \ in values given for
9167         constants.
9168         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9169         inclusion.
9170         [POSIX] (sys/types.h): Likewise.
9171         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9172         inclusion.
9173         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9174         inclusion.
9175         * conform/data/signal.h-data (SIGIO): Remove expectation.
9176         [XPG3] (SIGBUS): Do not expect.
9177         [POSIX || XPG3] (SIGPOLL): Likewise.
9178         [POSIX || XPG3] (SIGPROF): Likewise.
9179         [POSIX || XPG3] (SIGSYS): Likewise.
9180         [XPG3] (SIGTRAP): Likewise.
9181         [POSIX || XPG3] (SIGURG): Likewise.
9182         [POSIX || XPG3] (SIGVTALRM): Likewise.
9183         [POSIX || XPG3] (SIGXCPU): Likewise.
9184         [POSIX || XPG3] (SIGXFSZ): Likewise.
9185         [POSIX] (SA_SIGINFO): Expect.
9186         [XPG3] (siginfo_t): Do not expect type or contents.
9187         [POSIX] (si_pid): Do not expect element.
9188         [POSIX] (si_uid): Likewise.
9189         [POSIX] (si_addr): Likewise.
9190         [POSIX] (si_status): Likewise.
9191         [POSIX] (si_band): Likewise.
9192         [XPG4] (si_value): Likewise.
9193         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9194         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9195         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9196         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9197         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9198         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9199         [POSIX || XPG3] (ILL_COPROC): Likewise.
9200         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9201         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9202         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9203         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9204         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9205         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9206         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9207         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9208         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9209         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9210         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9211         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9212         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9213         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9214         [POSIX || XPG3] (CLD_EXITED): Likewise.
9215         [POSIX || XPG3] (CLD_KILLED): Likewise.
9216         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9217         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9218         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9219         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9220         [POSIX || XPG3] (POLL_IN): Likewise.
9221         [POSIX || XPG3] (POLL_OUT): Likewise.
9222         [POSIX || XPG3] (POLL_MSG): Likewise.
9223         [POSIX || XPG3] (POLL_ERR): Likewise.
9224         [POSIX || XPG3] (POLL_PRI): Likewise.
9225         [POSIX || XPG3] (POLL_HUP): Likewise.
9226         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9227         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9228         (SIG*): Do not allow.
9229         [XPG3] (si_*): Likewise.
9230         [XPG3] (SI_*): Likewise.
9231         [XPG3 || XPG4] (sigev_*): Likewise.
9232         [XPG3 || XPG4] (SIGEV_*): Likewise.
9233         [XPG3 || XPG4] (sival_*): Likewise.
9234         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9235         [POSIX || XPG3] (BUS_*): Likewise.
9236         [POSIX || XPG3] (CLD_*): Likewise.
9237         [POSIX || XPG3] (FPE_*): Likewise.
9238         [POSIX || XPG3] (ILL_*): Likewise.
9239         [POSIX || XPG3] (POLL_*): Likewise.
9240         [POSIX || XPG3] (SEGV_*): Likewise.
9241         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9242         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9243         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9244         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9245         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9246         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9247         Specify type and value.
9248         (TVERSLEN): Likewise.
9249         (REGTYPE): Likewise.
9250         (AREGTYPE): Likewise.
9251         (LNKTYPE): Likewise.
9252         (SYMTYPE): Likewise.
9253         (CHRTYPE): Likewise.
9254         (BLKTYPE): Likewise.
9255         (DIRTYPE): Likewise.
9256         (FIFOTYPE): Likewise.
9257         (CONTTYPE): Likewise.
9258         (TSUID): Likewise.
9259         (TSGID): Likewise.
9260         (TSVTX): Likewise.
9261         (TUREAD): Likewise.
9262         (TUWRITE): Likewise.
9263         (TUEXEC): Likewise.
9264         (TGREAD): Likewise.
9265         (TGWRITE): Likewise.
9266         (TGEXEC): Likewise.
9267         (TOREAD): Likewise.
9268         (TOWRITE): Likewise.
9269         (TOEXEC): Likewise.
9270         [POSIX] (TSVTX): Expect constant.
9272 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9274         * Makefile (tests): Change dependencies to ....
9275         (tests-special): ... additions to this variable.
9276         (tests): Depend on $(tests-special).
9277         * Makerules (check-abi-list): New variable.
9278         (check-abi): Depend on $(check-abi-list).
9279         [$(subdir) = elf] (tests-special): Add
9280         $(objpfx)check-abi-libc.out.
9281         [$(build-shared) = yes && subdir] (tests-special): Add
9282         $(check-abi-list).
9283         [$(build-shared) = yes && subdir] (tests): Do not depend on
9284         check-abi.
9285         * Rules (tests): Depend on $(tests-special).
9286         (xtests): Depend on $(xtests-special).
9287         * catgets/Makefile (tests): Change dependencies to ....
9288         (tests-special): ... additions to this variable.
9289         * conform/Makefile (tests): Change dependencies to ....
9290         (tests-special): ... additions to this variable.
9291         * elf/Makefile (tests): Change dependencies to ....
9292         (tests-special): ... additions to this variable.
9293         * grp/Makefile (tests): Change dependencies to ....
9294         (tests-special): ... additions to this variable.
9295         * iconv/Makefile (xtests): Change dependencies to ....
9296         (xtests-special): ... additions to this variable.
9297         * iconvdata/Makefile (tests): Change dependencies to ....
9298         (tests-special): ... additions to this variable.
9299         * intl/Makefile (tests): Change dependencies to ....
9300         (tests-special): ... additions to this variable.  Also add
9301         $(objpfx)tst-gettext.out.
9302         * io/Makefile (tests): Change dependencies to ....
9303         (tests-special): ... additions to this variable.
9304         * libio/Makefile (tests): Change dependencies to ....
9305         (tests-special): ... additions to this variable.
9306         * malloc/Makefile (tests): Change dependencies to ....
9307         (tests-special): ... additions to this variable.
9308         * misc/Makefile (tests): Change dependencies to ....
9309         (tests-special): ... additions to this variable.
9310         * nptl/Makefile (tests): Change dependencies to ....
9311         (tests-special): ... additions to this variable.
9312         * nptl_db/Makefile (tests): Change dependencies to ....
9313         (tests-special): ... additions to this variable.
9314         * posix/Makefile (tests): Change dependencies to ....
9315         (tests-special): ... additions to this variable.
9316         (xtests): Change dependencies to ....
9317         (xtests-special): ... additions to this variable.
9318         * resolv/Makefile (tests): Change dependencies to ....
9319         (tests-special): ... additions to this variable.
9320         (xtests): Change dependencies to ....
9321         (xtests-special): ... additions to this variable.
9322         * stdio-common/Makefile (tests): Change dependencies to ....
9323         (tests-special): ... additions to this variable.
9324         (do-tst-unbputc): Remove target.
9325         (do-tst-printf): Likewise.
9326         * stdlib/Makefile (tests): Change dependencies to ....
9327         (tests-special): ... additions to this variable.
9328         * string/Makefile (tests): Change dependencies to ....
9329         (tests-special): ... additions to this variable.
9330         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9331         (tests-special): ... additions to this variable.
9333         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9334         whole file.
9335         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9336         whole file.
9337         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9338         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9340         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9341         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9342         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9343         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9344         * conform/data/libgen.h-data [XPG3]: Likewise.
9345         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9346         * conform/data/ndbm.h-data [XPG3]: Likewise.
9347         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9348         * conform/data/netdb.h-data [XPG3]: Likewise.
9349         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9350         * conform/data/poll.h-data [XPG3]: Likewise.
9351         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9352         * conform/data/strings.h-data [XPG3]: Likewise.
9353         * conform/data/stropts.h-data [XPG3]: Likewise.
9354         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9355         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9356         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9357         Likewise.
9358         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9359         * conform/data/sys/time.h-data [XPG3]: Likewise.
9360         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9361         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9362         * conform/data/sys/un.h-data [XPG3]: Likewise.
9363         * conform/data/syslog.h-data [XPG3]: Likewise.
9364         * conform/data/ucontext.h-data [XPG3]: Likewise.
9365         * conform/data/utmpx.h-data [XPG3]: Likewise.
9366         * conform/data/varargs.h-data [UNIX98]: Enable file.
9368         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9370         * math/libm-test.inc (struct test_f_f_data): Move expected results
9371         into structure for each rounding mode.
9372         (struct test_ff_f_data): Likewise.
9373         (struct test_ff_f_data_nexttoward): Likewise.
9374         (struct test_fi_f_data): Likewise.
9375         (struct test_fl_f_data): Likewise.
9376         (struct test_if_f_data): Likewise.
9377         (struct test_fff_f_data): Likewise.
9378         (struct test_c_f_data): Likewise.
9379         (struct test_f_f1_data): Likewise.
9380         (struct test_fF_f1_data): Likewise.
9381         (struct test_ffI_f1_data): Likewise.
9382         (struct test_c_c_data): Likewise.
9383         (struct test_cc_c_data): Likewise.
9384         (struct test_f_i_data): Likewise.
9385         (struct test_ff_i_data): Likewise.
9386         (struct test_f_l_data): Likewise.
9387         (struct test_f_L_data): Likewise.
9388         (struct test_fFF_11_data): Likewise.
9389         (RM_): New macro.
9390         (RM_FE_DOWNWARD): Likewise.
9391         (RM_FE_TONEAREST): Likewise.
9392         (RM_FE_TOWARDZERO): Likewise.
9393         (RM_FE_UPWARD): Likewise.
9394         (RUN_TEST_LOOP_f_f): Update references to expected results.
9395         (RUN_TEST_LOOP_2_f): Likewise.
9396         (RUN_TEST_LOOP_fff_f): Likewise.
9397         (RUN_TEST_LOOP_c_f): Likewise.
9398         (RUN_TEST_LOOP_f_f1): Likewise.
9399         (RUN_TEST_LOOP_fF_f1): Likewise.
9400         (RUN_TEST_LOOP_fI_f1): Likewise.
9401         (RUN_TEST_LOOP_ffI_f1): Likewise.
9402         (RUN_TEST_LOOP_c_c): Likewise.
9403         (RUN_TEST_LOOP_cc_c): Likewise.
9404         (RUN_TEST_LOOP_f_i): Likewise.
9405         (RUN_TEST_LOOP_f_i_tg): Likewise.
9406         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9407         (RUN_TEST_LOOP_f_b): Likewise.
9408         (RUN_TEST_LOOP_f_b_tg): Likewise.
9409         (RUN_TEST_LOOP_f_l): Likewise.
9410         (RUN_TEST_LOOP_f_L): Likewise.
9411         (RUN_TEST_LOOP_fFF_11): Likewise.
9412         * math/gen-libm-test.pl (parse_args): Output four copies of
9413         expected results for each test.
9415         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9416         (__ASSUME_UTIMES): Remove.
9417         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9418         (__ASSUME_UTIMES): Likewise.
9420         * math/gen-auto-libm-tests.c: Update comment on output format.
9421         (output_for_one_input_case): Generate before-rounding and
9422         after-rounding information as conditions on output flags not
9423         floating-point format.
9424         * math/auto-libm-test-out: Regenerated.
9425         * math/gen-libm-test.pl (cond_value): New function.
9426         (or_cond_value): Use cond_value.
9427         (generate_testfile): Handle conditional exceptions.
9429 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9431         * math/libm-test.inc (max_valid_error): New variable.
9432         (init_max_error): Take new argument specifying whether function
9433         results are exactly determined.  Set max_valid_error and bound
9434         other variables for errors based on this argument.
9435         (set_max_error): Do not record results above max_valid_error.
9436         (check_float_internal): Only accept errors of up to 0.5ulps if
9437         also at most max_valid_error.
9438         (START): Take new argument EXACT and pass it to init_max_error.
9439         (acos_test): Update call to START.
9440         (acos_test_tonearest): Likewise.
9441         (acos_test_towardzero): Likewise.
9442         (acos_test_downward): Likewise.
9443         (acos_test_upward): Likewise.
9444         (acosh_test): Likewise.
9445         (asin_test): Likewise.
9446         (asin_test_tonearest): Likewise.
9447         (asin_test_towardzero): Likewise.
9448         (asin_test_downward): Likewise.
9449         (asin_test_upward): Likewise.
9450         (asinh_test): Likewise.
9451         (atan_test): Likewise.
9452         (atanh_test): Likewise.
9453         (atan2_test): Likewise.
9454         (cabs_test): Likewise.
9455         (cacos_test): Likewise.
9456         (cacosh_test): Likewise.
9457         (carg_test): Likewise.
9458         (casin_test): Likewise.
9459         (casinh_test): Likewise.
9460         (catan_test): Likewise.
9461         (catanh_test): Likewise.
9462         (cbrt_test): Likewise.
9463         (ccos_test): Likewise.
9464         (ccosh_test): Likewise.
9465         (ceil_test): Likewise.
9466         (cexp_test): Likewise.
9467         (cimag_test): Likewise.
9468         (clog_test): Likewise.
9469         (clog10_test): Likewise.
9470         (conj_test): Likewise.
9471         (copysign_test): Likewise.
9472         (cos_test): Likewise.
9473         (cos_test_tonearest): Likewise.
9474         (cos_test_towardzero): Likewise.
9475         (cos_test_downward): Likewise.
9476         (cos_test_upward): Likewise.
9477         (cosh_test): Likewise.
9478         (cosh_test_tonearest): Likewise.
9479         (cosh_test_towardzero): Likewise.
9480         (cosh_test_downward): Likewise.
9481         (cosh_test_upward): Likewise.
9482         (cpow_test): Likewise.
9483         (cproj_test): Likewise.
9484         (creal_test): Likewise.
9485         (csin_test): Likewise.
9486         (csinh_test): Likewise.
9487         (csqrt_test): Likewise.
9488         (ctan_test): Likewise.
9489         (ctan_test_tonearest): Likewise.
9490         (ctan_test_towardzero): Likewise.
9491         (ctan_test_downward): Likewise.
9492         (ctan_test_upward): Likewise.
9493         (ctanh_test): Likewise.
9494         (ctanh_test_tonearest): Likewise.
9495         (ctanh_test_towardzero): Likewise.
9496         (ctanh_test_downward): Likewise.
9497         (ctanh_test_upward): Likewise.
9498         (erf_test): Likewise.
9499         (erfc_test): Likewise.
9500         (exp_test): Likewise.
9501         (exp_test_tonearest): Likewise.
9502         (exp_test_towardzero): Likewise.
9503         (exp_test_downward): Likewise.
9504         (exp_test_upward): Likewise.
9505         (exp10_test): Likewise.
9506         (exp10_test_tonearest): Likewise.
9507         (exp10_test_towardzero): Likewise.
9508         (exp10_test_downward): Likewise.
9509         (exp10_test_upward): Likewise.
9510         (pow10_test): Likewise.
9511         (exp2_test): Likewise.
9512         (expm1_test): Likewise.
9513         (expm1_test_tonearest): Likewise.
9514         (expm1_test_towardzero): Likewise.
9515         (expm1_test_downward): Likewise.
9516         (expm1_test_upward): Likewise.
9517         (fabs_test): Likewise.
9518         (fdim_test): Likewise.
9519         (floor_test): Likewise.
9520         (fma_test): Likewise.
9521         (fma_test_towardzero): Likewise.
9522         (fma_test_downward): Likewise.
9523         (fma_test_upward): Likewise.
9524         (fmax_test): Likewise.
9525         (fmin_test): Likewise.
9526         (fmod_test): Likewise.
9527         (fpclassify_test): Likewise.
9528         (frexp_test): Likewise.
9529         (hypot_test): Likewise.
9530         (ilogb_test): Likewise.
9531         (isfinite_test): Likewise.
9532         (finite_test): Likewise.
9533         (isgreater_test): Likewise.
9534         (isgreaterequal_test): Likewise.
9535         (isinf_test): Likewise.
9536         (isless_test): Likewise.
9537         (islessequal_test): Likewise.
9538         (islessgreater_test): Likewise.
9539         (isnan_test): Likewise.
9540         (isnormal_test): Likewise.
9541         (issignaling_test): Likewise.
9542         (isunordered_test): Likewise.
9543         (j0_test): Likewise.
9544         (j1_test): Likewise.
9545         (jn_test): Likewise.
9546         (ldexp_test): Likewise.
9547         (lgamma_test): Likewise.
9548         (gamma_test): Likewise.
9549         (lrint_test): Likewise.
9550         (lrint_test_tonearest): Likewise.
9551         (lrint_test_towardzero): Likewise.
9552         (lrint_test_downward): Likewise.
9553         (lrint_test_upward): Likewise.
9554         (llrint_test): Likewise.
9555         (llrint_test_tonearest): Likewise.
9556         (llrint_test_towardzero): Likewise.
9557         (llrint_test_downward): Likewise.
9558         (llrint_test_upward): Likewise.
9559         (log_test): Likewise.
9560         (log10_test): Likewise.
9561         (log1p_test): Likewise.
9562         (log2_test): Likewise.
9563         (logb_test): Likewise.
9564         (logb_test_downward): Likewise.
9565         (lround_test): Likewise.
9566         (llround_test): Likewise.
9567         (modf_test): Likewise.
9568         (nearbyint_test): Likewise.
9569         (nextafter_test): Likewise.
9570         (nexttoward_test): Likewise.
9571         (pow_test): Likewise.
9572         (pow_test_tonearest): Likewise.
9573         (pow_test_towardzero): Likewise.
9574         (pow_test_downward): Likewise.
9575         (pow_test_upward): Likewise.
9576         (remainder_test): Likewise.
9577         (drem_test): Likewise.
9578         (remainder_test_tonearest): Likewise.
9579         (drem_test_tonearest): Likewise.
9580         (remainder_test_towardzero): Likewise.
9581         (drem_test_towardzero): Likewise.
9582         (remainder_test_downward): Likewise.
9583         (drem_test_downward): Likewise.
9584         (remainder_test_upward): Likewise.
9585         (drem_test_upward): Likewise.
9586         (remquo_test): Likewise.
9587         (rint_test): Likewise.
9588         (rint_test_tonearest): Likewise.
9589         (rint_test_towardzero): Likewise.
9590         (rint_test_downward): Likewise.
9591         (rint_test_upward): Likewise.
9592         (round_test): Likewise.
9593         (scalb_test): Likewise.
9594         (scalbn_test): Likewise.
9595         (scalbln_test): Likewise.
9596         (signbit_test): Likewise.
9597         (sin_test): Likewise.
9598         (sin_test_tonearest): Likewise.
9599         (sin_test_towardzero): Likewise.
9600         (sin_test_downward): Likewise.
9601         (sin_test_upward): Likewise.
9602         (sincos_test): Likewise.
9603         (sinh_test): Likewise.
9604         (sinh_test_tonearest): Likewise.
9605         (sinh_test_towardzero): Likewise.
9606         (sinh_test_downward): Likewise.
9607         (sinh_test_upward): Likewise.
9608         (sqrt_test): Likewise.
9609         (sqrt_test_tonearest): Likewise.
9610         (sqrt_test_towardzero): Likewise.
9611         (sqrt_test_downward): Likewise.
9612         (sqrt_test_upward): Likewise.
9613         (tan_test): Likewise.
9614         (tan_test_tonearest): Likewise.
9615         (tan_test_towardzero): Likewise.
9616         (tan_test_downward): Likewise.
9617         (tan_test_upward): Likewise.
9618         (tanh_test): Likewise.
9619         (tgamma_test): Likewise.
9620         (trunc_test): Likewise.
9621         (y0_test): Likewise.
9622         (y1_test): Likewise.
9623         (yn_test): Likewise.
9624         (significand_test): Likewise.
9626         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9627         individual tests in comment.
9628         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9629         (prev_max_error): New variable.
9630         (prev_real_max_error): Likewise.
9631         (prev_imag_max_error): Likewise.
9632         (compare_ulp_data): Don't refer to test names in comment.
9633         (find_test_ulps): Remove function.
9634         (find_function_ulps): Likewise.
9635         (find_complex_function_ulps): Likewise.
9636         (init_max_error): Take function name as argument.  Look up ulps
9637         for that function.
9638         (print_ulps): Remove function.
9639         (print_max_error): Use prev_max_error instead of calling
9640         find_function_ulps.
9641         (print_complex_max_error): Use prev_real_max_error and
9642         prev_imag_max_error instead of calling find_complex_function_ulps.
9643         (check_float_internal): Take max_ulp parameter instead of calling
9644         find_test_ulps.  Don't call print_ulps.
9645         (check_float): Update call to check_float_internal.
9646         (check_complex): Update calls to check_float_internal.
9647         (START): Pass argument to init_max_error.
9648         * math/gen-libm-test.pl (%results): Don't include "kind"
9649         information.
9650         (parse_ulps): Don't handle ulps of individual tests.
9651         (print_ulps_file): Likewise.
9652         (output_ulps): Likewise.
9653         * math/README.libm-test: Update.
9654         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9655         individual tests.
9656         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9657         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9658         * sysdeps/arm/libm-test-ulps: Likewise.
9659         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9660         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9661         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9662         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9663         * sysdeps/microblaze/libm-test-ulps: Likewise.
9664         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9665         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9666         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9667         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9668         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9669         * sysdeps/sh/libm-test-ulps: Likewise.
9670         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9671         * sysdeps/tile/libm-test-ulps: Likewise.
9672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9676         * math/libm-test.inc (print_complex_max_error): Check separately
9677         whether real and imaginary errors are within allowed range and
9678         pass 0 to print_complex_function_ulps instead of value within
9679         allowed range.
9681 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9683         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9684         formatting.
9685         (get_handles_fopen): Likewise.
9686         (do_write_test): Likewise.
9688         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9690         * libio/fileops.c (do_ftell): Use cached offset when
9691         available.
9692         * libio/iofwide.c (do_ftell_wide): Likewise.
9693         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9694         _IO_file_attach.
9695         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9697         [BZ #16532]
9698         * libio/libioP.h (get_file_offset): New function.
9699         * libio/fileops.c (get_file_offset): Likewise.
9700         (do_ftell): Likewise.
9701         (_IO_new_file_seekoff): Split out ftell logic.
9702         * libio/wfileops.c (do_ftell_wide): Likewise.
9703         (_IO_wfile_seekoff): Split out ftell logic.
9704         * libio/tst-ftell-active-handler.c: New test case.
9705         * libio/Makefile (tests): Add it.
9707 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9709         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9710         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9712 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9714         [BZ #16639]
9715         * nscd/connections.c (nscd_init): Call do_exit.
9716         (start_threads): Call do_exit and notify_parent.
9717         (begin_drop_privileges): Call do_exit.
9718         (finish_drop_privileges): Likewise.
9719         * nscd/selinux.c (preserve_capabilities): Likewise.
9720         (install_real_capabilities): Likewise.
9721         (nscd_selinux_enabled): Likewise.
9722         (avc_create_thread): Likewise.
9723         (avc_alloc_lock): Likewise.
9724         (nscd_avc_init): Likewise.
9725         * nscd/nscd.c (parent_fd): New static variable.
9726         (main): Create a pipe between parent and child processes.
9727         Skip closing parent_fd.
9728         (monitor_child): New function.
9729         (do_exit): Likewise.
9730         (notify_parent): Likewise.
9731         * nscd/nscd.h (notify_parent): Likewise.
9732         (do_exit): Likewise.
9734 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9736         * malloc/malloc.c (__libc_calloc): Revert last change.
9738 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9742 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9744         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9746         implementation.
9747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9748         (__libc_ifunc_impl_list): Likewise.
9749         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9750         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9751         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9752         * string/strrchr.c: Define STRRCHR.
9754 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9756         * benchtest/bench-strtok.c (simple_strtok): Delete.
9757         (strtok_string): Use as benchmark.
9758         * string/strtok (STRTOK): New macro.
9760 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9762         * manual/threads.texi: Add header and standard comments to all
9763         functions.
9765         * elf/dl-lookup.c (check_match): New function.
9766         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9767         (do_lookup_x): Remove nested function check_match. Use non-nested
9768         function check_match.
9770 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9772         * csu/Makefile (generated, before-compile): Use += rather than =.
9773         * catgets/Makefile (generated, generated-dirs): Likewise.
9774         * debug/Makefile (generated): Likewise.
9775         * dlfcn/Makefile (generated): Likewise.
9776         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9777         * iconvdata/Makefile (before-compile, generated): Likewise.
9778         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9779         * libio/Makefile (generated): Likewise.
9780         * malloc/Makefile (generated): Likewise.
9781         * manual/Makefile (generated, generated-dirs): Likewise.
9782         * misc/Makefile (generated): Likewise.
9783         * posix/Makefile (generated): Likewise.
9784         * resolv/Makefile (generated): Likewise.
9785         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9786         * timezone/Makefile (generated, generated-dirs): Likewise.
9788         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9790 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9793         power8 implementation.
9794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9795         file: POWER8 llround ifunc implementation.
9796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9797         (__lllround): Add POWER8 implementation.
9798         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9799         POWER8 llround implementation.
9801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9802         power8 implementation.
9803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9804         file: POWER8 llrint ifunc implementation.
9805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9806         Add POWER8 implementation.
9807         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9808         POWER8 llrint implementation.
9810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9811         power8 implementation.
9812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9813         file: POWER8 finite ifunc implementation.
9814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9815         Add POWER8 implementation.
9816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9817         Likewise.
9818         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9819         POWER8 finite implementation.
9820         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9823         power8 implementation.
9824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9825         file: POWER8 isinf ifunc implementation.
9826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9827         POWER8 implementation.
9828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9829         Likewise.
9830         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9831         isinf implementation.
9832         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9834         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9835         (INIT_ARCH): Add hwcap2 initialization.
9836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9837         power8 implementation.
9838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9839         file: POWER8 isnan ifunc implementation.
9840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9841         POWER8 implementation.
9842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9843         Likewise.
9844         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9845         isnan implementation.
9846         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9848 2014-02-27  Joey Ye  <joey.ye@arm.com>
9850         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9851         (_FP_NANFRAC_Q): Set to zero.
9853 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9855         [BZ #16623]
9856         * math/auto-libm-test-in: New test inputs.
9857         * math/auto-libm-test-out: Regenerate.
9858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9859         and DA.
9860         (__cos): Likewise.
9861         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9863 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9865         * scripts/evaluate-test.sh: Take new argument indicating whether
9866         failure is expected.
9867         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9868         indicating whether failure is expected.
9869         * conform/Makefile (test-xfail-run-conformtest): New variable.
9870         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9871         level.
9872         * posix/Makefile (test-xfail-annexc): New variable.
9873         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9875 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9877         * argp/Makefile: Include Makeconfig immediately after defining
9878         subdir.
9879         * assert/Makefile: Likewise.
9880         * benchtests/Makefile: Likewise.
9881         * catgets/Makefile: Likewise.
9882         * conform/Makefile: Likewise.
9883         * crypt/Makefile: Likewise.
9884         * csu/Makefile: Likewise.
9885         (all): Remove target.
9886         * ctype/Makefile: Include Makeconfig immediately after defining
9887         subdir.
9888         * debug/Makefile: Likewise.
9889         * dirent/Makefile: Likewise.
9890         * dlfcn/Makefile: Likewise.
9891         * gmon/Makefile: Likewise.
9892         * gnulib/Makefile: Likewise.
9893         * grp/Makefile: Likewise.
9894         * gshadow/Makefile: Likewise.
9895         * hesiod/Makefile: Likewise.
9896         * hurd/Makefile: Likewise.
9897         (all): Remove target.
9898         * iconvdata/Makefile: Include Makeconfig immediately after
9899         defining subdir.
9900         * inet/Makefile: Likewise.
9901         * intl/Makefile: Likewise.
9902         * io/Makefile: Likewise.
9903         * libio/Makefile: Likewise.
9904         (all): Remove target.
9905         * locale/Makefile: Include Makeconfig immediately after defining
9906         subdir.
9907         * login/Makefile: Likewise.
9908         * mach/Makefile: Likewise.
9909         (all): Remove target.
9910         * malloc/Makefile: Include Makeconfig immediately after defining
9911         subdir.
9912         (all): Remove target.
9913         * manual/Makefile: Include Makeconfig immediately after defining
9914         subdir.
9915         * math/Makefile: Likewise.
9916         * misc/Makefile: Likewise.
9917         * nis/Makefile: Likewise.
9918         * nss/Makefile: Likewise.
9919         * po/Makefile: Likewise.
9920         (all): Remove target.
9921         * posix/Makefile: Include Makeconfig immediately after defining
9922         subdir.
9923         * pwd/Makefile: Likewise.
9924         * resolv/Makefile: Likewise.
9925         * resource/Makefile: Likewise.
9926         * rt/Makefile: Likewise.
9927         * setjmp/Makefile: Likewise.
9928         * shadow/Makefile: Likewise.
9929         * signal/Makefile: Likewise.
9930         * socket/Makefile: Likewise.
9931         * soft-fp/Makefile: Likewise.
9932         * stdio-common/Makefile: Likewise.
9933         * stdlib/Makefile: Likewise.
9934         * streams/Makefile: Likewise.
9935         * string/Makefile: Likewise.
9936         * sunrpc/Makefile: Likewise.
9937         (all): Remove target.
9938         * sysvipc/Makefile: Include Makeconfig immediately after defining
9939         subdir.
9940         * termios/Makefile: Likewise.
9941         * time/Makefile: Likewise.
9942         * timezone/Makefile: Likewise.
9943         (all): Remove target.
9944         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9945         subdir.
9946         * wctype/Makefile: Likewise.
9948 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9950         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9951         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9952         (libc_feholdexcept_setround_mips): Ditto.
9953         (libc_feholdsetround): New.
9954         (libc_feholdsetroundf): New.
9955         (libc_feholdsetroundl): New.
9956         (libc_feupdateenv_test_mips): New.
9957         (libc_feupdateenv_test): New.
9958         (libc_feupdateenv_testf): New.
9959         (libc_feupdateenv_testl): New.
9960         (libc_feresetround): New.
9961         (libc_feresetroundf): New.
9962         (libc_feresetroundl): New.
9963         (libc_fetestexcept_mips): New.
9964         (libc_fetestexcept): New.
9965         (libc_fetestexceptf): New.
9966         (libc_fetestexceptl): New.
9967         (HAVE_RM_CTX): New.
9968         (libc_feholdexcept_setround_mips_ctx): New.
9969         (libc_feholdexcept_setround_ctx): New.
9970         (libc_feholdexcept_setroundf_ctx): New.
9971         (libc_feholdexcept_setroundl_ctx): New.
9972         (libc_fesetenv_mips_ctx): New.
9973         (libc_fesetenv_ctx): New.
9974         (libc_fesetenv_ctxf): New.
9975         (libc_fesetenv_ctxl): New.
9976         (libc_feupdateenv_mips_ctx): New.
9977         (libc_feupdateenv_ctx): New.
9978         (libc_feupdateenvf_ctx): New.
9979         (libc_feupdateenvl_ctx): New.
9980         (libc_feholdsetround_mips_ctx): New.
9981         (libc_feholdsetround_ctx): New.
9982         (libc_feholdsetroundf_ctx): New.
9983         (libc_feholdsetroundl_ctx): New.
9984         (libc_feresetround_mips_ctx): New.
9985         (libc_feresetround_ctx): New.
9986         (libc_feresetroundf_ctx): New.
9987         (libc_feresetroundl_ctx): New.
9989 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9991         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9993         * manual/ipc.texi: New file.
9994         * manual/Makefile (chapters): Add ipc.
9995         * manual/job.texi: Add "Inter-Process Communication" to next.
9996         * manual/process.texi: Add "Inter-Process Communication" to prev.
9998 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10002 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10004         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10006         * manual/arith.texi: Fix spaces after sentences.
10007         * manual/charset.texi: Likewise.
10008         * manual/errno.texi: Likewise.
10009         * manual/install.texi: Likewise.
10010         * manual/llio.texi: Likewise.
10011         * manual/locale.texi: Likewise.
10012         * manual/maint.texi: Likewise.
10013         * manual/math.texi: Likewise.
10014         * manual/memory.texi: Likewise.
10015         * manual/message.texi: Likewise.
10016         * manual/probes.texi: Likewise.
10017         * manual/resource.texi: Likewise.
10018         * manual/signal.texi: Likewise.
10019         * manual/socket.texi: Likewise.
10020         * manual/stdio.texi: Likewise.
10021         * manual/string.texi: Likewise.
10022         * manual/time.texi: Likewise.
10023         * manual/users.texi: Likewise.
10025 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10027         [BZ #16632]
10028         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10029         _DEFAULT_SOURCE is defined.
10031 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10032             Carlos O'Donell  <carlos@redhat.com>
10034         [BZ #16613]
10035         * elf/dl-tls.c (_dl_count_modids): New function.
10036         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10037         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10038         audit library and increment generation counter.
10039         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10040         * elf/tst-audit9.c: New file.
10041         * elf/tst-auditmod9a.c: New file.
10042         * elf/tst-auditmod9b.c: New file.
10043         * elf/Makefile: Add rules to build and run tst-audit9.
10045 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10047         [BZ #15347]
10048         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10050 2014-02-25  Will Newton  <will.newton@linaro.org>
10052         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10053         (__longjmp): Restore sp and lr before restoring callee
10054         saved registers.  Add longjmp and longjmp_target
10055         SystemTap probe point.
10056         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10057         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10058         Define to zero to match jmpbuf layout.
10059         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10060         (__sigsetjmp): Save sp and lr before saving callee
10061         saved registers.  Add setjmp SystemTap probe point.
10063 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10065         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10067 2014-02-24  Andreas Schwab  <schwab@suse.de>
10069         [BZ #15804]
10070         * elf/pldd.c (wait_for_ptrace_stop): New function.
10071         (main): Call it after attaching.
10073 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10075         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10076         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10077         Versions files is now verboten.
10078         * hurd/Versions (libc: GLIBC_2.0):
10079         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10080         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10081         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10082         * mach/Versions: Likewise.
10084         * csu/Versions: Remove unused %include.
10085         * resolv/Versions: Likewise.
10087 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10089         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10090         ($(objpfx)check-local-headers.out): Likewise.
10091         ($(objpfx)begin-end-check.out): Likewise.
10092         * Makerules (check-abi-%.out): Likewise.
10093         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10094         ($(objpfx)test2.cat): Likewise.
10095         ($(objpfx)de/libc.cat): Likewise.
10096         ($(objpfx)test-gencat.out): Likewise.
10097         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10098         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10099         ($(objpfx)noload-mem): Likewise.
10100         ($(objpfx)tst-pathopt.out): Likewise.
10101         ($(objpfx)tst-rtld-load-self.out): Likewise.
10102         ($(objpfx)tst-array1-cmp.out): Likewise.
10103         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10104         ($(objpfx)tst-array2-cmp.out): Likewise.
10105         ($(objpfx)tst-array3-cmp.out): Likewise.
10106         ($(objpfx)tst-array4-cmp.out): Likewise.
10107         ($(objpfx)tst-array5-cmp.out): Likewise.
10108         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10109         ($(objpfx)check-textrel.out): Likewise.
10110         ($(objpfx)check-execstack.out): Likewise.
10111         ($(objpfx)check-localplt.out): Likewise.
10112         ($(objpfx)order2-cmp.out): Likewise.
10113         ($(objpfx)tst-leaks1-mem): Likewise.
10114         ($(objpfx)tst-leaks1-static-mem): Likewise.
10115         ($(objpfx)tst-initorder-cmp.out): Likewise.
10116         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10117         ($(objpfx)tst-unused-dep.out): Likewise.
10118         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10119         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10120         * iconv/Makefile (test-iconvconfig): Likewise.
10121         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10122         ($(objpfx)iconv-test.out): Likewise.
10123         ($(objpfx)tst-tables.out): Likewise.
10124         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10125         ($(objpfx)tst-gettext.out): Likewise.
10126         ($(objpfx)tst-translit.out): Likewise.
10127         ($(objpfx)tst-gettext2.out): Likewise.
10128         ($(objpfx)tst-gettext4.out): Likewise.
10129         ($(objpfx)tst-gettext6.out): Likewise.
10130         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10131         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10132         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10133         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10134         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10135         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10136         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10137         ($(objpfx)wordexp-tst.out): Likewise.
10138         ($(objpfx)annexc.out): Likewise.
10139         ($(objpfx)tst-fnmatch-mem): Likewise.
10140         ($(objpfx)bug-regex2-mem): Likewise.
10141         ($(objpfx)bug-regex14-mem): Likewise.
10142         ($(objpfx)bug-regex21-mem): Likewise.
10143         ($(objpfx)bug-regex31-mem): Likewise.
10144         ($(objpfx)tst-vfork3-mem): Likewise.
10145         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10146         ($(objpfx)tst-pcre-mem): Likewise.
10147         ($(objpfx)tst-boost-mem): Likewise.
10148         ($(objpfx)tst-getconf.out): Likewise.
10149         ($(objpfx)bug-ga2-mem): Likewise.
10150         ($(objpfx)bug-glob2-mem): Likewise.
10151         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10152         ($(objpfx)mtrace-tst-leaks2): Likewise.
10153         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10154         ($(objpfx)tst-printf.out): Likewise.
10155         ($(objpfx)tst-setvbuf1.out): Likewise.
10156         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10157         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10158         ($(objpfx)tst-fmtmsg.out): Likewise.
10159         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10160         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10162         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10163         * bits/sigaction.h [__USE_MISC]: Likewise.
10164         * bits/waitstatus.h: Update #endif comments.
10165         * ctype/ctype.h: Likewise.
10166         * dirent/dirent.h: Likewise.
10167         [__USE_MISC]: Remove redundant conditionals.
10168         * grp/grp.h: Update #endif comments.
10169         [__USE_GNU]: Remove redundant conditionals.
10170         [__USE_MISC]: Likewise.
10171         * inet/netinet/in.h [__USE_GNU]: Likewise.
10172         * io/sys/stat.h [__USE_MISC]: Likewise.
10173         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10174         * libio/bits/stdio.h: Update #endif comments.
10175         [__USE_MISC]: Remove redundant conditionals.
10176         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10177         * libio/stdio.h: Update #endif comments.
10178         [__USE_MISC]: Remove redundant conditionals.
10179         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10180         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10181         * math/math.h: Update #else and #endif comments.
10182         [__USE_MISC]: Remove redundant conditionals.
10183         * misc/sys/uio.h: Update #endif comments.
10184         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10185         * posix/glob.h [__USE_MISC]: Likewise.
10186         * posix/sys/types.h: Update #endif comments.
10187         [__USE_MISC]: Remove redundant conditionals.
10188         * posix/sys/wait.h: Update #endif comments.
10189         [__USE_MISC]: Remove redundant conditionals.
10190         * posix/unistd.h: Update #endif comments.
10191         [__USE_MISC]: Remove redundant conditionals.
10192         * pwd/pwd.h [__USE_GNU]: Likewise.
10193         [__USE_MISC]: Likewise.
10194         * resolv/netdb.h [__USE_GNU]: Likewise.
10195         * signal/signal.h: Update #endif comments.
10196         [__USE_MISC]: Remove redundant conditionals.
10197         * stdlib/stdlib.h: Update #else and #endif comments.
10198         [__USE_MISC]: Remove redundant conditionals.
10199         [__USE_GNU]: Likewise.
10200         * string/bits/string2.h [__USE_MISC]: Likewise.
10201         * string/string.h: Update #endif comments.
10202         [__USE_MISC]: Remove redundant conditionals.
10203         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10204         Likewise.
10205         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10206         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10207         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10208         Likewise.
10209         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10210         Likewise.
10211         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10212         comments.
10213         [__USE_MISC]: Remove redundant conditionals.
10214         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10215         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10216         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10217         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10218         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10219         Likewise.
10220         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10221         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10222         Likewise.
10223         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10224         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10225         Likewise.
10226         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10227         Likewise.
10228         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10229         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10234         * sysdeps/x86/bits/string.h: Update #endif comments.
10235         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10236         conditionals.
10237         * time/sys/time.h: Update #endif comments.
10238         * time/time.h: Likewise.
10239         [__USE_MISC]: Remove redundant conditionals.
10241 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10243         [BZ #16600]
10244         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10246 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10248         * Versions.def (librt): Add GLIBC_2.17.
10250 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10252         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10253         synonym for _SYS_AUXV_H to allow direct inclusion.
10254         * sysdeps/sparc/bits/hwcap.h: Likewise.
10255         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10256         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10257         * sysdeps/sparc/sysdep.h: Likewise.
10259 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10261         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10263 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10265         * benchtests/bench-strrchr.c: Print length instead of position.
10267 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10269         [BZ #16611]
10270         * sysdeps/unix/sysv/linux/kernel-features.h
10271         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10272         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10273         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10274         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10275         Likewise.
10276         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10277         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10278         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10279         (__ASSUME_SENDMMSG): Define instead of using previous
10280         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10281         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10282         (__ASSUME_SENDMMSG_SYSCALL): Define.
10283         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10284         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10285         Likewise.
10286         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10287         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10288         Likewise.
10289         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10290         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10291         Likewise.
10292         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10293         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10294         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10295         [__ASSUME_SENDMMSG]: Change conditionals to
10296         [__ASSUME_SENDMMSG_SOCKETCALL].
10297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10298         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10299         Define.
10300         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10301         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10304         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10305         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10306         [!__ASSUME_SENDMMSG]: Change conditional to
10307         [!__ASSUME_SENDMMSG_SOCKETCALL].
10308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10309         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10310         Define.
10312         [BZ #16610]
10313         * sysdeps/unix/sysv/linux/kernel-features.h
10314         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10315         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10316         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10317         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10318         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10319         [__i386__ || __sparc__]
10320         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10321         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10322         (__ASSUME_RECVMMSG): Define instead of using previous
10323         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10324         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10325         (__ASSUME_RECVMMSG_SYSCALL): Define.
10326         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10328         Likewise.
10329         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10330         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10331         Likewise.
10332         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10334         Likewise.
10335         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10336         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10337         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10338         [__ASSUME_RECVMMSG]: Change condition to
10339         [__ASSUME_RECVMMSG_SOCKETCALL].
10340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10341         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10342         Define.
10343         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10344         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10345         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10348         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10349         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10350         [!__ASSUME_RECVMMSG]: Change condition to
10351         [!__ASSUME_RECVMMSG_SOCKETCALL].
10352         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10353         (__ASSUME_RECVMMSG_SYSCALL): Define.
10355         [BZ #16609]
10356         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10357         __powerpc__ || __s390__ || __sh__ || __sparc__]
10358         (__ASSUME_SOCKETCALL): Define.
10359         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10360         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10361         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10362         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10363         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10364         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10365         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10366         (__ASSUME_ACCEPT4): Define instead of using previous
10367         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10368         __powerpc__ || __sparc__ || __s390__)] condition.
10369         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10370         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10371         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10372         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10373         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10374         [!__ASSUME_ACCEPT4]: Change condition to
10375         [!__ASSUME_ACCEPT4_SOCKETCALL].
10376         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10377         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10378         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10379         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10380         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10381         __ASSUME_ACCEPT4_SYSCALL.
10382         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10383         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10384         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10385         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10386         __ASSUME_ACCEPT4_SYSCALL.
10387         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10388         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10389         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10390         [__ASSUME_ACCEPT4]: Change condition to
10391         [__ASSUME_ACCEPT4_SOCKETCALL].
10392         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10393         (__ASSUME_SOCKETCALL): Define.
10394         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10395         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10396         (__ASSUME_SOCKETCALL): Define.
10397         (__ASSUME_ACCEPT4): Remove.
10398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10399         Define.
10400         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10401         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10402         Likewise.
10403         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10404         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10406         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10407         macro.
10408         (HWCAP_ARM_LPAE): Likewise.
10409         (HWCAP_ARM_EVTSTRM): Likewise.
10410         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10411         Add vpfd32, lpae and evtstrm.
10412         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10413         Increase to 22.
10415 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10417         * math/auto-libm-test-in: Add tests of clog10.
10418         * math/auto-libm-test-out: Regenerated.
10419         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10420         * sysdeps/i386/fpu/libm-test-ulps: Update.
10421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10423 2014-02-18  Andreas Schwab  <schwab@suse.de>
10425         [BZ #16574]
10426         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10427         Store non-zero if the second buffer was newly allocated.
10428         (send_dg): Likewise.
10429         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10430         to send_vc and send_dg.
10431         (res_nsend): Pass NULL for ansp2_malloced.
10432         * resolv/res_query.c (__libc_res_nquery): Add parameter
10433         answerp2_malloced and pass it down to __libc_res_nsend.
10434         (res_nquery): Pass additional NULL to __libc_res_nquery.
10435         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10436         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10437         second answer buffer if answerp2_malloced was set.
10438         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10439         (__libc_res_nquerydomain): Add parameter
10440         answerp2_malloced and pass it down to __libc_res_nquery.
10441         (res_nquerydomain): Pass additional NULL to
10442         __libc_res_nquerydomain.
10443         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10444         additional NULL to __libc_res_nsend and __libc_res_nquery.
10445         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10446         additional NULL to __libc_res_nsearch.
10447         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10448         parameter of __libc_res_nsearch to check for separately allocated
10449         second buffer.
10450         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10451         __libc_res_nquery.
10452         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10453         additional NULL to __libc_res_nquery.
10454         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10455         __libc_res_nsearch.
10456         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10457         * include/resolv.h: Update prototypes of __libc_res_nquery,
10458         __libc_res_nsearch, __libc_res_nsend.
10460 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10462         * math/auto-libm-test-in: Add tests of fma.
10463         * math/auto-libm-test-out: Regenerated.
10464         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10465         (fma_towardzero_test_data): Likewise.
10466         (fma_downward_test_data): Likewise.
10467         (fma_upward_test_data): Likewise.
10468         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10469         mpc_mode.
10470         (rounding_modes): Add values for new field.
10471         (func_calc_method): Add value mpfr_fff_f.
10472         (func_calc_desc): Add mpfr_fff_f union field.
10473         (test_function): Add field exact_args.
10474         (FUNC): Add macro argument EXACT_ARGS.
10475         (FUNC_mpfr_f_f): Update call to FUNC.
10476         (FUNC_mpfr_f_f): Likewise.
10477         (FUNC_mpfr_ff_f): Likewise.
10478         (FUNC_mpfr_if_f): Likewise.
10479         (FUNC_mpc_c_f): Likewise.
10480         (FUNC_mpc_c_c): Likewise.
10481         (test_functions): Add fma.  Update calls to FUNC.
10482         (handle_input_arg): Add argument exact_args.
10483         (add_test): Update call to handle_input_arg.
10484         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10485         (output_for_one_input_case): Update call to calc_generic_results.
10486         Recalculate exact zero results in each rounding mode.
10488         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10489         non-negative before setting low bit.
10490         * math/auto-libm-test-in: Mark one asin test possibly having
10491         spurious underflow.
10492         * math/auto-libm-test-out: Regenerated.
10493         * sysdeps/i386/fpu/libm-test-ulps: Update.
10494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10496 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10498         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10499         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10500         ports/sysdeps/unix/sysv/linux/microblaze.
10501         * README: Add missing listing for microblaze*-*-linux-gnu.
10503 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10505         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10506         duplicate code
10508 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10510         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10511         * sysdeps/unix/sysv/linux/ia64: Move directory from
10512         ports/sysdeps/unix/sysv/linux/ia64.
10513         * README: Update listing for ia64-*-linux-gnu.
10515 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10516             Joseph Myers  <joseph@codesourcery.com>
10518         * Makeconfig (test-name): New variable.
10519         (evaluate-test): Likewise.
10520         * Makerules (do-test-clean): Remove .test-result files.
10521         (common-mostlyclean): Likewise.
10522         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10523         * scripts/evaluate-test.sh: New file.
10525 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10527         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10528         separate $(objpfx)tst-fopenloc-cmp.out and
10529         $(objpfx)tst-fopenloc-mem.out targets.
10530         (tests): Update dependencies.
10531         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10532         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10533         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10534         (tst-rxspencer-no-utf8-ARGS): New variable.
10535         (tst-rxspencer-no-utf8-ENV): Likewise.
10536         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10537         instead of $(objpfx)tst-rxspencer-mem.
10538         ($(objpfx)tst-rxspencer-mem): Change target to
10539         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10540         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10541         * posix/tst-rxspencer-no-utf8.c: New file.
10543         * elf/Makefile ($(objpfx)order.out): Remove rule.
10544         [$(run-built-tests) = yes] (tests): Depend on
10545         $(objpfx)order-cmp.out.
10546         ($(objpfx)order-cmp.out): New rule.
10547         [$(run-built-tests) = yes] (tests): Depend on
10548         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10549         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10550         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10551         $(objpfx)tst-array5-static-cmp.out.
10552         ($(objpfx)tst-array1.out): Remove rule.
10553         ($(objpfx)tst-array1-cmp.out): New rule.
10554         ($(objpfx)tst-array1-static.out): Remove rule.
10555         ($(objpfx)tst-array1-static-cmp.out): New rule.
10556         ($(objpfx)tst-array2.out): Remove rule.
10557         ($(objpfx)tst-array2-cmp.out): New rule.
10558         ($(objpfx)tst-array3.out): Remove rule.
10559         ($(objpfx)tst-array3-cmp.out): New rule.
10560         ($(objpfx)tst-array4.out): Remove rule.
10561         ($(objpfx)tst-array4-cmp.out): New rule.
10562         ($(objpfx)tst-array5.out): Remove rule.
10563         ($(objpfx)tst-array5-cmp.out): New rule.
10564         ($(objpfx)tst-array5-static.out): Remove rule.
10565         ($(objpfx)tst-array5-static-cmp.out): New rule.
10566         [$(run-built-tests) = yes] (tests): Depend on
10567         $(objpfx)order2-cmp.out.
10568         ($(objpfx)order2.out): Remove rule.
10569         ($(objpfx)order2-cmp.out): New rule.
10570         ($(objpfx)tst-initorder.out): Remove rule.
10571         [$(run-built-tests) = yes] (tests): Depend on
10572         $(objpfx)tst-initorder-cmp.out.
10573         ($(objpfx)tst-initorder-cmp.out): New rule.
10574         ($(objpfx)tst-initorder2.out): Remove rule.
10575         [$(run-built-tests) = yes] (tests): Depend on
10576         $(objpfx)tst-initorder2-cmp.out.
10577         ($(objpfx)tst-initorder2-cmp.out): New rule.
10578         [$(run-built-tests) = yes] (tests): Depend on
10579         $(objpfx)tst-unused-dep-cmp.out.
10580         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10581         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10582         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10583         on $(objpfx)tst-setvbuf1-cmp.out.
10584         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10585         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10586         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10587         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10588         ($(objpfx)tst-svc.out): Remove rule.
10589         ($(objpfx)tst-svc-cmp.out): New rule.
10591 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10593         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10594         * ctype/ctype.h [__USE_MISC]: Likewise.
10595         * dirent/dirent.h [__USE_MISC]: Likewise.
10596         * grp/grp.h [__USE_MISC]: Likewise.
10597         * io/fcntl.h [__USE_MISC]: Likewise.
10598         * io/sys/stat.h [__USE_MISC]: Likewise.
10599         * libio/stdio.h [__USE_MISC]: Likewise.
10600         * posix/unistd.h [__USE_MISC]: Likewise.
10601         * pwd/pwd.h [__USE_MISC]: Likewise.
10602         * stdlib.h [__USE_MISC]: Likewise.
10603         * string/bits/string2.h [__USE_MISC]: Likewise.
10604         * string/string.h [__USE_MISC]: Likewise.
10605         * time/time.h [__USE_MISC]: Likewise.
10607 2014-02-13  Andreas Schwab  <schwab@suse.de>
10609         [BZ #16574]
10610         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10611         second answer buffer if it was separately allocated.
10613 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10615         * sysdeps/mips/math-tests.h: Include <features.h>.
10616         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10617         (ROUNDING_TESTS_long_double): Do not define.
10618         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10619         (EXCEPTION_TESTS_long_double): Likewise.
10620         * sysdeps/mips/mips64/libm-test-ulps: Update.
10622         * include/features.h (__USE_BSD): Remove macro definitions.
10623         (__USE_SVID): Likewise.
10624         (_BSD_SOURCE): Likewise.
10625         (_SVID_SOURCE): Likewise.
10626         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10627         from definition of _DEFAULT_SOURCE.
10628         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10629         [_DEFAULT_SOURCE].
10630         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10631         * bits/mman.h [__USE_BSD]: Likewise.
10632         * bits/termios.h [__USE_BSD]: Likewise.
10633         * bits/waitstatus.h [__USE_BSD]: Likewise.
10634         * ctype/ctype.h [__USE_SVID]: Likewise.
10635         * dirent/dirent.h [__USE_BSD]: Likewise.
10636         * grp/grp.h [__USE_SVID]: Likewise.
10637         [__USE_BSD]: Likewise.
10638         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10639         * io/fcntl.h [__USE_BSD]: Likewise.
10640         * io/ftw.h [__USE_BSD]: Likewise.
10641         * io/sys/stat.h [__USE_BSD]: Likewise.
10642         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10643         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10644         * libio/stdio.h [__USE_SVID]: Likewise.
10645         [__USE_BSD]: Likewise.
10646         * math/math.h [__USE_SVID]: Likewise.
10647         [__USE_BSD]: Likewise.
10648         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10649         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10650         * misc/search.h [__USE_SVID]: Likewise.
10651         * misc/sys/mman.h [__USE_BSD]: Likewise.
10652         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10653         * misc/sys/uio.h [__USE_BSD]: Likewise.
10654         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10655         * posix/glob.h [__USE_BSD]: Likewise.
10656         * posix/regex.h [__USE_BSD]: Likewise.
10657         * posix/sys/types.h [__USE_BSD]: Likewise.
10658         [__USE_SVID]: Likewise.
10659         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10660         * posix/sys/wait.h [__USE_BSD]: Likewise.
10661         [__USE_SVID]: Likewise.
10662         * posix/unistd.h [__USE_BSD]: Likewise.
10663         [__USE_SVID]: Likewise.
10664         * pwd/pwd.h [__USE_SVID]: Likewise.
10665         * resolv/netdb.h [__USE_BSD]: Likewise.
10666         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10667         * signal/signal.h [__USE_BSD]: Likewise.
10668         [__USE_SVID]: Likewise.
10669         * socket/sys/socket.h [__USE_BSD]: Likewise.
10670         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10671         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10672         [__USE_SVID]: Likewise.
10673         * string/bits/string2.h [__USE_BSD]: Likewise.
10674         [__USE_SVID]: Likewise.
10675         * string/bits/string3.h [__USE_BSD]: Likewise.
10676         * string/endian.h [__USE_BSD]: Likewise.
10677         * string/string.h [__USE_SVID]: Likewise.
10678         [__USE_BSD]: Likewise.
10679         * string/strings.h [__USE_BSD]: Likewise.
10680         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10681         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10682         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10683         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10684         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10685         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10686         Likewise.
10687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10688         Likewise.
10689         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10690         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10691         Likewise.
10692         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10693         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10694         Likewise.
10695         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10696         Likewise.
10697         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10698         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10699         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10700         Likewise.
10701         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10702         Likewise.
10703         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10704         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10705         * termios/termios.h [__USE_BSD]: Likewise.
10706         * time/sys/time.h [__USE_BSD]: Likewise.
10707         * time/time.h [__USE_BSD]: Likewise.
10708         [__USE_SVID]: Likewise.
10710         * Makefile (subdir_targets): Remove subdir_lint.out.
10712         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10713         (do-tst-printf): Likewise.
10714         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10715         $(objpfx)tst-printf.out.
10717         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10719         * Makerules (check-abi-%): Change target to
10720         $(objpfx)check-abi-%.out.
10721         (check-abi target): Update dependencies.
10722         (check-abi-pattern variable): Redirect output of diff to $@.
10723         (check-abi variable): Likewise.
10724         * elf/Makefile (check-abi): Update dependencies.
10726         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10727         unused.
10728         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10729         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10730         subnormal range.
10731         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10732         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10733         value has largest subnormal exponent.
10734         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10735         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10736         * sysdeps/aarch64/soft-fp/sfp-machine.h
10737         (_FP_TININESS_AFTER_ROUNDING): New macro.
10738         * sysdeps/alpha/soft-fp/sfp-machine.h
10739         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10740         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10741         Likewise.
10742         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10743         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10744         * sysdeps/mips/soft-fp/sfp-machine.h
10745         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10746         * sysdeps/powerpc/soft-fp/sfp-machine.h
10747         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10748         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10749         Likewise.
10750         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10751         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10752         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10753         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10754         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10755         Likewise.
10757 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10759         [BZ #16545]
10760         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10761         model 1.
10763 2014-02-12  Richard Henderson  <rth@redhat.com>
10765         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10766         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10767         * sysdeps/unix/sysv/linux/alpha: Move directory from
10768         ports/sysdeps/unix/sysv/linux/alpha.
10769         * README: Update listing for alpha-*-linux-gnu.
10771 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10773         * include/features.h: Update comment documenting feature test
10774         macros.
10775         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10776         _DEFAULT_SOURCE.
10777         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10778         (_SVID_SOURCE): Likewise.
10779         (_DEFAULT_SOURCE): Update description of default features.
10780         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10781         with _GNU_SOURCE.
10782         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10783         (S_ISVTX): Likewise.
10784         * manual/math.texi (Mathematical Constants): Likewise.
10785         * manual/signal.texi (Interrupted Primitives): Likewise.
10786         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10787         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10788         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10789         Don't refer to _SVID_SOURCE in warning text.
10791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10793         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10794         already defined.
10795         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10796         * sysdeps/mips/dl-lookup.c: Remove.
10797         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10799 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10801         [BZ #16447]
10802         * math/auto-libm-test-in: Add testcase for expl.
10803         * math/auto-libm-test-out: Regenerate.
10804         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10805         calculation of unsafe.
10806         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10808 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10810         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10811         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10812         ports/sysdeps/unix/sysv/linux/aarch64.
10813         * README: Update listing for aarch64*-*-linux-gnu.
10815 2014-02-11  Will Newton  <will.newton@linaro.org>
10817         * manual/probes.texi (Mathematical Function Probes): Use
10818         "triggered" instead of "hit".
10820         * manual/probes.texi (Internal Probes): Add documentation
10821         of setjmp, longjmp and longjmp_target probes.
10823         * include/stap-probe.h: Add comment about probe argument
10824         format.
10826         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10827         definition.  (tr_where, tr_freehook, tr_mallochook,
10828         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10830 2014-02-11  David S. Miller  <davem@davemloft.net>
10832         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10833         processing int_tests.
10835 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10837         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10838         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10839         * sysdeps/unix/sysv/linux/mips: Move directory from
10840         ports/sysdeps/unix/sysv/linux/mips.
10841         * README: Update listing for mips-*-linux-gnu and
10842         mips64-*-linux-gnu.
10844 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10846         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10847         * sysdeps/unix/sysv/linux/m68k: Move directory from
10848         ports/sysdeps/unix/sysv/linux/m68k.
10849         * README: Update listing for m68k-*-linux-gnu.
10851 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10853         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10854         * sysdeps/unix/sysv/linux/generic: Move directory from
10855         ports/sysdeps/unix/sysv/linux/generic.
10856         * sysdeps/unix/sysv/linux/tile: Move directory from
10857         ports/sysdeps/unix/sysv/linux/tile.
10858         * README: Update listing for tile*-*-linux-gnu.
10860 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10862         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10863         __builtin_expect.
10864         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10865         * catgets/open_catalog.c (__open_catalog): Likewise.
10866         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10867         * debug/confstr_chk.c: Likewise.
10868         * debug/fread_chk.c (__fread_chk): Likewise.
10869         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10870         * debug/getgroups_chk.c: Likewise.
10871         * debug/mbsnrtowcs_chk.c: Likewise.
10872         * debug/mbsrtowcs_chk.c: Likewise.
10873         * debug/mbstowcs_chk.c: Likewise.
10874         * debug/memcpy_chk.c: Likewise.
10875         * debug/memmove_chk.c: Likewise.
10876         * debug/mempcpy_chk.c: Likewise.
10877         * debug/memset_chk.c: Likewise.
10878         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10879         * debug/strcat_chk.c (__strcat_chk): Likewise.
10880         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10881         * debug/strncat_chk.c (__strncat_chk): Likewise.
10882         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10883         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10884         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10885         * debug/wcpncpy_chk.c: Likewise.
10886         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10887         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10888         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10889         * debug/wcsncpy_chk.c: Likewise.
10890         * debug/wcsnrtombs_chk.c: Likewise.
10891         * debug/wcsrtombs_chk.c: Likewise.
10892         * debug/wcstombs_chk.c: Likewise.
10893         * debug/wmemcpy_chk.c: Likewise.
10894         * debug/wmemmove_chk.c: Likewise.
10895         * debug/wmempcpy_chk.c: Likewise.
10896         * debug/wmemset_chk.c: Likewise.
10897         * dirent/scandirat.c (SCANDIRAT): Likewise.
10898         * dlfcn/dladdr1.c (dladdr1): Likewise.
10899         * dlfcn/dladdr.c (dladdr): Likewise.
10900         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10901         * dlfcn/dlerror.c (__dlerror): Likewise.
10902         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10903         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10904         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10905         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10906         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10907         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10908         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10909         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10910         Likewise.
10911         * elf/dl-conflict.c: Likewise.
10912         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10913         * elf/dl-dst.h: Likewise.
10914         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10915         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10916         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10917         * elf/dl-init.c (call_init, _dl_init): Likewise.
10918         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10919         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10920         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10921         Likewise.
10922         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10923         Likewise.
10924         * elf/dl-minimal.c (__libc_memalign): Likewise.
10925         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10926         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10927         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10928         * elf/dl-sym.c (do_sym): Likewise.
10929         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10930         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10931         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10932         * elf/dl-writev.h (_dl_writev): Likewise.
10933         * elf/ldconfig.c (search_dir): Likewise.
10934         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10935         (dl_main): Likewise.
10936         * elf/setup-vdso.h (setup_vdso): Likewise.
10937         * grp/compat-initgroups.c (compat_call): Likewise.
10938         * grp/fgetgrent.c (fgetgrent): Likewise.
10939         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10940         * grp/putgrent.c (putgrent): Likewise.
10941         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10942         Likewise.
10943         * hurd/hurdinit.c: Likewise.
10944         * iconvdata/8bit-gap.c (struct): Likewise.
10945         * iconvdata/ansi_x3.110.c : Likewise.
10946         * iconvdata/big5.c : Likewise.
10947         * iconvdata/big5hkscs.c : Likewise.
10948         * iconvdata/cp1255.c: Likewise.
10949         * iconvdata/cp1258.c : Likewise.
10950         * iconvdata/cp932.c : Likewise.
10951         * iconvdata/euc-cn.c: Likewise.
10952         * iconvdata/euc-jisx0213.c : Likewise.
10953         * iconvdata/euc-jp.c: Likewise.
10954         * iconvdata/euc-jp-ms.c : Likewise.
10955         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10956         * iconvdata/gb18030.c : Likewise.
10957         * iconvdata/gbbig5.c (const): Likewise.
10958         * iconvdata/gbgbk.c: Likewise.
10959         * iconvdata/gbk.c : Likewise.
10960         * iconvdata/ibm1364.c : Likewise.
10961         * iconvdata/ibm930.c : Likewise.
10962         * iconvdata/ibm932.c: Likewise.
10963         * iconvdata/ibm933.c : Likewise.
10964         * iconvdata/ibm935.c : Likewise.
10965         * iconvdata/ibm937.c : Likewise.
10966         * iconvdata/ibm939.c : Likewise.
10967         * iconvdata/ibm943.c: Likewise.
10968         * iconvdata/iso_11548-1.c: Likewise.
10969         * iconvdata/iso-2022-cn.c : Likewise.
10970         * iconvdata/iso-2022-cn-ext.c : Likewise.
10971         * iconvdata/iso-2022-jp-3.c: Likewise.
10972         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10973         * iconvdata/iso-2022-kr.c : Likewise.
10974         * iconvdata/iso646.c (gconv_end): Likewise.
10975         * iconvdata/iso_6937-2.c : Likewise.
10976         * iconvdata/iso_6937.c : Likewise.
10977         * iconvdata/iso8859-1.c: Likewise.
10978         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10979         * iconvdata/shift_jisx0213.c : Likewise.
10980         * iconvdata/sjis.c : Likewise.
10981         * iconvdata/t.61.c : Likewise.
10982         * iconvdata/tcvn5712-1.c : Likewise.
10983         * iconvdata/tscii.c: Likewise.
10984         * iconvdata/uhc.c : Likewise.
10985         * iconvdata/unicode.c (gconv_end): Likewise.
10986         * iconvdata/utf-16.c (gconv_end): Likewise.
10987         * iconvdata/utf-32.c (gconv_end): Likewise.
10988         * iconvdata/utf-7.c (base64): Likewise.
10989         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10990         * iconv/gconv_close.c (__gconv_close): Likewise.
10991         * iconv/gconv_open.c (__gconv_open): Likewise.
10992         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10993         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10994         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10995         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10996         (ucs4le_internal_loop_single): Likewise.
10997         * iconv/iconv.c (iconv): Likewise.
10998         * iconv/iconv_close.c: Likewise.
10999         * iconv/loop.c (SINGLE): Likewise.
11000         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11001         * include/atomic.h: Likewise.
11002         * inet/inet6_option.c (option_alloc): Likewise.
11003         * intl/bindtextdom.c (set_binding_values): Likewise.
11004         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11005         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11006         * intl/localealias.c (read_alias_file): Likewise.
11007         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11008         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11009         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11010         * libio/fmemopen.c (fmemopen): Likewise.
11011         * libio/iofgets.c (_IO_fgets): Likewise.
11012         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11013         * libio/iofgetws.c (fgetws): Likewise.
11014         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11015         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11016         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11017         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11018         * locale/findlocale.c (_nl_find_locale): Likewise.
11019         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11020         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11021         Likewise.
11022         * locale/setlocale.c (setlocale): Likewise.
11023         * login/programs/pt_chown.c (main): Likewise.
11024         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11025         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11026         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11027         (mmap, mmap64, mremap, munmap): Likewise.
11028         * math/e_exp2l.c: Likewise.
11029         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11030         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11031         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11032         * math/s_catan.c (__catan): Likewise.
11033         * math/s_catanf.c (__catanf): Likewise.
11034         * math/s_catanh.c (__catanh): Likewise.
11035         * math/s_catanhf.c (__catanhf): Likewise.
11036         * math/s_catanhl.c (__catanhl): Likewise.
11037         * math/s_catanl.c (__catanl): Likewise.
11038         * math/s_ccosh.c (__ccosh): Likewise.
11039         * math/s_ccoshf.c (__ccoshf): Likewise.
11040         * math/s_ccoshl.c (__ccoshl): Likewise.
11041         * math/s_cexp.c (__cexp): Likewise.
11042         * math/s_cexpf.c (__cexpf): Likewise.
11043         * math/s_cexpl.c (__cexpl): Likewise.
11044         * math/s_clog10.c (__clog10): Likewise.
11045         * math/s_clog10f.c (__clog10f): Likewise.
11046         * math/s_clog10l.c (__clog10l): Likewise.
11047         * math/s_clog.c (__clog): Likewise.
11048         * math/s_clogf.c (__clogf): Likewise.
11049         * math/s_clogl.c (__clogl): Likewise.
11050         * math/s_csin.c (__csin): Likewise.
11051         * math/s_csinf.c (__csinf): Likewise.
11052         * math/s_csinh.c (__csinh): Likewise.
11053         * math/s_csinhf.c (__csinhf): Likewise.
11054         * math/s_csinhl.c (__csinhl): Likewise.
11055         * math/s_csinl.c (__csinl): Likewise.
11056         * math/s_csqrt.c (__csqrt): Likewise.
11057         * math/s_csqrtf.c (__csqrtf): Likewise.
11058         * math/s_csqrtl.c (__csqrtl): Likewise.
11059         * math/s_ctan.c (__ctan): Likewise.
11060         * math/s_ctanf.c (__ctanf): Likewise.
11061         * math/s_ctanh.c (__ctanh): Likewise.
11062         * math/s_ctanhf.c (__ctanhf): Likewise.
11063         * math/s_ctanhl.c (__ctanhl): Likewise.
11064         * math/s_ctanl.c (__ctanl): Likewise.
11065         * math/w_pow.c: Likewise.
11066         * math/w_powf.c: Likewise.
11067         * math/w_powl.c: Likewise.
11068         * math/w_scalb.c (sysv_scalb): Likewise.
11069         * math/w_scalbf.c (sysv_scalbf): Likewise.
11070         * math/w_scalbl.c (sysv_scalbl): Likewise.
11071         * misc/error.c (error_tail): Likewise.
11072         * misc/pselect.c (__pselect): Likewise.
11073         * nis/nis_callback.c (__nis_create_callback): Likewise.
11074         * nis/nis_call.c (__nisfind_server): Likewise.
11075         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11076         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11077         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11078         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11079         * nis/nis_lookup.c (nis_lookup): Likewise.
11080         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11081         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11082         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11083         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11084         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11085         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11086         * nis/nss_compat/compat-initgroups.c (add_group)
11087         (internal_getgrent_r): Likewise.
11088         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11089         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11090         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11091         (internal_getspnam_r): Likewise.
11092         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11093         (_nss_nis_getaliasbyname_r): Likewise.
11094         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11095         (_nss_nis_getntohost_r): Likewise.
11096         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11097         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11098         (_nss_nis_getgrgid_r): Likewise.
11099         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11100         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11101         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11102         (_nss_nis_gethostbyname4_r): Likewise.
11103         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11104         (initgroups_netid): Likewise.
11105         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11106         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11107         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11108         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11109         (_nss_nis_getprotobynumber_r): Likewise.
11110         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11111         (_nss_nis_getsecretkey): Likewise.
11112         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11113         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11114         (_nss_nis_getpwuid_r): Likewise.
11115         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11116         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11117         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11118         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11119         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11120         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11121         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11122         Likewise.
11123         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11124         (_nss_nisplus_getntohost_r): Likewise.
11125         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11126         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11127         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11128         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11129         Likewise.
11130         * nis/nss_nisplus/nisplus-initgroups.c
11131         (_nss_nisplus_initgroups_dyn): Likewise.
11132         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11133         (_nss_nisplus_getnetbyaddr_r): Likewise.
11134         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11135         (_nss_nisplus_getprotobynumber_r): Likewise.
11136         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11137         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11138         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11139         Likewise.
11140         * nis/nss_nisplus/nisplus-service.c
11141         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11142         (_nss_nisplus_getservbyport_r): Likewise.
11143         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11144         (_nss_nisplus_getspnam_r): Likewise.
11145         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11146         Likewise.
11147         * nscd/aicache.c (addhstaiX): Likewise.
11148         * nscd/cache.c (cache_search, prune_cache): Likewise.
11149         * nscd/connections.c (register_traced_file, send_ro_fd)
11150         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11151         (main_loop_epoll): Likewise.
11152         * nscd/grpcache.c (addgrbyX): Likewise.
11153         * nscd/hstcache.c (addhstbyX): Likewise.
11154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11155         * nscd/mem.c (gc, mempool_alloc): Likewise.
11156         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11157         (addinnetgrX): Likewise.
11158         * nscd/nscd-client.h (__nscd_acquire_maplock)
11159         (__nscd_drop_map_ref): Likewise.
11160         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11161         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11162         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11163         Likewise.
11164         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11165         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11166         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11167         (__nscd_get_map_ref): Likewise.
11168         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11169         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11170         Likewise.
11171         * nscd/pwdcache.c (addpwbyX): Likewise.
11172         * nscd/selinux.c (preserve_capabilities): Likewise.
11173         * nscd/servicescache.c (addservbyX): Likewise.
11174         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11175         * posix/fnmatch.c (fnmatch): Likewise.
11176         * posix/getopt.c (_getopt_internal_r): Likewise.
11177         * posix/glob.c (glob, glob_in_dir): Likewise.
11178         * posix/wordexp.c (exec_comm_child): Likewise.
11179         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11180         (getanswer_r, gaih_getanswer_slice): Likewise.
11181         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11182         * resolv/res_init.c: Likewise.
11183         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11184         * resolv/res_query.c (__libc_res_nquery): Likewise.
11185         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11186         Likewise.
11187         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11188         * stdio-common/perror.c (perror): Likewise.
11189         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11190         * stdio-common/tmpnam.c (tmpnam): Likewise.
11191         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11192         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11193         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11194         Likewise.
11195         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11196         * stdlib/putenv.c (putenv): Likewise.
11197         * stdlib/setenv.c (__add_to_environ): Likewise.
11198         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11199         * stdlib/strtol_l.c (INTERNAL): Likewise.
11200         * string/memmem.c (memmem): Likewise.
11201         * string/strerror.c (strerror): Likewise.
11202         * string/strnlen.c (__strnlen): Likewise.
11203         * string/test-memmem.c (simple_memmem): Likewise.
11204         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11205         * sunrpc/pm_getport.c (__get_socket): Likewise.
11206         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11207         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11208         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11209         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11210         Likewise.
11211         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11212         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11213         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11214         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11215         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11216         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11217         Likewise.
11218         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11219         Likewise.
11220         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11221         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11222         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11223         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11224         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11226         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11227         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11228         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11229         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11230         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11231         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11232         Likewise.
11233         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11234         Likewise.
11235         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11236         Likewise.
11237         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11238         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11239         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11240         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11241         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11242         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11243         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11245         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11246         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11247         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11248         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11249         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11250         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11251         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11252         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11253         Likewise.
11254         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11255         Likewise.
11256         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11257         Likewise.
11258         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11259         Likewise.
11260         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11262         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11263         Likewise.
11264         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11265         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11266         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11267         * sysdeps/posix/sleep.c: Likewise.
11268         * sysdeps/posix/tempname.c: Likewise.
11269         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11270         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11271         Likewise.
11272         * sysdeps/powerpc/powerpc32/dl-machine.h
11273         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11274         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11276         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11277         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11278         Likewise.
11279         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11280         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11281         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11282         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11283         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11284         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11285         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11286         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11287         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11288         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11290         (elf_machine_lazy_rel): Likewise.
11291         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11292         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11293         (elf_machine_lazy_rel): Likewise.
11294         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11295         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11296         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11297         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11298         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11299         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11300         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11301         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11302         Likewise.
11303         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11304         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11305         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11306         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11307         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11308         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11309         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11310         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11311         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11312         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11313         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11314         Likewise.
11315         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11316         (__posix_fallocate64_l64): Likewise.
11317         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11318         (posix_fallocate): Likewise.
11319         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11320         Likewise.
11321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11322         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11323         (getifaddrs_internal): Likewise.
11324         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11325         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11326         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11327         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11328         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11329         (__posix_fallocate64_l64): Likewise.
11330         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11331         Likewise.
11332         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11333         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11334         (__get_clockfreq): Likewise.
11335         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11336         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11337         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11338         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11340         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11341         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11342         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11343         Likewise.
11344         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11345         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11346         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11347         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11348         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11349         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11350         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11351         Likewise.
11352         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11353         (posix_fallocate): Likewise.
11354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11355         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11356         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11357         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11358         (elf_machine_rela, elf_machine_rela_relative)
11359         (elf_machine_lazy_rel): Likewise.
11360         * time/asctime.c (asctime_internal): Likewise.
11361         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11362         * time/tzset.c (__tzset_parse_tz): Likewise.
11363         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11364         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11365         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11366         * wcsmbs/wcsmbsload.h: Likewise.
11368         [BZ #15894]
11369         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11371         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11372         (arena_get2): Remove THREAD_STATS conditionals.
11373         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11374         (__malloc_stats, int): Likewise.
11376 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11378         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11379         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11381         * manual/setjmp.texi: Fix typos/grammar errors.
11383         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11384         Only return early when n is <= 0.  Delete unused return statement.
11386         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11387         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11388         * debug/tst-longjmp_chk3.c: New file.
11390         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11391         (test_main): Replace code with set_fortify_handler call.
11392         * debug/test-strcpy_chk.c: Likewise.
11393         * debug/tst-chk1.c: Likewise.
11394         * debug/tst-longjmp_chk.c: Likewise.
11395         * test-skeleton.c: Include fcntl.h & paths.h
11396         (set_fortify_handler): Define.
11398         * debug/tst-longjmp_chk.c: Add header comment and include
11399         ../test-skeleton.c.
11400         (do_test): Mark static.
11401         (TEST_FUNCTION): Define.
11403         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11404         (IP_PMTUDISC_INTERFACE): Likewise.
11405         (IP_MULTICAST_IF): Likewise.
11406         (IP_MULTICAST_TTL): Likewise.
11407         (IP_MULTICAST_LOOP): Likewise.
11408         (IP_ADD_MEMBERSHIP): Likewise.
11409         (IP_DROP_MEMBERSHIP): Likewise.
11410         (IP_UNBLOCK_SOURCE): Likewise.
11411         (IP_BLOCK_SOURCE): Likewise.
11412         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11413         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11414         (IP_MSFILTER): Likewise.
11415         (MCAST_JOIN_GROUP): Likewise.
11416         (MCAST_BLOCK_SOURCE): Likewise.
11417         (MCAST_UNBLOCK_SOURCE): Likewise.
11418         (MCAST_LEAVE_GROUP): Likewise.
11419         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11420         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11421         (MCAST_MSFILTER): Likewise.
11422         (IP_MULTICAST_ALL): Likewise.
11423         (IP_UNICAST_IF): Likewise.
11425         * timezone/Makefile: Delete $(have-ksh) check.
11426         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11427         * timezone/tzselect.ksh: Add +x mode bits.
11429         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11430         (ANON_INODE_FS_MAGIC): Likewise.
11431         (BDEVFS_MAGIC): Likewise.
11432         (BINFMTFS_MAGIC): Likewise.
11433         (BTRFS_TEST_MAGIC): Likewise.
11434         (CRAMFS_MAGIC_WEND): Likewise.
11435         (DEBUGFS_MAGIC): Likewise.
11436         (ECRYPTFS_SUPER_MAGIC): Likewise.
11437         (EXT3_SUPER_MAGIC): Likewise.
11438         (EXT4_SUPER_MAGIC): Likewise.
11439         (FUTEXFS_SUPER_MAGIC): Likewise.
11440         (HOSTFS_SUPER_MAGIC): Likewise.
11441         (HUGETLBFS_MAGIC): Likewise.
11442         (MINIX3_SUPER_MAGIC): Likewise.
11443         (MTD_INODE_FS_MAGIC): Likewise.
11444         (NILFS_SUPER_MAGIC): Likewise.
11445         (OPENPROM_SUPER_MAGIC): Likewise.
11446         (PIPEFS_MAGIC): Likewise.
11447         (PSTOREFS_MAGIC): Likewise.
11448         (QNX6_SUPER_MAGIC): Likewise.
11449         (RAMFS_MAGIC): Likewise.
11450         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11451         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11452         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11453         (SECURITYFS_MAGIC): Likewise.
11454         (SELINUX_MAGIC): Likewise.
11455         (SMACK_MAGIC): Likewise.
11456         (SOCKFS_MAGIC): Likewise.
11457         (SQUASHFS_MAGIC): Likewise.
11458         (STACK_END_MAGIC): Likewise.
11459         (TMPFS_MAGIC): Likewise.
11460         (USBDEVICE_SUPER_MAGIC): Likewise.
11461         (V9FS_MAGIC): Likewise.
11462         (XENFS_SUPER_MAGIC): Likewise.
11463         (CRAMFS_MAGIC): Fix typo in comment.
11464         (EXT2_SUPER_MAGIC): Update comment.
11465         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11467 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11469         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11470         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11471         * sysdeps/unix/sysv/linux/arm: Move directory from
11472         ports/sysdeps/unix/sysv/linux/arm.
11473         * README: Update listing for arm-*-linux-gnueabi.
11475         * README: Remove mention of am33.
11477 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11479         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11480         than the comma operator, to avoid "rhs of comma has no effect"
11481         compiler warnings.
11482         (__sigfillset, __sigandset, __sigorset): Likewise.
11483         * include/signal.h (__sigemptyset): Likewise.
11484         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11486 2014-02-07  Allan McRae  <allan@archlinux.org>
11488         * version.h (RELEASE): Set to "development".
11489         (VERSION): Set to "2.19.90"
11490         * NEWS: Add 2.20 section.
11492 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11494         [BZ #16529]
11495         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11497 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11499         * manual/contrib.texi: Update entry for Carlos O'Donell,
11500         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11502 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11504         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11506         * sysdeps/unix/sysv/linux/kernel-features.h
11507         [__LINUX_KERNEL_VERSION >= 0x020621]
11508         (__ASSUME_PROC_PID_TASK_COMM): Define.
11510 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11512         [BZ #16398]
11513         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11514         conversion when destination buffer does not have enough space.
11515         * libio/tst-ftell-partial-wide.c: New test case.
11516         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11518         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11519         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11520         Leonard and Allan McRae.
11522 2014-02-04  David S. Miller  <davem@davemloft.net>
11524         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11525         32-bit.
11527 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11530         New file
11531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11532         New file
11533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11534         New file.
11535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11536         New file.
11537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11538         New file.
11539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11540         New file.
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11542         New file.
11543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11544         New file.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11546         New file.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11548         New file.
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11550         New file.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11552         New file.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11554         New file.
11556 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11558         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11559         * shlib-versions: Likewise.
11561 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11562             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11564         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11565         (abilist-pattern): New variable, set to %-le.abilist.
11567         * Makerules (abilist-pattern): New variable.
11568         (vpath): Use $(abilist-pattern) in place of %.abilist.
11569         (check-abi-% pattern rule): Likewise.
11570         (check-abi, update-abi): Likewise.
11572 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11576 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11578         * manual/startup.texi: Add next, previous, and top entries for
11579         the `Program Arguments' and `Environment Variables' nodes.
11581 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11583         * manual/macros.texi: Add comments before MTASC-safety macros.
11585         * manual/users.texi: Document MTASC-safety properties.
11587         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11588         (pthread_getspecific, pthread_setspecific): Format with
11589         @deftypefun, and add @safety note.
11590         * manual/signal.texi: Move comments that analyze the above
11591         functions to their home place.
11593 2014-02-03  Allan McRae  <allan@archlinux.org>
11595         * po/sl.po: Update Slovenian translation from translation project.
11597 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11599         * manual/time.texi (timegm): Add missing blank after @c.
11600         Reported by Joseph Myers <joseph@codesourcery.com>.
11602 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11604         * manual/check-safety.sh: New.
11605         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11607         * manual/terminal.texi: Document MTASC-safety properties.
11609         * manual/filesys.texi: Document MTASC-safety properties.
11611         * manual/errno.texi: Document MTASC-safety properties.
11613         * manual/intro.texi: Document safety identifiers and
11614         conditionals.
11616         * manual/string.texi (wcstok): Fix prototype.
11617         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11619         * manual/time.texi: Document MTASC-safety properties.
11621         * manual/string.texi: Document MTASC-safety properties.
11623         * manual/threads.texi: Document MTASC-safety properties.
11625         * manual/stdio.texi: Document MTASC-safety properties.
11627         * manual/syslog.texi: Document MTASC-safety properties.
11629         * manual/sysinfo.texi: Document MTASC-safety properties.
11631         * manual/startup.texi: Document MTASC-safety properties.
11633         * manual/socket.texi: Document MTASC-safety properties.
11635         * manual/signal.texi: Document MTASC-safety properties.
11637 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11639         * manual/setjmp.texi: Document MTASC-safety properties.
11641         * manual/search.texi: Document MTASC-safety properties.
11643         * manual/resource.texi: Document MTASC-safety properties.
11645         * manual/process.texi: Document MTASC-safety properties.
11647         * manual/platform.texi: Document MTASC-safety properties.
11649         * manual/pipe.texi: Document MTASC-safety properties.
11651         * manual/pattern.texi: Document MTASC-safety properties.
11653         * manual/message.texi: Document MTASC-safety properties.
11655         [BZ #12751]
11656         * manual/memory.texi: Document MTASC-safety properties.
11658         * manual/math.texi: Document MTASC-safety properties.
11660         * manual/locale.texi: Document MTASC-safety properties.
11662         * manual/llio.texi: Document MTASC-safety properties.
11664         * manual/libdl.texi: New.
11666         * manual/lang.texi: Document MTASC-safety properties.
11668         * manual/job.texi: Document MTASC-safety properties.
11670         * manual/getopt.texi: Document MTASC-safety properties.
11672         * manual/ctype.texi: Document MTASC-safety properties.
11674 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11676         [BZ #16046]
11677         * csu/libc-tls.c (static_map): Remove variable.
11678         (__libc_setup_tls): Use main executable's link map for TLS data.
11679         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11680         casing for LM_ID_BASE and GL(dl_nns).
11681         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11682         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11683         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11684         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11685         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11686         member.
11687         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11688         l_phnum members.
11690 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11692         * manual/debug.texi: Document MTASC-safety properties.
11694 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11696         [BZ #16510]
11697         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11698         of __x86_64__ when disabling x87 inline functions.
11700 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11702         * manual/charset.texi: Document MTASC-safety properties.
11704         * manual/crypt.texi: Document MTASC-safety properties.
11706         * manual/conf.texi: Document MTASC-safety properties.
11708         * manual/arith.texi: Document MTASC-safety properties.
11710         * manual/argp.texi: Document MTASC-safety properties.
11712         * manual/macros.texi: Introduce macros to document multi
11713         thread, asynchronous signal and asynchronous cancellation
11714         safety properties.
11715         * manual/intro.texi: Introduce the properties themselves.
11717 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11719         * sysdeps/sh/sh4/Makefile: New file.
11721 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11723         * math/gen-libm-test.pl ($srcdir): New variable.
11724         ($auto_input): Use it.
11726 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11728         [BZ #16506]
11729         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11730         access beyond array bounds when parsing netgroups file.
11732         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11733         the old buffer before realloc.
11735 2014-01-27  Allan McRae  <allan@archlinux.org>
11737         * po/fr.po: Update French translation from translation project.
11739 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11741         * sysdeps/sh/libm-test-ulps: Regenerate.
11743 2014-01-24  David S. Miller  <davem@davemloft.net>
11745         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11747 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11749         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11750         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11752 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11754         [BZ #16474]
11755         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11756         string pointers after reallocation.
11758 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11760         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11761         __SH4A__ instead of __SH_FPU_ANY__.
11763 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11765         * sysdeps/sh/fpu_control.h: New file.
11766         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11767         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11768         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11769         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11770         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11771         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11772         * sysdeps/sh/sys/ucontext.h: Remove.
11773         * sysdeps/sh/sys: Remove directory.
11775 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11777         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11778         s390/sys/ucontext.h.
11779         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11780         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11782 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11784         [BZ #15605]
11785         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11787 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11789         [BZ#16431]
11790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11791         Adjust the vDSO correctly for internal calls.
11792         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11794 2014-01-20  Allan McRae  <allan@archlinux.org>
11796         * po/ca.po: Update Catalan translation from translation project.
11798 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11800         * sysdeps/s390/sotruss-lib.c: New file.
11802 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11804         [BZ#16430]
11805         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11806         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11807         local calls issues by not having a PLT stub required for IFUNC calls.
11808         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11810 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11812         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11813         * math/test-fpucw-static.c: Likewise.
11815 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11817         [BZ #16453]
11818         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11820 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11822         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11823         implementation for powerpc.
11825 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11827         [BZ #14782]
11828         * sysdeps/posix/system.c (__libc_system): Do not enable
11829         asynchronous cancellation.
11831 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11833         [BZ #16427]
11834         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11835         handling only for numbers special also in the IEEE case.
11837 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11839         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11841 2014-01-11  Allan McRae  <allan@archlinux.org>
11843         * po/bg.po: Update Bulgarian translation from translation project.
11845         * po/de.po: Update German translation from translation project.
11847 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11849         * sysdeps/generic/gcc-compat.h: New file.
11851 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853         * benchtests/asin-inputs: Correct slow inputs.
11854         * benchtests/acos-inputs: Likewise.
11856 2014-01-10  Allan McRae  <allan@archlinux.org>
11858         * po:sv.po: Update Swedish translation from translation project.
11860         * po/vi.po: Update Vietnamese translation from translation project.
11862         * po/eo.po: Update Esperanto translation from translation project.
11864         * po/cs.po: Update Czech translation from translation project.
11866         * po/nl.po: Update Dutch translation from translation project.
11868         * po/pl.po: Update Polish translation from translation project.
11870         * po/ru.po: Update Russian translation from translation project.
11872         * po/uk.po: Update Ukrainian translation from translation project.
11874 2014-01-08  Brooks Moses  <bmoses@google.com>
11876         * elf/dl-load.c: Fix comment typo.
11878 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11880         * po/header.pot: Rename to...
11881         * po/pot.header: ... this.
11882         * po/Makefile: Use pot.header.
11884 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11885             Maxim Kuvyrkov  <maxim@kugelworks.com>
11887         [BZ #16394]
11888         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11889         SRC and DEST against LEN.
11891 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11893         [BZ #16414]
11894         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11895         implementation.
11896         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11898 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11902 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11904         [BZ #16408]
11905         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11906         for large positive arguments.
11908 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11910         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11912         * math/auto-libm-test-in: Mark various tests with
11913         xfail-rounding:ldbl-128ibm.
11914         * math/auto-libm-test-out: Regenerated.
11916         [BZ #16407]
11917         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11918         Increase overflow threshold.
11920 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11922         [BZ #14286]
11923         * stdio-common/vfprintf.c: Check for integer overflow.
11925 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11927         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11928         the first argument and return value of __tls_get_addr_internal.
11930 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11932         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11933         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11935 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11937         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11938         * sysdeps/s390/rtld-global-offsets.sym: New file.
11939         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11940         GLIBC_2.19 symbol.
11941         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11942         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11943         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11944         ... this.
11945         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11946         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11947         ... this.
11948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11949         Regenerate.
11950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11951         Regenerate.
11952         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11953         halfs of GPRs for high_gprs contexts.
11954         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11955         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11956         field.
11957         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11958         uc_flags field.
11959         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11960         64 bit versions:
11961         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11962         for high GPRs (uc_high_gprs) and for future extensions
11963         (__reserved).
11964         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11965         for future extensions (__reserved).
11966         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11967         64 bit versions:
11968         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11969         SC_HIGHGPRS offset definition.
11970         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11971         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11973         * Versions.def: Add GLIBC_2.19 for libpthread.
11974         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11975         siglongjmp for libpthread with GLIBC_2.19 symver.
11976         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11977         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11978         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11979         * sysdeps/s390/__longjmp.c: New file.
11980         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11981         * sysdeps/s390/longjmp.c: New file.
11982         * sysdeps/s390/setjmp.S: New file.
11983         * sysdeps/s390/sigjmp.S: New file.
11984         * sysdeps/s390/v1-longjmp.c: New file.
11985         * sysdeps/s390/v1-setjmp.h: New file.
11986         * sysdeps/s390/v1-sigjmp.c: New file.
11987         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11988         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11989         GLIBC_2.19 version.
11990         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11991         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11992         versioned symbols for ____longjmp_chk.
11993         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11994         Likewise.
11995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11996         Regenerate.
11997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11998         Regenerate.
11999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12000         Regenerate.
12001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12002         Regenerate.
12003         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12004         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12005         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12006         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12007         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12008         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12009         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12010         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12011         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12012         * sysdeps/s390/rtld-__longjmp.c: New file.
12013         * sysdeps/s390/rtld-setjmp.S: New file.
12015 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12017         [BZ #16400]
12018         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12019         Return -__logl (x) for small positive arguments without evaluating
12020         a polynomial.
12022 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12024         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12025         Rename to ...
12026         (__ptrace_peeksiginfo_args): ... this.
12027         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12028         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12029         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12031 2014-01-06  Allan McRae  <allan@archlinux.org>
12033         * inet/netinet/in.h: Fix typo in comment.
12035 2014-01-05  Andreas Jaeger  <aj@suse.de>
12037         * sysdeps/i386/fpu/libm-test-ulps: Update.
12039 2014-01-05  Allan McRae  <allan@archlinux.org>
12041         * po/libc.pot: Regenerated.
12043         * malloc/memusagestat.c: Fix gettext call formatting.
12045 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12047         * nscd/nscd.c: Improve usage() output.
12049 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12051         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12052         * sysdeps/unix/sysv/linux/configure: Regenerated.
12053         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12054         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12056 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12058         [BZ #16390]
12059         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12060         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12062 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12064         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12065         extra tokens at end of #undef directive.
12066         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12067         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12068         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12070 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12072         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12074         * math/auto-libm-test-in: Mark various tests with
12075         xfail-rounding:ldbl-128ibm.
12076         * math/auto-libm-test-out: Regenerated.
12078 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12080         [BZ #16386]
12081         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12082         numbers with subnormal high part when calculating exponent.
12084         [BZ #16385]
12085         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12086         fabs.
12088         [BZ #16384]
12089         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12090         M_LN2l.
12091         (__ieee754_acoshl): Use __log1pl not __log1p.
12093 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12095         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12096         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12097         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12098         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12099         (reused_arena, arena_get2): Convert to GNU style.
12100         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12101         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12102         (memalign_check, __malloc_set_state): Likewise.
12103         * malloc/mallocbug.c (main): Likewise.
12104         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12105         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12106         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12107         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12108         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12109         (__posix_memalign, malloc_info): Likewise.
12110         * malloc/malloc.h: Likewise.
12111         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12112         (mallochook, memalignhook, reallochook, mabort): Likewise.
12113         * malloc/mcheck.h: Likewise.
12114         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12115         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12116         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12117         * malloc/morecore.c (__default_morecore): Likewise.
12118         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12119         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12120         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12121         (print_and_abort): Likewise.
12122         * malloc/obstack.h: Likewise.
12123         * malloc/set-freeres.c (__libc_freeres): Likewise.
12124         * malloc/tst-mallocstate.c (main): Likewise.
12125         * malloc/tst-mtrace.c (main): Likewise.
12126         * malloc/tst-realloc.c (do_test): Likewise.
12128 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12130         [BZ #16366]
12131         * nscd/netgroupcache.c (do_notfound): New function.
12132         (addgetnetgrentX): Use it.
12134         [BZ # 16365]
12135         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12136         NSS_STATUS_NOTFOUND.
12138 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12140         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12143 2014-01-01  Allan McRae  <allan@archlinux.org>
12145         * scripts/update-copyrights: Update configure input file suffix.
12147         * NEWS: Update copyright year.
12148         * catgets/gencat.c: Likewise.
12149         * csu/version.c: Likewise.
12150         * debug/catchsegv.sh: Likewise.
12151         * debug/pcprofiledump.c: Likewise.
12152         * debug/xtrace.sh: Likewise.
12153         * elf/ldconfig.c: Likewise.
12154         * elf/ldd.bash.in: Likewise.
12155         * elf/pldd.c: Likewise.
12156         * elf/sotruss.ksh: Likewise.
12157         * elf/sprof.c: Likewise.
12158         * iconv/iconv_prog.c: Likewise.
12159         * iconv/iconvconfig.c: Likewise.
12160         * locale/programs/locale.c: Likewise.
12161         * locale/programs/localedef.c: Likewise.
12162         * login/programs/pt_chown.c: Likewise.
12163         * malloc/memusage.sh: Likewise.
12164         * malloc/memusagestat.c: Likewise.
12165         * malloc/mtrace.pl: Likewise.
12166         * manual/libc.texinfo: Likewise.
12167         * nscd/nscd.c: Likewise.
12168         * nss/getent.c: Likewise.
12169         * nss/makedb.c: Likewise.
12170         * posix/getconf.c: Likewise.
12171         * scripts/test-installation.pl: Likewise.
12173         * All files with FSF copyright notices: Update copyright dates
12174         using scripts/update-copyrights.
12175         * intl/plural.c: Regenerated.
12176         * locale/programs/charmap-kw.h: Likewise.
12177         * locale/programs/locfile-kw.h: Likewise.
12179 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12181         * sysdeps/unix/sysv/linux/configure: Regenerated.
12182         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12183         the linux/fanotify.h header.
12184         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12185         HAVE_LINUX_FANOTIFY_H is defined.
12187 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12189         * benchtests/cos-inputs: New inputs.
12190         * benchtests/sin-inputs: Likewise.
12192         * benchtests/atan-inputs: New inputs. Fix name of multiple
12193         precision fallback inputs.
12195         * benchtests/atanh-inputs: New inputs.
12196         * benchtests/tanh-inputs: Likewise.
12198         * benchtests/acosh-inputs: New inputs.
12199         * benchtests/asinh-inputs: Likewise.
12201         * benchtests/cosh-inputs: New inputs.
12202         * benchtests/sinh-inputs: Likewise.
12204         * benchtests/acos-inputs: Add more inputs.
12205         * benchtests/asin-inputs: Likewise.
12207 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12209         [BZ #16375]
12210         * manual/arith.texi: Fix spelling.
12211         * manual/charset.texi: Likewise.
12212         * manual/errno.texi: Likewise.
12213         * manual/filesys.texi: Likewise.
12214         * manual/lang.texi: Likewise.
12215         * manual/llio.texi: Likewise.
12216         * manual/locale.texi: Likewise.
12217         * manual/message.texi: Likewise.
12218         * manual/resource.texi: Likewise.
12219         * manual/search.texi: Likewise.
12220         * manual/setjmp.texi: Likewise.
12221         * manual/stdio.texi: Likewise.
12222         * manual/string.texi: Likewise.
12223         * manual/sysinfo.texi: Likewise.
12224         * manual/time.texi: Likewise.
12226 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12228         * po/sl.po: New file.
12230 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12232         * .gitignore: Add core/.gdbinit/.gdb_history.
12234 2013-12-27  Allan McRae  <allan@archlinux.org>
12236         [BZ #16369]
12237         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12238         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12240 2013-12-24  Brooks Moses  <bmoses@google.com>
12242         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12243         all compilers that claim C++98 compliance, not just GCC.
12244         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12245         Likewise.
12247 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12249         * NEWS: Restore accidentally deleted bug-fix entries.
12251 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12252             Ondřej Bílka  <neleai@seznam.cz>
12254         [BZ #15073]
12255         * malloc/malloc.c (_int_free): Perform sanity check only if we
12256         have_lock.
12258 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12260         [BZ #12986]
12261         * manual/stdio.texi (String Input Conversions): Clarify that character
12262         classes are not supported.
12264 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12268 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #16337]
12271         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12272         Calculate results for small negative arguments directly rather
12273         than using reflection formula with special underflow handling.
12275         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12276         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12277         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12278         (fchflags): Likewise.
12279         (revoke): Likewise.
12280         (setlogin): Likewise.
12281         (sigaltstack): Likewise.
12282         (wait4): Likewise.
12283         (sigblock): Remove.
12284         (sigsetmask): Likewise.
12285         (wait3): Likewise.
12286         (waitpid): Likewise.
12287         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12288         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12289         file.
12290         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12291         * sysdeps/unix/bsd/Makefile: ... here.
12292         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12293         * sysdeps/unix/bsd/Versions: ... here.
12294         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12295         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12296         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12297         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12298         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12299         * sysdeps/unix/bsd/sigblock.c: ... here.
12300         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12301         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12302         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12303         * sysdeps/unix/bsd/sigvec.c: ... here.
12304         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12305         * sysdeps/unix/bsd/tcdrain.c: ... here.
12306         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12307         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12308         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12309         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12310         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12311         * sysdeps/unix/bsd/wait.c: ... here.
12312         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12313         * sysdeps/unix/bsd/wait3.c: ... here.
12314         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12315         * sysdeps/unix/bsd/waitpid.c: ... here.
12317 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12319         [BZ #16356]
12320         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12321         round-to-nearest for [!USE_AS_EXPM1L].
12322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12323         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12324         more tests of exp and exp10.  Expect some exp10 tests to miss
12325         exceptions or fail in directed rounding modes.
12326         * math/auto-libm-test-out: Regenerated.
12327         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12328         (exp10_test_tonearest): New function.
12329         (exp10_towardzero_test_data): New array.
12330         (exp10_test_towardzero): New function.
12331         (exp10_downward_test_data): New array.
12332         (exp10_test_downward): New function.
12333         (exp10_upward_test_data): New array.
12334         (exp10_test_upward): New function.
12335         (main): Call the new functions.
12336         * sysdeps/i386/fpu/libm-test-ulps: Update.
12337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12341         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12342         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12343         * math/auto-libm-test-out: Regenerated.
12344         * math/libm-test.inc (acosh_test_data): Add more tests.
12345         (atanh_test_data): Likewise.
12346         (ceil_test_data): Likewise.
12347         (copysign_test_data): Likewise.
12348         * sysdeps/i386/fpu/libm-test-ulps: Update.
12349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12351         * timezone/checktab.awk: Update from tzcode 2013i.
12352         * timezone/private.h: Likewise.
12353         * timezone/scheck.c: Likewise.
12354         * timezone/tzfile.h: Likewise.
12355         * timezone/tzselect.ksh: Likewise.
12356         * timezone/zdump.c: Likewise.
12357         * timezone/zic.c: Likewise.
12359         * math/auto-libm-test-in: Add tests of cpow.
12360         * math/auto-libm-test-out: Regenerated.
12361         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12362         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12363         mpc_cc_c.
12364         (func_calc_desc): Add mpc_cc_c union field.
12365         (test_functions): Add cpow.
12366         (special_fill_2pi): New function.
12367         (special_real_inputs): Add 2pi.
12368         (calc_generic_results): Handle mpc_cc_c.
12369         * sysdeps/i386/fpu/libm-test-ulps: Update.
12370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12372         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12373         csqrt, ctan and ctanh.
12374         * math/auto-libm-test-out: Regenerated.
12375         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12376         (TEST_COND_x86): Likewise.
12377         (ccos_test_data): Use AUTO_TESTS_c_c.
12378         (ccosh_test_data): Likewise.
12379         (cexp_test_data): Likewise.
12380         (clog_test_data): Likewise.
12381         (csqrt_test_data): Likewise.
12382         (ctan_test_data): Likewise.
12383         (ctan_tonearest_test_data): Likewise.
12384         (ctan_towardzero_test_data): Likewise.
12385         (ctan_downward_test_data): Likewise.
12386         (ctan_upward_test_data): Likewise.
12387         (ctanh_test_data): Likewise.
12388         (ctanh_tonearest_test_data): Likewise.
12389         (ctanh_towardzero_test_data): Likewise.
12390         (ctanh_downward_test_data): Likewise.
12391         (ctanh_upward_test_data): Likewise.
12392         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12393         mpc_c_c.
12394         (func_calc_desc): Add mpc_c_c union field.
12395         (FUNC_mpc_c_c): New macro.
12396         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12397         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12398         ctanh.
12399         (special_fill_min_subnorm_p120): New function.
12400         (special_real_inputs): Add min_subnorm_p120.
12401         (calc_generic_results): Handle mpc_c_c.
12402         * sysdeps/i386/fpu/libm-test-ulps: Update.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12405 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12407         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12408         (do_sin_slow): New functions.
12409         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12410         (cslow2, csloww1, csloww2): Use the new functions.
12412         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12413         Use M to change sign of result instead of X.  Assume X is
12414         positive.
12415         (csloww1): Likewise.
12416         (__sin): Adjust.
12417         (__cos): Adjust.
12419         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12420         arguments A and DA.
12421         (__sin): Adjust.
12422         (__cos): Likewise.
12424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12425         (__cos): Likewise.
12426         (sloww1): Don't adjust sign of DX.
12427         (csloww1): Likewise.
12428         (sloww2): Use X directly and don't adjust sign of DX.
12429         (csloww2): Likewise.
12431 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12433         * math/auto-libm-test-in: Add tests of cabs and carg.
12434         * math/auto-libm-test-out: Regenerated.
12435         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12436         (carg_test_data): Likewise.
12437         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12438         mpc_c_f.
12439         (func_calc_desc): Add mpc_c_f union field.
12440         (test_functions): Add cabs and carg.
12441         (calc_generic_results): Handle mpc_c_f.
12443         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12444         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12445         as a macro and a compat symbol.
12446         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12447         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12448         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12449         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12450         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12451         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12452         not use .hidden.
12453         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12454         Likewise.
12455         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12456         Likewise.
12457         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12458         Likewise.
12459         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12460         Likewise.
12461         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12462         Likewise.
12463         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12464         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12465         from GLIBC_2.3.2.
12467 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12471 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12473         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12474         trailing whitespace removed.
12475         * scripts/config.guess: Update to version 2013-11-29.
12476         * scripts/config.sub: Update to version 2013-10-01.
12478         * math/auto-libm-test-in: Add tests of sincos.
12479         * math/auto-libm-test-out: Regenerated.
12480         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12482         mpfr_f_11.
12483         (func_calc_desc): Add mpfr_f_11 union field.
12484         (test_functions): Add sincos.
12485         (calc_generic_results): Handle mpfr_f_11.
12486         * sysdeps/i386/fpu/libm-test-ulps: Update.
12487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12489 2013-12-19  Andreas Schwab  <schwab@suse.de>
12491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12492         CALL_MCOUNT.
12493         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12494         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12495         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12497 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12499         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12500         * sysdeps/i386/fpu/libm-test-ulps: Update.
12501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12503         [BZ #16293]
12504         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12505         round-to-nearest mode when using frndint.
12506         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12507         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12508         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12509         Likewise.
12510         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12511         sinh test to fail.
12512         * math/auto-libm-test-out: Regenerated.
12513         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12514         (TEST_COND_x86): Likewise.
12515         (expm1_tonearest_test_data): New array.
12516         (expm1_test_tonearest): New function.
12517         (expm1_towardzero_test_data): New array.
12518         (expm1_test_towardzero): New function.
12519         (expm1_downward_test_data): New array.
12520         (expm1_test_downward): New function.
12521         (expm1_upward_test_data): New array.
12522         (expm1_test_upward): New function.
12523         (main): Run the new test functions.
12524         * sysdeps/i386/fpu/libm-test-ulps: Update.
12525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527         * include/features.h: Update comment documenting feature test
12528         macros.  Mention _DEFAULT_SOURCE in comment.
12529         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12530         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12531         _BSD_SOURCE and _SVID_SOURCE.
12532         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12533         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12534         !_SVID_SOURCE]: Likewise.
12535         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12536         (__USE_POSIX_IMPLICITLY): Define.
12537         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12538         (_POSIX_SOURCE): Undefine and redefine.
12539         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12540         (_POSIX_C_SOURCE): Likewise.
12541         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12542         (Feature Test Macros): Update documentation of default features.
12544 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12546         * benchtests/Makefile: Add bench-strtok.
12547         * benchtests/bench-strtok.c: New file: strtok benchtest.
12549 2013-12-19  Allan McRae  <allan@archlinux.org>
12551         * manual/install.texi: Suppress menu for plain text output.
12552         * INSTALL: Regenerated.
12554 2013-12-18  Brooks Moses  <bmoses@google.com>
12556         [BZ #15846]
12557         * misc/getauxval.c: Include errno.h.
12558         (__getauxval): Set errno to ENOENT if the requested type is not
12559         found.
12560         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12561         don't declare with __attribute_const__.
12562         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12563         * manual/startup.texi: Document that getauxval sets errno.
12565 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12567         * math/auto-libm-test-in: Add tests of jn and yn.
12568         * math/auto-libm-test-out: Regenerated.
12569         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12570         (yn_test_data): Likewise.
12571         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12572         mpfr_if_f.
12573         (func_calc_desc): Add mpfr_if_f union field.
12574         (FUNC_mpfr_if_f): New macro.
12575         (test_functions): Add jn and yn.
12576         (calc_generic_results): Assert type of second input for
12577         mpfr_ff_f.  Handle mpfr_if_f.
12578         (output_for_one_input_case): Disable all checking for arguments
12579         fitting floating-point types in case of an integer argument.
12580         * sysdeps/i386/fpu/libm-test-ulps: Update.
12581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12584         Don't expect fegetround reference in libm.so.
12586 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12588         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12589         $(config-cflags-nofma).
12591 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12593         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12594         * math/auto-libm-test-out: Regenerated.
12596         [BZ #16338]
12597         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12598         to determine exponent and adjust argument to have exponent of -1.
12599         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12600         log2.
12601         * math/auto-libm-test-out: Regenerated.
12602         * sysdeps/i386/fpu/libm-test-ulps: Update.
12603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12605 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12607         * manual/probes.texi: Remove cases when per-thread arenas are
12608         disabled.
12610 2013-12-18  Andreas Schwab  <schwab@suse.de>
12612         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12613         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12614         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12615         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12616         * sysdeps/i386/i686/multiarch/Makefile: Update.
12617         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12619 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12621         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12622         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12624 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12626         [BZ #15968]
12627         Support TZ transition times < 00:00:00.
12628         This is needed for version-3 tz-format files; it supports time
12629         stamps past 2037 for America/Godthab (the only entry in the tz
12630         database for which this change is relevant).
12631         * manual/time.texi (TZ Variable): Document transition times
12632         from -167:59:59 through -00:00:01.
12633         * time/tzset.c (tz_rule): Time of day is now signed.
12634         (__tzset_parse_tz): Parse negative time of day.
12636         Document TZ transition times >= 25:00:00.
12637         * manual/time.texi (TZ Variable): Document transition times from
12638         25:00:00 through 167:59:59.  These are already supported, and this
12639         support will help with version-3 tz-format files.
12641         * manual/time.texi (TZ Variable): Modernize North America example
12642         to reflect current (i.e., 2007-and-later) daylight saving rules.
12644         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12646 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12648         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12649         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12652         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12653         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12654         * sysdeps/unix/bsd/clock.c: Likewise.
12655         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12656         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12657         * sysdeps/unix/bsd/init-posix.c: Likewise.
12658         * sysdeps/unix/bsd/poll.c: Likewise.
12659         * sysdeps/unix/bsd/ptsname.c: Likewise.
12660         * sysdeps/unix/bsd/seekdir.c: Likewise.
12661         * sysdeps/unix/bsd/setegid.c: Likewise.
12662         * sysdeps/unix/bsd/seteuid.c: Likewise.
12663         * sysdeps/unix/bsd/setgid.c: Likewise.
12664         * sysdeps/unix/bsd/setrgid.c: Likewise.
12665         * sysdeps/unix/bsd/setruid.c: Likewise.
12666         * sysdeps/unix/bsd/setsid.c: Likewise.
12667         * sysdeps/unix/bsd/setuid.c: Likewise.
12668         * sysdeps/unix/bsd/sigaction.c: Likewise.
12669         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12670         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12671         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12672         * sysdeps/unix/bsd/telldir.c: Likewise.
12673         * sysdeps/unix/bsd/times.c: Likewise.
12674         * sysdeps/unix/bsd/usleep.c: Likewise.
12676         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12677         ($(objpfx)libbsd-compat.a): Remove rule.
12679         * include/features.h (__FAVOR_BSD): Do not define.
12680         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12681         features conflicting with POSIX.
12682         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12683         (_BSD_SOURCE): Remove description of not being a subset of other
12684         feature test macros.
12685         * manual/job.texi (getpgrp): Do not document BSD version.
12686         (getpgid): Do not document by reference to BSD getpgrp.
12687         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12688         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12689         * signal/signal.h [__FAVOR_BSD]: Likewise.
12690         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12691         instead of making contents conditional on [__FAVOR_BSD].
12692         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12694 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12698 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12700         [BZ #16314]
12701         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12702         values below 2**-450, not 2**-500.
12703         * math/auto-libm-test-in: Don't allow spurious underflow from
12704         hypot.
12705         * math/auto-libm-test-out: Regenerated.
12707         [BZ #16316]
12708         [BZ #16330]
12709         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12710         values of ha and hb and sort them after adjusting subnormal
12711         arguments.
12712         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12713         Likewise.
12714         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12715         values of ea and eb and sort them after adjusting subnormal
12716         arguments.
12717         * math/auto-libm-test-in: Do not expect some hypot tests of
12718         subnormals to fail.  Add more hypot tests.
12719         * math/auto-libm-test-out: Regenerated.
12721 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12723         [BZ #13304]
12724         * sysdeps/sh/s_fma.c: New file.
12725         * sysdeps/sh/s_fmaf.c: New file.
12726         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12727         version.
12728         * sysdeps/sh/Implies: Add sh/soft-fp.
12730 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12732         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12733         level of indirection to members `objname', `errstring', `malloced'.
12734         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12735         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12736         it as the __longjmp argument (just pass 1 instead).
12737         (_dl_catch_error): Initialize C with argument pointers and address of
12738         volatile local ERRCODE rather than copying values out of C at return.
12740 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12742         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12743         * math/auto-libm-test-out: Regenerated.
12744         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12745         (hypot_test_data): Likewise.
12746         (pow_test_data): Likewise.
12747         (pow_tonearest_test_data): Likewise.
12748         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12749         mpfr_ff_f.
12750         (func_calc_desc): Add mpfr_ff_f union field.
12751         (FUNC_mpfr_ff_f): New macro.
12752         (test_functions): Add atan2, hypot and pow.
12753         (special_fill_min): New function.
12754         (special_fill_minus_min): Likewise.
12755         (special_fill_min_subnorm): Likewise.
12756         (special_fill_minus_min_subnorm): Likewise.
12757         (special_real_inputs): Add min, -min, min_subnorm and
12758         -min_subnorm.
12759         (calc_generic_results): Handle mpfr_ff_f.
12760         * sysdeps/i386/fpu/libm-test-ulps: Update.
12761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12763 2013-12-16  Will Newton  <will.newton@linaro.org>
12765         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12766         (Aligned Memory Blocks): Add documentation for aligned_alloc
12767         and suggest it as an alternative to posix_memalign.
12768         (Hooks for Malloc): Document __memalign_hook is also called
12769         for aligned_alloc.  (Summary of Malloc): Add summary for
12770         aligned alloc.  Document __memalign_hook is also called
12771         for aligned_alloc.
12773 2013-12-16  Will Newton  <will.newton@linaro.org>
12775         * manual/memory.texi (Malloc Examples): Clarify default
12776         alignment documentation.  Suggest posix_memalign rather
12777         than memalign or valloc.
12778         (Aligned Memory Blocks): Remove suggestion to use memalign
12779         or valloc.  Remove obsolete comment about BSD.
12780         Document memalign errno values and mark the function obsolete.
12781         Document posix_memalign returned error codes.  Mark valloc
12782         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12783         called for posix_memalign and valloc.
12784         (Summary of Malloc): Add posix_memalign to function summary.
12785         __memalign_hook is also called for posix_memalign and valloc.
12787 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12789         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12790         TAYLOR_SIN.
12791         (__sin): Adjust.
12792         (__cos): Likewise.
12793         (sloww): Use mynumber union.  Expand ternary operator into
12794         if-else statements.
12795         (cslow): use mynumber union.
12797 2013-12-16  Allan McRae  <allan@archlinux.org>
12799         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12800         * configure: Regenerated.
12802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12804         [BZ #14120]
12805         * configure.ac: Added --enable-maintainer-mode. Check for
12806         autoconf when enabled.
12807         * configure: Regenerated.
12809         * nscd/nscd.service: New file.
12810         * nscd/nscd.tmpfiles: New file.
12812 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12814         [BZ #12100]
12815         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12816         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12817         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12818         (strstr): Add __strstr_sse2_unaligned ifunc.
12819         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12820         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12821         (strcasestr): Remove __strcasestr_sse42 ifunc.
12822         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12826 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12828         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12829         * sysdeps/sh/bits/fenv.h: ... here.
12830         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12832 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12834         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12837         hypotf multiarch implementations.
12838         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12839         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12840         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12841         multiarch hypot for PPC64.
12842         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12843         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12844         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12845         multiarch hypotf for PPC64.
12847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12848         modff multiarch implementations.
12849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12852         multiarch modf for PPC64.
12853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12856         multiarch modff for PPC64.
12858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12859         and logl multiarch implementations.
12860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12863         multiarch logb for PPC64.
12864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12867         multiarch logb for PPC64.
12868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12871         multiarch logb for PPC64.
12873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12874         isinff multiarch implementation.
12875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12876         file.
12877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12879         multiarch isinf for PPC64.
12880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12881         file.
12882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12883         multiarch isinff for PPC64.
12885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12886         finitef multiarch implementation.
12887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12888         file.
12889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12891         multiarch finite for PPC64.
12892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12893         file.
12894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12895         multiarch finitef for PPC64.
12897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12898         lrint multiarch implementation.
12899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12900         file.
12901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12903         multiarch llrint for PPC64.
12904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12905         multiarch lrint for PPC64.
12907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12908         copysignf multiarch implementation.
12909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12910         file.
12911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12912         file.
12913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12914         multiarch copysign for PPC64.
12915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12916         multiarch copysignf for PPC64.
12918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12919         multiarch implementation.
12920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12921         file.
12922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12923         file.
12924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12925         file.
12926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12927         file.
12928         multiarch llround for PPC64.
12929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12930         multiarch trunc for PPC64.
12931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12932         multiarch truncf for PPC64.
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12935         multiarch implementation.
12936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12937         file.
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12939         file.
12940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12941         file.
12942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12943         file.
12944         multiarch llround for PPC64.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12946         multiarch round for PPC64.
12947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12948         multiarch roundf for PPC64.
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12951         multiarch implementation.
12952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12953         file.
12954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12955         file.
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12957         file.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12959         file.
12960         multiarch llround for PPC64.
12961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12962         multiarch floor for PPC64.
12963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12964         multiarch floorf for PPC64.
12966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12967         multiarch implementation.
12968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12969         file.
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12971         file.
12972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12973         file.
12974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12975         file.
12976         multiarch llround for PPC64.
12977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12978         multiarch ceil for PPC64.
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12980         multiarch ceilf for PPC64.
12982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12983         multiarch implementation.
12984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12985         file.
12986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12987         file.
12988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12989         file.
12990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12991         multiarch llround for PPC64.
12992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12993         multiarch lround for PPC64.
12995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12996         multiarch implementation.
12997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13000         file.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13004         multiarch isnan for PPC64.
13005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13006         multiarch isnanf for PPC64.
13008         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13009         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13010         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13011         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13012         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13015         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13016         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13018         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13021         multiarch implementations.
13022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13023         (__libc_ifunc_impl_list): Likewise.
13024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13025         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13026         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13027         multiarch stpcpy for PPC64.
13029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13030         multiarch implementations.
13031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13032         (__libc_ifunc_impl_list): Likewise.
13033         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13034         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13035         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13036         multiarch strcpy for PPC64.
13038         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13039         redefine function name.
13040         (_wordcopy_fwd_dest_aligned): Likewise.
13041         (_wordcopy_bwd_aligned): Likewise.
13042         (_wordcopy_bwd_dest_aligned): Likewise.
13043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13044         multiarch implementations.
13045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13046         (__libc_ifunc_impl_list): Likewise.
13047         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13048         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13049         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13050         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13051         multiarch wcscpy for PPC64.
13053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13054         multiarch implementations.
13055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13056         (__libc_ifunc_impl_list): Likewise.
13057         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13058         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13059         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13060         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13061         multiarch wcscpy for PPC64.
13063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13064         multiarch implementations.
13065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13066         (__libc_ifunc_impl_list): Likewise.
13067         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13068         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13069         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13070         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13071         multiarch wcsrchr for PPC64.
13073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13074         multiarch implementations.
13075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13076         (__libc_ifunc_impl_list): Likewise.
13077         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13078         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13079         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13080         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13081         multiarch wcschr for PPC64.
13083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13084         multiarch implementations.
13085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13086         (__libc_ifunc_impl_list): Likewise.
13087         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13088         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13089         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13090         multiarch strchrnul for PPC64.
13092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13093         implementations.
13094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13095         (__libc_ifunc_impl_list): Likewise.
13096         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13097         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13098         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13099         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13100         strchr for PPC64.
13102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13103         implementations.
13104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13105         (__libc_ifunc_impl_list): Likewise.
13106         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13107         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13108         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13109         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13110         strncmp for PPC64.
13112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13113         multiarch implementations.
13114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13115         (__libc_ifunc_impl_list): Likewise.
13116         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13117         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13118         strncasecmp for PPC64.
13119         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13120         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13121         multiarch strncasecmp_l for PPC64.
13123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13124         multiarch implementations.
13125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13126         (__libc_ifunc_impl_list): Likewise.
13127         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13128         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13129         multiarch strcasecmp for PPC64.
13130         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13131         file.
13132         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13133         multiarch strcasecmp_l for PPC64.
13135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13136         implementations.
13137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13138         (__libc_ifunc_impl_list): Likewise.
13139         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13140         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13141         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13142         strnlen for PPC64.
13144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13145         implementations.
13146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13147         (__libc_ifunc_impl_list): Likewise.
13148         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13149         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13150         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13151         strlen for PPC64.
13153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13154         implementations.
13155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13156         (__libc_ifunc_impl_list): Likewise.
13157         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13158         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13159         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13160         rawmemrchr for PPC64.
13162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13163         implementation.
13164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13165         (__libc_ifunc_impl_list): Likewise.
13166         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13167         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13168         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13169         memrchr for PPC64.
13171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13172         implementation.
13173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13174         (__libc_ifunc_impl_list): Likewise.
13175         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13176         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13177         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13178         memchr for PPC64.
13180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13181         implementation.
13182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13183         (__libc_ifunc_impl_list): Likewise.
13184         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13185         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13186         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13187         mempcpy for PPC64.
13189         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13190         avoid cretion of __bzero symbol.
13191         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13192         Likewise.
13193         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13194         Likewise.
13195         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13196         Likewise.
13197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13198         multiarch implementations.
13199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13200         (__libc_ifunc_impl_list): Likewise.
13201         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13202         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13203         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13204         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13205         bzero for PPC32.
13206         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13207         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13208         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13209         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13210         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13211         memset for PPC64.
13212         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13214         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13216         implementations.
13217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13218         (__libc_ifunc_impl_list): Likewise.
13219         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13220         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13221         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13222         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13223         memcmp for PPC64.
13225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13226         multiarch for POWER/PPC64.
13227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13228         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13229         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13230         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13231         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13232         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13233         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13234         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13235         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13236         memcpy for PPC64.
13238         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13239         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13240         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13241         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13242         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13243         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13244         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13245         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13246         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13247         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13248         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13249         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13250         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13251         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13252         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13261 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13263         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13265 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13267         * benchtests/Makefile (bench): Add exp2 and log2.
13268         (LDLIBS-bench-exp2): Add -lm.
13269         (LDLIBS-bench-log2): Likewise.
13270         * benchtests/exp2-inputs: New inputs file.
13271         * benchtests/log2-inputs: New inputs file.
13272         * benchtests/log-inputs: Add new inputs.
13273         * benchtests/tan-inputs: Likewise.
13275 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13277         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13278         definition...
13279         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13280         (csloww2): ... from here.
13282         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13283         instead of structures.
13284         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13285         (POLYNOMIAL): Likewise.
13286         (TAYLOR_SLOW): Likewise.
13287         (__sin): Likewise.
13288         (__cos): Likewise.
13289         (slow1): Likewise.
13290         (slow2): Likewise.
13291         (sloww): Likewise.
13292         (sloww1); Likewise.
13293         (sloww2): Likewise.
13294         (bsloww1): Likewise.
13295         (bsloww2): Likewise.
13296         (cslow2): Likewise.
13297         (csloww): Likewise.
13298         (csloww1): Likewise.
13299         (csloww2): Likewise.
13301 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13303         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13304         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13305         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13306         * malloc/hooks.c (realloc_check): Likewise.
13308         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13309         * malloc/arena.c: Remove PER_THREAD conditional.
13310         [!PER_THREAD]: Remove code.
13311         (ptmalloc_unlock_all2): Likewise.
13312         (ptmalloc_init): Likewise.
13313         (_int_new_arena): Likewise.
13314         (arena_get2): Likewise.
13315         * malloc/hooks.c (__malloc_get_state): Likewise.
13316         (__malloc_set_state): Likewise.
13317         * malloc/malloc.c: Likewise.
13318         (struct malloc_state): Likewise.
13319         (struct malloc_par): Likewise.
13320         (__libc_realloc): Likewise.
13321         (__libc_mallopt): Likewise.
13323 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13325         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13327 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13329         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13330         macro to a function.  Check for zero perturb_byte.
13331         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13333         * malloc/malloc.c: (force_reg): Remove.
13334         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13335         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13336         force_reg by atomic_forced_read.
13337         * malloc/arena.c (ptmalloc_init): Likewise.
13338         * malloc/hooks.c (top_check): Likewise.
13340 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13344 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13348 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13350         * math/auto-libm-test-in: Add tests of lgamma.
13351         * math/auto-libm-test-out: Regenerated.
13352         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13353         (M_LOG_2_SQRT_PIl): Likewise.
13354         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13356         mpfr_f_f1.
13357         (func_calc_desc): Add mpfr_f_f1 union field.
13358         (ARGS1): New macro.
13359         (ARGS2): Likewise.
13360         (ARGS3): Likewise.
13361         (ARGS4): Likewise.
13362         (RET1): Likewise.
13363         (RET2): Likewise.
13364         (CALC): Likewise.
13365         (FUNC): Likewise.
13366         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13367         (test_functions): Add lgamma.
13368         (calc_generic_results): Handle mpfr_f_f1.
13369         * sysdeps/i386/fpu/libm-test-ulps: Update.
13370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13372 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13374         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13375         __mpn_add_n for PowerPC64/POWER7.
13376         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13377         __mpn_sub_n for PowerPC64/POWER7.
13379         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13380         __mpn_addmul_1 for PowerPC64.
13381         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13382         __mpn_submul_1 for PowerPC64.
13383         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13384         for PowerPC64.
13385         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13386         for PowerPC64.
13388 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13390         [BZ #15089]
13391         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13393 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13395         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13397         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13398         add multiarch folders.
13399         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13400         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13401         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13402         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13403         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13404         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13405         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13406         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13407         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13408         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13409         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13418         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13420         New file.
13421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13422         New file.
13423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13424         multiarch __ieee754_hypot for PowerPC32.
13425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13426         New file.
13427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13428         New file.
13429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13430         multiarch __ieee754_hypotf for PowerPC32.
13432         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13433         long_double_symbol only if __logbl is defined.
13434         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13435         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13437         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13438         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13439         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13440         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13441         path for implementation.
13442         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13445         logb, and logbl multiarch implementations for PowerPC32.
13446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13447         file.
13448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13449         file.
13450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13451         multiarch logb for PowerPC32.
13452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13453         file.
13454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13455         file.
13456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13457         multiarch logbf for PowerPC32.
13458         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13460         file.
13461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13462         multiarch logbl implementation for PowerPC32.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13465         and modff multiarch implementations.
13466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13467         New file.
13468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13469         New file.
13470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13471         multiarch modf for PowerPC32.
13472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13473         New file.
13474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13475         New file.
13476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13477         multiarch modff for PowerPC32.
13479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13480         and lrintf multiarch implementations.
13481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13482         New file.
13483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13484         New file.
13485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13486         multiarch lrint for PowerPC32.
13487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13488         file: multiarch lrintf for PowerPC32.
13490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13491         and lroundf multiarch implementations.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13493         New file.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13495         New file.
13496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13497         New file.
13498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13499         multiarch lround for PowerPC32.
13500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13501         file: multiarch lroundf for PowerPC32.
13503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13504         copysign and copysignf multiarch implementations.
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13506         New file.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13508         New file.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13510         file: multiarch copysign for PowerPC32.
13511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13512         file: multiarch copysignf for PowerPC32.
13514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13515         and truncf multiarch implementations.
13516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13517         New file.
13518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13519         file.
13520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13521         multiarch trunc for PowerPC32.
13522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13523         New file.
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13525         New file.
13526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13527         multiarch truncf for PowerPC32.
13529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13530         and roundf multiarch implementations.
13531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13532         New file.
13533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13534         file.
13535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13536         multiarch round for PowerPC32.
13537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13538         New file.
13539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13540         New file.
13541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13542         multiarch roundf for PowerPC32.
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13545         and floorf multiarch implementations.
13546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13547         New file.
13548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13549         file.
13550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13551         multiarch floor for PowerPC32.
13552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13553         New file.
13554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13555         New file.
13556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13557         multiarch floorf for PowerPC32.
13559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13560         and ceilf multiarch implementations.
13561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13562         New file.
13563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13564         file.
13565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13566         multiarch ceil for PowerPC32.
13567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13568         New file.
13569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13570         file.
13571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13572         multiarch ceilf for PowerPC32.
13574         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13575         is defined.
13576         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13577         FINITEF is defined.
13578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13579         and finitef multiarch implementations.
13580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13581         New file.
13582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13583         file.
13584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13585         multiarch finite for PowerPC32.
13586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13587         New file.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13589         file: multiarch finitef for PowerPC32.
13591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13592         and isinff multiarch implementations.
13593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13594         file.
13595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13596         file.
13597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13598         multiarch isinf for PowerPC32.
13599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13600         New file.
13601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13602         multiarch isinff for PowerPC32.
13604         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13605         alias when __isnan is defined.
13606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13607         and isnanf multiarch implementations.
13608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13609         file.
13610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13611         file.
13612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13613         file.
13614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13615         file.
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13617         multiarch isnan for PowerPC32.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13619         New file.
13620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13621         New file.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13623         multiarch isnanf for PowerPC32.
13625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13626         and sqrtf multiarch implementations.
13627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13628         file.
13629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13630         file.
13631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13632         multiarch sqrt for PowerPC32.
13633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13634         file.
13635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13636         file.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13638         multiarch sqrtf for PowerPC32.
13640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13641         and llroundf multiarch implementations.
13642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13643         New file.
13644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13645         New file.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13647         New file.
13648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13649         file: multiarch llround for PowerPC32.
13650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13651         file: multiarch llroundf for PowerPC32.
13653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13654         multiarch PowerPC32 fpu implementations.
13655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13656         New file.
13657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13658         New file.
13659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13660         multiarch llrint for PowerPC32.
13661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13662         New file.
13663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13664         New file.
13665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13666         file.
13668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13670         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13671         file.
13672         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13673         file.
13674         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13675         file.
13676         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13677         multiarch wordcopy for PPC32.
13678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13679         wordcopy objects.
13680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13681         (__libc_ifunc_impl_list): Likewise.
13682         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13683         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13684         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13685         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13686         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13687         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13689         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13691         file.
13692         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13693         file.
13694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13695         file.
13696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13697         multiarch wcscpy for PPC32.
13698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13699         multiarch objects.
13700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13701         (__libc_ifunc_impl_list): Likewise.
13702         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13703         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13704         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13705         sysdeps/powerpc/power6/wcscpy.c.
13707         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13709         file.
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13711         file.
13712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13713         file.
13714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13715         multiarch wcsrchr for PPC32.
13716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13717         multiarch objects.
13718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13719         (__libc_ifunc_impl_list): Likewise.
13720         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13721         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13722         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13723         sysdeps/powerpc/power6/wcsrchr.c.
13725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13726         file.
13727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13728         file.
13729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13731         multiarch wcschr for PPc32.
13732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13733         multiarch objects.
13734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13735         (__libc_ifunc_impl_list): Likewise.
13736         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13737         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13738         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13739         sysdeps/powerpc/power6/wcschr.c.
13741         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13742         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13743         file.
13744         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13745         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13746         file: multiarch strchr for PPC32.
13747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13748         multiarch objects.
13749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13750         (__libc_ifunc_impl_list): Likewise.
13752         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13753         name.
13754         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13755         file.
13756         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13757         file.
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13759         multiarch strchrnul for PPC32.
13760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13761         multiarch objects.
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13763         (__libc_ifunc_impl_list): Likewise.
13765         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13766         file.
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13768         multiarch strncasecmp for PPC32.
13769         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13770         file.
13771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13772         multiarch strncasecmp_l for PPC32.
13773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13774         strncasecmp multiarch objects.
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13776         (__libc_ifunc_impl_list): Likewise.
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13779         file.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13781         multiarch strncasecmp for PPC32.
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13783         New file.
13784         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13785         multiarch strcasecmp_l for PPC32.
13786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13787         multiarch objects.
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13789         (__libc_ifunc_impl_list): Likewise.
13791         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13792         file.
13793         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13794         file.
13795         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13796         multiarch strncmp for PPC32.
13797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13798         multiarch objects.
13799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13800         (__libc_ifunc_impl_list): Likewise.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13803         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13804         file.
13805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13806         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13808         multiarch objects.
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13810         (__libc_ifunc_impl_list): Likewise.
13812         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13813         file.
13814         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13815         file.
13816         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13818         multiarch objects.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13820         (__libc_ifunc_impl_list): Likewise.
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13823         file.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13825         file.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13827         multiarch rawmemchr for PPC32.
13828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13829         multiarch objects.
13830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13831         (__libc_ifunc_impl_list): Likewise.
13833         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13834         file.
13835         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13836         file.
13837         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13838         file: memrchr multiarch for PPC32.
13839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13840         multiarch objects.
13841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13842         (__libc_ifunc_impl_list): Likewise.
13844         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13845         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13846         file.
13847         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13849         multiarch memchr for PPC32.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13851         multiarch objects.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13853         (__libc_ifunc_impl_list): Likewise.
13855         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13856         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13857         file.
13858         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13859         file.
13860         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13861         file: multiarch mempcpy for PPC32.
13862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13863         multiarch objects.
13864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13865         (__libc_ifunc_impl_list): Likewise.
13867         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13869         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13871         multiarch bzero for PPC32.
13872         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13873         file.
13874         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13875         file.
13876         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13877         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13878         file: multiarch memset for PPC32.
13879         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13881         memset multiarch objects.
13882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13883         (__libc_ifunc_impl_list): Likewise.
13885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13886         file.
13887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13889         memcmp for PPC32.
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13892         multiarch objects.
13893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13894         (__libc_ifunc_impl_list): Likewise.
13896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13899         file.
13900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13901         file.
13902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13903         file.
13904         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13905         multiarch memcpy for PPC32.
13906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13907         multiarch objects.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13909         (__libc_ifunc_impl_list): Likewise.
13911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13912         support multiarch for POWER/PPC32.
13913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13914         Likewise.
13915         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13917         Implies file to make multiarch folder appers before the fpu and
13918         default folder for power4 configuration.
13920 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13922         * scripts/bench.pl: Append volatile keyword to type.
13924 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13926         * sysdeps/sh/sotruss-lib.c: New file.
13927         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13929 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13933 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13935         [BZ #6810]
13936         * math/w_tgamma.c: Include <errno.h>.
13937         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13938         * math/w_tgammaf.c: Include <errno.h>.
13939         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13940         * math/w_tgammal.c: Include <errno.h>.
13941         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13942         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13943         underflow.  Add more tgamma tests.
13944         * math/auto-libm-test-out: Regenerated.
13945         * sysdeps/i386/fpu/libm-test-ulps: Update.
13946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13948         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13949         sin, sinh, tan, tanh, tgamma, y0 and y1.
13950         * math/auto-libm-test-out: Regenerated.
13951         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13952         (TEST_COND_x86): Likewise.
13953         (M_E2l): Remove macro.
13954         (M_E3l): Likewise.
13955         (M_2_SQRT_PIl): Likewise.
13956         (M_SQRT_PIl): Likewise.
13957         (M_1_DIV_El): Likewise.
13958         (log_test_data): Use AUTO_TESTS_f_f.
13959         (log10_test_data): Likewise.
13960         (log1p_test_data): Likewise.
13961         (log2_test_data): Likewise.
13962         (sin_test_data): Likewise.
13963         (sin_tonearest_test_data): Likewise.
13964         (sin_towardzero_test_data): Likewise.
13965         (sin_downward_test_data): Likewise.
13966         (sin_upward_test_data): Likewise.
13967         (sinh_test_data): Likewise.
13968         (sinh_tonearest_test_data): Likewise.
13969         (sinh_towardzero_test_data): Likewise.
13970         (sinh_downward_test_data): Likewise.
13971         (sinh_upward_test_data): Likewise.
13972         (tan_test_data): Likewise.
13973         (tan_tonearest_test_data): Likewise.
13974         (tan_towardzero_test_data): Likewise.
13975         (tan_downward_test_data): Likewise.
13976         (tan_upward_test_data): Likewise.
13977         (tanh_test_data): Likewise.
13978         (tgamma_test_data): Likewise.
13979         (y0_test_data): Likewise.
13980         (y1_test_data): Likewise.
13981         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13982         (special_real_inputs): Add pi/4.
13983         * sysdeps/i386/fpu/libm-test-ulps: Update.
13984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13986 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13988         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13989         "longjmp_target" static probes.
13990         (__longjmp): Rename to __longjmp_symbol.
13991         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13992         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13993         on which longjmp to generate.
13994         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13995         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13996         probe.
13997         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13998         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13999         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14000         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14001         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14002         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14004         __longjmp_symbol based on which __longjmp to generate.
14005         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14006         probe.
14007         (setjmp): Rename to setjmp_symbol.
14008         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14009         (_setjmp): Rename to _setjmp_symbol.
14010         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14011         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14012         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14013         which setjmp to generate.
14014         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14015         "longjmp_target" static probes.
14017 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14019         * benchtests/README: Add note about output arguments.
14020         * benchtests/bench-sincos.c: Remove file.
14021         * benchtests/sincos-inputs: New file.
14022         * scripts/bench.pl: Identify output arguments and define
14023         static variables for them.
14025         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14027         [BZ #15941]
14028         * Makefile (INSTALL): Add install-plain.texi as the primary
14029         dependency.
14030         * manual/install-plain.texi: New file.
14031         * manual/install.texi: Include node directive only for
14032         non-plaintext output.
14034 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14036         * stdlib/longlong.h: Update from GCC.
14038         [BZ #6807]
14039         [BZ #15901]
14040         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14041         * math/w_j0f.c (y0f): Likewise.
14042         * math/w_j0l.c (__y0l): Likewise.
14043         * math/w_j1.c (y1): Likewise.
14044         * math/w_j1f.c (y1f): Likewise.
14045         * math/w_j1l.c (__y1l): Likewise
14046         * math/w_jn.c (yn): Likewise.
14047         * math/w_jnf.c (ynf): Likewise.
14048         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14049         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14050         value for Bessel function domain errors outside _SVID_ mode.
14051         Adjust sign of return value for yn (negative integer, 0).
14052         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14053         by zero in return for negative x and set sign appropriately for
14054         negative n.
14055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14056         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14057         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14058         expectations in error cases.
14059         (y1_test_data): Likewise.
14060         (yn_test_data): Likewise.
14061         * sysdeps/i386/fpu/libm-test-ulps: Update.
14062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14064 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14066         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14067         "64" to "64-v1".  Add "64-v2".
14068         (abi-64-options): Rename to ...
14069         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14070         (abi-64-condition): Rename to ...
14071         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14072         (abi-64-ld-soname): Rename to ...
14073         (abi-64-v1-ld-soname): ... this.
14074         (abi-64-v2-options): Define.
14075         (abi-64-v2-condition): Likewise.
14076         (abi-64-v2-ld-soname): Likewise.
14077         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14078         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14083 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14084             Alan Modra  <amodra@gmail.com>
14086         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14087         New versions for use with the ELFv2 ABI.
14088         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14089         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14090         declaration.
14091         (struct La_ppc64v2_retval): Likewise.
14092         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14093         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14094         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14095         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14096         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14097         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14098         Do not save or restore CR.
14099         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14100         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14101         return values for ELFv2 ABI.  Fix location of FPR return registers.
14102         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14103         updated values for _CALL_ELF == 2.
14104         (La_regs, La_retval, int_retval): Likewise.
14106 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14108         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14109         (FRAME_MIN_SIZE_PARM): Likewise.
14110         (FRAME_BACKCHAIN): Likewise.
14111         (FRAME_CR_SAVE): Likewise.
14112         (FRAME_LR_SAVE): Likewise.
14113         (FRAME_TOC_SAVE): Likewise.
14114         (FRAME_PARM_SAVE): Likewise.
14115         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14116         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14117         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14118         (call_mcount_parm_offset): New macro.
14119         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14120         (PROF): Use symbolic stack frame offsets.
14121         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14122         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14123         Redefine in terms of FRAME_MIN_SIZE.
14124         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14125         (_dl_profile_resolve): Likewise.  Update comment.
14126         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14127         symbols stack frame offsets.
14128         (__sigsetjmp): Likewise.
14129         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14130         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14131         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14132         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14135         (FRAME_BACKCHAIN): Remove.
14136         (FRAME_CR_SAVE): Likewise.
14137         (FRAME_LR_SAVE): Likewise.
14138         (FRAME_COMPILER_DW): Likewise.
14139         (FRAME_LINKER_DW): Likewise.
14140         (FRAME_TOC_SAVE): Likewise.
14141         (FRAME_PARM_SAVE): Likewise.
14142         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14143         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14144         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14146         (CHECK_SP): Use symbolic stack frame offsets.
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14148         zone" instead of caller's parameter save area for temp storage.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14150         Likewise.  Also, use symbolic stack frame offsets.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14152         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14153         our own stack frame instead of the caller's.
14154         (__socket): Use symbolic stack frame offsets.
14156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14157             Alan Modra  <amodra@gmail.com>
14159         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14160         Define.
14161         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14162         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14163         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14164         New function.
14165         (elf_machine_fixup_plt): Call it.
14166         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14167         reloc arguments.
14168         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14169         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14170         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14171         r2 before calling target.
14173 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14174             Alan Modra  <amodra@gmail.com>
14176         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14177         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14178         versions of macros to support ELFv2 ABI.
14179         (LOCALENTRY): New macro.
14180         (ENTRY, EALIGN): Use it.
14181         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14182         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14183         fall through into ENTRY entry point.
14184         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14185         Only define if _CALL_ELF != 2.
14187         (elf_machine_matches_host): Verify ABI version matches.
14188         (RTLD_START): Use LOCALENTRY.
14189         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14190         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14191         (PLT_ENTRY_WORDS): New macro.
14192         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14193         (elf_machine_runtime_setup): Support ELFv2 ABI.
14194         (elf_machine_fixup_plt): Likewise.
14195         (elf_machine_plt_conflict): Likewise.
14196         (resolve_ifunc): Likewise.
14197         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14198         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14199         Likewise.
14200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14201         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14203         (makecontext): Support ELFv2 ABI.
14204         * elf/elf.h (EF_PPC64_ABI): Define.
14206 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14208         * sysdeps/powerpc/powerpc64/sysdep.h
14209         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14210         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14211         (ENTRY) [ASSEMBLER]: ... but instead here ...
14212         (EALIGN) [ASSEMBLER]: ... and here.
14213         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14214         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14215         (ENTRY_2) [!ASSEMBLER]: Use it.
14216         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14217         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14218         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14219         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14220         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14222         Use PPC64_LOAD_FUNCPTR.
14224         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14226 2013-12-04  Alan Modra  <amodra@gmail.com>
14228         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14229         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14230         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14231         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14234         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14235         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14236         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14237         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14238         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14240 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14243         (__makecontext): Fix incorrect CFI when backtracing out of
14244         context created via makecontext.
14245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14246         (__setcontext): Fix incorrect CFI during switch to new context.
14247         (__novec_setcontext): Likewise.
14249 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14251         [BZ #4772]
14252         * time/strptime_l.c (__strptime_internal): Allow modifiers
14253         in strptime.
14254         * time/tst-strptime.c (day_tests): Add testcase.
14256 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14258         * scripts/bench.pl: Skip over blank lines.
14260 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14262         [BZ #926]
14263         * manual/time.texi (Calendar Time): Clarify what timezone functions
14264         use.
14266 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14270 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14272         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14273         implementation.
14274         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14275         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14276         * debug/memset_chk.c (__memset_chk): Likewise.
14277         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14278         * debug/strncpy_chk.c: Likewise.
14280 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14282         [BZ #15268]
14283         [BZ #15425]
14284         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14285         (__ieee754_exp): For possibly underflowing results, check size of
14286         result and force underflow exception if required.
14287         * math/auto-libm-test-in: Add more tests of exp.
14288         * math/auto-libm-test-out: Regenerated.
14289         * sysdeps/i386/fpu/libm-test-ulps: Update.
14290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292         [BZ #16283]
14293         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14294         * math/w_exp2f.c (__exp2f): Likewise.
14295         * math/w_exp2l.c (__exp2l): Likewise.
14296         * math/auto-libm-test-in: Do not allow missing errno on exp2
14297         underflow.
14298         * math/auto-libm-test-out: Regenerated.
14300 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14302         [BZ #16274]
14303         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14304         handle filename validation.
14305         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14306         (do_open): Delete.
14308 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14310         [BZ #6786]
14311         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14312         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14313         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14314         <float.h>.
14315         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14316         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14317         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14319         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14320         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14321         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14322         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14323         Add more erfc tests.
14324         * math/auto-libm-test-out: Regenerated.
14325         * sysdeps/i386/fpu/libm-test-ulps: Update.
14326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14328         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14329         exp2, expm1, j0 and j1.
14330         * math/auto-libm-test-out: Regenerated.
14331         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14332         (erfc_test_data): Likewise.
14333         (exp_test_data): Likewise.
14334         (exp_tonearest_test_data): Likewise.
14335         (exp_towardzero_test_data): Likewise.
14336         (exp_downward_test_data): Likewise.
14337         (exp_upward_test_data): Likewise.
14338         (exp10_test_data): Likewise.
14339         (exp2_test_data): Likewise.
14340         (expm1_test_data): Likewise.
14341         (j0_test_data): Likewise.
14342         (j1_test_data): Likewise.
14343         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14344         (input_flag_type): Add flag_xfail_rounding.
14345         (input_flags): Add xfail-rounding.
14346         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14347         (output_for_one_input_case): Handle flag_xfail_rounding.
14348         * sysdeps/i386/fpu/libm-test-ulps: Update.
14349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14351 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14353         [BZ #16289]
14354         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14355         division by 0.
14357 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14359         [BZ #16195]
14360         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14361         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14362         (STAP_PROBE0): New macro.
14363         (STAP_PROBE1): Likewise.
14364         (STAP_PROBE2): Likewise.
14365         (STAP_PROBE3): Likewise.
14366         (STAP_PROBE4): Likewise.
14368 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14370         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14372 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14374         * benchtests/Makefile (bench): Add sqrt.
14375         (LDLIBS-bench-sqrt): New.
14376         * benchtests/sqrt-input: New.
14378 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14380         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14381         (GAIH_EAI): Likewise.
14382         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14383         (gaih_inet): Likewise.
14384         (getaddrinfo): Don't use GAIH_EAI.
14386         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14387         (struct gaih): Remove definition.
14389 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14391         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14392         Use HERRNOP directly.
14394 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14400         * math/gen-auto-libm-tests.c (test_functions): Add more
14401         single-argument functions.
14402         (special_fill_pi_2): New function.
14403         (special_fill_minus_pi_2): Likewise.
14404         (special_fill_pi_6): Likewise.
14405         (special_fill_minus_pi_6): Likewise.
14406         (special_fill_pi_3): Likewise.
14407         (special_fill_2pi_3): Likewise.
14408         (special_fill_e): Likewise.
14409         (special_fill_1_e): Likewise.
14410         (special_fill_e_minus_1): Likewise.
14411         (special_real_inputs): Add more special inputs.
14412         (output_for_one_input_case): Do not require ERANGE on underflow to
14413         zero if round-to-nearest result does not underflow to zero, unless
14414         exact results required.
14415         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14416         atan, atanh, cbrt, cos and cosh.
14417         * math/auto-libm-test-out: Regenerated.
14418         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14419         (acos_tonearest_test_data): Likewise.
14420         (acos_towardzero_test_data): Likewise.
14421         (acos_downward_test_data): Likewise.
14422         (acos_upward_test_data): Likewise.
14423         (acosh_test_data): Likewise.
14424         (asin_test_data): Likewise.
14425         (asin_tonearest_test_data): Likewise.
14426         (asin_towardzero_test_data): Likewise.
14427         (asin_upward_test_data): Likewise.
14428         (asinh_test_data): Likewise.
14429         (atan_test_data): Likewise.
14430         (atanh_test_data): Likewise.
14431         (cbrt_test_data): Likewise.
14432         (cos_test_data): Likewise.
14433         (cos_tonearest_test_data): Likewise.
14434         (cos_towardzero_test_data): Likewise.
14435         (cos_downward_test_data): Likewise.
14436         (cos_upward_test_data): Likewise.
14437         (cosh_test_data): Likewise.
14438         (cosh_tonearest_test_data): Likewise.
14439         (cosh_towardzero_test_data): Likewise.
14440         (cosh_downward_test_data): Likewise.
14441         (cosh_upward_test_data): Likewise.
14442         * sysdeps/i386/fpu/libm-test-ulps: Update.
14443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14445 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #6787]
14448         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14449         * math/w_exp10f.c (__exp10f): Likewise.
14450         * math/w_exp10l.c (__exp10l): Likewise.
14451         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14452         errno settings in existing tests.
14454         [BZ #14032]
14455         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14456         precision control set to double precision.
14457         * sysdeps/i386/fpu/w_sqrt.c: New file.
14458         * math/auto-libm-test-in: Add more tests.
14459         * math/auto-libm-test-out: Update.
14461         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14462         (sqrt_test_tonearest): New function.
14463         (sqrt_towardzero_test_data): New variable.
14464         (sqrt_test_towardzero): New function.
14465         (sqrt_downward_test_data): New variable.
14466         (sqrt_test_downward): New function.
14467         (sqrt_upward_test_data): New variable.
14468         (sqrt_test_upward): New function.
14469         (main): Call the new functions.
14471         * math/gen-auto-libm-tests.c: New file.
14472         * math/auto-libm-test-in: Likewise.
14473         * math/auto-libm-test-out: New generated file.
14474         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14475         variables.
14476         (%beautify): Add generated representations of zero.
14477         (top level): Set $auto_input and call parse_auto_input.
14478         (beautify): Remove trailing "f" from hex float constants.
14479         (parse_args): Handle XFAIL_TEST.
14480         (convert_condition): New function.
14481         (or_value): Likewise.
14482         (or_cond_value): Likewise.
14483         (generate_testfile): Handle AUTO_TESTS_* lines.
14484         (parse_auto_input): New function.
14485         * math/libm-test.inc (XFAIL_TEST): New macro.
14486         (ERRNO_UNCHANGED): Update value.
14487         (ERRNO_EDOM): Likewise.
14488         (ERRNO_ERANGE): Likewise.
14489         (IGNORE_RESULT): Likewise.
14490         (TEST_COND_flt_32): New macro.
14491         (TEST_COND_dbl_64): Likewise.
14492         (TEST_COND_ldbl_96_intel): Likewise.
14493         (TEST_COND_ldbl_96_m68k): Likewise.
14494         (TEST_COND_ldbl_128): Likewise.
14495         (TEST_COND_ldbl_128ibm): Likewise.
14496         (TEST_COND_long32): Likewise.
14497         (TEST_COND_long64): Likewise.
14498         (TEST_COND_before_rounding): Likewise.
14499         (TEST_COND_after_rounding): Likewise.
14500         (enable_test): Handle XFAIL_TEST flag.
14501         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14502         with finite results.
14503         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14504         auto-libm-test-out.
14506 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14507             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14509         [BZ #16214]
14510         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14511         __tls_get_addr_internal instead of __tls_get_offset in order to
14512         avoid GOT pointer dependency.  Make rtld export
14513         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14514         __tls_get_addr since we are a __tls_get_offset platform.
14515         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14516         GOT pointer being set up before.
14517         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14519 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14521         * manual/math.texi (Errors in Math Functions): Document accuracy
14522         goals.
14524         [BZ #15004]
14525         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14526         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14527         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14528         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14529         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14530         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14531         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14532         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14533         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14534         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14535         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14536         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14537         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14538         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14539         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14540         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14542         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14543         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14544         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14545         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14546         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14547         Likewise.
14548         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14549         Likewise.
14550         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14551         Likewise.
14552         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14553         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14554         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14555         atomic-feupdateenv and flt-rounds.
14556         * sysdeps/powerpc/nofpu/Versions (libc): Add
14557         __atomic_feholdexcept, __atomic_feclearexcept,
14558         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14560         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14561         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14562         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14563         here.
14564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14565         Update.
14567         * manual/arith.texi (FP Exceptions): Document that exceptions may
14568         not be raised when matherr is used.
14569         (Math Error Reporting): Document overflow in directed rounding
14570         modes.  Document that errno may not be set when finite values are
14571         returned on overflow.  Document intent to set errno on underflow
14572         only for underflow to zero.
14574         [BZ #16271]
14575         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14576         round-to-nearest then adjust result for other rounding modes.
14577         * include/fenv.h (fegetround): Use libm_hidden_proto.
14578         * math/fegetround.c (fegetround): Use libm_hidden_def.
14579         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14580         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14581         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14582         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14583         Likewise.
14584         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14585         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14586         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14587         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14589 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14591         [BZ #16077]
14592         * nss/Versions (libnss_files): Add
14593         _nss_files_gethostbyname3_r.
14594         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14595         New function.
14596         (HOST_DB_LOOKUP): Remove macro.
14597         (_nss_files_gethostbyname_r): Implement function without the
14598         HOST_DB_LOOKUP macro.
14599         (_nss_files_gethostbyname2_r): Likewise.
14601 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14603         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14605 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14607         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14608         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14609         warning.
14611 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14613         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14614         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14615         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14616         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14617         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14618         __fe_nomask_env_priv and attribute_hidden.
14619         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14620         (libc_feupdateenv_test_ppc): Likewise.
14621         (libc_feresetround_ppc): Likewise.
14622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14623         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14624         compat_symbol macro.
14625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14626         (__fe_nomask_env): Likewise.
14627         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14629 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14631         * string/Makefile: Remove ifunc tests.
14632         * string/test-string.h: Define TEST_IFUNC.
14633         * string/test-bcopy-ifunc.c: Remove.
14634         * string/test-bzero-ifunc.c: Likewise.
14635         * string/test-memccpy-ifunc.c: Likewise.
14636         * string/test-memchr-ifunc.c: Likewise.
14637         * string/test-memcmp-ifunc.c: Likewise.
14638         * string/test-memcpy-ifunc.c: Likewise.
14639         * string/test-memmem-ifunc.c: Likewise.
14640         * string/test-memmove-ifunc.c: Likewise.
14641         * string/test-mempcpy-ifunc.c: Likewise.
14642         * string/test-memrchr-ifunc.c: Likewise.
14643         * string/test-memset-ifunc.c: Likewise.
14644         * string/test-rawmemchr-ifunc.c: Likewise.
14645         * string/test-stpcpy-ifunc.c: Likewise.
14646         * string/test-stpncpy-ifunc.c: Likewise.
14647         * string/test-strcasecmp-ifunc.c: Likewise.
14648         * string/test-strcasestr-ifunc.c: Likewise.
14649         * string/test-strcat-ifunc.c: Likewise.
14650         * string/test-strchr-ifunc.c: Likewise.
14651         * string/test-strchrnul-ifunc.c: Likewise.
14652         * string/test-strcmp-ifunc.c: Likewise.
14653         * string/test-strcpy-ifunc.c: Likewise.
14654         * string/test-strcspn-ifunc.c: Likewise.
14655         * string/test-strlen-ifunc.c: Likewise.
14656         * string/test-strncasecmp-ifunc.c: Likewise.
14657         * string/test-strncat-ifunc.c: Likewise.
14658         * string/test-strncmp-ifunc.c: Likewise.
14659         * string/test-strncpy-ifunc.c: Likewise.
14660         * string/test-strnlen-ifunc.c: Likewise.
14661         * string/test-strpbrk-ifunc.c: Likewise.
14662         * string/test-strrchr-ifunc.c: Likewise.
14663         * string/test-strspn-ifunc.c: Likewise.
14664         * string/test-strstr-ifunc.c: Likewise.
14666 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14668         * benchtests/Makefile: Remove ifunc tests.
14669         * benchtests/bench-string.h: Define TEST_IFUNC.
14670         * benchtests/bench-bcopy-ifunc.c: Remove.
14671         * benchtests/bench-bzero-ifunc.c: Likewise.
14672         * benchtests/bench-memccpy-ifunc.c: Likewise.
14673         * benchtests/bench-memchr-ifunc.c: Likewise.
14674         * benchtests/bench-memcmp-ifunc.c: Likewise.
14675         * benchtests/bench-memcpy-ifunc.c: Likewise.
14676         * benchtests/bench-memmem-ifunc.c: Likewise.
14677         * benchtests/bench-memmove-ifunc.c: Likewise.
14678         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14679         * benchtests/bench-memrchr-ifunc.c: Likewise.
14680         * benchtests/bench-memset-ifunc.c: Likewise.
14681         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14682         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14683         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14684         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14685         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14686         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14687         * benchtests/bench-strcat-ifunc.c: Likewise.
14688         * benchtests/bench-strchr-ifunc.c: Likewise.
14689         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14690         * benchtests/bench-strcmp-ifunc.c: Likewise.
14691         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14692         * benchtests/bench-strcpy-ifunc.c: Likewise.
14693         * benchtests/bench-strcspn-ifunc.c: Likewise.
14694         * benchtests/bench-strlen-ifunc.c: Likewise.
14695         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14696         * benchtests/bench-strncat-ifunc.c: Likewise.
14697         * benchtests/bench-strncmp-ifunc.c: Likewise.
14698         * benchtests/bench-strncpy-ifunc.c: Likewise.
14699         * benchtests/bench-strnlen-ifunc.c: Likewise.
14700         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14701         * benchtests/bench-strrchr-ifunc.c: Likewise.
14702         * benchtests/bench-strsep-ifunc.c: Likewise.
14703         * benchtests/bench-strspn-ifunc.c: Likewise.
14704         * benchtests/bench-strstr-ifunc.c: Likewise.
14706 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14708         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14710 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14712         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14713         * rt/aio.h: Likewise.
14714         * sysdeps/gnu/bits/utmp.h: Likewise.
14715         * sysdeps/gnu/bits/utmpx.h: Likewise.
14716         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14717         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14718         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14719         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14720         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14721         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14722         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14723         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14724         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14725         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14726         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14727         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14728         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14730         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14731         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14732         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14733         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14734         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14735         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14736         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14737         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14738         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14739         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14740         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14742         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14743         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14744         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14745         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14746         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14747         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14748         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14749         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14750         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14751         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14752         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14753         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14754         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14755         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14756         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14757         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14759 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14761         [BZ #16245]
14762         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14763         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14765 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14767         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14768         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14769         Likewise.
14771 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14773         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14774         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14775         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14776         (__fesetround): Remove define.
14777         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14778         rounding and exceptions handling.
14779         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14780         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14781         (__fe_nomask_env): Likewise.
14782         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14783         __fegetround instead of fegetround.
14784         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14785         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14787 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14789         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14790         it's there.
14792         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14794 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14796         [BZ #11157]
14797         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14798         (encrypt_r): Likewise.
14799         * malloc/obstack.h (obstack_free): Likewise.
14800         * posix/unistd.h (encrypt): Likewise.
14802 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14804         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14805         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14806         DL_CALL_DT_FINI() that call the functions directly.
14807         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14808         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14809         * elf/dl-fini.c: Likewise.
14811 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14813         * malloc/hooks.c (memalign_check): Add alignment rounding.
14814         * malloc/malloc.c (_mid_memalign): New function.
14815         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14816         Implement by calling _mid_memalign.
14817         * manual/probes.texi (Memory Allocation Probes): Remove
14818         memory_valloc_retry and memory_pvalloc_retry.
14820 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14822         * locale/programs/locarchive.c (open_archive): Add const
14823         qualifier to ARCHIVEFNAME and copy default fname to
14824         DEFAULT_FNAME.
14826         [BZ #15601]
14827         * libio/tst-widetext.input: Rename Oriya to Odia.
14828         * locale/iso-639.def: Likewise.
14830         * manual/probes.texi (Mathematical Function Probes): Add
14831         documentation for sin, cos, asin and acos probes.
14832         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14833         (__sin32): Add slowasin probe.
14834         (__cos32): Add slowacos probe.
14835         (__mpsin): Add slowsin probe.
14836         (__mpcos): Add slowcos probe.
14838 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14840         [BZ #15483]
14841         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14842         thread-local __sim_exceptions_thread and global
14843         __sim_exceptions_global.
14844         (__sim_disabled_exceptions): Change to thread-local
14845         __sim_disabled_exceptions_thread and global
14846         __sim_disabled_exceptions_global.
14847         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14848         and global __sim_round_mode_global.
14849         (__simulate_exceptions): Use thread-local floating-point state and
14850         set global state from it as needed.
14851         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14852         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14853         __sim_round_mode_thread.
14854         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14855         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14856         and global __sim_exceptions_global.
14857         (__sim_disabled_exceptions): Change to thread-local
14858         __sim_disabled_exceptions_thread and global
14859         __sim_disabled_exceptions_global.
14860         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14861         and global __sim_round_mode_global.
14862         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14863         (SIM_SET_GLOBAL): Likewise.
14864         * sysdeps/powerpc/soft-fp/sfp-machine.h
14865         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14866         __sim_round_mode_thread.
14867         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14868         __sim_disabled_exceptions_thread.
14869         (__sim_exceptions): Change to __sim_exceptions_thread.
14870         (__sim_disabled_exceptions): Change to
14871         __sim_disabled_exceptions_thread.
14872         (__sim_round_mode): Change to __sim_round_mode_thread.
14873         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14874         thread-local floating-point state and set global state from it as
14875         needed.
14876         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14877         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14878         (__sim_disabled_exceptions): Remove extern declaration.
14879         (feenableexcept): Use thread-local floating-point state and set
14880         global state from it as needed.
14881         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14882         extern declaration.
14883         (__sim_disabled_exceptions): Likewise.
14884         (__sim_round_mode): Likewise.
14885         (__fegetenv): Use thread-local floating-point state.
14886         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14887         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14888         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14889         floating-point state and set global state from it as needed.
14890         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14891         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14892         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14893         Likewise.
14894         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14895         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14896         Likewise.
14897         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14898         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14899         Use __sim_round_mode_thread.
14900         * math/test-fenv-tls.c: New file.
14901         * math/Makefile (tests): Add test-fenv-tls.
14902         ($(objpfx)test-fenv-tls): Depend on
14903         $(common-objpfx)nptl/libpthread.so.
14905 2013-11-19  Andreas Schwab  <schwab@suse.de>
14907         * locale/programs/locale.c (show_info): Decode wordarray elements.
14908         * locale/categories.def (LC_MONETARY): Add element for
14909         _NL_MONETARY_CRNCYSTR.
14910         * locale/C-monetary.c (conversion_rate): New variable.
14911         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14912         element.
14914 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14916         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14917         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14919 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14921         * elf/Makefile (tst-auxv): New test.
14922         * elf/tst-auxv.c: New
14923         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14925 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14927         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14928         (hidden_proto): Caller changed.
14929         (hidden_tls_proto): New macro.
14930         (libc_hidden_tls_proto): Likewise.
14931         (rtld_hidden_tls_proto): Likewise.
14932         (libm_hidden_tls_proto): Likewise.
14933         (libresolv_hidden_tls_proto): Likewise.
14934         (librt_hidden_tls_proto): Likewise.
14935         (libdl_hidden_tls_proto): Likewise.
14936         (libnss_files_hidden_tls_proto): Likewise.
14937         (libnsl_hidden_tls_proto): Likewise.
14938         (libnss_nisplus_hidden_tls_proto): Likewise.
14939         (libutil_hidden_tls_proto): Likewise.
14941 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14943         [BZ #10253]
14944         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14945         (decompose_rpath): Defer expansion to fillin_rpath.
14946         (_dl_init_paths): Pass linkmap to fillin_rpath.
14948 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14950         * benchtests/Makefile: Add strsep.
14951         * benchtests/bench-strsep.c: New file: strsep benchtest.
14952         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14954 2013-11-18  Andreas Schwab  <schwab@suse.de>
14956         * locale/programs/locale.c (show_info) [case byte]: Check for
14957         '\377' instead of '\177'.
14958         * locale/C-monetary.c (not_available): Always use "\377".
14959         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14960         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14961         detect unavailable sign_posn locale elements.
14962         * locale/localeconv.c (__localeconv): For grouping and
14963         mon_grouping handle "\177" and "\377" like no grouping.
14964         (INT_ELEM): New macro.  Use it to set all numeric members.
14965         * locale/programs/ld-monetary.c (monetary_read)
14966         <tok_mon_grouping>: Normalize single -1 to the empty string.
14967         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14968         Likewise.
14970 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14972         [BZ #16055]
14973         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14974         when we match (nil).
14975         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14977 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14979         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14980         (NO_TEST_INLINE): Update value.
14981         (ERRNO_UNCHANGED): Likewise.
14982         (ERRNO_EDOM): Likewise.
14983         (ERRNO_ERANGE): Likewise.
14984         (IGNORE_RESULT): Likewise.
14985         (check_float_internal): Check signs of NaN results if
14986         TEST_NAN_SIGN used.
14987         (check_complex): Pass TEST_NAN_SIGN flag through to second
14988         check_float_internal call.
14989         (copysign_test_data): Add tests with quiet NaNs as second
14990         argument.  Use TEST_NAN_SIGN.
14991         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14992         TEST_NAN_SIGN.
14993         (signbit_test_data): Add tests of quiet NaN argument.
14994         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14996         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14997         $ignore_result.
14998         (parse_args): Handle function results specified as IGNORE.
14999         * math/libm-test.inc (IGNORE_RESULT): New macro.
15000         (check_float_internal): Do not check numerical result if flag
15001         IGNORE_RESULT set.
15002         (check_complex): Pass through IGNORE_RESULT to second
15003         check_float_internal call.
15004         (check_int): Do not check numerical result if flag IGNORE_RESULT
15005         set.
15006         (check_long): Likewise.
15007         (check_bool): Likewise.
15008         (check_longlong): Likewise.
15009         (lrint_test_data): Add tests of infinite and NaN arguments.
15010         (lrint_tonearest_test_data): Likewise.
15011         (lrint_towardzero_test_data): Likewise.
15012         (lrint_downward_test_data): Likewise.
15013         (lrint_upward_test_data): Likewise.
15014         (llrint_test_data): Likewise.
15015         (llrint_tonearest_test_data): Likewise.
15016         (llrint_towardzero_test_data): Likewise.
15017         (llrint_downward_test_data): Likewise.
15018         (llrint_upward_test_data): Likewise.
15019         (lround_test_data): Likewise.
15020         (llround_test_data): Likewise.
15022         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15023         (ERRNO_UNCHANGED): Update value.
15024         (ERRNO_EDOM): Likewise.
15025         (ERRNO_ERANGE): Likewise.
15026         (NO_TEST_INLINE_FLOAT): New macro.
15027         (NO_TEST_INLINE_DOUBLE): Likewise.
15028         (enable_test): New function.
15029         (RUN_TEST_f_f): Check enable_test before running test.
15030         (RUN_TEST_2_f): Likewise.
15031         (RUN_TEST_fff_f): Likewise.
15032         (RUN_TEST_c_f): Likewise.
15033         (RUN_TEST_f_f1): Likewise.
15034         (RUN_TEST_fF_f1): Likewise.
15035         (RUN_TEST_fI_f1): Likewise.
15036         (RUN_TEST_ffI_f1): Likewise.
15037         (RUN_TEST_c_c): Likewise.
15038         (RUN_TEST_cc_c): Likewise.
15039         (RUN_TEST_f_i): Likewise.
15040         (RUN_TEST_f_i_tg): Likewise.
15041         (RUN_TEST_ff_i_tg): Likewise.
15042         (RUN_TEST_f_b): Likewise.
15043         (RUN_TEST_f_b_tg): Likewise.
15044         (RUN_TEST_f_l): Likewise.
15045         (RUN_TEST_f_L): Likewise.
15046         (RUN_TEST_fFF_11): Likewise.
15047         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15048         conditionals.
15049         (cosh_test_data): Likewise.
15050         (exp_test_data): Likewise.
15051         (expm1_test_data): Likewise.
15052         (hypot_test_data): Likewise.
15053         (pow_test_data): Likewise.
15054         (sinh_test_data): Likewise.
15055         (tanh_test_data): Likewise.
15056         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15057         flags argument.
15059         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15060         tests with quiet NaN input and output.
15061         (acosh_test_data): Likewise.
15062         (asin_test_data): Likewise.
15063         (asinh_test_data): Likewise.
15064         (atan_test_data): Likewise.
15065         (atanh_test_data): Likewise.
15066         (atan2_test_data): Likewise.
15067         (cbrt_test_data): Likewise.
15068         (cos_test_data): Likewise.
15069         (cosh_test_data): Likewise.
15070         (erf_test_data): Likewise.
15071         (erfc_test_data): Likewise.
15072         (exp_test_data): Likewise.
15073         (exp10_test_data): Likewise.
15074         (exp2_test_data): Likewise.
15075         (expm1_test_data): Likewise.
15076         (hypot_test_data): Likewise.
15077         (j0_test_data): Likewise.
15078         (j1_test_data): Likewise.
15079         (jn_test_data): Likewise.
15080         (lgamma_test_data): Likewise.
15081         (log_test_data): Likewise.
15082         (log10_test_data): Likewise.
15083         (log1p_test_data): Likewise.
15084         (log2_test_data): Likewise.
15085         (pow_test_data): Likewise.
15086         (scalb_test_data): Likewise.
15087         (sin_test_data): Likewise.
15088         (sincos_test_data): Likewise.
15089         (sinh_test_data): Likewise.
15090         (tan_test_data): Likewise.
15091         (tanh_test_data): Likewise.
15092         (tgamma_test_data): Likewise.
15093         (y0_test_data): Likewise.
15094         (y1_test_data): Likewise.
15095         (yn_test_data): Likewise.
15097         [BZ #16167]
15098         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15099         argument being NaN and avoid computations with second argument in
15100         that case.
15101         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15102         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15103         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15105 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15107         * locale/iso-639.def: Add Chitwani Tharu (the).
15109 2013-11-14  Andreas Schwab  <schwab@suse.de>
15111         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15112         word instead of empty string.
15114 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15117         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15119         (__fe_nomask_env): Likewise.
15121 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15123         * benchtests/bench-timing.h: Include time.h.
15125 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15127         [BZ #15997]
15128         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15129         to 3.4.0 for x32.
15130         * sysdeps/unix/sysv/linux/configure: Regenerated.
15132 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15134         [BZ #16151]
15135         * stdlib/strtod_l.c (round_and_return): Do not consider
15136         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15137         exponent one less than half the least subnormal exponent.
15138         * stdlib/test-strtod-round-data: Add more tests.
15139         * stdlib/tst-strtod-round.c (tests): Regenerated.
15141 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15143         [BZ #14143]
15144         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15145         (__fe_mask_env): Likewise.
15146         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15147         libm_hidden_proto and add function prototype.
15148         (__fe_mask_env): Add function prototype.
15149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15150         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15152         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15154         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15156 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15158         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15159         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15161 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15163         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15164         of htab_find_slot().
15166 2013-11-11  David S. Miller  <davem@davemloft.net>
15168         [BZ #16150]
15169         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15170         symbol in the non-vis3 case in static builds.
15171         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15172         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15173         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15174         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15176 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15178         [BZ #387]
15179         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15180         it is empty.
15182 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15184         * benchtests/Makefile: Add bench-strtod.
15185         * benchtests/bench-strtod.c: New file: strtod benchtest
15187 2013-11-11  Andreas Schwab  <schwab@suse.de>
15189         [BZ #16153]
15190         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15191         terminating NUL in key length.
15193 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15195         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15196         Add artificial ODP entry for vDSO symbol for PPC64.
15197         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15198         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15200 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15202         [BZ #15374]
15203         * nss/getent.c (services_keys): Recognize services starting with digit.
15205 2013-11-06  David S. Miller  <davem@davemloft.net>
15207         [BZ #15985]
15208         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15209         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15211 2013-11-06  Will Newton  <will.newton@linaro.org>
15213         * manual/memory.texi (Malloc Examples): Remove register
15214         keyword from examples.
15216 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15218         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15220 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15222         [BZ #6981]
15223         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15224         depending on [__GCC_IEC_559 > 0].
15225         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15226         depending on [__GCC_IEC_559_COMPLEX > 0].
15228 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15230         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15231         to iso-639.def.
15233 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15235         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15237 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15239         [BZ #16112]
15240         * malloc/malloc (malloc_info): Do not handle first bin as
15241         special case.
15243 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15245         * locale/iso-639.def: Add Central Nahuatl (nhn).
15247 2013-11-01  Bruno Haible  <bruno@clisp.org>
15249         [BZ #7003]
15250         * manual/math.texi (BSD Random): Specify range upper bound as
15251         in POSIX.
15253 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15255         * locale/iso-639.def: Add Meadow Mari (mhr).
15257 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15259         [BZ #14752], [BZ #15763]
15260         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15261         Validate name.
15262         * rt/tst_shm.c: Add test for escaping directory.
15264 2013-10-31  Andreas Schwab  <schwab@suse.de>
15266         [BZ #15917]
15267         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15268         followed by 'x' as part of digit sequence.
15269         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15271 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15273         [BZ #16037]
15274         * configure.ac: allow GNU Make 4.0 and greater.
15275         * configure: Regenerated.
15277 2013-10-30  Will Newton  <will.newton@linaro.org>
15279         [BZ #16038]
15280         * malloc/hooks.c (memalign_check): Limit alignment to the
15281         maximum representable power of two.
15282         * malloc/malloc.c (__libc_memalign): Likewise.
15283         * malloc/tst-memalign.c (do_test): Add test for very
15284         large alignment values.
15285         * malloc/tst-posix_memalign.c (do_test): Likewise.
15287 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15289         [BZ #11087]
15290         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15291         (munmap_chunk): Likewise.
15292         (mremap_chunk): Likewise.
15294 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15296         [BZ #15799]
15297         * stdlib/div.c (div): Remove obsolete code.
15298         * stdlib/ldiv.c (ldiv): Likewise.
15299         * stdlib/lldiv.c (lldiv): Likewise.
15301 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15303         [BZ #16071]
15304         * nss/nss_files/files-XXX.c (get_contents_ret): New
15305         enumerator.
15306         (get_contents): New function.
15307         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15309 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15311         * configure.in: Moved to ...
15312         * configure.ac: ... here. Change reference to configure.in
15313         to configure.ac.
15314         * sysdeps/arm/preconfigure.ac: ... here.
15315         configure.in to configure.ac.
15316         * sysdeps/gnu/configure.in: Moved to ...
15317         * sysdeps/gnu/configure.ac: ... here.
15318         * sysdeps/i386/configure.in: Moved to ...
15319         * sysdeps/i386/configure.ac: ... here.
15320         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15321         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15322         * sysdeps/mach/configure.in: Moved to ...
15323         * sysdeps/mach/configure.ac: ... here.
15324         * sysdeps/mach/hurd/configure.in: Moved to ...
15325         * sysdeps/mach/hurd/configure.ac: ... here.
15326         * sysdeps/powerpc/configure.in: Moved to ...
15327         * sysdeps/powerpc/configure.ac: ... here.
15328         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15329         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15330         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15331         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15332         * sysdeps/s390/s390-32/configure.in: Moved to ...
15333         * sysdeps/s390/s390-32/configure.ac: ... here.
15334         * sysdeps/s390/s390-64/configure.in: Moved to ...
15335         * sysdeps/s390/s390-64/configure.ac: ... here.
15336         * sysdeps/sh/configure.in: Moved to ...
15337         * sysdeps/sh/configure.ac: ... here.
15338         * sysdeps/sparc/configure.in: Moved to ...
15339         * sysdeps/sparc/configure.ac: ... here.
15340         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15341         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15342         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15343         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15344         * sysdeps/x86_64/configure.in: Moved to ...
15345         * sysdeps/x86_64/configure.ac: ... here.
15346         * sysdeps/x86_64/preconfigure.in: Moved to ...
15347         * sysdeps/x86_64/preconfigure.ac: ... here.
15348         * aclocal.m4: Change reference to configure.in to configure.ac.
15349         * config.h.in: Likewise.
15350         * manual/install.texi: Likewise.
15351         * manual/maint.texi: Likewise.
15352         * Makefile: Likewise.
15353         * malloc/Makefile: Likewise.
15354         * nscd/Makefile: Likewise.
15355         * Makeconfig: Change reference to configure.in and
15356         preconfigure.in to configure.ac and preconfigure.ac
15357         respectively.
15358         * INSTALL: Regenerated.
15359         * configure: Likewise.
15360         * sysdeps/gnu/configure: Likewise.
15361         * sysdeps/i386/configure: Likewise.
15362         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15363         * sysdeps/mach/configure: Likewise.
15364         * sysdeps/mach/hurd/configure: Likewise.
15365         * sysdeps/powerpc/configure: Likewise.
15366         * sysdeps/powerpc/powerpc32/configure: Likewise.
15367         * sysdeps/powerpc/powerpc64/configure: Likewise.
15368         * sysdeps/s390/s390-32/configure: Likewise.
15369         * sysdeps/s390/s390-64/configure: Likewise.
15370         * sysdeps/sh/configure: Likewise.
15371         * sysdeps/sparc/configure: Likewise.
15372         * sysdeps/unix/sysv/linux/configure: Likewise.
15373         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15374         * sysdeps/x86_64/configure: Likewise.
15375         * sysdeps/x86_64/preconfigure: Likewise.
15377 2013-10-29  Andreas Schwab  <schwab@suse.de>
15379         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15381 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15383         * benchtests/pow-inputs: Add new inputs.
15385         * benchtests/exp-inputs: Add new inputs.
15387         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15388         conditional check for return value.
15389         (__cos32): Likewise.
15391 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15393         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15394         to provide a boost for large inputs with word alignment.
15395         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15396         implementation based on optimized PPC64 strcpy.
15397         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15398         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15399         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15400         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15402 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15404         [BZ #2801]
15405         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15407 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15409         [BZ #14876]
15410         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15411         * time/tst-strptime.c (day_tests): Add testcase.
15413 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15415         [BZ #14029]
15416         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15418 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15420         [BZ #16074]
15421         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15422         MAP_FAILED on error.
15424 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15426         [BZ #16072]
15427         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15428         heap for large requests.
15430 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15432         [BZ #9954]
15433         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15434         result if the result has no associated interface.
15435         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15436         interface for all 127.X.Y.Z addresses.
15438 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15440         * locale/iso-639.def: Add Ligurian (lij)
15442 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15444         [BZ #15825]
15445         * sunrpc/rpc_main.c: Document rpcgen -5.
15447 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15449         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15451 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15453         [BZ #10278]
15454         * posix/glob.c: Match only directories when trailing slash is present.
15455         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15456         (main): Add testcase.
15458 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15460         [BZ #15670]
15461         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15463 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15465         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15466         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15467         AUTH_DES and cindex for FIPS 140-2.
15468         (DES Encryption): Add cindex FIPS 46-3.
15470         * locale/locarchive.h (struct locarhandle): Add fname.
15471         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15472         if an optional argument was specified to --list-archive,
15473         otherwise NULL.
15474         * locale/programs/locarchive.c (show_archive_content): Take new
15475         argument fname and pass it via ah.fname to open_archive.
15476         * locale/programs/localedef.h: Update decl.
15477         (open_archive): If AH->fname is non-null, open that file
15478         rather than the default file name, and don't ignore ENOENT.
15479         (create_archive): Set AH.fname to NULL.
15480         (delete_locales_from_archive): Likewise.
15481         (add_locales_to_archive): Likewise.
15482         * locale/programs/locfile.c (write_all_categories): Likewise.
15484 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15485             Aldy Hernandez  <aldyh@redhat.com>
15487         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15488         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15489         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15490         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15491         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15492         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15493         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15494         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15495         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15496         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15497         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15498         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15499         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15500         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15501         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15502         Likewise.
15503         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15504         Likewise.
15505         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15506         Likewise.
15507         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15508         Likewise.
15509         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15510         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15511         Likewise.
15512         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15513         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15514         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15515         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15516         Likewise.
15517         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15518         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15519         * sysdeps/powerpc/preconfigure: Likewise.
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15521         Likewise.
15522         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15523         Replace contents of file by #include of <fenv_libc.h>.
15524         * sysdeps/powerpc/soft-fp/sfp-machine.h
15525         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15526         and <sys/prctl.h>.
15527         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15528         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15529         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15531         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15532         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15534         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15535         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15536         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15537         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15538         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15540         Allow copysignl PLT reference to be missing.
15542 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15543             Joseph Myers  <joseph@codesourcery.com
15545         [BZ #15948]
15546         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15547         single character.
15548         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15550 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15552         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15553         * elf/tst-tls1.c: Likewise.
15554         * elf/tst-tls10.h: Likewise.
15555         * elf/tst-tls14.c: Likewise.
15556         * elf/tst-tls2.c: Likewise.
15557         * elf/tst-tls3.c: Likewise.
15558         * elf/tst-tls4.c: Likewise.
15559         * elf/tst-tls5.c: Likewise.
15560         * elf/tst-tls6.c: Likewise.
15561         * elf/tst-tls7.c: Likewise.
15562         * elf/tst-tls8.c: Likewise.
15563         * elf/tst-tls9.c: Likewise.
15564         * elf/tst-tlsmod1.c: Likewise.
15565         * elf/tst-tlsmod13.c: Likewise.
15566         * elf/tst-tlsmod13a.c: Likewise.
15567         * elf/tst-tlsmod14a.c: Likewise.
15568         * elf/tst-tlsmod16a.c: Likewise.
15569         * elf/tst-tlsmod16b.c: Likewise.
15570         * elf/tst-tlsmod2.c: Likewise.
15571         * elf/tst-tlsmod3.c: Likewise.
15572         * elf/tst-tlsmod4.c: Likewise.
15573         * elf/tst-tlsmod5.c: Likewise.
15574         * elf/tst-tlsmod6.c: Likewise.
15576 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15578         [BZ #12486]
15579         * malloc/malloc.c: remove checks for statistics.
15581 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15583         [BZ #15277]
15584         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15585         * inet/tst-network.c: Add testcase.
15587 2013-10-17  Andreas Schwab  <schwab@suse.de>
15589         [BZ #15218]
15590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15591         to determine canonical name.
15593 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15595         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15596         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15597         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15598         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15600         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15601         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15602         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15603         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15604         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15605         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15606         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15607         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15608         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15609         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15610         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15612         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15613         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15614         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15615         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15616         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15617         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15618         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15619         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15620         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15621         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15622         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15623         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15624         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15625         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15626         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15627         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15628         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15629         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15630         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15631         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15632         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15633         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15634         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15635         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15636         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15637         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15638         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15639         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15640         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15641         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15642         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15643         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15644         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15645         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15646         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15647         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15648         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15650         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15652         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15654 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15656         [BZ #16041]
15657         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15658         make result into a quiet NaN.
15660 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15662         * soft-fp/adddf3.c: Fix horizontal whitespace.
15663         * soft-fp/addsf3.c: Likewise.
15664         * soft-fp/addtf3.c: Likewise.
15665         * soft-fp/divdf3.c: Likewise.
15666         * soft-fp/divsf3.c: Likewise.
15667         * soft-fp/divtf3.c: Likewise.
15668         * soft-fp/double.h: Likewise.
15669         * soft-fp/eqdf2.c: Likewise.
15670         * soft-fp/eqsf2.c: Likewise.
15671         * soft-fp/eqtf2.c: Likewise.
15672         * soft-fp/extenddftf2.c: Likewise.
15673         * soft-fp/extended.h: Likewise.
15674         * soft-fp/extendsfdf2.c: Likewise.
15675         * soft-fp/extendsftf2.c: Likewise.
15676         * soft-fp/extendxftf2.c: Likewise.
15677         * soft-fp/fixdfdi.c: Likewise.
15678         * soft-fp/fixdfsi.c: Likewise.
15679         * soft-fp/fixdfti.c: Likewise.
15680         * soft-fp/fixsfdi.c: Likewise.
15681         * soft-fp/fixsfsi.c: Likewise.
15682         * soft-fp/fixsfti.c: Likewise.
15683         * soft-fp/fixtfdi.c: Likewise.
15684         * soft-fp/fixtfsi.c: Likewise.
15685         * soft-fp/fixtfti.c: Likewise.
15686         * soft-fp/fixunsdfdi.c: Likewise.
15687         * soft-fp/fixunsdfsi.c: Likewise.
15688         * soft-fp/fixunsdfti.c: Likewise.
15689         * soft-fp/fixunssfdi.c: Likewise.
15690         * soft-fp/fixunssfsi.c: Likewise.
15691         * soft-fp/fixunssfti.c: Likewise.
15692         * soft-fp/fixunstfdi.c: Likewise.
15693         * soft-fp/fixunstfsi.c: Likewise.
15694         * soft-fp/fixunstfti.c: Likewise.
15695         * soft-fp/floatdidf.c: Likewise.
15696         * soft-fp/floatdisf.c: Likewise.
15697         * soft-fp/floatditf.c: Likewise.
15698         * soft-fp/floatsidf.c: Likewise.
15699         * soft-fp/floatsisf.c: Likewise.
15700         * soft-fp/floatsitf.c: Likewise.
15701         * soft-fp/floattidf.c: Likewise.
15702         * soft-fp/floattisf.c: Likewise.
15703         * soft-fp/floattitf.c: Likewise.
15704         * soft-fp/floatundidf.c: Likewise.
15705         * soft-fp/floatundisf.c: Likewise.
15706         * soft-fp/floatunditf.c: Likewise.
15707         * soft-fp/floatunsidf.c: Likewise.
15708         * soft-fp/floatunsisf.c: Likewise.
15709         * soft-fp/floatunsitf.c: Likewise.
15710         * soft-fp/floatuntidf.c: Likewise.
15711         * soft-fp/floatuntisf.c: Likewise.
15712         * soft-fp/floatuntitf.c: Likewise.
15713         * soft-fp/fmadf4.c: Likewise.
15714         * soft-fp/fmasf4.c: Likewise.
15715         * soft-fp/fmatf4.c: Likewise.
15716         * soft-fp/gedf2.c: Likewise.
15717         * soft-fp/gesf2.c: Likewise.
15718         * soft-fp/getf2.c: Likewise.
15719         * soft-fp/ledf2.c: Likewise.
15720         * soft-fp/lesf2.c: Likewise.
15721         * soft-fp/letf2.c: Likewise.
15722         * soft-fp/muldf3.c: Likewise.
15723         * soft-fp/mulsf3.c: Likewise.
15724         * soft-fp/multf3.c: Likewise.
15725         * soft-fp/negdf2.c: Likewise.
15726         * soft-fp/negsf2.c: Likewise.
15727         * soft-fp/negtf2.c: Likewise.
15728         * soft-fp/op-1.h: Likewise.
15729         * soft-fp/op-2.h: Likewise.
15730         * soft-fp/op-4.h: Likewise.
15731         * soft-fp/op-8.h: Likewise.
15732         * soft-fp/op-common.h: Likewise.
15733         * soft-fp/quad.h: Likewise.
15734         * soft-fp/single.h: Likewise.
15735         * soft-fp/soft-fp.h: Likewise.
15736         * soft-fp/sqrtdf2.c: Likewise.
15737         * soft-fp/sqrtsf2.c: Likewise.
15738         * soft-fp/sqrttf2.c: Likewise.
15739         * soft-fp/subdf3.c: Likewise.
15740         * soft-fp/subsf3.c: Likewise.
15741         * soft-fp/subtf3.c: Likewise.
15742         * soft-fp/truncdfsf2.c: Likewise.
15743         * soft-fp/trunctfdf2.c: Likewise.
15744         * soft-fp/trunctfsf2.c: Likewise.
15745         * soft-fp/trunctfxf2.c: Likewise.
15746         * soft-fp/unorddf2.c: Likewise.
15747         * soft-fp/unordsf2.c: Likewise.
15748         * soft-fp/unordtf2.c: Likewise.
15750 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15752         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15753         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15755 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15757         * elf/dl-libc.c: Clear initfini list after freeing.
15759 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15761         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15762         * soft-fp/addsf3.c: Likewise.
15763         * soft-fp/addtf3.c: Likewise.
15764         * soft-fp/divdf3.c: Likewise.
15765         * soft-fp/divsf3.c: Likewise.
15766         * soft-fp/divtf3.c: Likewise.
15767         * soft-fp/double.h: Likewise.
15768         * soft-fp/eqdf2.c: Likewise.
15769         * soft-fp/eqsf2.c: Likewise.
15770         * soft-fp/eqtf2.c: Likewise.
15771         * soft-fp/extenddftf2.c: Likewise.
15772         * soft-fp/extended.h: Likewise.
15773         * soft-fp/extendsfdf2.c: Likewise.
15774         * soft-fp/extendsftf2.c: Likewise.
15775         * soft-fp/extendxftf2.c: Likewise.
15776         * soft-fp/fixdfdi.c: Likewise.
15777         * soft-fp/fixdfsi.c: Likewise.
15778         * soft-fp/fixdfti.c: Likewise.
15779         * soft-fp/fixsfdi.c: Likewise.
15780         * soft-fp/fixsfsi.c: Likewise.
15781         * soft-fp/fixsfti.c: Likewise.
15782         * soft-fp/fixtfdi.c: Likewise.
15783         * soft-fp/fixtfsi.c: Likewise.
15784         * soft-fp/fixtfti.c: Likewise.
15785         * soft-fp/fixunsdfdi.c: Likewise.
15786         * soft-fp/fixunsdfsi.c: Likewise.
15787         * soft-fp/fixunsdfti.c: Likewise.
15788         * soft-fp/fixunssfdi.c: Likewise.
15789         * soft-fp/fixunssfsi.c: Likewise.
15790         * soft-fp/fixunssfti.c: Likewise.
15791         * soft-fp/fixunstfdi.c: Likewise.
15792         * soft-fp/fixunstfsi.c: Likewise.
15793         * soft-fp/fixunstfti.c: Likewise.
15794         * soft-fp/floatdidf.c: Likewise.
15795         * soft-fp/floatdisf.c: Likewise.
15796         * soft-fp/floatditf.c: Likewise.
15797         * soft-fp/floatsidf.c: Likewise.
15798         * soft-fp/floatsisf.c: Likewise.
15799         * soft-fp/floatsitf.c: Likewise.
15800         * soft-fp/floattidf.c: Likewise.
15801         * soft-fp/floattisf.c: Likewise.
15802         * soft-fp/floattitf.c: Likewise.
15803         * soft-fp/floatundidf.c: Likewise.
15804         * soft-fp/floatundisf.c: Likewise.
15805         * soft-fp/floatunsidf.c: Likewise.
15806         * soft-fp/floatunsisf.c: Likewise.
15807         * soft-fp/floatuntidf.c: Likewise.
15808         * soft-fp/floatuntisf.c: Likewise.
15809         * soft-fp/floatuntitf.c: Likewise.
15810         * soft-fp/fmadf4.c: Likewise.
15811         * soft-fp/fmasf4.c: Likewise.
15812         * soft-fp/fmatf4.c: Likewise.
15813         * soft-fp/gedf2.c: Likewise.
15814         * soft-fp/gesf2.c: Likewise.
15815         * soft-fp/getf2.c: Likewise.
15816         * soft-fp/ledf2.c: Likewise.
15817         * soft-fp/lesf2.c: Likewise.
15818         * soft-fp/letf2.c: Likewise.
15819         * soft-fp/muldf3.c: Likewise.
15820         * soft-fp/mulsf3.c: Likewise.
15821         * soft-fp/multf3.c: Likewise.
15822         * soft-fp/negdf2.c: Likewise.
15823         * soft-fp/negsf2.c: Likewise.
15824         * soft-fp/negtf2.c: Likewise.
15825         * soft-fp/op-1.h: Likewise.
15826         * soft-fp/op-2.h: Likewise.
15827         * soft-fp/op-4.h: Likewise.
15828         * soft-fp/op-8.h: Likewise.
15829         * soft-fp/op-common.h: Likewise.
15830         * soft-fp/quad.h: Likewise.
15831         * soft-fp/single.h: Likewise.
15832         * soft-fp/soft-fp.h: Likewise.
15833         * soft-fp/sqrtdf2.c: Likewise.
15834         * soft-fp/sqrtsf2.c: Likewise.
15835         * soft-fp/sqrttf2.c: Likewise.
15836         * soft-fp/subdf3.c: Likewise.
15837         * soft-fp/subsf3.c: Likewise.
15838         * soft-fp/subtf3.c: Likewise.
15839         * soft-fp/truncdfsf2.c: Likewise.
15840         * soft-fp/trunctfdf2.c: Likewise.
15841         * soft-fp/trunctfsf2.c: Likewise.
15842         * soft-fp/trunctfxf2.c: Likewise.
15843         * soft-fp/unorddf2.c: Likewise.
15844         * soft-fp/unordsf2.c: Likewise.
15845         * soft-fp/unordtf2.c: Likewise.
15847 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15849         [BZ #15672]
15850         * misc/error.c (error_tail): Fix possible buffer overflow.
15852 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15854         [BZ #13028]
15855         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15856         address.
15858 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15860         [BZ #832]
15861         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15862         testing pipefail option.
15864 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15866         * soft-fp/double.h: Indent preprocessor directives inside #if.
15867         * soft-fp/extended.h: Likewise.
15868         * soft-fp/op-2.h: Likewise.
15869         * soft-fp/op-4.h: Likewise.
15870         * soft-fp/op-common.h: Likewise.
15871         * soft-fp/quad.h: Likewise.
15872         * soft-fp/single.h: Likewise.
15873         * soft-fp/soft-fp.h: Likewise.
15875 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15877         * iconv/iconv_prog.c: Fix typos.
15878         * stdio-common/psiginfo-data.h: Likewise.
15880 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15882         [BZ #15764]
15883         * locale/setlocale.c: Fix typo.
15885 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15887         [BZ #16036]
15888         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15889         signaling NaN arguments.
15890         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15891         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15893         [BZ #14910]
15894         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15895         unordered operands.
15896         * soft-fp/gesf2.c (__gesf2): Likewise.
15897         * soft-fp/getf2.c (__getf2): Likewise.
15898         * soft-fp/ledf2.c (__ledf2): Likewise.
15899         * soft-fp/lesf2.c (__lesf2): Likewise.
15900         * soft-fp/letf2.c (__letf2): Likewise.
15902         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15903         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15904         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15905         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15906         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15907         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15908         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15909         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15910         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15911         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15912         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15913         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15914         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15915         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15916         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15917         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15918         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15919         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15920         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15921         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15922         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15923         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15924         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15925         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15926         * soft-fp/floattidf.c (__floattidf): Likewise.
15927         * soft-fp/floattisf.c (__floattisf): Likewise.
15928         * soft-fp/floattitf.c (__floattitf): Likewise.
15929         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15930         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15931         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15932         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15933         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15934         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15935         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15936         * soft-fp/gesf2.c (__gesf2): Likewise.
15937         * soft-fp/getf2.c (__getf2): Likewise.
15938         * soft-fp/ledf2.c (__ledf2): Likewise.
15939         * soft-fp/lesf2.c (__lesf2): Likewise.
15940         * soft-fp/letf2.c (__letf2): Likewise.
15942         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15943         Undefine and redefine.
15944         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15945         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15946         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15947         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15948         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15949         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15950         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15951         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15952         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15953         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15954         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15955         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15956         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15957         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15958         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15960         [BZ #16032]
15961         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15962         without decrementing exponent if mantissa >= that for the
15963         denominator, not >.
15964         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15965         denominator, not >.  Decrement exponent in < case instead of
15966         incrementing in >= case.
15967         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15968         without decrementing exponent if mantissa >= that for the
15969         denominator, not >.
15971         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15972         computing saturated result for unsigned overflow.
15974 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15975             Jeff Law  <law@redhat.com>
15977         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15978         (atan2Mp): Add systemtap probe marker.
15979         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15980         (__ieee754_log): Add systemtap probe marker.
15981         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15982         (atanMp): Add systemtap probe marker.
15983         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15984         (tanMp): Add systemtap probe marker.
15985         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15986         (__slowexp): Add systemtap probe marker.
15987         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15988         (__slowpow): Add systemtap probe marker.
15989         * manual/probes.texi: Document probes.
15991 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15993         [BZ #15362]
15994         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15995         written.
15996         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15997         written.
15998         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15999         written to buffer but not flushed.
16000         * libio/iofwrite_u.c:  Likewise.
16001         * libio/iopadn.c:  Return bytes returned even if EOF was
16002         encountered.
16003         * libio/iowpadn.c:  Likewise.
16004         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16005         if _IO_padn does not write the whole buffer.
16006         [!COMPILE_WPRINTF] (PAD): Likewise.
16008 2013-10-10  David S. Miller  <davem@davemloft.net>
16010         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16011         directory block.
16013 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16015         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16016         instead of FSF address.
16017         * soft-fp/fixdfti.c: Likewise.
16018         * soft-fp/fixsfti.c: Likewise.
16019         * soft-fp/fixtfti.c: Likewise.
16020         * soft-fp/fixunsdfti.c: Likewise.
16021         * soft-fp/fixunssfti.c: Likewise.
16022         * soft-fp/fixunstfti.c: Likewise.
16023         * soft-fp/floattidf.c: Likewise.
16024         * soft-fp/floattisf.c: Likewise.
16025         * soft-fp/floattitf.c: Likewise.
16026         * soft-fp/floatuntidf.c: Likewise.
16027         * soft-fp/floatuntisf.c: Likewise.
16028         * soft-fp/floatuntitf.c: Likewise.
16029         * soft-fp/trunctfxf2.c: Likewise.
16031         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16032         * soft-fp/fixdfti.c: Likewise.
16033         * soft-fp/fixsfti.c: Likewise.
16034         * soft-fp/fixtfti.c: Likewise.
16035         * soft-fp/fixunsdfti.c: Likewise.
16036         * soft-fp/fixunssfti.c: Likewise.
16037         * soft-fp/fixunstfti.c: Likewise.
16038         * soft-fp/floattidf.c: Likewise.
16039         * soft-fp/floattisf.c: Likewise.
16040         * soft-fp/floattitf.c: Likewise.
16041         * soft-fp/floatuntidf.c: Likewise.
16042         * soft-fp/floatuntisf.c: Likewise.
16043         * soft-fp/floatuntitf.c: Likewise.
16044         * soft-fp/trunctfxf2.c: Likewise.
16046 2013-10-10  David S. Miller  <davem@davemloft.net>
16048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16050 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16052         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16053         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16054         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16055         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16056         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16057         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16058         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16060         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16061         for NaNs before doing comparisons on argument.
16062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16063         Likewise.
16065 2013-10-10  Will Newton  <will.newton@linaro.org>
16067         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16068         passed to _int_memalign does not overflow.
16070 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16072         * scripts/bench.pl: Add include-sources directive.
16073         * benchtests/README: Update documentation.
16075 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16077         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16078         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16079         instead of FP_INIT_ROUNDMODE.
16080         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16081         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16083         [BZ #16034]
16084         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16085         copy class of input value.
16086         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16087         not handle exceptions.
16088         * soft-fp/negsf2.c (__negsf2): Likewise.
16089         * soft-fp/negtf2.c (__negtf2): Likewise.
16090         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16092 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16094         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16095         semicolon.  From Linux kernel.
16097 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16099         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16101 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16103         [BZ #156]
16104         * manual/socket.texi: Added statement about buffer
16105         for gethostbyname2_r.
16107 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16109         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16110         Use .p2align directive instead, throughout.
16111         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16112         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16113         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16114         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16116         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16117         * sysdeps/x86_64/strchr.S: Likewise.
16118         * sysdeps/x86_64/strrchr.S: Likewise.
16120 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16122         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16124         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16126         * sysdeps/generic/math_private.h (__mpsin1): Remove
16127         declaration.
16128         (__mpcos1): Likewise.
16129         (__mpsin): New argument __range_reduce.
16130         (__mpcos): Likewise.
16131         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16132         (slow): Use __mpsin and __mpcos.
16133         (slow1): Likewise.
16134         (slow2): Likewise.
16135         (sloww): Likewise.
16136         (sloww1): Likewise.
16137         (sloww2): Likewise.
16138         (bsloww): Likewise.
16139         (bsloww1): Likewise.
16140         (bsloww2): Likewise.
16141         (cslow2): Likewise.
16142         (csloww): Likewise.
16143         (csloww1): Likewise.
16144         (csloww2): Likewise.
16145         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16146         range_reduce.  Merge in __mpsin1.
16147         (__mpcos): Likewise.
16148         (__mpsin1): Remove.
16149         (__mpcos1): Likewise.
16151 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16153         * locale/loadlocale.c (_nl_intern_locale_data): Use
16154         LOCFILE_ALIGNED_P.
16155         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16156         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16157         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16158         obstack data is appropriately aligned.
16159         (obstack_int32_grow_fast): Likewise.
16160         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16161         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16162         (add_locale_uint32_array): Likewise.
16164 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16166         * benchtests/Makefile: Remove ARGLIST and RET variables.
16167         ($(objpfx)bench-%.c): Pass only function name to the script.
16168         * benchtests/README: Update documentation.
16169         * benchtests/acos-inputs: Add new directives.
16170         * benchtests/acosh-inputs: Likewise.
16171         * benchtests/asin-inputs: Likewise.
16172         * benchtests/asinh-inputs: Likewise.
16173         * benchtests/atan-inputs: Likewise.
16174         * benchtests/atanh-inputs: Likewise.
16175         * benchtests/cos-inputs: Likewise.
16176         * benchtests/cosh-inputs: Likewise.
16177         * benchtests/exp-inputs: Likewise.
16178         * benchtests/log-inputs: Likewise.
16179         * benchtests/pow-inputs: Likewise.
16180         * benchtests/rint-inputs: Likewise.
16181         * benchtests/sin-inputs: Likewise.
16182         * benchtests/sinh-inputs: Likewise.
16183         * benchtests/tan-inputs: Likewise.
16184         * benchtests/tanh-inputs: Likewise.
16185         * scripts/bench.pl: Add support for new directives.
16187 2013-10-07  Alan Modra  <amodra@gmail.com>
16189         * README: Fix careless merge.
16191 2013-10-05  Alan Modra  <amodra@gmail.com>
16193         * NEWS: Mention powerpc64le support and bugs fixed.
16194         * README: Both big-endian and little-endian powerpc64 supported.
16196 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16198         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16199         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16200         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16201         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16203 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16205         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16206         match prototype.
16208 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16210         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16211         Move -mhard-float appending from
16212         ports/sysdeps/powerpc/powerpc32/Makefile.
16213         [$(with-fp) = yes] (ASFLAGS): Likewise.
16214         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16215         * sysdeps/powerpc/nofpu: Move directory from
16216         ports/sysdeps/powerpc/nofpu.
16217         * sysdeps/powerpc/soft-fp: Move directory from
16218         ports/sysdeps/powerpc/soft-fp.
16219         * sysdeps/powerpc/powerpc32/405: Move directory from
16220         ports/sysdeps/powerpc/powerpc32/405.
16221         * sysdeps/powerpc/powerpc32/440: Move directory from
16222         ports/sysdeps/powerpc/powerpc32/440.
16223         * sysdeps/powerpc/powerpc32/464: Move directory from
16224         ports/sysdeps/powerpc/powerpc32/464.
16225         * sysdeps/powerpc/powerpc32/476: Move directory from
16226         ports/sysdeps/powerpc/powerpc32/476.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16228         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16230         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16232         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16234         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16236         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16237         * README: Update for powerpc-*-linux-gnu software floating point
16238         support in libc.
16240         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16241         case to powerpc/powerpc32*.
16242         * sysdeps/unix/sysv/linux/configure: Regenerated.
16244         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16245         (_FPU_MASK_OM): Define as 0x04.
16246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16248         0x00c10080.
16249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16250         0x0000003c.
16251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16254         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16255         getcontext_e500.
16256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16257         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16258         setcontext_e500.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16260         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16261         and setcontext_e500.
16263 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16265         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16267 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16269         * manual/threads.texi (Default Thread Attributes): Fix typo.
16271 2013-10-04  Will Newton  <will.newton@linaro.org>
16273         * malloc/Makefile: Add tst-memalign.
16274         * malloc/tst-memalign.c: New file.
16276         * malloc/tst-posix_memalign.c: Add comments.
16277         (do_test): Add comments and call free on all potentially
16278         allocated pointers. Add space after cast.
16280         * malloc/tst-pvalloc.c: Add comments.
16281         (do_test): Add comments and call free on all potentially
16282         allocated pointers. Remove duplicate check for NULL pointer.
16283         Add space after cast.
16285         * malloc/tst-valloc.c: Add comments.
16286         (do_test): Add comments and call free on all potentially
16287         allocated pointers. Remove duplicate check for NULL pointer.
16288         Add space after cast.
16290 2013-10-04  Alan Modra  <amodra@gmail.com>
16292         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16293         Use stdint types in rather than __attribute__((mode())).
16294         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16296 2013-10-04  Alan Modra  <amodra@gmail.com>
16298         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16299         Correct handling of unaligned relocs for little-endian.
16300         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16302 2013-10-04  Alan Modra  <amodra@gmail.com>
16304         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16305         * configure: Regenerate.
16306         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16307         * shlib-versions: Likewise.
16309 2013-10-04  Alan Modra  <amodra@gmail.com>
16311         * string/tester.c (test_memrchr): Increment reported test cycle.
16313 2013-10-04  Alan Modra  <amodra@gmail.com>
16315         * string/test-memcpy.c (do_one_test): When reporting errors, print
16316         string address and don't overrun end of string.
16318 2013-10-04  Alan Modra  <amodra@gmail.com>
16320         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16321         insrdi.  Make better use of reg selection to speed exit slightly.
16322         Schedule entry path a little better.  Remove useless "are we done"
16323         checks on entry to main loop.  Handle wrapping around zero address.
16324         Correct main loop count.  Handle single left-over word from main
16325         loop inline rather than by using loop_small.  Remove extra word
16326         case in loop_small caused by wrong loop count.  Add little-endian
16327         support.
16328         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16329         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16330         cache hint.
16331         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16332         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16333         support.  Avoid rlwimi.
16334         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16336 2013-10-04  Alan Modra  <amodra@gmail.com>
16338         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16339         insrdi.  Formatting.
16340         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16341         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16342         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16343         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16344         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16345         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16347 2013-10-04  Alan Modra  <amodra@gmail.com>
16349         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16350         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16351         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16352         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16353         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16354         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16355         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16356         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16357         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16358         use of regs.  Use power7 mtocrf.  Tidy function tails.
16360 2013-10-04  Alan Modra  <amodra@gmail.com>
16362         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16363         Formatting.  Consistently use rXXX register defines or rN defines.
16364         Use early exit labels that avoid restoring unused non-volatile regs.
16365         Make cr field use more consistent with rWORDn compares.  Rename
16366         regs used as shift registers for unaligned loop, using rN defines
16367         for short lifetime/multiple use regs.
16368         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16369         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16370         addi 1,1,64 to pop stack frame.  Simplify return value code.
16371         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16373 2013-10-04  Alan Modra  <amodra@gmail.com>
16375         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16376         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16377         rather than rlwimi.
16378         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16379         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16380         little-endian support.  Correct typos.
16381         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16382         rather than rlwimi.
16383         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16384         in loop and entry code to keep "and." results.
16385         (strchr): Add little-endian support.  Comment.  Move cntlzd
16386         earlier in tail.
16387         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16389 2013-10-04  Alan Modra  <amodra@gmail.com>
16391         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16392         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16393         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16394         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16396 2013-10-04  Alan Modra  <amodra@gmail.com>
16398         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16399         (rTMP): Define as r11.
16400         (strcmp): Add little-endian support.  Optimise tail.
16401         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16402         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16403         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16404         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16405         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16407         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16409 2013-10-04  Alan Modra  <amodra@gmail.com>
16411         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16412         little-endian support.  Remove unnecessary "are we done" tests.
16413         Handle "s" wrapping around zero and extremely large "size".
16414         Correct main loop count.  Handle single left-over word from main
16415         loop inline rather than by using small_loop.  Correct comments.
16416         Delete "zero" tail, use "end_max" instead.
16417         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16419 2013-10-04  Alan Modra  <amodra@gmail.com>
16421         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16422         support.  Don't branch over align.
16423         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16424         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16425         support.  Rearrange tmp reg use to suit.  Comment.
16426         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16428 2013-10-04  Alan Modra  <amodra@gmail.com>
16430         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16432 2013-10-04  Alan Modra  <amodra@gmail.com>
16434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16435         conditional form of branch and link when obtaining pc.
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16438 2013-10-04  Alan Modra  <amodra@gmail.com>
16440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16441         HIWORD/LOWORD.
16442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16445 2013-10-04  Alan Modra  <amodra@gmail.com>
16447         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16448         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16449         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16450         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16451         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16452         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16453         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16454         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16455         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16456         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16458 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16459             Alistair Popple <alistair@ozlabs.au.ibm.com>
16460             Alan Modra <amodra@gmail.com>
16462         [BZ #15723]
16463         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16464         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16465         _dl_hwcap access for little-endian.
16466         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16467         destroy vmx regs when saving unaligned.
16468         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16469         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16470         destroy vmx regs when saving unaligned.
16472 2013-10-04  Alan Modra  <amodra@gmail.com>
16474         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16475         Don't use a union to pack hi/low value.
16477 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16479         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16480         for little-endian.
16481         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16482         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16483         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16484         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16485         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16487 2013-10-04  Alan Modra  <amodra@gmail.com>
16489         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16490         constants to usual value for .cst8 section, and remove redundant
16491         high address load.
16492         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16493         constant for 0x1p52.  Load little-endian words of double from
16494         correct stack offsets.
16496 2013-10-04  Alan Modra  <amodra@gmail.com>
16498         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16499         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16500         words of double from correct stack offsets.
16501         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16502         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16503         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16506         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16507         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16508         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16509         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16510         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16511         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16512         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16513         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16514         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16515         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16516         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16517         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16519 2013-10-04  Alan Modra  <amodra@gmail.com>
16521         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16522         64-bit int/double union.
16523         (_FPU_SETCW): Likewise.
16524         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16525         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16527 2013-10-04  Alan Modra  <amodra@gmail.com>
16529         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16530         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16532 2013-10-04  Alan Modra  <amodra@gmail.com>
16534         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16535         use vector int constants.
16536         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16538 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16540         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16541         array with long long.
16542         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16543         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16544         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16545         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16546         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16547         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16548         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16549         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16550         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16551         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16552         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16553         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16554         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16556 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16558         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16559         (__signbit): Likewise.  Correct for little-endian.
16560         (__signbitl): Call __signbit.
16561         (lrint): Correct for little-endian.
16562         (lrintf): Call lrint.
16564 2013-10-04  Alan Modra  <amodra@gmail.com>
16566         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16567         union 32-bit int array member with 64-bit int array.
16568         (t515, tm256): Double rather than long double.
16569         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16571 2013-10-04  Alan Modra  <amodra@gmail.com>
16573         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16574         Delete.
16575         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16576         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16577         version of math_ldbl.h.
16579 2013-10-04  Alan Modra  <amodra@gmail.com>
16581         [BZ #15734], [BZ #15735]
16582         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16583         all uses of ieee875 long double macros and unions.  Simplify test
16584         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16585         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16586         normalize after ldbl_extract_mantissa, and don't add hidden bit
16587         already handled.  Don't treat low word of ieee854 mantissa like
16588         low word of IBM long double and mask off bit when testing for
16589         zero.
16590         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16591         all uses of ieee875 long double macros and unions.  Simplify tests
16592         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16593         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16594         two1022, instead use their values.  Recognise that tests for large
16595         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16596         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16597         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16598         test for 0.0L and nan.  Correct negation.
16599         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16600         ieee875 long double macros and unions.  Correct output for large
16601         magnitude x.  Correct absolute value calculation.
16602         (__erfcl): Likewise.
16603         * math/libm-test.inc: Add tests for errors discovered in IBM long
16604         double versions of fmodl, remainderl, erfl and erfcl.
16606 2013-10-04  Alan Modra  <amodra@gmail.com>
16608         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16609         all uses of ieee854 long double macros and unions.  Simplify tests
16610         for long doubles that are fully specified by the high double.
16611         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16612         Likewise.
16613         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16614         Remove dead code too.
16615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16616         (__ieee754_ynl): Likewise.
16617         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16618         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16619         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16620         Remove dead code too.
16621         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16624         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16625         Simplify.
16626         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16627         Simplify.
16628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16629         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16630         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16631         Comment on variable precision.
16632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16633         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16634         Likewise.
16635         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16636         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16637         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16638         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16639         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16641 2013-10-04  Alan Modra  <amodra@gmail.com>
16643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16644         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16645         all uses of ieee854 long double macros and unions.
16646         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16648         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16649         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16650         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16652         Likewise.
16653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16654         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16655         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16656         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16657         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16658         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16659         Simplify sign and nan test too.
16660         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16661         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16662         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16663         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16664         Likewise.
16665         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16666         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16667         Likewise.
16668         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16669         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16670         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16672         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16675 2013-10-04  Alan Modra  <amodra@gmail.com>
16677         * stdio-common/printf_size.c (__printf_size): Don't use
16678         union ieee854_long_double in fpnum union.
16679         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16680         signbit macro to retrieve sign from long double.
16681         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16682         retrieve sign from long double.
16683         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16684         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16685         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16686         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16687         * math/test-misc.c (main): Don't use union ieee854_long_double.
16689 2013-10-04  Alan Modra  <amodra@gmail.com>
16691         [BZ #15680]
16692         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16693         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16694         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16695         calculation.  Remove unnecessary test for denormal exponent.
16696         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16697         Correct handling of denormals.  Avoid undefined shift behaviour.
16698         Correct normalisation of low mantissa when low double is denormal.
16699         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16700         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16701         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16702         Correct normalisation of low mantissa.  Test for overflow of high
16703         mantissa and normalise.
16704         (ldbl_nearbyint): Use more readable constant for two52.
16705         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16706         (__mpn_construct_long_double): Fix test for overflow of high
16707         mantissa and correct normalisation.  Avoid undefined shift.
16709 2013-10-04  Alan Modra  <amodra@gmail.com>
16711         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16712         (union ibm_extended_long_double): Define as an array of ieee754_double.
16713         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16714         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16715         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16716         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16718         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16720         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16721         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16722         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16723         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16725 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16727         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16728         page size instead of calling getpagesize.
16730         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16731         (LOCFILE_ALIGN_MASK): Likewise.
16732         (LOCFILE_ALIGN_UP): Likewise.
16733         (LOCFILE_ALIGNED_P): Likewise.
16734         * locale/programs/ld-collate.c (collate_output): Use the new
16735         macros instead of __alignof__ (int32_t).
16736         * locale/weight.h (findidx): Likewise.
16738 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16740         [BZ #431]
16741         * manual/string.texi: Fix strncat and wcsncat.
16743 2013-10-03  Brooks Moses  <bmoses@google.com>
16745         [BZ #15915]
16746         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16747         * Makerules: ...here, and adjust associated comments.
16749 2013-10-02  Will Newton  <will.newton@linaro.org>
16751         * malloc/Makefile: Add tst-pvalloc.
16752         * malloc/tst-pvalloc.c: New file.
16754 2013-10-02  Will Newton  <will.newton@linaro.org>
16756         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16757         improve test coverage.
16759 2013-10-02  Will Newton  <will.newton@linaro.org>
16761         * malloc/Makefile: Add tst-posix_memalign.
16762         * malloc/tst-posix_memalign.c: New file.
16764 2013-10-01  Eric Blake  <eblake@redhat.com>
16766         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16767         Use __THROWNL rather than __THROW on static functions.
16769 2013-09-30  Petr Machata  <pmachata@redhat.com>
16771         * elf/elf.h (R_AARCH64_ABS16): New macro.
16772         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16773         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16774         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16775         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16776         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16777         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16778         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16779         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16780         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16781         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16782         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16783         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16784         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16785         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16786         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16787         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16788         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16789         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16790         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16791         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16792         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16793         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16794         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16795         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16796         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16797         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16798         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16799         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16800         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16801         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16802         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16803         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16804         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16805         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16806         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16807         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16808         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16809         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16810         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16811         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16812         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16813         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16814         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16815         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16816         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16817         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16818         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16819         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16820         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16821         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16822         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16823         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16824         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16825         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16826         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16827         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16828         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16829         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16830         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16831         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16832         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16833         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16834         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16835         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16836         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16837         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16838         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16839         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16840         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16841         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16842         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16843         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16844         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16845         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16846         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16847         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16848         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16849         (R_AARCH64_TLSDESC_LDR): Likewise.
16850         (R_AARCH64_TLSDESC_ADD): Likewise.
16851         (R_AARCH64_TLSDESC_CALL): Likewise.
16853 2013-09-30  Andreas Schwab  <schwab@suse.de>
16855         [BZ #15048]
16856         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16857         the nss database lookup.
16858         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16861 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16863         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16865 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16867         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16868         ${Bash-specific parameter/pattern/string} parameter expansion.
16869         * sysdeps/unix/make-syscalls.sh: Likewise.
16871 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16873         * sysdeps/sh/stackguard-macros.h: New file.
16875 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16879         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16880         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16881         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16882         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16884 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16886         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16887         Fix thread ID register.
16889 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16891         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16892         [POSIX || UNIX98]: Require rather than permitting all symbols from
16893         <time.h>.
16894         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16895         element of struct sched_param.
16896         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16897         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16898         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16899         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16900         constant.
16902 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16904         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16905         argument calculation.
16907 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16909         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16910         Expect macro.
16911         [POSIX] (pthread_attr_t): Do not require type.
16912         [POSIX] (pthread_cond_t): Likewise.
16913         [POSIX] (pthread_condattr_t): Likewise.
16914         [POSIX] (pthread_key_t): Likewise.
16915         [POSIX] (pthread_mutex_t): Likewise.
16916         [POSIX] (pthread_mutexattr_t): Likewise.
16917         [POSIX] (pthread_once_t): Likewise.
16918         [POSIX] (pthread_t): Likewise.
16919         [POSIX-based standards] (pthread_atfork): Expect function.
16921 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16922             Richard Sandiford  <richard@codesourcery.com>
16924         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16925         (swap_endianness_p): New extern variable.
16926         (set_big_endian): New inline function.
16927         (maybe_swap_uint32): Likewise.
16928         (maybe_swap_uint32_array): Likewise.
16929         (maybe_swap_uint32_obstack): Likewise.
16930         * locale/programs/locfile.c: Include <stdbool.h>.
16931         (swap_endianness_p): New variable.
16932         (add_locale_uint32): Call maybe_swap_uint32.
16933         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16934         (write_locale_data): Call maybe_swap_uint32_array.
16935         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16936         maybe_swap_uint32.
16937         (obstack_int32_grow_fast): Likewise.
16938         (output_weightwc): Call maybe_swap_uint32_obstack.
16939         (collate_output): Likewise.
16940         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16941         (OPT_LITTLE_ENDIAN): Likewise.
16942         (options): Add --little-endian and --big-endian options.
16943         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16944         * locale/programs/locarchive.c: Include "locfile.h".
16945         (GET): New macro.
16946         (SET): Likewise.
16947         (INC): Likewise.
16948         (create_archive): Use the new macros to access fields of
16949         structures directly mapped from or written to locale archives.
16950         (oldlocrecentcmp): Likewise.
16951         (enlarge_archive): Likewise.
16952         (insert_name): Likewise.
16953         (add_alias): Likewise.
16954         (add_locale): Likewise.
16955         (delete_locales_from_archive): Likewise.
16956         (show_archive_content): Likewise.
16957         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16958         locale data.
16960 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16962         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16963         http://www.gnu.org/doc/freemanuals.texi.
16964         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16966 2013-09-24  Will Newton  <will.newton@linaro.org>
16968         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16969         macro.
16971 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16973         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16974         unsigned char.
16976 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16978         * manual/threads.texi (POSIX Threads): Fix a typo.
16980 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16982         [BZ #14547]
16983         * string/tst-strcoll-overflow.c: New test case.
16984         * string/Makefile (xtests): Add tst-strcoll-overflow.
16985         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16986         cache if string sizes may cause integer overflow.
16988         [BZ #14547]
16989         * string/strcoll_l.c (coll_seq): New members rule, idx,
16990         save_idx and back_us.
16991         (get_next_seq_nocache): New function.
16992         (do_compare_nocache): New function.
16993         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16994         when malloc fails.
16996 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16998         [BZ #15754]
16999         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17000         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17001         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17003         [BZ #15754]
17004         * elf/Makefile (tests): Add tst-ptrguard1.
17005         (tests-static): Add tst-ptrguard1-static.
17006         (tst-ptrguard1-ARGS): Define.
17007         (tst-ptrguard1-static-ARGS): Define.
17008         * elf/tst-ptrguard1.c: New file.
17009         * elf/tst-ptrguard1-static.c: New file.
17010         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17011         * sysdeps/i386/stackguard-macros.h: Likewise.
17012         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17013         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17014         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17015         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17016         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17017         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17019 2013-09-23  Hector Marco  <hecmargi@upv.es>
17020             Ismael Ripoll  <iripoll@disca.upv.es>
17021             Carlos O'Donell  <carlos@redhat.com>
17023         [BZ #15754]
17024         * sysdeps/generic/stackguard-macros.h: Define
17025         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17026         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17027         Define __pointer_chk_guard_local.
17028         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17029         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17031 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17033         [BZ #15859]
17034         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17036 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17038         * include/string.h (__ffs): Declare as hidden.
17039         * string/ffs.c (__ffs): Define as hidden.
17040         * sysdeps/i386/ffs.c (__ffs): Likewise.
17041         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17042         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17043         * sysdeps/s390/ffs.c (__ffs): Likewise.
17044         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17046 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17048         * NEWS: Mention malloc probes.
17050         * malloc/arena.c (new_heap): New memory_heap_new probe.
17051         (grow_heap): New memory_heap_more probe.
17052         (shrink_heap): New memory_heap_less probe.
17053         (heap_trim): New memory_heap_free probe.
17054         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17055         (systrim): New memory_sbrk_less probe.
17056         * manual/probes.texi: Document them.
17058         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17059         * manual/probes.texi: Document it.
17061         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17062         (__libc_realloc): Add memory_realloc_retry probe.
17063         (__libc_memalign): Add memory_memalign_retry probe.
17064         (__libc_valloc): Add memory_valloc_retry probe.
17065         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17066         (__libc_calloc): Add memory_calloc_retry probe.
17067         * manual/probes.texi: Document them.
17069         * malloc/arena.c (get_free_list): Add probe
17070         memory_arena_reuse_free_list.
17071         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17072         and memory_arena_reuse.
17073         (arena_get2) [!PER_THREAD]: Likewise.
17074         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17075         memory_arena_reuse_realloc.
17076         * manual/probes.texi: Document them.
17078         * malloc/malloc.c (__libc_free): Add
17079         memory_mallopt_free_dyn_thresholds probe.
17080         (__libc_mallopt): Add multiple memory_mallopt probes.
17081         * manual/probes.texi: Document them.
17083         * malloc/malloc.c: Include stap-probe.h.
17084         (__libc_mallopt): Add memory_mallopt probe.
17085         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17086         * manual/probes.texi: New.
17087         * manual/Makefile (chapters): Add probes.
17088         * manual/threads.texi: Set next node.
17090 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17092         [BZ #15963, #13985]
17093         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17094         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17095         Add `Chinese' to `nan' entry name.
17097 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17099         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17100         (POLYNOMIAL): Likewise.
17101         (TAYLOR_SINCOS): Likewise.
17102         (TAYLOR_SLOW): Likewise.
17103         (__sin): Use TAYLOR_SINCOS.
17104         (__cos): Likewise.
17105         (slow): Use TAYLOR_SLOW.
17106         (sloww): Likewise.
17107         (bsloww): Likewise.
17108         (csloww): Likewise.
17110 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17112         * stdlib/strtod_l.c: Fix buffer overrun.
17114 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17116         * benchtests/Makefile (bench): Add sincos.
17117         * benchtests/bench-sincos.c: New file.
17119         * math/libm-test.inc (cos_test_data): New test inputs.
17120         (sin_test_data): Likewise.
17122         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17123         macro.
17124         (__sin): Use it.
17125         (__cos): Likewise.
17126         (slow1): Likewise.
17127         (slow2): Likewise.
17128         (sloww1): Likewise.
17129         (sloww2): Likewise.
17130         (bsloww1): Likewise.
17131         (bsloww2): Likewise.
17132         (cslow2): Likewise.
17133         (csloww1): Likewise.
17134         (csloww2): Likewise.
17136         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17137         function.
17138         (__sin): Use it.
17139         (__cos): Likewise.
17141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17142         gotos.
17143         (__cos): Likewise.
17145 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17147         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17148         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17149         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17150         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17151         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17152         * elf/cache.c (print_entry): Handle the new cache flags.
17154 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17155             Aldy Hernandez  <aldyh@redhat.com>
17157         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17158         Change condition to [_SOFT_FLOAT].
17159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17171         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17174         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17175         declaration.
17177 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17179         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17180         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17181         (__longjmp): Use LOAD_GP to load saved GPRs.
17182         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17183         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17184         (__sigsetjmp): Use SAVE_GP to save GPRs.
17186         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17187         Do not append -msoft-float.
17188         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17190 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17192         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17194 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17196         [BZ #15966]
17197         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17198         (_FPU_GETCW): Use initial "__" on variable and field names but not
17199         on macro parameter name.
17200         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17201         parentheses around reference to macro parameter.
17203 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17205         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17206         prototype.
17207         (ctype_startup): Use uint32_t in cast and sizeof for
17208         ctype->charnames.
17210 2013-09-11  Jia Liu  <proljc@gmail.com>
17212         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17213         __daddr_t_defined.
17214         [__FreeBSD__]: Likewise.
17216 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17219         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17220         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17221         (strchr): Remove __strchr_sse42 ifunc selection.
17222         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17223         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17225 2013-09-11  Will Newton  <will.newton@linaro.org>
17227         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17228         parameter to RES. Remove hardcoded 1000 value.
17229         * benchtests/bench-skeleton.c (main): Pass RES parameter
17230         to TIMING_INIT and multiply result by 1000.
17232 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17236 2013-09-11  Andreas Schwab  <schwab@suse.de>
17238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17239         if not defined.
17240         (O_TMPFILE) [__USE_GNU]: Define.
17241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17242         Define.
17244 2013-09-11  Will Newton  <will.newton@linaro.org>
17246         [BZ #15857]
17247         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17248         does not overflow.
17250 2013-09-11  Will Newton  <will.newton@linaro.org>
17252         [BZ #15856]
17253         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17254         does not overflow.
17256 2013-09-11  Will Newton  <will.newton@linaro.org>
17258         [BZ #15855]
17259         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17260         does not overflow.
17262 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17264         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17265         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17266         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17267         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17268         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17270 2013-09-10  Allan McRae  <allan@archlinux.org>
17272         [BZ #15748]
17273         * manual/arith.texi (Parsing of Floats): Clarify
17274         cross-reference.
17276         [BZ #15849]
17277         * manual/install.texi (Running make install): Mention
17278         --enable-pt-chown.
17279         * INSTALL: Regenerated.
17281 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17283         * csu/init-first.c (_init): Remove the !SHARED condition around
17284         FPU control word initialization.
17285         * elf/dl-support.c (_dl_fpu_control): New variable.
17286         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17287         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17288         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17289         * math/test-fpucw-static.c: New file.
17290         * math/test-fpucw-ieee.c: New file.
17291         * math/test-fpucw-ieee-static.c: New file.
17292         * math/Makefile (tests): Add `test-fpucw-ieee' and
17293         `$(tests-static)'.
17294         (tests-static): New variable.
17295         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17296         dependency to...
17297         [($(build-shared),yes)]
17298         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17299         ... this.
17300         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17301         New dependency.
17303 2013-09-09  Allan McRae  <allan@archlinux.org>
17305         [BZ #15939]
17306         * manual/string.texi (Collation Functions): Fix typo in
17307         strcoll example.
17308         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17310         [BZ #15893]
17311         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17313         [BZ #15892]
17314         * libio/memstream.c (open_memstream): Fix memory leak.
17315         * libio/wmemstream.c (open_wmemstream): Likewise.
17317         [BZ #15895]
17318         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17320 2013-09-09  Will Newton  <will.newton@linaro.org>
17322         * malloc/Makefile: Add tst-realloc to tests.
17323         * malloc/tst-realloc.c: New file.
17325 2013-09-09  Allan McRae  <allan@archlinux.org>
17327         [BZ #15844]
17328         * COPYING: Update from GNU website to fix FSF address.
17329         * COPYING.LIB: Likewise.
17331 2013-09-06  David S. Miller  <davem@davemloft.net>
17333         * po/zh_TW.po: Update Chinese (traditional) translation from
17334         translation project.
17336 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17337             Joseph Myers  <joseph@codesourcery.com>
17339         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17340         "localeinfo.h".
17341         (obstack_chunk_alloc): New macro.
17342         (obstack_chunk_free): Likewise.
17343         (record_offset): New function.
17344         (init_locale_data): Likewise.
17345         (align_locale_data): Likewise.
17346         (add_locale_empty): Likewise.
17347         (add_locale_raw_data): Likewise.
17348         (add_locale_raw_obstack): Likewise.
17349         (add_locale_string): Likewise.
17350         (add_locale_wstring): Likewise.
17351         (add_locale_uint32): Likewise.
17352         (add_locale_uint32_array): Likewise.
17353         (add_locale_char): Likewise.
17354         (start_locale_structure): Likewise.
17355         (end_locale_structure): Likewise.
17356         (start_locale_prelude): Likewise.
17357         (end_locale_prelude): Likewise.
17358         (write_locale_data): Take locale_file structure rather than an
17359         iovec.
17360         * locale/programs/locfile.h: Include "obstack.h".
17361         (struct locale_file): Change to store locale file contents instead
17362         of header.
17363         (init_locale_data): New prototype.
17364         (align_locale_data): Likewise.
17365         (add_locale_empty): Likewise.
17366         (add_locale_raw_data): Likewise.
17367         (add_locale_raw_obstack): Likewise.
17368         (add_locale_string): Likewise.
17369         (add_locale_wstring): Likewise.
17370         (add_locale_uint32): Likewise.
17371         (add_locale_uint32_array): Likewise.
17372         (add_locale_char): Likewise.
17373         (start_locale_structure): Likewise.
17374         (end_locale_structure): Likewise.
17375         (start_locale_prelude): Likewise.
17376         (end_locale_prelude): Likewise.
17377         (write_locale_data): Update prototype.
17378         * locale/programs/3level.h (struct TABLE): Remove result field.
17379         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17380         Use new locale_file interface.
17381         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17382         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17383         * locale/programs/ld-address.c (address_output): Use new
17384         locale_file interface.
17385         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17386         NO_ADD_LOCALE.
17387         (collate_finish): Don't call collseq_table_finalize.
17388         (collate_output): Use new locale_file interface.
17389         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17390         in file.
17391         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17392         (TABLE): Move defines earlier in file.
17393         (ELEMENT): Likewise.
17394         (DEFAULT): Likewise.
17395         (wctrans_table_add): Move macro and inline function earlier in
17396         file.
17397         (struct wctype_table): Move type earlier in file.
17398         (add_locale_wctype_table): New static prototype.
17399         (struct locale_ctype_t): Use logical types instead of struct iovec
17400         pointers for members.
17401         (ctype_output): Use new locale_file interface.
17402         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17403         new locale_file interface.
17404         (allocate_arrays): Update for use of new locale_file interface.
17405         * locale/programs/ld-identification.c (identification_output): Use
17406         new locale_file interface.
17407         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17408         * locale/programs/ld-messages.c (messages_output): Likewise.
17409         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17410         * locale/programs/ld-name.c (name_output): Likewise.
17411         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17412         * locale/programs/ld-paper.c (paper_output): Likewise.
17413         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17414         * locale/programs/ld-time.c (time_output): Likewise.
17416 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17418         * benchtests/Makefile: Add memrchr benchmark.
17419         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17420         benchmark as memrchr.
17421         * benchtests/bench-memrchr-ifunc.c: New file.
17422         * benchtests/bench-memrchr.c: New file.
17424 2013-09-06   Will Newton  <will.newton@linaro.org>
17426         * benchtests/Makefile (string-bench): Add memcpy.
17428 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17429             Cong Wang  <amwang@redhat.com>
17431         [BZ #15850]
17432         * sysdeps/unix/sysv/linux/bits/in.h
17433         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17434         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17435         before __USE_KERNEL_IPV6_DEFS uses.
17436         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17437         IPPROTO_BEETPH.
17438         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17439         sockaddr_in6, or ipv6_mreq.
17441 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17443         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17444         memory access for final bytes in some large inputs.
17445         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17447 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17449         * string/test-memrchr.c: New file.
17450         * string/test-memrchr-ifunc.c: New file.
17451         * string/Makefile: Add new memrchr testcase.
17453 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17455         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17456         fanotify_init returns EPERM.
17458 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17460         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17461         errors.
17462         (top level): Treat second token from macro or constant entries for
17463         allowed headers as allowed.
17464         * include/complex.h: Condition internal declarations on
17465         [!_ISOMAC].
17466         * include/fenv.h: Condition include of <stdbool.h> and internal
17467         declarations on [!_ISOMAC].
17469 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17471         [BZ #15923]
17472         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17474 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17476         * configure.in (--enable-versioning): Remove configure option.
17477         (libc_cv_asm_symver_directive): Remove configure test.
17478         (libc_cv_ld_version_script_option): Likewise.
17479         (VERSIONING): Remove variable and AC_SUBST.
17480         (DO_VERSIONING): Remove AC_DEFINE.
17481         * configure: Regenerated.
17482         * config.h.in (DO_VERSIONING): Remove macro.
17483         * Makerules [$(versioning) = yes]: Change conditionals to
17484         [$(build-shared) = yes].
17485         * config.make.in (versioning): Remove variable.
17486         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17487         [$(build-shared) = yes].
17488         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17489         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17490         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17491         [$(build-shared) = yes].
17492         * extra-lib.mk [$(versioning) = yes]: Likewise.
17493         * hurd/Makefile [$(versioning) = yes]: Likewise.
17494         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17495         [SHARED].
17496         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17497         [SHARED].
17498         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17499         [SHARED && !NO_HIDDEN].
17500         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17501         [SHARED].
17502         [SHARED && DO_VERSIONING]: Likewise..
17503         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17504         [$(build-shared) = yes].
17505         * manual/install.texi (--disable-versioning): Remove
17506         documentation.
17507         * INSTALL: Regenerated.
17508         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17509         to [SHARED].
17510         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17511         [$(build-shared) = yes].
17512         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17513         * sysdeps/i386/i686/multiarch/strstr-c.c
17514         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17515         [SHARED && !NO_HIDDEN].
17516         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17517         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17518         * sysdeps/powerpc/powerpc32/dl-machine.c
17519         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17520         * sysdeps/powerpc/powerpc32/sysdep.h
17521         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17522         to [SHARED && PIC && !NO_HIDDEN].
17523         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17524         conditional to [SHARED].
17526 2013-09-04   Will Newton  <will.newton@linaro.org>
17528         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17529         * benchtests/bench-string.h: Include bench-timing.h instead
17530         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17531         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17532         call to HP_TIMING_DIFF_INIT.
17533         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17534         instead of hp-timing.h macros.
17535         * benchtests/bench-memchr.c: Likewise.
17536         * benchtests/bench-memcmp.c: Likewise.
17537         * benchtests/bench-memcpy.c: Likewise.
17538         * benchtests/bench-memmem.c: Likewise.
17539         * benchtests/bench-memmove.c: Likewise.
17540         * benchtests/bench-memset.c: Likewise.
17541         * benchtests/bench-rawmemchr.c: Likewise.
17542         * benchtests/bench-strcasecmp.c: Likewise.
17543         * benchtests/bench-strcasestr.c: Likewise.
17544         * benchtests/bench-strcat.c: Likewise.
17545         * benchtests/bench-strchr.c: Likewise.
17546         * benchtests/bench-strcmp.c: Likewise.
17547         * benchtests/bench-strcpy.c: Likewise.
17548         * benchtests/bench-strcpy_chk.c: Likewise.
17549         * benchtests/bench-strlen.c: Likewise.
17550         * benchtests/bench-strncasecmp.c: Likewise.
17551         * benchtests/bench-strncat.c: Likewise.
17552         * benchtests/bench-strncmp.c: Likewise.
17553         * benchtests/bench-strncpy.c: Likewise.
17554         * benchtests/bench-strnlen.c: Likewise.
17555         * benchtests/bench-strpbrk.c: Likewise.
17556         * benchtests/bench-strrchr.c: Likewise.
17557         * benchtests/bench-strspn.c: Likewise.
17558         * benchtests/bench-strstr.c: Likewise.
17560 2013-09-04  Will Newton  <will.newton@linaro.org>
17562         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17564 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17566         [BZ #15427]
17567         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17568         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17569         * math/libm-test.inc (lgamma_test_data): Add more tests.
17570         * sysdeps/i386/fpu/libm-test-ulps: Update.
17571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17573 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17575         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17577         Add ifunc.
17578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17579         Add strcmp-sse2-unaligned
17580         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17582 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17584         * Versions.def (libc): Add GLIBC_2.19.
17586 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17588         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17589         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17591 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17593         [BZ #14155]
17594         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17595         intermediate calculations in recurrence.
17596         (__ieee754_ynf): Likewise.
17597         * math/libm-test.inc (jn_test_data): Do not allow spurious
17598         underflow exception.  Add more tests.
17599         (yn_test_data): Add more tests.
17600         * sysdeps/i386/fpu/libm-test-ulps: Update.
17601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17603 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17605         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17607 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17609         * csu/init-first.c: Fix then/than typos.
17610         * locale/programs/ld-collate.c: Likewise.
17611         * locale/programs/linereader.h: Likewise.
17612         * manual/charset.texi: Likewise.
17613         * manual/filesys.texi: Likewise.
17614         * manual/stdio.texi: Likewise.
17615         * manual/string.texi: Likewise.
17616         * stdlib/fmtmsg.c: Likewise.
17617         * sysdeps/i386/stpncpy.S: Likewise.
17618         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17619         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17620         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17621         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17623 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17625         * elf/dl-open.c: Fix typos.
17626         * iconvdata/gbbig5.c: Likewise.
17627         * iconvdata/iso-2022-jp.c: Likewise.
17628         * iconv/gconv_int.h: Likewise.
17629         * iconv/loop.c: Likewise.
17630         * nis/rpcsvc/nis.h: Likewise.
17631         * resolv/ns_name.c: Likewise.
17632         * stdio-common/vfscanf.c: Likewise.
17633         * streams/stropts.h: Likewise.
17634         * sunrpc/rpc_thread.c: Likewise.
17635         * sysdeps/i386/strpbrk.S: Likewise.
17636         * sysdeps/ieee754/k_standard.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17639         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17640         * sysdeps/mach/hurd/profil.c: Likewise.
17641         * sysdeps/s390/dl-procinfo.h: Likewise.
17642         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17643         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17644         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17645         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17646         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17648 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17650         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17651         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17653 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17655         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17656         aix specific files.
17657         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17658         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17659         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17660         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17661         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17662         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17663         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17664         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17666 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17667             Roland McGrath  <roland@hack.frob.com>
17669         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17670         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17672 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17674         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17675         __executable_start symbol instead of _start.
17677 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17679         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17680         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17681         Move macros to...
17682         * sysdeps/gnu/ldsodefs.h: ... this new file.
17684         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17685         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17686         instead of ELFOSABI_LINUX.
17688         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17689         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17690         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17691         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17692         Likewise.
17693         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17694         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17695         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17696         Likewise.
17697         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17698         (ibm_extended_long_double): Add ieee_nan member.
17699         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17700         (do_test): New function.
17702         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17703         TEST_TRUNC.
17704         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17705         functions, renamed from truncdfsf_test, trunctfsf_test,
17706         trunctfdf_test.
17707         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17708         functions.
17709         (do_test): Run all these.
17711 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17713         * argp/argp-help.c: Fix typos.
17714         * argp/argp-parse.c: Likewise.
17715         * debug/backtracesyms.c: Likewise.
17716         * elf/elf.h: Likewise.
17717         * malloc/malloc.c: Likewise.
17718         * nis/nis_print.c: Likewise.
17719         * resolv/res_comp.c: Likewise.
17720         * stdlib/stdlib.h: Likewise.
17721         * sunrpc/clnt_tcp.c: Likewise.
17722         * sunrpc/clnt_udp.c: Likewise.
17723         * sunrpc/clnt_unix.c: Likewise.
17724         * sysdeps/unix/bsd/ptsname.c: Likewise.
17725         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17726         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17728         Likewise.
17729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17730         Likewise.
17731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17732         Likewise.
17733         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17735 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17737         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17740 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17742         [BZ #15897]
17743         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17744         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17745         ($(objpfx)bug-dl-leaf): New rule.
17746         ($(objpfx)bug-dl-leaf.so): Likewise.
17747         ($(objpfx)bug-dl-leaf.out): Likewise.
17748         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17749         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17750         * dlfcn/bug-dl-leaf.c: New test.
17751         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17752         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17753         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17754         (dlclose): Likewise.
17755         (dlmopen): Likewise.
17757 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17759         * include/netdb.h [!_ISOMAC]:
17760         Don't include <tls.h>.
17761         (h_errno, __libc_h_errno): Move declaration and macros out of
17762         [_LIBC_REENTRANT].
17764         * include/resolv.h [_RESOLV_H_]:
17765         Don't include <tls.h>.
17766         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17767         * resolv/res_libc.c: Don't include <tls.h>.
17768         (_res): Use __attribute__ ((nocommon)) in place of
17769         __attribute__ ((section (".bss"))).
17771         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17772         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17774         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17776         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17777         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17779         * resolv/res_mkquery.c: Include <sys/time.h>.
17781         * inet/ifreq.c: Moved to ...
17782         * sysdeps/unix/ifreq.c: ... here.
17783         * inet/ifreq.c: New file, true stub version.
17785         * socket/sa_len.c: New file.
17786         * socket/Makefile (aux): Add it.
17787         * sysdeps/unix/sysv/linux/Makefile
17788         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17789         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17790         and #include <socket/sa_len.c>.
17791         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17792         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17794         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17795         * bits/socket.h: ... here.
17797         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17798         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17799         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17801 2013-08-27  Andreas Schwab  <schwab@suse.de>
17803         [BZ #15736]
17804         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17805         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17806         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17807         * string/test-strcasecmp.c (test_main): Run tests in several
17808         locales.
17809         * string/test-strncasecmp.c (test_main): Likewise.
17811         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17812         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17813         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17815         (__strncasecmp_ssse3) [PIC]: Likewise.
17817 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17819         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17821         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17822         instead of explicitly declaring xdecrypt.
17823         * nis/nss_nis/nis-publickey.c: Likewise.
17825 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17827         [BZ #15890]
17828         * nscd/aicache.c: Include res_hconf.h.
17829         (addhstaiX): Initialize res_hconf.
17831 2013-08-26  Andreas Schwab  <schwab@suse.de>
17833         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17834         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17836 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17838         * nscd/aicache.c (addhstaiX): Fix indentation.
17840 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17842         * configure.ac: Quote $build_pt_chown test.
17843         * configure: Regenerated.
17845 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17847         [BZ #15532]
17848         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17849         * math/s_cexpf.c (__cexpf): Likewise.
17850         * math/s_cexpl.c (__cexpl): Likewise.
17851         * math/libm-test.inc (cexp_test_data): Correct expected return
17852         value for NaN + i0.  Add another test.
17854 2013-08-22  David S. Miller  <davem@davemloft.net>
17856         * po/ca.po: Update Catalan translation from translation project.
17857         * po/uk.po: Add Ukrainian translations from translation project.
17859 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17861         [BZ #15797]
17862         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17863         is infinite, not alongside NaN test.
17864         * math/s_fdimf.c (__fdimf): Likewise.
17865         * math/s_fdiml.c (__fdiml): Likewise.
17866         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17867         errno is unchanged.
17869 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17871         * argp/argp-help.c: Fix typos.
17872         * crypt/speeds.c: Likewise.
17873         * csu/check_fds.c: Likewise.
17874         * elf/dl-load.c: Likewise.
17875         * elf/dl-open.c: Likewise.
17876         * elf/reldep3.c: Likewise.
17877         * elf/reldep.c: Likewise.
17878         * elf/sprof.c: Likewise.
17879         * iconv/iconv_charmap.c: Likewise.
17880         * iconv/skeleton.c: Likewise.
17881         * iconv/strtab.c: Likewise.
17882         * io/lockf64.c: Likewise.
17883         * libio/libioP.h: Likewise.
17884         * resolv/gai_notify.c: Likewise.
17885         * resolv/ns_name.c: Likewise.
17886         * resolv/ns_samedomain.c: Likewise.
17887         * resolv/res_send.c: Likewise.
17888         * stdlib/random.c: Likewise.
17889         * sunrpc/rpc/xdr.h: Likewise.
17890         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17891         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17892         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17893         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17894         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17895         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17896         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17897         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17898         * sysdeps/mach/hurd/check_fds.c: Likewise.
17899         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17900         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17901         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17902         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17903         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17904         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17905         * sysdeps/pthread/aio_notify.c: Likewise.
17906         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17907         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17908         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17909         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17910         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17912 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17914         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17915         version if bit_Slow_SSE4_2 is set.
17916         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17917         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17919 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17921         [BZ #15867]
17922         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17923         trampoline stack frame information.
17924         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17925         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17926         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17927         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17928         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17929         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17930         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17931         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17932         sa_flags value.
17933         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17934         interrupting a syscall and set with option SA_SIGINFO.
17936 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17938         [BZ #15531]
17939         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17940         argument is infinite.
17941         * math/s_cprojf.c (__cprojf): Likewise.
17942         * math/s_cprojl.c (__cprojl): Likewise.
17943         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17944         * math/libm-test.inc (cproj_test_data): Add more tests.
17946         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17948         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17949         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17950         size.  Use __ffs to determine corresponding shift.
17952 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17953             Roland McGrath  <roland@hack.frob.com>
17955         * Makefile (INSTALL): Remove trailing blank lines from output of
17956         makeinfo.
17958 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17960         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17961         Align 32 bit compat elf_greg to 8 bytes.
17963 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17965         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17967 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17969         * string/strcoll_l.c (coll_seq): New structure.
17970         (get_next_seq_cached): New function.
17971         (get_next_seq): New function.
17972         (do_compare): New function.
17973         (STRCOLL): Use GNU style definition.  Simplify implementation
17974         by using get_next_seq, get_next_seq_cached and do_compare.
17976 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17978         [BZ #14699]
17979         CVE-2013-4237
17980         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17981         member.
17982         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17983         member.
17984         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17985         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17986         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17987         conditional.
17988         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17989         GETDENTS_64BIT_ALIGNED.
17990         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17991         * manual/filesys.texi (Reading/Closing Directory): Document
17992         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17993         strongly.
17994         * manual/conf.texi (Limits for Files): Add portability note to
17995         NAME_MAX, PATH_MAX.
17996         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17998 2013-08-13  Andreas Schwab  <schwab@suse.de>
18000         [BZ #15749]
18001         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18002         of fabs.
18003         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18004         LDBL_MAX_EXP >= 16384]: Add tests for it.
18006 2013-08-12  David S. Miller  <davem@davemloft.net>
18008         * version.h (RELEASE): Set to "development".
18009         (VERSION): Set to "2.18.90".
18010         * NEWS: Add 2.19 section.
18012 2013-08-03  David S. Miller  <davem@davemloft.net>
18014         * po/ko.po: Update Korean translation from translation project.
18016 2013-08-01  David S. Miller  <davem@davemloft.net>
18018         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18019         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18020         Bilka.
18022 2013-07-30  David S. Miller  <davem@davemloft.net>
18024         * po/fr.po: Update French translation from translation project.
18026 2013-07-28  David S. Miller  <davem@davemloft.net>
18028         * po/cs.po: Update Czech translation from translation project.
18030         * po/sv.po: Update Swedish translation from translation project.
18032 2013-07-27  David S. Miller  <davem@davemloft.net>
18034         * po/eo.po: Update Esperanto translation from translation project.
18036         * po/vi.po: Update Vietnamese translation from translation project.
18038         * po/de.po: Update German translation from translation project.
18040 2013-07-26  David S. Miller  <davem@davemloft.net>
18042         * po/bg.po: Update Bulgarian translation from translation project.
18044         * po/nl.po: Update Dutch translation from translation project.
18045         * po/pl.po: Update Polish translation from translation project.
18046         * po/ru.po: Update Russian translation from translation project.
18048 2013-07-24  David S. Miller  <davem@davemloft.net>
18050         * po/libc.pot: Update.
18052 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18054         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18055         variable page size.
18056         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18057         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18058         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18060 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18062         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18064 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18065             Andreas Schwab  <schwab@suse.de>
18066             Roland McGrath  <roland@hack.frob.com>
18067             Joseph Myers  <joseph@codesourcery.com>
18068             Carlos O'Donell  <carlos@redhat.com>
18070         [BZ #15755]
18071         * config.h.in: Define HAVE_PT_CHOWN.
18072         * config.make.in (build-pt-chown): New variable.
18073         * configure.in (--enable-pt_chown): New configure option.
18074         * configure: Regenerate.
18075         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18076         build-pt-chown is enabled.
18077         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18078         pt_chown to fix pty ownership.
18079         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18080         CLOSE_ALL_FDS.
18081         * manual/install.texi (Configuring and compiling): Mention
18082         --enable-pt_chown. Add @findex for grantpt.
18083         * INSTALL: Regenerate.
18085 2013-07-20  David S. Miller  <davem@davemloft.net>
18087         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18088         difference between 32-bit and 64-bit.
18090 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18092         [BZ #15711]
18093         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18094         Avoid system header dependency with -ffreestanding.
18095         ($(objpfx)bits/syscall%d): Likewise.
18097 2013-07-13  David S. Miller  <davem@davemloft.net>
18099         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18100         underflows from atanl/atan2l due to bug 15319.
18101         (casinh_test_data): Likewise.
18103 2013-07-07  David S. Miller  <davem@davemloft.net>
18105         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18107 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18109         * sysdeps/i386/fpu/libm-test-ulps: Update.
18110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18112 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18114         * configure.in (--enable-lock-elision): Fix message text.
18115         * INSTALL: Regenerate.
18116         * configure: Regenerate.
18118 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18122 2013-07-03  Andreas Jaeger  <aj@suse.de>
18124         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18125         define.
18126         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18127         (ptrace_peeksiginfo_args): Add.
18128         (__ptrace_peeksiginfo_flags): Add.
18129         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18131         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18133 2013-07-03  Allan McRae  <allan@archlinux.org>
18135         * sysdeps/i386/fpu/libm-test-ulps: Update.
18137 2013-07-02  David S. Miller  <davem@davemloft.net>
18139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18141 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18145 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18147         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18150 2013-07-02  Andi Kleen <ak@linux.intel.com>
18152         * config.h.in (ENABLE_LOCK_ELISION): Add.
18153         * configure.in (--enable-lock-elision): Add option.
18154         * manual/install.texi: Document --enable lock elision.
18155         * configure: Regenerate
18156         * INSTALL: Regenerate.
18158 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18160         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18161         SSE4.2 strcasecmp for libc.a.
18162         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18164 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18166         [BZ #13304]
18167         * soft-fp/op-common.h (_FP_FMA): New macro.
18168         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18169         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18170         (_FP_MUL_MEAT_1_imm): ... here.
18171         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18172         (_FP_MUL_MEAT_1_wide): ... here.
18173         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18174         (_FP_MUL_MEAT_1_hard): ... here.
18175         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18176         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18177         (_FP_MUL_MEAT_2_wide): ... here.
18178         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18179         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18180         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18181         (_FP_MUL_MEAT_2_gmp): ... here.
18182         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18183         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18184         (_FP_MUL_MEAT_4_wide): ... here.
18185         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18186         (_FP_MUL_MEAT_4_gmp): ... here.
18187         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18188         (_FP_WFRACBITS_DW_S): Likewise.
18189         (_FP_WFRACXBITS_DW_S): Likewise.
18190         (_FP_HIGHBIT_DW_S): Likewise.
18191         (FP_FMA_S): Likewise.
18192         (_FP_FRAC_HIGH_DW_S): Likewise.
18193         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18194         (_FP_WFRACBITS_DW_D): Likewise.
18195         (_FP_WFRACXBITS_DW_D): Likewise.
18196         (_FP_HIGHBIT_DW_D): Likewise.
18197         (FP_FMA_D): Likewise.
18198         (_FP_FRAC_HIGH_DW_D): Likewise.
18199         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18200         (_FP_WFRACBITS_DW_E): Likewise.
18201         (_FP_WFRACXBITS_DW_E): Likewise.
18202         (_FP_HIGHBIT_DW_E): Likewise.
18203         (FP_FMA_E): Likewise.
18204         (_FP_FRAC_HIGH_DW_E): Likewise.
18205         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18206         (_FP_WFRACBITS_DW_Q): Likewise.
18207         (_FP_WFRACXBITS_DW_Q): Likewise.
18208         (_FP_HIGHBIT_DW_Q): Likewise.
18209         (FP_FMA_Q): Likewise.
18210         (_FP_FRAC_HIGH_DW_Q): Likewise.
18211         * soft-fp/fmasf4.c: New file.
18212         * soft-fp/fmadf4.c: Likewise.
18213         * soft-fp/fmatf4.c: Likewise.
18215 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18218         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18219         Silvermont.
18220         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18221         macro.
18222         (index_Slow_SSE4_2): Likewise.
18223         (index_Prefer_PMINUB_for_stringop): Likewise.
18224         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18225         bit_Slow_SSE4_2 is set.
18226         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18227         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18229 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18231         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18232         rtld_global._dl_hwcap2.
18233         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18234         POWER8.
18235         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18236         POWER8 feature descriptions defined in _dl_hwcap2.
18237         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18238         string handling for POWER8 feature bits.
18239         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18240         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18241         _dl_powerpc_cap_flags.
18242         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18243         * sysdeps/powerpc/rtld-global-offsets.sym
18244         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18245         _dl_hwcap2 in the rtld_global_ro structure.
18247 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18249         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18250         hardware capabilities in support of AT_HWCAP2.
18251         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18252         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18253         GLRO(dl_hwcap2).
18254         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18255         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18256         explicitly the unknown a_type display mechanism is used.
18257         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18258         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18259         struct member.
18260         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18261         to macro prototype for AT_HWCAP2 support.
18262         * sysdeps/i386/dl-procinfo.h: Likewise.
18263         * sysdeps/s390/dl-procinfo.h: Likewise.
18264         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18265         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18266         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18267         return -1 for unknown a_type display fallback.
18268         * sysdeps/sparc/dl-procinfo.h: Likewise.
18269         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18270         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18272 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18274         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18275         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18277 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18279         [BZ #12492]
18280         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18281         mprotect making __stack_prot writable.
18283 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18284             Joseph Myers  <joseph@codesourcery.com>
18286         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18287         as being properly aligned.
18289 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18291         * dlfcn/modstatic5.c: New file.
18292         * dlfcn/tststatic5.c: New file.
18293         * dlfcn/Makefile (tests): Add tststatic5.
18294         (tests-static): Likewise.
18295         (modules-names): Add modstatic5.
18296         (tststatic5-ENV): New variable.
18297         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18299         [BZ #15022]
18300         * elf/dl-support.c (_dl_main_map): New variable.
18301         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18302         (_dl_nns, _dl_load_adds): Set to 1.
18303         (_dl_initial_searchlist): Refer to _dl_main_map.
18304         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18305         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18306         call to _dl_get_origin.
18307         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18308         around call_map.
18309         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18310         * dlfcn/modstatic3.c: New file.
18311         * dlfcn/tststatic3.c: New file.
18312         * dlfcn/tststatic4.c: New file.
18313         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18314         (tests-static): Likewise.
18315         (modules-names): Add modstatic3.
18316         (tststatic3-ENV, tststatic4-ENV): New variables.
18317         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18318         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18320 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18322         * configure.in (CC): Require GCC version 4.4 or later.
18323         * configure: Regenerated.
18324         * manual/install.texi (Tools for Compilation): Update GCC version
18325         requirement.
18326         * INSTALL: Regenerated.
18328 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18330         [BZ #15674]
18331         * string/test-memcmp.c (check2): New.
18332         (main): Call check2.
18334         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18336 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18338         [BZ #15022]
18339         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18340         over to...
18341         (dl_open_worker) [!SHARED]: ... here.
18343 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18345         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18347 2013-06-25  Richard Henderson  <rth@redhat.com>
18349         * locale/programs/locarchive.c: Include <libc-internal.h>
18351 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18353         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18354         trailing whitespace removed.
18356 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18358         [BZ #10283]
18359         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18360         * locale/programs/locarchive.c: Include libc-mmap.h.
18361         (prepare_address_space): Take two new outputs (the mmap base and len).
18362         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18363         values.
18364         (create_archive): Declare new mmap base and len values for
18365         prepare_address_space, and store the result in ah.
18366         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18367         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18368         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18369         Declare new mmap base and len values for
18370         prepare_address_space, and store the result in new_ah.
18371         (open_archive): Declare new mmap base and len values for
18372         prepare_address_space, and store the result in ah.
18373         (close_archive): If ah->mmap_base is not NULL, use that and
18374         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18375         * sysdeps/generic/libc-mmap.h: New file.
18377 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18379         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18380         (ALIGN_UP): Likewise.
18381         (PTR_ALIGN_DOWN): Likewise.
18382         (PTR_ALIGN_UP): Likewise.
18384 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18386         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18387         entry mapped to PPC_PLATFORM_POWER8.
18388         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18389         POWER8.
18390         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18391         (_dl_string_platform): Add case for exporting platform position for
18392         POWER8.
18393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18394         search path to sysdeps/powerpc/powerpc32/power8 directory.
18395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18396         search path to sysdeps/powerpc/powerpc64/power8 directory.
18397         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18398         power7 directories.
18399         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18400         power7 directories.
18402 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18404         * INSTALL: Regenerate.
18406         * nscd/connections.c (nscd_init): Fix comment.
18408 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18410         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18412         [BZ #15667]
18413         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18414         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18416 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18418         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18419         DL_DST_REQ_STATIC.
18420         (DL_DST_REQ_STATIC): Remove macro.
18422 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18424         [BZ #7006]
18425         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18426         with a shift of 0 bits.
18428 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18430         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18431         $(tststatic-ENV).
18433 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18435         [BZ #15655]
18436         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18438 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18440         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18441         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18442         accepts -fno-tree-loop-distribute-patterns.
18443         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18444         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18445         recursive call.
18446         * string/memset.c (memset): Likewise.
18447         * string/test-memmove.c (simple_memmove): Disable loop transformation
18448         to library calls.
18449         * string/test-memset.c (simple_memset): Likewise.
18450         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18451         * benchtests/bench-memset.c (simple_memset): Likewise.
18452         * configure: Regenerated.
18454 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18456         * math/test-misc.c (main): Ignore fesetround failure when failures
18457         of subsequent rounding tests would be ignored.
18459         [BZ #15654]
18460         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18461         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18462         * math/fegetenv.c (__fegetenv): Return 0.
18463         * math/fegetexcept.c (fegetexcept): Return 0.
18464         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18465         FE_TONEAREST.
18466         * math/feholdexcpt.c (feholdexcept): Return 0.
18467         * math/fesetenv.c (__fesetenv): Return 0.
18468         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18469         argument FE_TONEAREST.
18470         * math/feupdateenv.c (__feupdateenv): Return 0.
18471         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18473 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18475         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18476         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18477         ($(objpfx)rtld-%.os rules): Use them.
18479 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18481         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18482         fields.
18484 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18486         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18487         length of target pattern, then descending length of dependency pattern.
18488         * configure.in (AWK): Require gawk 3.1.2 or newer.
18489         * manual/install.texi (Tools for Compilation): Say that we do.
18490         * configure: Regenerated.
18492         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18493         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18494         * scripts/sysd-rules.awk: ... this new script.
18495         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18496         than a glob-style pattern.
18498 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18500         * math/test-misc.c (main): Do not treat incorrectly rounded
18501         conversions as failure unless ROUNDING_TESTS passes.
18503 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18505         [BZ #15631]
18506         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18507         restore exception state around main square root computation, then
18508         check for inexactness explicitly.
18510         * math/libm-test.inc (fma_test_data): Add another test.
18512 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18514         * manual/threads.texi (Non-POSIX Extensions): New document
18515         node.  Document pthread_getattr_default_np and
18516         pthread_setattr_default_np.
18518         * Versions.def (libpthread): Add GLIBC_2.18.
18519         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18521         Likewise.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18523         Likewise.
18524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18525         Likewise.
18526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18527         Likewise.
18528         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18529         Likewise.
18530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18531         Likewise.
18532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18533         Likewise.
18534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18535         Likewise.
18536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18537         Likewise.
18539 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18542         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18544 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18545             H.J. Lu  <hjl.tools@gmail.com>
18547         [BZ #15627]
18548         * sysdeps/x86_64/rtld-memset.c: Remove file.
18549         * sysdeps/x86_64/rtld-memset.S: New file.
18551 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18553         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18554         (test_in_one_mode): Take arguments for whether the rounding mode
18555         is supported for each floating-point type.
18556         (do_test): Pass new arguments to test_in_one_mode using
18557         ROUNDING_TESTS.
18559 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18561         * posix/tst-waitid.c (do_test): Distinguish different instances of
18562         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18563         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18564         before entering the kernel for waitpid.
18566 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18568         * NEWS: Fix note on clock function precision.  Text by Roland
18569         McGrath.
18571 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18573         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18574         it into place only when and if the sanity check passes.
18576 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18578         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18579         output for whether conversion result is exact.  Take argument
18580         indicating whether type is IBM long double.
18581         (round_for_all): Change need_exact field to ibm_ld.
18582         * stdlib/tst-strtod-round.c (struct exactness): New type.
18583         (struct test): Change bool ld_ok field to struct exactness exact.
18584         (TEST): Update all definitions for change to field.
18585         (tests): Regenerate array contents.
18586         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18587         field value.  Check for IBM long double here.
18588         (do_test): Update calls to test_in_one_mode.
18590 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18592         [BZ #12515]
18593         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18594         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18596 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18598         [BZ #15605]
18599         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18600         generated by the compiler on loop optimizations.
18601         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18602         general definitions.
18604 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18606         * math/bug-nextafter.c: Include <math-tests.h>.
18607         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18608         the relevant type.
18609         * math/bug-nexttoward.c: Include <math-tests.h>.
18610         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18611         the relevant type.
18612         * math/test-misc.c: Include <math-tests.h>.
18613         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18614         the relevant type.
18616 2013-06-12  Andreas Jaeger  <aj@suse.de>
18618         * po/ia.po: Update Interlingua translation from translation
18619         project.
18621 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18623         * include/fenv.h: Include stdbool.h.
18624         (struct rm_ctx): New structure.
18625         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18626         Define macro.
18627         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18628         (SET_RESTORE_ROUNDF): Likewise.
18629         (SET_RESTORE_ROUNDL): Likewise.
18630         (SET_RESTORE_ROUND_NOEX): Likewise.
18631         (SET_RESTORE_ROUND_NOEXF): Likewise.
18632         (SET_RESTORE_ROUND_NOEXL): Likewise.
18633         (SET_RESTORE_ROUND_53BIT): Likewise.
18634         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18635         (libc_feresetround_noexf_ctx): Likewise.
18636         (libc_feresetround_noexl_ctx): Likewise.
18637         (libc_feholdsetround_53bit_ctx): Likewise.
18638         (libc_feresetround_53bit_ctx): Likewise.
18639         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18640         (libc_feholdexcept_setround_sse_ctx): New function.
18641         (libc_fesetenv_sse_ctx): Likewise.
18642         (libc_feupdateenv_sse_ctx): Likewise.
18643         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18644         (libc_feholdexcept_setround_387_ctx): Likewise.
18645         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18646         (libc_feholdsetround_387_prec_ctx): Likewise.
18647         (libc_feholdsetround_387_ctx): Likewise.
18648         (libc_feholdsetround_387_53bit_ctx): Likewise.
18649         (libc_feholdsetround_sse_ctx): Likewise.
18650         (libc_feresetround_sse_ctx): Likewise.
18651         (libc_feresetround_387_ctx): Likewise.
18652         (libc_feupdateenv_387_ctx): Likewise.
18653         (libc_feholdexcept_setroundf_ctx): Define macro.
18654         (libc_fesetenvf_ctx): Likewise.
18655         (libc_feupdateenvf_ctx): Likewise.
18656         (libc_feholdsetroundf_ctx): Likewise.
18657         (libc_feresetroundf_ctx): Likewise.
18658         (libc_feholdexcept_setround_ctx): Likewise.
18659         (libc_fesetenv_ctx): Likewise.
18660         (libc_feupdateenv_ctx): Likewise.
18661         (libc_feholdsetround_ctx): Likewise.
18662         (libc_feresetround_ctx): Likewise.
18663         (libc_feholdexcept_setroundl_ctx): Likewise.
18664         (libc_feupdateenvl_ctx): Likewise.
18665         (libc_feholdsetroundl_ctx): Likewise.
18666         (libc_feresetroundl_ctx): Likewise.
18667         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18668         (libc_feresetround_53bit_ctx): Likewise.
18670 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18672         * locale/iso-639.def: Convert to UTF-8.
18674 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18676         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18677         (EXCEPTION_TESTS_double): Likewise.
18678         (EXCEPTION_TESTS_long_double): Likewise.
18679         (EXCEPTION_TESTS): Likewise.
18680         * math/libm-test.inc (test_exceptions): Only test exceptions if
18681         EXCEPTION_TESTS (FLOAT).
18683 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18685         * benchtests/Makefile (string-bench): Add strcpy_chk and
18686         stpcpy_chk.
18687         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18688         * benchtests/bench-stpcpy_chk.c: New file.
18689         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18690         * benchtests/bench-strcpy_chk.c: New file.
18691         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18692         code.
18693         (do_test): Likewise.
18695 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18697         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18698         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18699         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18700         with tabs where appropriate.
18701         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18702         dl-procinfo.h.
18703         [PPC_PLATFORM_PPC440]: Likewise.
18704         [PPC_PLATFORM_PPC464]: Likewise.
18705         [PPC_PLATFORM_PPC476]: Likewise.
18706         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18707         ppc464, and ppc476 platform strings merging from ports/
18708         dl-procinfo.h.
18710 2013-06-11  Andreas Schwab  <schwab@suse.de>
18712         [BZ #14991]
18713         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18714         (from_ucs4_idx): Regenerate.
18715         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18716         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18717         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18718         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18719         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18720         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18721         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18722         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18723         from FROM_LOOP and TO_LOOP specific macros.
18724         (BODY): Handle combining characters.
18725         * iconvdata/BIG5HKSCS.irreversible: Update.
18726         * iconvdata/BIG5HKSCS.precomposed: New file.
18727         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18728         characters.
18729         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18731 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18733         * include/sys/time.h: Fix indentation and add copyright header.
18735         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18736         (do_test): Likewise.
18737         * string/test-memchr.c (do_one_test): Likewise.
18738         (do_test): Likewise.
18739         * string/test-memcmp.c (do_one_test): Likewise.
18740         (do_test): Likewise.
18741         * string/test-memcpy.c (do_one_test): Likewise.
18742         (do_test): Likewise.
18743         * string/test-memmem.c (do_one_test): Likewise.
18744         (do_test): Likewise.
18745         (do_random_tests): Likewise.
18746         * string/test-memmove.c (do_one_test): Likewise.
18747         (do_test): Likewise.
18748         * string/test-memset.c (do_one_test): Likewise.
18749         (do_test): Likewise.
18750         * string/test-rawmemchr.c (do_one_test): Likewise.
18751         (do_test): Likewise.
18752         * string/test-strcasecmp.c (do_one_test): Likewise.
18753         (do_test): Likewise.
18754         * string/test-strcasestr.c (do_one_test): Likewise.
18755         (do_test): Likewise.
18756         * string/test-strcat.c (do_one_test): Likewise.
18757         (do_test): Likewise.
18758         * string/test-strchr.c (do_one_test): Likewise.
18759         (do_test): Likewise.
18760         * string/test-strcmp.c (do_one_test): Likewise.
18761         (do_test): Likewise.
18762         * string/test-strcpy.c (do_one_test): Likewise.
18763         (do_test): Likewise.
18764         * string/test-string.h: Likewise.
18765         (test_init): Likewise.
18766         * string/test-strlen.c (do_one_test): Likewise.
18767         (do_test): Likewise.
18768         * string/test-strncasecmp.c (do_one_test): Likewise.
18769         (do_test): Likewise.
18770         * string/test-strncat.c (do_one_test): Likewise.
18771         (do_test): Likewise.
18772         * string/test-strncmp.c (do_one_test): Likewise.
18773         (do_test_limit): Likewise.
18774         (do_test): Likewise.
18775         * string/test-strncpy.c (do_one_test): Likewise.
18776         (do_test): Likewise.
18777         * string/test-strnlen.c (do_one_test): Likewise.
18778         (do_test): Likewise.
18779         * string/test-strpbrk.c (do_one_test): Likewise.
18780         (do_test): Likewise.
18781         * string/test-strrchr.c (do_one_test): Likewise.
18782         (do_test): Likewise.
18783         * string/test-strspn.c (do_one_test): Likewise.
18784         (do_test): Likewise.
18785         * string/test-strstr.c (do_one_test): Likewise.
18786         (do_test): Likewise.
18788         * benchtests/Makefile (string-bench): Add string benchmarks.
18789         * benchtests/bench-bcopy-ifunc.c: New file.
18790         * benchtests/bench-bcopy.c: New file.
18791         * benchtests/bench-bzero-ifunc.c: New file.
18792         * benchtests/bench-bzero.c: New file.
18793         * benchtests/bench-memccpy-ifunc.c: New file.
18794         * benchtests/bench-memccpy.c: New file.
18795         * benchtests/bench-memchr-ifunc.c: New file.
18796         * benchtests/bench-memchr.c: New file.
18797         * benchtests/bench-memcmp-ifunc.c: New file.
18798         * benchtests/bench-memcmp.c: New file.
18799         * benchtests/bench-memmem-ifunc.c: New file.
18800         * benchtests/bench-memmem.c: New file.
18801         * benchtests/bench-memmove-ifunc.c: New file.
18802         * benchtests/bench-memmove.c: New file.
18803         * benchtests/bench-mempcpy-ifunc.c: New file.
18804         * benchtests/bench-mempcpy.c: New file.
18805         * benchtests/bench-memset-ifunc.c: New file.
18806         * benchtests/bench-memset.c: New file.
18807         * benchtests/bench-rawmemchr-ifunc.c: New file.
18808         * benchtests/bench-rawmemchr.c: New file.
18809         * benchtests/bench-stpcpy-ifunc.c: New file.
18810         * benchtests/bench-stpcpy.c: New file.
18811         * benchtests/bench-stpncpy-ifunc.c: New file.
18812         * benchtests/bench-stpncpy.c: New file.
18813         * benchtests/bench-strcasecmp-ifunc.c: New file.
18814         * benchtests/bench-strcasecmp.c: New file.
18815         * benchtests/bench-strcasestr-ifunc.c: New file.
18816         * benchtests/bench-strcasestr.c: New file.
18817         * benchtests/bench-strcat-ifunc.c: New file.
18818         * benchtests/bench-strcat.c: New file.
18819         * benchtests/bench-strchr-ifunc.c: New file.
18820         * benchtests/bench-strchr.c: New file.
18821         * benchtests/bench-strchrnul-ifunc.c: New file.
18822         * benchtests/bench-strchrnul.c: New file.
18823         * benchtests/bench-strcmp-ifunc.c: New file.
18824         * benchtests/bench-strcmp.c: New file.
18825         * benchtests/bench-strcpy-ifunc.c: New file.
18826         * benchtests/bench-strcpy.c: New file.
18827         * benchtests/bench-strcspn-ifunc.c: New file.
18828         * benchtests/bench-strcspn.c: New file.
18829         * benchtests/bench-strlen-ifunc.c: New file.
18830         * benchtests/bench-strlen.c: New file.
18831         * benchtests/bench-strncasecmp-ifunc.c: New file.
18832         * benchtests/bench-strncasecmp.c: New file.
18833         * benchtests/bench-strncat-ifunc.c: New file.
18834         * benchtests/bench-strncat.c: New file.
18835         * benchtests/bench-strncmp-ifunc.c: New file.
18836         * benchtests/bench-strncmp.c: New file.
18837         * benchtests/bench-strncpy-ifunc.c: New file.
18838         * benchtests/bench-strncpy.c: New file.
18839         * benchtests/bench-strnlen-ifunc.c: New file.
18840         * benchtests/bench-strnlen.c: New file.
18841         * benchtests/bench-strpbrk-ifunc.c: New file.
18842         * benchtests/bench-strpbrk.c: New file.
18843         * benchtests/bench-strrchr-ifunc.c: New file.
18844         * benchtests/bench-strrchr.c: New file.
18845         * benchtests/bench-strspn-ifunc.c: New file.
18846         * benchtests/bench-strspn.c: New file.
18847         * benchtests/bench-strstr-ifunc.c: New file.
18848         * benchtests/bench-strstr.c: New file.
18850         * benchtests/Makefile: Disable parallel execution of targets.
18851         (string-bench): Add memcpy.
18852         (benchset): New variable to store a list of benchmark sets.
18853         (bench-func): Renamed from bench.
18854         (bench-set): New target.
18855         (bench): Depend on bench-func and bench-set.
18856         * benchtests/README: Add section on benchmark sets.
18857         * benchtests/bench-memcpy-ifunc.c: New file.
18858         * benchtests/bench-memcpy.c: New file.
18859         * benchtests/bench-string.h: New file.
18861 2013-06-11  Andreas Schwab  <schwab@suse.de>
18863         [BZ #15577]
18864         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18865         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18866         values in the triple.
18867         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18868         terminator in the group key.
18870 2013-06-11  Andreas Jaeger  <aj@suse.de>
18872         * po/zh_TW.po: Update Chinese (traditional) translation from
18873         translation project.
18875 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18877         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18878         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18879         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18881         (clock_getcpuclockid): Likewise.
18882         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18883         Add weak_alias and libc_hidden_def.
18884         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18885         * rt/clock_gettime.c (clock_gettime): Rename to
18886         __clock_gettime.  Add weak_alias and libc_hidden_def.
18887         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18888         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18889         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18890         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18891         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18892         Likewise.
18893         * rt/clock_settime.c (clock_settime): Rename to
18894         __clock_settime.  Add weak_alias and libc_hidden_def.
18895         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18897 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18899         * mach/err_boot.sub: Remove trailing whitespace.
18900         * mach/err_ipc.sub: Likewise.
18901         * mach/err_mach.sub: Likewise.
18903         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18904         (ROUNDING_TESTS_double): Likewise.
18905         (ROUNDING_TESTS_long_double): Likewise.
18906         (ROUNDING_TESTS): Likewise.
18907         * math/libm-test.inc: Include <math-tests.h>.
18908         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18909         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18910         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18911         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18913 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18915         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18916         of assigning.
18918 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18920         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18921         otherwise empty TRANS lines.
18922         * sysdeps/gnu/errlist.c: Regenerated.
18924         * catgets/gencat.c (error_print): Use (void) in function
18925         definition.
18926         * crypt/crypt_util.c (__init_des): Likewise.
18927         * crypt/speeds.c (Stop): Likewise.
18928         (main): Likewise.
18929         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18930         * inet/ruserpass.c (token): Likewise.
18931         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18932         * intl/localealias.c (extend_alias_table): Likewise.
18933         * intl/plural-exp.c (init_germanic_plural): Likewise.
18934         * libio/fcloseall.c (__fcloseall): Likewise.
18935         * libio/genops.c (_IO_flush_all): Likewise.
18936         (_IO_flush_all_linebuffered): Likewise.
18937         (_IO_cleanup): Likewise.
18938         (_IO_iter_begin): Likewise.
18939         (_IO_iter_end): Likewise.
18940         (_IO_list_lock): Likewise.
18941         (_IO_list_unlock): Likewise.
18942         (_IO_list_resetlock): Likewise.
18943         * libio/getchar.c (getchar): Likewise.
18944         * libio/getchar_u.c (getchar_unlocked): Likewise.
18945         * libio/getwchar.c (getwchar): Likewise.
18946         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18947         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18948         * login/getpt.c (__getpt): Likewise.
18949         * login/tst-utmp.c (main): Likewise.
18950         * malloc/hooks.c (__malloc_check_init): Likewise.
18951         * malloc/malloc.c (__malloc_stats): Likewise.
18952         * malloc/mtrace.c (tr_break): Likewise.
18953         (mtrace): Likewise.
18954         (muntrace): Likewise.
18955         * misc/fstab.c (endfsent): Likewise.
18956         * misc/getclktck.c (__getclktck): Likewise.
18957         * misc/getdtsz.c (__getdtablesize): Likewise.
18958         * misc/gethostid.c (gethostid): Likewise.
18959         * misc/getpagesize.c (__getpagesize): Likewise.
18960         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18961         (__get_nprocs): Likewise.
18962         (__get_phys_pages): Likewise.
18963         (__get_avphys_pages): Likewise.
18964         * misc/getttyent.c (getttyent): Likewise.
18965         (setttyent): Likewise.
18966         (endttyent): Likewise.
18967         * misc/getusershell.c (getusershell): Likewise.
18968         (endusershell): Likewise.
18969         (setusershell): Likewise.
18970         (initshells): Likewise.
18971         * misc/hsearch.c (__hdestroy): Likewise.
18972         * misc/sync.c (sync): Likewise.
18973         * misc/syslog.c (closelog_internal): Likewise.
18974         (closelog): Likewise.
18975         * misc/ttyslot.c (ttyslot): Likewise.
18976         * misc/vhangup.c (vhangup): Likewise.
18977         * posix/fork.c (__fork): Likewise.
18978         * posix/getegid.c (__getegid): Likewise.
18979         * posix/geteuid.c (__geteuid): Likewise.
18980         * posix/getgid.c (__getgid): Likewise.
18981         * posix/getpid.c (__getpid): Likewise.
18982         * posix/getppid.c (__getppid): Likewise.
18983         * posix/getuid.c (__getuid): Likewise.
18984         * posix/pause.c (pause): Likewise.
18985         * posix/setpgrp.c (setpgrp): Likewise.
18986         * posix/setsid.c (__setsid): Likewise.
18987         * posix/test-vfork.c (noop): Likewise.
18988         * resolv/gethnamaddr.c (_endhtent): Likewise.
18989         (_gethtent): Likewise.
18990         (ht_endhostent): Likewise.
18991         (gethostent): Likewise.
18992         (dns_service): Likewise.
18993         * stdlib/drand48.c (drand48): Likewise.
18994         * stdlib/lrand48.c (lrand48): Likewise.
18995         * stdlib/mrand48.c (mrand48): Likewise.
18996         * stdlib/rand.c (rand): Likewise.
18997         * stdlib/random.c (__random): Likewise.
18998         * stdlib/setenv.c (clearenv): Likewise.
18999         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19000         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19001         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19002         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19003         (__get_nprocs): Likewise.
19004         (__get_phys_pages): Likewise.
19005         (__get_avphys_pages): Likewise.
19006         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19007         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19008         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19009         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19010         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19011         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19012         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19013         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19014         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19015         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19016         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19017         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19018         * sysdeps/posix/clock.c (clock): Likewise.
19019         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19020         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19021         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19022         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19023         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19025         (__get_nprocs_conf): Likewise.
19026         (__get_phys_pages): Likewise.
19027         (__get_avphys_pages): Likewise.
19028         * time/clock.c (clock): Likewise.
19029         * time/tzset.c (__tzname_max): Likewise.
19031 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19033         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19034         (__bswap_32): Do not use "register".
19035         * crypt/crypt.c (_ufc_doit_r): Likewise.
19036         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19037         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19038         * gmon/gmon.c (__monstartup): Likewise.
19039         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19040         * hurd/hurdmalloc.c (more_memory): Likewise.
19041         (malloc): Likewise.
19042         (free): Likewise.
19043         (realloc): Likewise.
19044         (malloc_fork_prepare): Likewise.
19045         (malloc_fork_parent): Likewise.
19046         (malloc_fork_child): Likewise.
19047         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19048         (_svcauth_des): Likewise.
19049         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19050         * inet/inet_net.c (inet_network): Likewise.
19051         * inet/inet_netof.c (inet_netof): Likewise.
19052         * inet/rcmd.c (__validuser2_sa): Likewise.
19053         * io/fts.c (fts_open): Likewise.
19054         (fts_load): Likewise.
19055         (fts_close): Likewise.
19056         (fts_read): Likewise.
19057         (fts_children): Likewise.
19058         (fts_build): Likewise.
19059         (fts_stat): Likewise.
19060         (fts_sort): Likewise.
19061         (fts_alloc): Likewise.
19062         (fts_lfree): Likewise.
19063         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19064         (_IO_file_xsgetn): Likewise.
19065         (_IO_file_xsgetn_mmap): Likewise.
19066         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19067         (_IO_cookie_write): Likewise.
19068         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19069         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19070         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19071         * malloc/obstack.c (_obstack_begin): Likewise.
19072         (_obstack_begin_1): Likewise.
19073         (_obstack_newchunk): Likewise.
19074         (_obstack_allocated_p): Likewise.
19075         (obstack_free): Likewise.
19076         (_obstack_memory_used): Likewise.
19077         * misc/getttyent.c (getttynam): Likewise.
19078         (getttyent): Likewise.
19079         (skip): Likewise.
19080         (value): Likewise.
19081         * misc/getusershell.c (initshells): Likewise.
19082         * misc/syslog.c (__vsyslog_chk): Likewise.
19083         * misc/ttyslot.c (ttyslot): Likewise.
19084         * nis/nis_hash.c (__nis_hash): Likewise.
19085         * posix/fnmatch_loop.c (FCT): Likewise.
19086         * posix/getconf.c (print_all): Likewise.
19087         (main): Likewise.
19088         * posix/getopt.c (exchange): Likewise.
19089         * posix/glob.c (globfree): Likewise.
19090         (prefix_array): Likewise.
19091         (__glob_pattern_type): Likewise.
19092         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19093         (NS_GET32): Likewise.
19094         (NS_PUT16): Likewise.
19095         (NS_PUT32): Likewise.
19096         * resolv/gethnamaddr.c (getanswer): Likewise.
19097         (gethostbyname2): Likewise.
19098         (gethostbyaddr): Likewise.
19099         (_gethtent): Likewise.
19100         (_gethtbyname2): Likewise.
19101         (_gethtbyaddr): Likewise.
19102         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19103         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19104         * resolv/res_init.c (__res_vinit): Likewise.
19105         (net_mask): Likewise.
19106         * resolv/res_mkquery.c (outchar): Likewise.
19107         (PRINT): Likewise.
19108         * stdio-common/printf_fp.c (outchar): Likewise.
19109         (PRINT): Likewise.
19110         * stdio-common/printf_fphex.c (outchar): Likewise.
19111         (PRINT): Likewise.
19112         * stdio-common/printf_size.c (outchar): Likewise.
19113         (PRINT): Likewise.
19114         * stdio-common/test_rdwr.c (main): Likewise.
19115         * stdio-common/tfformat.c (matches): Likewise.
19116         * stdio-common/vfprintf.c (outchar): Likewise.
19117         (printf_unknown): Likewise.
19118         (buffered_vfprintf): Likewise.
19119         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19120         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19121         (ReadFile): Likewise.
19122         * stdlib/qsort.c (SWAP): Likewise.
19123         (_quicksort): Likewise.
19124         * stdlib/setenv.c (__add_to_environ): Likewise.
19125         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19126         * stdlib/strtol_l.c (__strtol_l): Likewise.
19127         * stdlib/tst-strtod.c (main): Likewise.
19128         * stdlib/tst-strtol.c (main): Likewise.
19129         * stdlib/tst-strtoll.c (main): Likewise.
19130         * string/bits/string2.h (__strcmp_cc): Likewise.
19131         (__strcmp_cg): Likewise.
19132         (__strcspn_c1): Likewise.
19133         (__strcspn_c2): Likewise.
19134         (__strcspn_c3): Likewise.
19135         (__strspn_c1): Likewise.
19136         (__strspn_c2): Likewise.
19137         (__strspn_c3): Likewise.
19138         (__strsep_1c): Likewise.
19139         (__strsep_2c): Likewise.
19140         (__strsep_3c): Likewise.
19141         * string/memccpy.c (__memccpy): Likewise.
19142         * string/stpcpy.c (__stpcpy): Likewise.
19143         * string/strcmp.c (strcmp): Likewise.
19144         * string/strrchr.c (strrchr): Likewise.
19145         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19146         Likewise.
19147         * sysdeps/mach/hurd/getcwd.c
19148         (_hurd_canonicalize_directory_name_internal): Likewise.
19149         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19150         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19151         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19152         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19153         Likewise, in both definitions.
19154         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19155         definitions.
19156         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19157         64] (__bswap_64): Likewise.
19158         * time/test_time.c (main): Likewise.
19159         * time/tzfile.c (__tzfile_read): Likewise.
19160         (__tzfile_compute): Likewise.
19161         * time/tzset.c (__tzset_parse_tz): Likewise.
19162         (tzset_internal): Likewise.
19163         (compute_change): Likewise.
19164         * wcsmbs/wcscat.c (__wcscat): Likewise.
19165         * wcsmbs/wcschr.c (wcschr): Likewise.
19166         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19167         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19168         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19169         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19170         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19171         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19172         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19173         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19174         * wcsmbs/wmemset.c (wmemset): Likewise.
19176 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19178         * scripts/config.guess: Update to version 2013-05-16.
19179         * scripts/config.sub: Update to version 2013-04-24.
19180         * scripts/install-sh: Update to version 2011-11-20.07.
19181         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19182         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19184 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19186         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19187         * elf/sln.c: Likewise.
19188         * hurd/hurd/ioctl.h: Likewise.
19189         * hurd/hurdmalloc.c: Likewise.
19190         * hurd/xattr.c: Likewise.
19191         * include/shlib-compat.h: Likewise.
19192         * inet/ruserpass.c: Likewise.
19193         * libio/iofgets_u.c: Likewise.
19194         * libio/iofgetws_u.c: Likewise.
19195         * locale/programs/ld-identification.c: Likewise.
19196         * locale/programs/ld-time.c: Likewise.
19197         * mach/msg-destroy.c: Likewise.
19198         * nss/nss_files/files-netgrp.c: Likewise.
19199         * resolv/res_data.c: Likewise.
19200         * soft-fp/op-1.h: Likewise.
19201         * soft-fp/op-2.h: Likewise.
19202         * soft-fp/op-4.h: Likewise.
19203         * soft-fp/op-common.h: Likewise.
19204         * stdio-common/printf_fphex.c: Likewise.
19205         * stdlib/strtod_l.c: Likewise.
19206         * sunrpc/rpc/clnt.h: Likewise.
19207         * sysdeps/generic/framestate.c: Likewise.
19208         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19209         * sysdeps/i386/bsd-setjmp.S: Likewise.
19210         * sysdeps/i386/__longjmp.S: Likewise.
19211         * sysdeps/i386/setjmp.S: Likewise.
19212         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19213         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19214         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19215         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19216         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19217         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19218         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19221         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19222         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19223         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19224         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19227         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19228         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19229         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19230         * sysdeps/ieee754/support.c: Likewise.
19231         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19232         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19233         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19234         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19235         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19236         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19237         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19238         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19239         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19240         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19241         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19242         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19243         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19244         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19245         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19246         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19247         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19250 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19252         * posix/transbug.c: Remove executable mode.
19254 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19256         * crypt/speeds.c: Remove trailing whitespace.
19257         * dlfcn/default.c: Likewise.
19258         * elf/ifuncdep2.c: Likewise.
19259         * elf/ifuncmain1.c: Likewise.
19260         * elf/ifuncmain1vis.c: Likewise.
19261         * elf/testobj.h: Likewise.
19262         * elf/tst-stackguard1.c: Likewise.
19263         * gmon/sys/gmon.h: Likewise.
19264         * hurd/hurdmsg.c: Likewise.
19265         * hurd/new-fd.c: Likewise.
19266         * hurd/ports-get.c: Likewise.
19267         * iconvdata/ibm1008_420.c: Likewise.
19268         * inet/tst-getni1.c: Likewise.
19269         * inet/tst-getni2.c: Likewise.
19270         * libio/ioungetc.c: Likewise.
19271         * libio/wfiledoalloc.c: Likewise.
19272         * manual/libm-err-tab.pl: Likewise.
19273         * math/w_dremf.c: Likewise.
19274         * misc/ftruncate.c: Likewise.
19275         * posix/bug-glob2.c: Likewise.
19276         * posix/tst-pcre.c: Likewise.
19277         * posix/wait4.c: Likewise.
19278         * resolv/README: Likewise.
19279         * resolv/res_debug.h: Likewise.
19280         * resolv/tst-inet_ntop.c: Likewise.
19281         * setjmp/bug269-setjmp.c: Likewise.
19282         * soft-fp/extended.h: Likewise.
19283         * soft-fp/op-1.h: Likewise.
19284         * soft-fp/op-2.h: Likewise.
19285         * soft-fp/op-4.h: Likewise.
19286         * soft-fp/op-8.h: Likewise.
19287         * soft-fp/testit.c: Likewise.
19288         * stdio-common/bug16.c: Likewise.
19289         * stdlib/random.c: Likewise.
19290         * sunrpc/rpcsvc/rquota.x: Likewise.
19291         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19292         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19293         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19294         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19295         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19296         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19297         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19298         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19299         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19300         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19301         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19302         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19303         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19304         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19305         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19306         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19307         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19308         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19309         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19310         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19311         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19312         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19313         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19314         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19315         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19318         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19319         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19320         * sysdeps/ieee754/s_lib_version.c: Likewise.
19321         * sysdeps/mach/hurd/check_fds.c: Likewise.
19322         * sysdeps/mach/hurd/getsockname.c: Likewise.
19323         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19324         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19325         * sysdeps/powerpc/bits/link.h: Likewise.
19326         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19327         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19328         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19329         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19330         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19331         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19332         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19333         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19334         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19335         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19336         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19337         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19338         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19339         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19340         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19341         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19342         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19343         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19344         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19345         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19346         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19347         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19348         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19349         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19350         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19351         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19352         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19353         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19354         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19355         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19356         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19357         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19358         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19359         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19360         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19361         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19362         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19363         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19364         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19365         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19366         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19367         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19368         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19369         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19370         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19371         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19372         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19373         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19374         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19375         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19377         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19378         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19379         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19380         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19381         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19382         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19383         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19384         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19385         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19386         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19387         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19388         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19389         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19390         * sysdeps/powerpc/sysdep.h: Likewise.
19391         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19392         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19393         * sysdeps/sh/dl-trampoline.S: Likewise.
19394         * sysdeps/sh/memset.S: Likewise.
19395         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19396         * sysdeps/sh/strlen.S: Likewise.
19397         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19398         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19399         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19400         * sysdeps/sparc/sparc32/rem.S: Likewise.
19401         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19402         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19403         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19404         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19405         * sysdeps/sparc/sparc32/urem.S: Likewise.
19406         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19407         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19408         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19409         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19411         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19412         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19413         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19414         * sysdeps/unix/bsd/times.c: Likewise.
19415         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19416         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19420         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19421         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19422         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19423         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19424         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19425         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19426         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19427         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19428         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19429         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19430         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19431         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19432         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19433         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19434         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19435         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19436         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19437         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19438         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19439         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19440         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19441         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19442         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19443         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19444         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19445         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19446         * sysdeps/x86_64/strcspn.S: Likewise.
19448 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19450         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19451         generated file.  Regenerate properly from gen-translit.pl.
19452         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19453         locale/C-translit.h.
19455 2013-06-05  Andreas Schwab  <schwab@suse.de>
19457         [BZ #15100]
19458         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19459         week as 6 instead of -1.
19460         * time/tst-strptime.c (day_tests): Add test case.
19462 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19464         * sysdeps/generic/math_private.h
19465         (libc_feholdexcept_setround_53bit): Replace with
19466         libc_feholdsetround_53bit.
19467         (libc_feupdateenv_53bit): Replace with
19468         libc_feresetround_53bit.
19469         (SET_RESTORE_ROUND_53BIT): Adjust.
19471 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19473         * string/test-strchrnul.c: Add copyright header.
19475         * posix/tst-getaddrinfo4.c: Increase test timeout.
19477 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19479         [BZ #15536]
19480         * math/libm-test.inc (MAX_EXP): Remove
19481         (MIN_EXP): Define.
19482         (ulp): Use MIN_EXP - MANT_DIG.
19483         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19485 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19487         * po/be.po: Revert last change.
19488         * po/zh_CN.po: Likewise.
19489         * po/header.pot: Likewise.
19491 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19493         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19494         link-libc-deps to empty as target-specific variable.
19495         * Makerules (link-libc-args): New variable.
19496         (libc-for-link): Likewise.
19497         (link-libc-deps): Likewise.
19498         (lib%.so): Depend on $(link-libc-deps).  Link with
19499         $(link-libc-args).
19500         (build-module): Link with $(link-libc-args).
19501         (build-module-asneeded): Likewise.
19502         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19503         list of objects.
19504         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19505         target-specific variable.
19506         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19507         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19508         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19509         libc.
19510         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19511         libc and ld.so.
19512         ($(objpfx)libpcprofile.so): Likewise.
19513         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19514         libc_nonshared.a.
19515         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19516         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19517         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19518         $(link-libc-deps).
19519         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19520         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19521         * login/Makefile ($(objpfx)libutil.so): Likewise.
19522         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19523         * math/Makefile ($(objpfx)libm.so): Likewise.
19524         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19525         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19526         variable instead of depending directly on libc.
19527         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19528         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19529         $(link-libc-deps).
19530         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19531         libc.
19532         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19533         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19534         ($(objpfx)libanl.so): Likewise.
19535         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19536         ld.so.
19537         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19538         $(link-libc-deps).
19539         * sysdeps/i386/fpu/Makefile: Remove file.
19540         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19541         ($(objpfx)libm.so): Remove dependency on ld.so.
19543 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19545         [BZ # 15553]
19546         * nis/yp_xdr.c (XDRMAXNAME): Define.
19547         (XDRMAXRECORD): Define.
19548         (xdr_domainname): Use XDRMAXNAME.
19549         (xdr_mapname): Likewise.
19550         (xdr_peername): Likewise.
19551         (xdr_keydat): Use XDRMAXRECORD.
19552         (xdr_valdat): Likewise.
19554 2013-05-30  Jeff Law  <law@redhat.com>
19556         [BZ #14256]
19557         * manual/errno.texi (ESTALE): Update to account for more than
19558         just NFS file systems.
19559         * sysdeps/gnu/errlist.c: Regenerated.
19561 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19563         [BZ #15465]
19564         * elf/Makefile (tests): Add tst-null-argv.
19565         (modules-names):  Add tst-null-argv-lib.
19566         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19567         (tst-null-argv-ENV): Set environment for tst-null-argv.
19568         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19569         (RTLD_PROGNAME): New macro.
19570         * elf/tst-null-argv.c: New test case.
19571         * elf/tst-null-argv-lib.c: Library for test case.
19572         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19573         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19574         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19575         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19576         * elf/dl-init.c (call_init): Likewise.
19577         (_dl_init): Likewise.
19578         * elf/dl-load.c (print_search_path): Likewise.
19579         (_dl_map_object): Likewise.
19580         * elf/dl-lookup.c (do_lookup_x): Likewise.
19581         (add_dependency): Likewise.
19582         (_dl_lookup_symbol_x): Likewise.
19583         (_dl_debug_bindings): Likewise.
19584         * elf/dl-open.c (_dl_show_scope): Likewise.
19585         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19586         * elf/dl-version.c (match_symbol): Likewise.
19587         (_dl_check_map_versions): Likewise.
19588         * elf/rtld.c (dl_main): Likewise.
19589         (print_unresolved): Use RTLD_PROGNAME.
19590         (print_missing_version): Likewise.
19591         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19592         (elf_machine_rela): Likewise.
19593         * sysdeps/powerpc/powerpc32/dl-machine.c
19594         (__process_machine_rela): Likewise.
19595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19596         Likewise.
19597         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19598         Likewise.
19599         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19600         Likewise.
19601         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19602         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19603         Likewise.
19604         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19605         Likewise.
19606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19608 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19610         * po/be.po: Add descriptive title.
19611         * po/zh_CN.po: Likewise.
19612         * po/header.pot: Likewise.
19614 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19616         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19617         error message.
19618         (enlarge_archive): Likewise.
19620 2013-05-28  Ben North  <ben@redfrontdoor.org>
19622         * manual/arith.texi (frexp): It is the magnitude of the return
19623         value which lies in [0.5, 1), not the return value itself.
19625 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19629 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19631         * stdio-common/bug26.c (main): Correct fscanf template.
19633         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19634         declare _dl_skip_args.
19636         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19637         Don't declare.
19639         * manual/platform.texi: Add missing @end deftypefun.
19641 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19643         [BZ #15529]
19644         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19645         bit of mantissa of 2^16382.
19646         * math/libm-test.inc (hypot_test_data): Add more tests.
19648         * math/libm-test.inc: Add drem and pow10 to list of tested
19649         functions.
19650         (pow10_test): New function.
19651         (drem_test): Likewise.
19652         (drem_test_tonearest): Likewise.
19653         (drem_test_towardzero): Likewise.
19654         (drem_test_downward): Likewise.
19655         (drem_test_upward): Likewise.
19656         (main): Call the new functions.
19658         * math/libm-test.inc (finite_test_data): Remove.
19659         (finite_test): Run tests from isfinite_test_data.
19660         (gamma_test_data): Remove.
19661         (gamma_test): Run tests from lgamma_test_data.
19662         * sysdeps/i386/fpu/libm-test-ulps: Update.
19663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19665 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19667         * manual/platform.texi: Add PowerPC PPR function set documentation.
19668         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19669         implementation.
19671 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19673         * math/libm-test.inc (MAX_EXP): Define.
19674         (ULPDIFF): Define.
19675         (ulp): New function.
19676         (check_float_internal): Use ULPDIFF.
19677         (cpow_test): Disable failing test.
19678         (check_ulp): Test ulp() implemetnation.
19679         (main): Call check_ulp before starting tests.
19681 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19683         * math/gen-libm-test.pl (generate_testfile): Do not handle
19684         START_DATA and END_DATA.
19685         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19686         END_DATA.
19687         (acos_tonearest_test_data): Likewise.
19688         (acos_towardzero_test_data): Likewise.
19689         (acos_downward_test_data): Likewise.
19690         (acos_upward_test_data): Likewise.
19691         (acosh_test_data): Likewise.
19692         (asin_test_data): Likewise.
19693         (asin_tonearest_test_data): Likewise.
19694         (asin_towardzero_test_data): Likewise.
19695         (asin_downward_test_data): Likewise.
19696         (asin_upward_test_data): Likewise.
19697         (asinh_test_data): Likewise.
19698         (atan_test_data): Likewise.
19699         (atanh_test_data): Likewise.
19700         (atan2_test_data): Likewise.
19701         (cabs_test_data): Likewise.
19702         (cacos_test_data): Likewise.
19703         (cacosh_test_data): Likewise.
19704         (carg_test_data): Likewise.
19705         (casin_test_data): Likewise.
19706         (casinh_test_data): Likewise.
19707         (catan_test_data): Likewise.
19708         (catanh_test_data): Likewise.
19709         (cbrt_test_data): Likewise.
19710         (ccos_test_data): Likewise.
19711         (ccosh_test_data): Likewise.
19712         (ceil_test_data): Likewise.
19713         (cexp_test_data): Likewise.
19714         (cimag_test_data): Likewise.
19715         (clog_test_data): Likewise.
19716         (clog10_test_data): Likewise.
19717         (conj_test_data): Likewise.
19718         (copysign_test_data): Likewise.
19719         (cos_test_data): Likewise.
19720         (cos_tonearest_test_data): Likewise.
19721         (cos_towardzero_test_data): Likewise.
19722         (cos_downward_test_data): Likewise.
19723         (cos_upward_test_data): Likewise.
19724         (cosh_test_data): Likewise.
19725         (cosh_tonearest_test_data): Likewise.
19726         (cosh_towardzero_test_data): Likewise.
19727         (cosh_downward_test_data): Likewise.
19728         (cosh_upward_test_data): Likewise.
19729         (cpow_test_data): Likewise.
19730         (cproj_test_data): Likewise.
19731         (creal_test_data): Likewise.
19732         (csin_test_data): Likewise.
19733         (csinh_test_data): Likewise.
19734         (csqrt_test_data): Likewise.
19735         (ctan_test_data): Likewise.
19736         (ctan_tonearest_test_data): Likewise.
19737         (ctan_towardzero_test_data): Likewise.
19738         (ctan_downward_test_data): Likewise.
19739         (ctan_upward_test_data): Likewise.
19740         (ctanh_test_data): Likewise.
19741         (ctanh_tonearest_test_data): Likewise.
19742         (ctanh_towardzero_test_data): Likewise.
19743         (ctanh_downward_test_data): Likewise.
19744         (ctanh_upward_test_data): Likewise.
19745         (erf_test_data): Likewise.
19746         (erfc_test_data): Likewise.
19747         (exp_test_data): Likewise.
19748         (exp_tonearest_test_data): Likewise.
19749         (exp_towardzero_test_data): Likewise.
19750         (exp_downward_test_data): Likewise.
19751         (exp_upward_test_data): Likewise.
19752         (exp10_test_data): Likewise.
19753         (exp2_test_data): Likewise.
19754         (expm1_test_data): Likewise.
19755         (fabs_test_data): Likewise.
19756         (fdim_test_data): Likewise.
19757         (finite_test_data): Likewise.
19758         (floor_test_data): Likewise.
19759         (fma_test_data): Likewise.
19760         (fma_towardzero_test_data): Likewise.
19761         (fma_downward_test_data): Likewise.
19762         (fma_upward_test_data): Likewise.
19763         (fmax_test_data): Likewise.
19764         (fmin_test_data): Likewise.
19765         (fmod_test_data): Likewise.
19766         (fpclassify_test_data): Likewise.
19767         (frexp_test_data): Likewise.
19768         (gamma_test_data): Likewise.
19769         (hypot_test_data): Likewise.
19770         (ilogb_test_data): Likewise.
19771         (isfinite_test_data): Likewise.
19772         (isgreater_test_data): Likewise.
19773         (isgreaterequal_test_data): Likewise.
19774         (isinf_test_data): Likewise.
19775         (isless_test_data): Likewise.
19776         (islessequal_test_data): Likewise.
19777         (islessgreater_test_data): Likewise.
19778         (isnan_test_data): Likewise.
19779         (isnormal_test_data): Likewise.
19780         (issignaling_test_data): Likewise.
19781         (isunordered_test_data): Likewise.
19782         (j0_test_data): Likewise.
19783         (j1_test_data): Likewise.
19784         (jn_test_data): Likewise.
19785         (ldexp_test_data): Likewise.
19786         (lgamma_test_data): Likewise.
19787         (lrint_test_data): Likewise.
19788         (lrint_tonearest_test_data): Likewise.
19789         (lrint_towardzero_test_data): Likewise.
19790         (lrint_downward_test_data): Likewise.
19791         (lrint_upward_test_data): Likewise.
19792         (llrint_test_data): Likewise.
19793         (llrint_tonearest_test_data): Likewise.
19794         (llrint_towardzero_test_data): Likewise.
19795         (llrint_downward_test_data): Likewise.
19796         (llrint_upward_test_data): Likewise.
19797         (log_test_data): Likewise.
19798         (log10_test_data): Likewise.
19799         (log1p_test_data): Likewise.
19800         (log2_test_data): Likewise.
19801         (logb_test_data): Likewise.
19802         (logb_downward_test_data): Likewise.
19803         (lround_test_data): Likewise.
19804         (llround_test_data): Likewise.
19805         (modf_test_data): Likewise.
19806         (nearbyint_test_data): Likewise.
19807         (nextafter_test_data): Likewise.
19808         (nexttoward_test_data): Likewise.
19809         (pow_test_data): Likewise.
19810         (pow_tonearest_test_data): Likewise.
19811         (pow_towardzero_test_data): Likewise.
19812         (pow_downward_test_data): Likewise.
19813         (pow_upward_test_data): Likewise.
19814         (remainder_test_data): Likewise.
19815         (remainder_tonearest_test_data): Likewise.
19816         (remainder_towardzero_test_data): Likewise.
19817         (remainder_downward_test_data): Likewise.
19818         (remainder_upward_test_data): Likewise.
19819         (remquo_test_data): Likewise.
19820         (rint_test_data): Likewise.
19821         (rint_tonearest_test_data): Likewise.
19822         (rint_towardzero_test_data): Likewise.
19823         (rint_downward_test_data): Likewise.
19824         (rint_upward_test_data): Likewise.
19825         (round_test_data): Likewise.
19826         (scalb_test_data): Likewise.
19827         (scalbn_test_data): Likewise.
19828         (scalbln_test_data): Likewise.
19829         (signbit_test_data): Likewise.
19830         (sin_test_data): Likewise.
19831         (sin_tonearest_test_data): Likewise.
19832         (sin_towardzero_test_data): Likewise.
19833         (sin_downward_test_data): Likewise.
19834         (sin_upward_test_data): Likewise.
19835         (sincos_test_data): Likewise.
19836         (sinh_test_data): Likewise.
19837         (sinh_tonearest_test_data): Likewise.
19838         (sinh_towardzero_test_data): Likewise.
19839         (sinh_downward_test_data): Likewise.
19840         (sinh_upward_test_data): Likewise.
19841         (sqrt_test_data): Likewise.
19842         (tan_test_data): Likewise.
19843         (tan_tonearest_test_data): Likewise.
19844         (tan_towardzero_test_data): Likewise.
19845         (tan_downward_test_data): Likewise.
19846         (tan_upward_test_data): Likewise.
19847         (tanh_test_data): Likewise.
19848         (tgamma_test_data): Likewise.
19849         (trunc_test_data): Likewise.
19850         (y0_test_data): Likewise.
19851         (y1_test_data): Likewise.
19852         (yn_test_data): Likewise.
19853         (significand_test_data): Likewise.
19855         * math/gen-libm-test.pl (@functions): Remove variable.
19856         (generate_testfile): Don't handle START and END lines.
19857         * math/libm-test.inc (START): New macro.
19858         (END): Likewise.
19859         (END_COMPLEX): Likewise.
19860         (acos_test): Use END macro without arguments.
19861         (acos_test_tonearest): Likewise.
19862         (acos_test_towardzero): Likewise.
19863         (acos_test_downward): Likewise.
19864         (acos_test_upward): Likewise.
19865         (acosh_test): Likewise.
19866         (asin_test): Likewise.
19867         (asin_test_tonearest): Likewise.
19868         (asin_test_towardzero): Likewise.
19869         (asin_test_downward): Likewise.
19870         (asin_test_upward): Likewise.
19871         (asinh_test): Likewise.
19872         (atan_test): Likewise.
19873         (atanh_test): Likewise.
19874         (atan2_test): Likewise.
19875         (cabs_test): Likewise.
19876         (cacos_test): Use END_COMPLEX macro without arguments.
19877         (cacosh_test): Likewise.
19878         (carg_test): Use END macro without arguments.
19879         (casin_test): Use END_COMPLEX macro without arguments.
19880         (casinh_test): Likewise.
19881         (catan_test): Likewise.
19882         (catanh_test): Likewise.
19883         (cbrt_test): Use END macro without arguments.
19884         (ccos_test): Use END_COMPLEX macro without arguments.
19885         (ccosh_test): Likewise.
19886         (ceil_test): Use END macro without arguments.
19887         (cexp_test): Use END_COMPLEX macro without arguments.
19888         (cimag_test): Use END macro without arguments.
19889         (clog_test): Use END_COMPLEX macro without arguments.
19890         (clog10_test): Likewise.
19891         (conj_test): Likewise.
19892         (copysign_test): Use END macro without arguments.
19893         (cos_test): Likewise.
19894         (cos_test_tonearest): Likewise.
19895         (cos_test_towardzero): Likewise.
19896         (cos_test_downward): Likewise.
19897         (cos_test_upward): Likewise.
19898         (cosh_test): Likewise.
19899         (cosh_test_tonearest): Likewise.
19900         (cosh_test_towardzero): Likewise.
19901         (cosh_test_downward): Likewise.
19902         (cosh_test_upward): Likewise.
19903         (cpow_test): Use END_COMPLEX macro without arguments.
19904         (cproj_test): Likewise.
19905         (creal_test): Use END macro without arguments.
19906         (csin_test): Use END_COMPLEX macro without arguments.
19907         (csinh_test): Likewise.
19908         (csqrt_test): Likewise.
19909         (ctan_test): Likewise.
19910         (ctan_test_tonearest): Likewise.
19911         (ctan_test_towardzero): Likewise.
19912         (ctan_test_downward): Likewise.
19913         (ctan_test_upward): Likewise.
19914         (ctanh_test): Likewise.
19915         (ctanh_test_tonearest): Likewise.
19916         (ctanh_test_towardzero): Likewise.
19917         (ctanh_test_downward): Likewise.
19918         (ctanh_test_upward): Likewise.
19919         (erf_test): Use END macro without arguments.
19920         (erfc_test): Likewise.
19921         (exp_test): Likewise.
19922         (exp_test_tonearest): Likewise.
19923         (exp_test_towardzero): Likewise.
19924         (exp_test_downward): Likewise.
19925         (exp_test_upward): Likewise.
19926         (exp10_test): Likewise.
19927         (exp2_test): Likewise.
19928         (expm1_test): Likewise.
19929         (fabs_test): Likewise.
19930         (fdim_test): Likewise.
19931         (finite_test): Likewise.
19932         (floor_test): Likewise.
19933         (fma_test): Likewise.
19934         (fma_test_towardzero): Likewise.
19935         (fma_test_downward): Likewise.
19936         (fma_test_upward): Likewise.
19937         (fmax_test): Likewise.
19938         (fmin_test): Likewise.
19939         (fmod_test): Likewise.
19940         (fpclassify_test): Likewise.
19941         (frexp_test): Likewise.
19942         (gamma_test): Likewise.
19943         (hypot_test): Likewise.
19944         (ilogb_test): Likewise.
19945         (isfinite_test): Likewise.
19946         (isgreater_test): Likewise.
19947         (isgreaterequal_test): Likewise.
19948         (isinf_test): Likewise.
19949         (isless_test): Likewise.
19950         (islessequal_test): Likewise.
19951         (islessgreater_test): Likewise.
19952         (isnan_test): Likewise.
19953         (isnormal_test): Likewise.
19954         (issignaling_test): Likewise.
19955         (isunordered_test): Likewise.
19956         (j0_test): Likewise.
19957         (j1_test): Likewise.
19958         (jn_test): Likewise.
19959         (ldexp_test): Likewise.
19960         (lgamma_test): Likewise.
19961         (lrint_test): Likewise.
19962         (lrint_test_tonearest): Likewise.
19963         (lrint_test_towardzero): Likewise.
19964         (lrint_test_downward): Likewise.
19965         (lrint_test_upward): Likewise.
19966         (llrint_test): Likewise.
19967         (llrint_test_tonearest): Likewise.
19968         (llrint_test_towardzero): Likewise.
19969         (llrint_test_downward): Likewise.
19970         (llrint_test_upward): Likewise.
19971         (log_test): Likewise.
19972         (log10_test): Likewise.
19973         (log1p_test): Likewise.
19974         (log2_test): Likewise.
19975         (logb_test): Likewise.
19976         (logb_test_downward): Likewise.
19977         (lround_test): Likewise.
19978         (llround_test): Likewise.
19979         (modf_test): Likewise.
19980         (nearbyint_test): Likewise.
19981         (nextafter_test): Likewise.
19982         (nexttoward_test): Likewise.
19983         (pow_test): Likewise.
19984         (pow_test_tonearest): Likewise.
19985         (pow_test_towardzero): Likewise.
19986         (pow_test_downward): Likewise.
19987         (pow_test_upward): Likewise.
19988         (remainder_test): Likewise.
19989         (remainder_test_tonearest): Likewise.
19990         (remainder_test_towardzero): Likewise.
19991         (remainder_test_downward): Likewise.
19992         (remainder_test_upward): Likewise.
19993         (remquo_test): Likewise.
19994         (rint_test): Likewise.
19995         (rint_test_tonearest): Likewise.
19996         (rint_test_towardzero): Likewise.
19997         (rint_test_downward): Likewise.
19998         (rint_test_upward): Likewise.
19999         (round_test): Likewise.
20000         (scalb_test): Likewise.
20001         (scalbn_test): Likewise.
20002         (scalbln_test): Likewise.
20003         (signbit_test): Likewise.
20004         (sin_test): Likewise.
20005         (sin_test_tonearest): Likewise.
20006         (sin_test_towardzero): Likewise.
20007         (sin_test_downward): Likewise.
20008         (sin_test_upward): Likewise.
20009         (sincos_test): Likewise.
20010         (sinh_test): Likewise.
20011         (sinh_test_tonearest): Likewise.
20012         (sinh_test_towardzero): Likewise.
20013         (sinh_test_downward): Likewise.
20014         (sinh_test_upward): Likewise.
20015         (sqrt_test): Likewise.
20016         (tan_test): Likewise.
20017         (tan_test_tonearest): Likewise.
20018         (tan_test_towardzero): Likewise.
20019         (tan_test_downward): Likewise.
20020         (tan_test_upward): Likewise.
20021         (tanh_test): Likewise.
20022         (tgamma_test): Likewise.
20023         (trunc_test): Likewise.
20024         (y0_test): Likewise.
20025         (y1_test): Likewise.
20026         (yn_test): Likewise.
20027         (significand_test): Likewise.
20029 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20031         [BZ #15381]
20032         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20034 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20036         [BZ #14894]
20037         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20038         __ppc_mdoio and __ppc_mdoom.
20039         * manual/platform.texi: Document new functions __ppc_yield,
20040         __ppc_mdoio and __ppc_mdoom.
20042 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20044         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20045         (main): Mention "tls" pseudo-hwcap is legacy.
20046         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20048 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20050         * math/gen-libm-test.pl (parse_args): Output only string of
20051         arguments as text for test name, not full call or descriptions of
20052         tests for extra outputs.
20053         (generate_testfile): Do not pass function name to parse_args.
20054         Generate this_func variable from START.
20055         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20056         field to arg_str.
20057         (struct test_ff_f_data): Likewise.
20058         (test_ff_f_data_nexttoward): Likewise.
20059         (struct test_fi_f_data): Likewise.
20060         (struct test_fl_f_data): Likewise.
20061         (struct test_if_f_data): Likewise.
20062         (struct test_fff_f_data): Likewise.
20063         (struct test_c_f_data): Likewise.
20064         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20065         (struct test_fF_f1_data): Likewise.
20066         (struct test_ffI_f1_data): Likewise.
20067         (struct test_c_c_data): Rename test_name field to arg_str.
20068         (struct test_cc_c_data): Likewise.
20069         (struct test_f_i_data): Likewise.
20070         (struct test_ff_i_data): Likewise.
20071         (struct test_f_l_data): Likewise.
20072         (struct test_f_L_data): Likewise.
20073         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20074         and extra2_name.
20075         (COMMON_TEST_SETUP): New macro.
20076         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20077         (COMMON_TEST_CLEANUP): Likewise.
20078         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20079         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20080         macros.
20081         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20082         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20083         macros.
20084         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20085         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20086         cleanup macros.
20087         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20088         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20089         macros.
20090         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20091         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20092         macros.
20093         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20094         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20095         cleanup macros.
20096         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20097         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20098         cleanup macros.
20099         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20100         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20101         cleanup macros.
20102         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20103         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20104         macros.
20105         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20106         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20107         macros.
20108         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20109         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20110         macros.
20111         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20112         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20113         cleanup macros.
20114         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20115         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20116         cleanup macros.
20117         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20118         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20119         macros.
20120         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20121         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20122         cleanup macros.
20123         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20124         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20125         macros.
20126         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20127         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20128         macros.
20129         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20130         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20131         cleanup macros.
20132         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20134 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20136         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20137         to _sifields.sigfault.
20138         (si_addr_lsb): Define new macro.
20139         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20140         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20141         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20143 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20145         [BZ #15441]
20146         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20147         returns -1.
20148         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20149         null return -1.
20150         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20151         loading the domain.
20153 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20155         * math/gen-libm-test.pl (parse_args): Do not include expected
20156         result in test name.
20157         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20158         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20159         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20160         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20161         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20166         * benchtests/Makefile: Sort function entries.
20168         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20169         tanh, asinh, acosh, atanh.
20170         * benchtests/acos-inputs: New file.
20171         * benchtests/acosh-inputs: New file.
20172         * benchtests/asin-inputs: New file.
20173         * benchtests/asinh-inputs: New file.
20174         * benchtests/atanh-inputs: New file.
20175         * benchtests/cosh-inputs: New file.
20176         * benchtests/log-inputs: New file.
20177         * benchtests/sinh-inputs: New file.
20178         * benchtests/tanh-inputs: New file.
20180 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20182         [BZ #15339]
20183         * posix/tst-getaddrinfo4.c: New test.
20184         * posix/Makefile (tests): Add it.
20186 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20188         [BZ #15339]
20189         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20190         when no services were used.
20191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20192         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20194 2013-05-21  Andreas Schwab  <schwab@suse.de>
20196         [BZ #15014]
20197         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20198         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20199         successful.
20200         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20201         redundant variable declarations and reallocation of buffer when
20202         parsing as IPv6 address.  Always set NSS status when called from
20203         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20204         buffer too small.  Correct computation of needed size.
20205         * nss/Makefile (tests): Add test-digits-dots.
20206         * nss/test-digits-dots.c: New test.
20208 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20210         * benchtests/Makefile: Remove instructions for adding
20211         benchmark tests.
20212         * benchtests/README: New file to explain how to execute and
20213         enhance the benchmark tests.
20215 2013-05-21  Andreas Schwab  <schwab@suse.de>
20217         [BZ #15493]
20218         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20219         * setjmp/tst-sigsetjmp.c: New test.
20221 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20223         * sysdeps/x86_64/memset.S (memset): New implementation.
20224         (__bzero): Likewise.
20225         (__memset_tail): New function.
20227 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20229         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20230         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20231         __memcpy_sse2_unaligned ifunc selection.
20232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20233         Add memcpy-sse2-unaligned.S.
20234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20235         Add: __memcpy_sse2_unaligned.
20237 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20239         [BZ #15490]
20240         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20241         math_force_eval before restoring floating-point envrionment.
20242         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20243         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20244         Likewise.
20245         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20246         <math_private.h>.
20247         (__nearbyintl): Use math_force_eval before restoring
20248         floating-point environment.
20249         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20251         * math/gen-libm-test.pl (special_functions): Remove.
20252         (parse_args): Don't handle TEST_extra.  Handle functions with no
20253         return value.
20254         * math/libm-test.inc (struct test_sincos_data): Replace with
20255         struct test_fFF_11_data.
20256         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20257         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20258         (sincos_test_data): Change element type to struct
20259         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20260         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20261         RUN_TEST_LOOP_sincos.
20262         * math/README.libm-test: Don't mention special handling of
20263         individual functions.
20264         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20265         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20266         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20267         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20268         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20271         * math/gen-libm-test.pl (get_variable): Remove function.
20272         (parse_args): Don't show pointer parameters to call in test
20273         names.  Use "extra output N" in test names for extra outputs
20274         rather than naming variables.
20276 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20278         [BZ #15488]
20279         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20280         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20281         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20282         double tests.
20283         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20284         disable.
20285         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20286         check_long_double.
20288         * math/gen-libm-test.pl (@tests): Remove variable.
20289         ($count): Likewise.
20290         (new_test): Remove function.
20291         (show_exceptions): New function.
20292         (special_functions): Use show_exceptions instead of new_test.
20293         (parse_args): Likewise.
20294         (generate_testfile): Pass only function name in generated call to
20295         print_max_error or print_complex_max_error.
20296         (get_ulps): Do not handle complex tests specially.
20297         (output_test): Rename to ...
20298         (get_all_ulps_for_test): ... this.  Return a string rather than
20299         printing to a file.  Require ulps to be present.
20300         (output_ulps): Generate arrays rather than #defines.
20301         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20302         (struct ulp_data): New type.
20303         (BUILD_COMPLEX_ULP): Remove macro.
20304         (compare_ulp_data): New function.
20305         (find_ulps): Likewise.
20306         (find_test_ulps): Likewise.
20307         (find_function_ulps): Likewise.
20308         (find_complex_function_ulps): Likewise.
20309         (print_max_error): Determine allowed ulps using
20310         find_function_ulps.
20311         (print_complex_max_error): Determine allowed ulps using
20312         find_complex_function_ulps.
20313         (check_float_internal): Determine max ulps using find_test_ulps.
20314         (check_float): Do not take max_ulp parameter.  Update call to
20315         check_float_internal.
20316         (check_complex): Likewise.
20317         (check_int): Do not take max_ulp parameter.
20318         (check_long): Likewise.
20319         (check_bool): Likewise.
20320         (check_longlong): Likewise.
20321         (struct test_f_f_data): Remove max_ulp field.
20322         (struct test_ff_f_data): Likewise.
20323         (struct test_ff_f_data_nexttoward): Likewise.
20324         (struct test_fi_f_data): Likewise.
20325         (struct test_fl_f_data): Likewise.
20326         (struct test_if_f_data): Likewise.
20327         (struct test_fff_f_data): Likewise.
20328         (struct test_c_f_data): Likewise.
20329         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20330         (struct test_fF_f1_data): Likewise.
20331         (struct test_ffI_f1_data): Likewise.
20332         (struct test_c_c_data): Remove max_ulp field.
20333         (struct test_cc_c_data): Likewise.
20334         (struct test_f_i_data): Likewise.
20335         (struct test_ff_i_data): Likewise.
20336         (struct test_f_l_data): Likewise.
20337         (struct test_f_L_data): Likewise.
20338         (struct test_sincos_data): Likewise.
20339         (RUN_TEST_f_f): Do not handle ulps.
20340         (RUN_TEST_LOOP_f_f): Likewise.
20341         (RUN_TEST_2_f): Likewise.
20342         (RUN_TEST_LOOP_2_f): Likewise.
20343         (RUN_TEST_fff_f): Likewise.
20344         (RUN_TEST_LOOP_fff_f): Likewise.
20345         (RUN_TEST_c_f): Likewise.
20346         (RUN_TEST_LOOP_c_f): Likewise.
20347         (RUN_TEST_f_f1): Likewise.
20348         (RUN_TEST_LOOP_f_f1): Likewise.
20349         (RUN_TEST_fF_f1): Likewise.
20350         (RUN_TEST_LOOP_fF_f1): Likewise.
20351         (RUN_TEST_fI_f1): Likewise.
20352         (RUN_TEST_LOOP_fI_f1): Likewise.
20353         (RUN_TEST_ffI_f1): Likewise.
20354         (RUN_TEST_LOOP_ffI_f1): Likewise.
20355         (RUN_TEST_c_c): Likewise.
20356         (RUN_TEST_LOOP_c_c): Likewise.
20357         (RUN_TEST_cc_c): Likewise.
20358         (RUN_TEST_LOOP_cc_c): Likewise.
20359         (RUN_TEST_f_i): Likewise.
20360         (RUN_TEST_LOOP_f_i): Likewise.
20361         (RUN_TEST_f_i_tg): Likewise.
20362         (RUN_TEST_LOOP_f_i_tg): Likewise.
20363         (RUN_TEST_ff_i_tg): Likewise.
20364         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20365         (RUN_TEST_f_b): Likewise.
20366         (RUN_TEST_LOOP_f_b): Likewise.
20367         (RUN_TEST_f_b_tg): Likewise.
20368         (RUN_TEST_LOOP_f_b_tg): Likewise.
20369         (RUN_TEST_f_l): Likewise.
20370         (RUN_TEST_LOOP_f_l): Likewise.
20371         (RUN_TEST_f_L): Likewise.
20372         (RUN_TEST_LOOP_f_L): Likewise.
20373         (RUN_TEST_sincos): Likewise.
20374         (RUN_TEST_LOOP_sincos): Likewise.
20376 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20378         [BZ #15480]
20379         [BZ #15485]
20380         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20381         main case of finite arguments, set rounding mode to FE_TONEAREST
20382         and discard exceptions.
20383         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20384         exceptions.
20385         (remainder_tonearest_test_data): New variable.
20386         (remainder_test_tonearest): New function.
20387         (remainder_towardzero_test_data): New variable.
20388         (remainder_test_towardzero): New function.
20389         (remainder_downward_test_data): New variable.
20390         (remainder_test_downward): New function.
20391         (remainder_upward_test_data): New variable.
20392         (remainder_test_upward): New function.
20393         (main): Call the new test functions.
20395         * math/libm-test.inc (struct test_f_f1_data): Remove field
20396         extra_init.
20397         (struct test_fF_f1_data): Likewise.
20398         (struct test_ffI_f1_data): Likewise.
20399         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20400         based on value of EXTRA_EXPECTED.
20401         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20402         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20403         EXTRA_VAR based on value of EXTRA_EXPECTED.
20404         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20405         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20406         EXTRA_VAR based on value of EXTRA_EXPECTED.
20407         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20408         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20409         EXTRA_VAR based on value of EXTRA_EXPECTED.
20410         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20411         * math/gen-libm-test.pl (parse_args): Don't output initializers
20412         for extra output values.
20414         * math/libm-test.inc (check_int): Expect result to be exactly
20415         equal to expected value and do not handle ulps.
20416         (check_long): Likewise.
20417         (check_longlong): Likewise.
20419         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20420         exceptions.
20421         (cimag_test_data): Likewise.
20422         (conj_test_data): Likewise.
20423         (copysign_test_data): Likewise.
20424         (cproj_test_data): Likewise.
20425         (creal_test_data): Likewise.
20426         (fabs_test_data): Likewise.
20427         (fdim_test_data): Likewise.
20428         (finite_test_data): Likewise.
20429         (floor_test_data): Likewise.
20430         (fmax_test_data): Likewise.
20431         (fmin_test_data): Likewise.
20432         (fmod_test_data): Likewise.
20433         (fpclassify_test_data): Likewise.
20434         (frexp_test_data): Likewise.
20435         (ilogb_test_data): Likewise.
20436         (isfinite_test_data): Likewise.
20437         (isgreater_test_data): Likewise.
20438         (isgreaterequal_test_data): Likewise.
20439         (isinf_test_data): Likewise.
20440         (isless_test_data): Likewise.
20441         (islessequal_test_data): Likewise.
20442         (islessgreater_test_data): Likewise.
20443         (isnan_test_data): Likewise.
20444         (isnormal_test_data): Likewise.
20445         (issignaling_test_data): Likewise.
20446         (isunordered_test_data): Likewise.
20447         (ldexp_test_data): Likewise.
20448         (lrint_test_data): Likewise.
20449         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20450         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20451         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20452         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20453         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20454         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20455         test input.
20456         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20457         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20458         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20459         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20460         that test input.
20461         (lrint_downward_test_data): Test for "inexact" exceptions.
20462         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20463         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20464         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20465         test input.
20466         (lrint_upward_test_data): Test for "inexact" exceptions.
20467         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20468         test input.
20469         (llrint_test_data): Test for "inexact" exceptions.
20470         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20471         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20472         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20473         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20474         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20475         (llrint_downward_test_data): Test for "inexact" exceptions.
20476         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20477         (llrint_upward_test_data): Test for "inexact" exceptions.
20478         (logb_test_data): Likewise.
20479         (logb_downward_test_data): Likewise.
20480         (nextafter_test_data): Likewise.
20481         (nexttoward_test_data): Likewise.
20482         (remainder_test_data): Likewise.
20483         (remquo_test_data): Likewise.
20484         (scalbn_test_data): Likewise.
20485         (scalbln_test_data): Likewise.
20486         (signbit_test_data): Likewise.
20487         (sqrt_test_data): Likewise.
20488         (significand_test_data): Likewise.
20490 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20492         [BZ #15424]
20493         * benchtests/bench-modf.c (struct args): Mark arg0 as
20494         volatile.
20495         * scripts/bench.pl: Mark members of struct args as volatile.
20497 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20499         [BZ # 15497]
20500         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20501         negative infinity on POWER6 or lower.
20502         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20504 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20506         [BZ #15442]
20507         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20508         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20509         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20510         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20511         (_FP_SETQNAN): New macro.
20512         (_FP_SETQNAN_SEMIRAW): Likewise.
20513         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20514         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20515         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20516         (FP_EXTEND): Use _FP_FRAC_SNANP.
20517         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20518         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20519         into account.
20520         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20521         New macro.
20522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20523         Likewise.
20525 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20527         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20528         with DIVIDE_BY_ZERO_EXCEPTION.
20529         (gamma_test_data): Likewise.
20530         (lgamma_test_data): Likewise.
20531         (log_test_data): Likewise.
20532         (log10_test_data): Likewise.
20533         (log2_test_data): Likewise.
20534         (tgamma_test_data): Likewise.
20536         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20537         (acos_test_tonearest): Likewise.
20538         (acos_test_towardzero): Likewise.
20539         (acos_test_downward): Likewise.
20540         (acos_test_upward): Likewise.
20541         (acosh_test): Likewise.
20542         (asin_test): Likewise.
20543         (asin_test_tonearest): Likewise.
20544         (asin_test_towardzero): Likewise.
20545         (asin_test_downward): Likewise.
20546         (asin_test_upward): Likewise.
20547         (asinh_test): Likewise.
20548         (atan_test): Likewise.
20549         (atanh_test): Likewise.
20550         (atan2_test): Likewise.
20551         (cabs_test): Likewise.
20552         (cacos_test): Likewise.
20553         (cacosh_test): Likewise.
20554         (casin_test): Likewise.
20555         (casinh_test): Likewise.
20556         (catan_test): Likewise.
20557         (catanh_test): Likewise.
20558         (cbrt_test): Likewise.
20559         (ccos_test): Likewise.
20560         (ccosh_test): Likewise.
20561         (cexp_test): Likewise.
20562         (clog_test): Likewise.
20563         (clog10_test): Likewise.
20564         (cos_test): Likewise.
20565         (cos_test_tonearest): Likewise.
20566         (cos_test_towardzero): Likewise.
20567         (cos_test_downward): Likewise.
20568         (cos_test_upward): Likewise.
20569         (cosh_test): Likewise.
20570         (cosh_test_tonearest): Likewise.
20571         (cosh_test_towardzero): Likewise.
20572         (cosh_test_downward): Likewise.
20573         (cosh_test_upward): Likewise.
20574         (cpow_test): Likewise.
20575         (csin_test): Likewise.
20576         (csinh_test): Likewise.
20577         (csqrt_test): Likewise.
20578         (ctan_test): Likewise.
20579         (ctan_test_tonearest): Likewise.
20580         (ctan_test_towardzero): Likewise.
20581         (ctan_test_downward): Likewise.
20582         (ctan_test_upward): Likewise.
20583         (ctanh_test): Likewise.
20584         (ctanh_test_tonearest): Likewise.
20585         (ctanh_test_towardzero): Likewise.
20586         (ctanh_test_downward): Likewise.
20587         (ctanh_test_upward): Likewise.
20588         (erf_test): Likewise.
20589         (erfc_test): Likewise.
20590         (exp_test): Likewise.
20591         (exp_test_tonearest): Likewise.
20592         (exp_test_towardzero): Likewise.
20593         (exp_test_downward): Likewise.
20594         (exp_test_upward): Likewise.
20595         (exp10_test): Likewise.
20596         (exp2_test): Likewise.
20597         (expm1_test): Likewise.
20598         (fmod_test): Likewise.
20599         (gamma_test): Likewise.
20600         (hypot_test): Likewise.
20601         (j0_test): Likewise.
20602         (j1_test): Likewise.
20603         (jn_test): Likewise.
20604         (lgamma_test): Likewise.
20605         (log_test): Likewise.
20606         (log10_test): Likewise.
20607         (log1p_test): Likewise.
20608         (log2_test): Likewise.
20609         (logb_test_downward): Likewise.
20610         (pow_test): Likewise.
20611         (pow_test_tonearest): Likewise.
20612         (pow_test_towardzero): Likewise.
20613         (pow_test_downward): Likewise.
20614         (pow_test_upward): Likewise.
20615         (remainder_test): Likewise.
20616         (remquo_test): Likewise.
20617         (sin_test): Likewise.
20618         (sin_test_tonearest): Likewise.
20619         (sin_test_towardzero): Likewise.
20620         (sin_test_downward): Likewise.
20621         (sin_test_upward): Likewise.
20622         (sincos_test): Likewise.
20623         (sinh_test): Likewise.
20624         (sinh_test_tonearest): Likewise.
20625         (sinh_test_towardzero): Likewise.
20626         (sinh_test_downward): Likewise.
20627         (sinh_test_upward): Likewise.
20628         (sqrt_test): Likewise.
20629         (tan_test): Likewise.
20630         (tan_test_tonearest): Likewise.
20631         (tan_test_towardzero): Likewise.
20632         (tan_test_downward): Likewise.
20633         (tan_test_upward): Likewise.
20634         (tanh_test): Likewise.
20635         (tgamma_test): Likewise.
20636         (y0_test): Likewise.
20637         (y1_test): Likewise.
20638         (yn_test): Likewise.
20640         * math/gen-libm-test.pl (adjust_arg): Remove function.
20641         (special_function): Remove argument $in_func.  Only handle
20642         generating output for tables of tests, not inside functions.
20643         (parse_args): Likewise.
20644         (generate_testfile): Remove variable $in_func.  Update call to
20645         parse_args.
20646         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20647         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20648         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20649         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20650         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20651         (MAX_VALUE_INIT): Rename macro to max_value.
20652         (MIN_VALUE_INIT): Rename macro to min_value.
20653         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20654         (plus_zero): Remove variable.
20655         (minus_zero): Likewise.
20656         (plus_infty): Likewise.
20657         (minus_infty): Likewise.
20658         (qnan_value): Likewise.
20659         (max_value): Likewise.
20660         (min_value): Likewise.
20661         (min_subnorm_value): Likewise.
20663 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20665         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20666         uint64_t or uint32_t usage.
20667         * crypt/sha256-block.c: Likewise.
20668         * crypt/sha256-crypt.c: Likewise.
20669         * crypt/sha256.c: Likewise.
20670         * crypt/sha512-block.c: Likewise.
20671         * crypt/sha512-crypt.c: Likewise.
20672         * crypt/sha512.c: Likewise.
20673         * debug/backtrace-tst.c: Likewise.
20674         * debug/pcprofiledump.c: Likewise.
20675         * elf/cache.c: Likewise.
20676         * elf/dl-cache.c: Likewise.
20677         * elf/dl-misc.c: Likewise.
20678         * elf/dl-profile.c: Likewise.
20679         * elf/dl-support.c: Likewise.
20680         * elf/ldconfig.c: Likewise.
20681         * elf/sprof.c: Likewise.
20682         * iconv/dummy-repertoire.c: Likewise.
20683         * iconv/iconv_charmap.c: Likewise.
20684         * iconv/skeleton.c: Likewise.
20685         * iconvdata/8bit-generic.c: Likewise.
20686         * iconvdata/cp737.h: Likewise.
20687         * iconvdata/cp775.h: Likewise.
20688         * iconvdata/ibm1008.h: Likewise.
20689         * iconvdata/ibm1025.h: Likewise.
20690         * iconvdata/ibm1046.h: Likewise.
20691         * iconvdata/ibm1097.h: Likewise.
20692         * iconvdata/ibm1112.h: Likewise.
20693         * iconvdata/ibm1122.h: Likewise.
20694         * iconvdata/ibm1123.h: Likewise.
20695         * iconvdata/ibm1124.h: Likewise.
20696         * iconvdata/ibm1129.h: Likewise.
20697         * iconvdata/ibm1130.h: Likewise.
20698         * iconvdata/ibm1132.h: Likewise.
20699         * iconvdata/ibm1133.h: Likewise.
20700         * iconvdata/ibm1137.h: Likewise.
20701         * iconvdata/ibm1140.h: Likewise.
20702         * iconvdata/ibm1141.h: Likewise.
20703         * iconvdata/ibm1142.h: Likewise.
20704         * iconvdata/ibm1143.h: Likewise.
20705         * iconvdata/ibm1144.h: Likewise.
20706         * iconvdata/ibm1145.h: Likewise.
20707         * iconvdata/ibm1146.h: Likewise.
20708         * iconvdata/ibm1147.h: Likewise.
20709         * iconvdata/ibm1148.h: Likewise.
20710         * iconvdata/ibm1149.h: Likewise.
20711         * iconvdata/ibm1153.h: Likewise.
20712         * iconvdata/ibm1154.h: Likewise.
20713         * iconvdata/ibm1155.h: Likewise.
20714         * iconvdata/ibm1156.h: Likewise.
20715         * iconvdata/ibm1157.h: Likewise.
20716         * iconvdata/ibm1158.h: Likewise.
20717         * iconvdata/ibm1160.h: Likewise.
20718         * iconvdata/ibm1161.h: Likewise.
20719         * iconvdata/ibm1162.h: Likewise.
20720         * iconvdata/ibm1163.h: Likewise.
20721         * iconvdata/ibm1164.h: Likewise.
20722         * iconvdata/ibm1166.h: Likewise.
20723         * iconvdata/ibm1167.h: Likewise.
20724         * iconvdata/ibm12712.h: Likewise.
20725         * iconvdata/ibm1390.h: Likewise.
20726         * iconvdata/ibm1399.h: Likewise.
20727         * iconvdata/ibm16804.h: Likewise.
20728         * iconvdata/ibm4517.h: Likewise.
20729         * iconvdata/ibm4899.h: Likewise.
20730         * iconvdata/ibm4909.h: Likewise.
20731         * iconvdata/ibm4971.h: Likewise.
20732         * iconvdata/ibm5347.h: Likewise.
20733         * iconvdata/ibm803.h: Likewise.
20734         * iconvdata/ibm856.h: Likewise.
20735         * iconvdata/ibm901.h: Likewise.
20736         * iconvdata/ibm902.h: Likewise.
20737         * iconvdata/ibm9030.h: Likewise.
20738         * iconvdata/ibm9066.h: Likewise.
20739         * iconvdata/ibm921.h: Likewise.
20740         * iconvdata/ibm922.h: Likewise.
20741         * iconvdata/ibm9448.h: Likewise.
20742         * iconvdata/isiri-3342.h: Likewise.
20743         * iconvdata/jis0201.h: Likewise.
20744         * include/link.h: Likewise.
20745         * include/netdb.h: Likewise.
20746         * inet/check_native.c: Likewise.
20747         * inet/check_pf.c: Likewise.
20748         * inet/getipv4sourcefilter.c: Likewise.
20749         * inet/getnameinfo.c: Likewise.
20750         * inet/getsourcefilter.c: Likewise.
20751         * inet/htonl.c: Likewise.
20752         * inet/setipv4sourcefilter.c: Likewise.
20753         * inet/setsourcefilter.c: Likewise.
20754         * inet/test-inet6_opt.c: Likewise.
20755         * inet/tst-network.c: Likewise.
20756         * locale/C-collate.c: Likewise.
20757         * locale/C-ctype.c: Likewise.
20758         * locale/C-time.c: Likewise.
20759         * locale/C-translit.h: Likewise.
20760         * locale/loadarchive.c: Likewise.
20761         * locale/programs/3level.h: Likewise.
20762         * locale/programs/charmap.c: Likewise.
20763         * locale/programs/charmap.h: Likewise.
20764         * locale/programs/ld-address.c: Likewise.
20765         * locale/programs/ld-collate.c: Likewise.
20766         * locale/programs/ld-ctype.c: Likewise.
20767         * locale/programs/ld-identification.c: Likewise.
20768         * locale/programs/ld-measurement.c: Likewise.
20769         * locale/programs/ld-messages.c: Likewise.
20770         * locale/programs/ld-monetary.c: Likewise.
20771         * locale/programs/ld-name.c: Likewise.
20772         * locale/programs/ld-numeric.c: Likewise.
20773         * locale/programs/ld-paper.c: Likewise.
20774         * locale/programs/ld-telephone.c: Likewise.
20775         * locale/programs/ld-time.c: Likewise.
20776         * locale/programs/linereader.c: Likewise.
20777         * locale/programs/locale.c: Likewise.
20778         * locale/programs/locarchive.c: Likewise.
20779         * locale/programs/locfile.h: Likewise.
20780         * locale/programs/repertoire.c: Likewise.
20781         * locale/programs/simple-hash.c: Likewise.
20782         * locale/programs/simple-hash.h: Likewise.
20783         * malloc/memusage.c: Likewise.
20784         * malloc/memusagestat.c: Likewise.
20785         * nis/nis_defaults.c: Likewise.
20786         * nis/nis_hash.c: Likewise.
20787         * nis/nis_print.c: Likewise.
20788         * nis/nis_xdr.c: Likewise.
20789         * nscd/connections.c: Likewise.
20790         * nscd/hstcache.c: Likewise.
20791         * nscd/nscd_gethst_r.c: Likewise.
20792         * nscd/nscd_getserv_r.c: Likewise.
20793         * nscd/nscd_helper.c: Likewise.
20794         * nscd/servicescache.c: Likewise.
20795         * nss/makedb.c: Likewise.
20796         * nss/nss_db/db-XXX.c: Likewise.
20797         * nss/nss_db/db-initgroups.c: Likewise.
20798         * nss/nss_db/db-netgrp.c: Likewise.
20799         * nss/nss_files/files-network.c: Likewise.
20800         * nss/nss_files/files-parse.c: Likewise.
20801         * posix/bug-regex5.c: Likewise.
20802         * posix/fnmatch_loop.c: Likewise.
20803         * posix/regcomp.c: Likewise.
20804         * posix/regexec.c: Likewise.
20805         * posix/tst-rfc3484-2.c: Likewise.
20806         * posix/tst-rfc3484-3.c: Likewise.
20807         * posix/tst-rfc3484.c: Likewise.
20808         * resolv/nss_dns/dns-canon.c: Likewise.
20809         * resolv/nss_dns/dns-network.c: Likewise.
20810         * resolv/res_init.c: Likewise.
20811         * resolv/res_mkquery.c: Likewise.
20812         * resolv/tst-aton.c: Likewise.
20813         * stdlib/cxa_atexit.c: Likewise.
20814         * stdlib/cxa_finalize.c: Likewise.
20815         * stdlib/gen-fpioconst.c: Likewise.
20816         * stdlib/strtol_l.c: Likewise.
20817         * string/tst-endian.c: Likewise.
20818         * sunrpc/auth_des.c: Likewise.
20819         * sunrpc/clnt_udp.c: Likewise.
20820         * sunrpc/rtime.c: Likewise.
20821         * sunrpc/svcauth_des.c: Likewise.
20822         * sunrpc/xdr.c: Likewise.
20823         * sunrpc/xdr_intXX_t.c: Likewise.
20824         * sunrpc/xdr_rec.c: Likewise.
20825         * sysdeps/generic/ldconfig.h: Likewise.
20826         * sysdeps/generic/ldsodefs.h: Likewise.
20827         * sysdeps/generic/memusage.h: Likewise.
20828         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20829         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20830         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20831         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20832         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20833         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20834         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20835         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20836         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20837         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20838         * sysdeps/posix/getaddrinfo.c: Likewise.
20839         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20840         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20841         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20842         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20843         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20844         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20845         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20846         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20847         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20848         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20849         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20850         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20851         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20852         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20853         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20854         * sysdeps/x86_64/dl-tls.h: Likewise.
20855         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20856         * time/alt_digit.c: Likewise.
20857         * time/era.c: Likewise.
20858         * wcsmbs/tst-c16c32-1.c: Likewise.
20860 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20862         * math/libm-test.inc (struct test_sincos_data): New type.
20863         (RUN_TEST_LOOP_sincos): New macro.
20864         (sincos_test_data): New variable.
20865         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20867 2013-05-16  Richard Henderson  <rth@redhat.com>
20869         * math/atest-exp2.c (LIMB64): New macro.
20870         (CONSTSZ): New macro.
20871         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20872         (hexdig): Move ...
20873         (print_mpn_fp): ... to function scope.
20874         (read_mpn_hex): Remove.
20875         (get_log2): Remove.
20876         (exp2_mpn): Use mp_log2.
20877         (main): Use mp_exp1.
20879 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20881         * math/libm-test.inc: Remove comment about not testing "inexact"
20882         exceptions.
20883         (INEXACT_EXCEPTION): New macro.
20884         (NO_INEXACT_EXCEPTION): Likewise.
20885         (INVALID_EXCEPTION_OK): Update value.
20886         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20887         (OVERFLOW_EXCEPTION_OK): Likewise.
20888         (UNDERFLOW_EXCEPTION_OK): Likewise.
20889         (IGNORE_ZERO_INF_SIGN): Likewise.
20890         (ERRNO_UNCHANGED): Likewise.
20891         (ERRNO_EDOM): Likewise.
20892         (ERRNO_ERANGE): Likewise.
20893         (test_exceptions): Handle testing "inexact" exceptions.
20894         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20895         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20896         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20897         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20898         INEXACT_EXCEPTION.
20899         (rint_towardzero_test_data): Likewise.
20900         (rint_downward_test_data): Likewise.
20901         (rint_upward_test_data): Likewise.
20903         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20904         with OVERFLOW_EXCEPTION.
20905         (exp10_test_data): Likewise.
20906         (exp2_test_data): Likewise.
20907         (expm1_test_data): Likewise.
20908         (lgamma_test_data): Likewise.
20909         (pow_test_data): Likewise.
20910         (tgamma_test_data): Likewise.
20911         (yn_test_data): Remove duplicate test of overflow.
20913         * math/libm-test.inc (struct test_cc_c_data): New type.
20914         (RUN_TEST_LOOP_cc_c): New macro.
20915         (cpow_test_data): New variable.
20916         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20918         * math/libm-test.inc (struct test_f_L_data): New type.
20919         (RUN_TEST_LOOP_f_L): New macro.
20920         (llrint_test_data): New variable.
20921         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20922         (llrint_tonearest_test_data): New variable.
20923         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20924         (llrint_towardzero_test_data): New variable.
20925         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20926         (llrint_downward_test_data): New variable.
20927         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20928         (llrint_upward_test_data): New variable.
20929         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20930         (llround_test_data): New variable.
20931         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20933 2013-05-13  Peter Collingbourne  <pcc@google.com>
20935         * math/atest-exp2.c (get_log2): Remove const attribute.
20937 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20939         * math/libm-test.inc (struct test_f_l_data): New type.
20940         (RUN_TEST_LOOP_f_l): New macro.
20941         (lrint_test_data): New variable.
20942         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20943         (lrint_tonearest_test_data): New variable.
20944         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20945         (lrint_towardzero_test_data): New variable.
20946         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20947         (lrint_downward_test_data): New variable.
20948         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20949         (lrint_upward_test_data): New variable.
20950         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20951         (lround_test_data): New variable.
20952         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20954 2013-05-15  Peter Collingbourne  <pcc@google.com>
20956         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20957         (EXTRACT_WORDS64) Use where appropriate.
20958         (INSERT_WORDS64) Likewise.
20960         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20961         constraints with x constraints.
20962         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20964         * malloc/obstack.c (_obstack_compat): Add initializer.
20966 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20968         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20969         si_trapno and add si_addr_lsb to _sifields.sigfault.
20970         (si_trapno): Remove macro.
20971         (si_addr_lsb): Define new macro.
20972         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20974 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20976         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20977         instead of TEST_f_l.
20978         (llrint_test_tonearest): Likewise.
20979         (llrint_test_towardzero): Likewise.
20980         (llrint_test_downward): Likewise.
20981         (llrint_test_upward): Likewise.
20982         (llround_test): Likewise.
20984         * math/libm-test.inc (struct test_f_i_data): Add comment.
20985         (RUN_TEST_LOOP_f_b): New macro.
20986         (RUN_TEST_LOOP_f_b_tg): Likewise.
20987         (finite_test_data): New variable.
20988         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20989         (isfinite_test_data): New variable.
20990         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20991         (isinf_test_data): New variable.
20992         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20993         (isnan_test_data): New variable.
20994         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20995         (isnormal_test_data): New variable.
20996         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20997         (issignaling_test_data): New variable.
20998         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20999         (signbit_test_data): New variable.
21000         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21002         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21003         with INVALID_EXCEPTION.
21004         (acosh_test_data): Likewise.
21005         (asin_test_data): Likewise.
21006         (atanh_test_data): Likewise.
21007         (fmod_test_data): Likewise.
21008         (log_test_data): Likewise.
21009         (log10_test_data): Likewise.
21010         (log2_test_data): Likewise.
21011         (pow_test_data): Likewise.
21012         (sqrt_test_data): Likewise.
21013         (y0_test_data): Likewise.
21014         (y1_test_data): Likewise.
21015         (yn_test_data): Likewise.
21017         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21018         function contents.
21020         * math/libm-test.inc (struct test_ff_i_data): New type.
21021         (RUN_TEST_LOOP_ff_i_tg): New macro.
21022         (isgreater_test_data): New variable.
21023         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21024         (isgreaterequal_test_data): New variable.
21025         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21026         (isless_test_data): New variable.
21027         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21028         (islessequal_test_data): New variable.
21029         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21030         (islessgreater_test_data): New variable.
21031         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21032         (isunordered_test_data): New variable.
21033         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21035 2013-05-14  David S. Miller  <davem@davemloft.net>
21037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21039 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21041         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21043         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21044         extra_test to int.
21045         (struct test_f_i_data): Change type of max_ulp to int.
21047         * math/libm-test.inc (test_ffI_f1_data): New type.
21048         (RUN_TEST_LOOP_ffI_f1): New macro.
21049         (remquo_test_data): New variable.
21050         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21052         * setjmp/tst-setjmp-fp.c: New file.
21053         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21054         (link-libm): New variable.
21055         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21057         * math/libm-test.inc (struct test_f_i_data): New type.
21058         (RUN_TEST_LOOP_f_i): New macro.
21059         (RUN_TEST_LOOP_f_i_tg): Likewise.
21060         (fpclassify_test_data): New variable.
21061         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21062         (ilogb_test_data): New variable.
21063         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21065         * math/libm-test.inc (scalbln_test): Correct function name in END
21066         call.
21068         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21069         (RUN_TEST_LOOP_fI_f1): New macro.
21070         (frexp_test_data): New variable.
21071         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21073         * math/libm-test.inc (struct test_fF_f1_data): New type.
21074         (RUN_TEST_LOOP_fF_f1): New macro.
21075         (modf_test_data): New variable.
21076         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21078         * math/libm-test.inc (struct test_f_f1_data): New type.
21079         (RUN_TEST_LOOP_f_f1): New macro.
21080         (gamma_test_data): New variable.
21081         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21082         (lgamma_test_data): New variable.
21083         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21085 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21087         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21088         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21089         (main): Comment "tls" pseudo-hwcap.
21091 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21093         * math/libm-test.inc (struct test_fl_f_data): New type.
21094         (RUN_TEST_LOOP_fl_f): New variable.
21095         (scalbln_test_data): New variable.
21096         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21098         * math/libm-test.inc (struct test_fi_f_data): New type.
21099         (RUN_TEST_LOOP_fi_f): New macro.
21100         (ldexp_test_data): New variable.
21101         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21102         (scalbn_test_data): New variable.
21103         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21105         * math/libm-test.inc (struct test_c_f_data): New type.
21106         (RUN_TEST_LOOP_c_f): New macro.
21107         (cabs_test_data): New variable.
21108         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21109         (carg_test_data): New variable.
21110         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21111         (cimag_test_data): New variable.
21112         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21113         (creal_test_data): New variable.
21114         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21116         * math/libm-test.inc (struct test_if_f_data): New type.
21117         (RUN_TEST_LOOP_if_f): New macro.
21118         (jn_test_data): New variable.
21119         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21120         (yn_test_data): New variable.
21121         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21123         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21125 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21127         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21128         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21130 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21132         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21133         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21134         (bench-deps): Add bench-timing.h.
21135         * benchtests-bench-skeleton.c: Include bench-timing.h.
21136         (main): Use TIMING_* macros instead of clock_gettime.
21137         * benchtests/bench-timing.h: New file.
21139         [BZ #14582]
21140         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21141         Renamed from _LIB_VERSION.
21142         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21144 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21146         * math/libm-test.inc (struct test_fff_f_data): New type.
21147         (RUN_TEST_LOOP_fff_f): New macro.
21148         (fma_test_data): New variable.
21149         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21150         (fma_towardzero_test_data): New variable.
21151         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21152         (fma_downward_test_data): New variable.
21153         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21154         (fma_upward_test_data): New variable.
21155         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21157         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21158         (struct test_c_c_data): New type.
21159         (RUN_TEST_LOOP_c_c): New macro.
21160         (cacos_test_data): New variable.
21161         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21162         (cacosh_test_data): New variable.
21163         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21164         (casin_test_data): New variable.
21165         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21166         (casinh_test_data): New variable.
21167         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21168         (catan_test_data): New variable.
21169         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21170         (catanh_test_data): New variable.
21171         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21172         (ccos_test_data): New variable.
21173         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21174         (ccosh_test_data): New variable.
21175         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21176         (cexp_test_data): New variable.
21177         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21178         (clog_test_data): New variable.
21179         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21180         (clog10_test_data): New variable.
21181         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21182         (conj_test_data): New variable.
21183         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21184         (cproj_test_data): New variable.
21185         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21186         (csin_test_data): New variable.
21187         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21188         (csinh_test_data): New variable.
21189         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21190         (csqrt_test_data): New variable.
21191         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21192         (ctan_test_data): New variable.
21193         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21194         (ctan_tonearest_test_data): New variable.
21195         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21196         (ctan_towardzero_test_data): New variable.
21197         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21198         (ctan_downward_test_data): New variable.
21199         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21200         (ctan_upward_test_data): New variable.
21201         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21202         (ctanh_test_data): New variable.
21203         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21204         (ctanh_tonearest_test_data): New variable.
21205         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21206         (ctanh_towardzero_test_data): New variable.
21207         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21208         (ctanh_downward_test_data): New variable.
21209         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21210         (ctanh_upward_test_data): New variable.
21211         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21212         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21213         of BUILD_COMPLEX.
21215         * math/libm-test.inc (struct test_ff_f_data): New type.
21216         (struct test_ff_f_data_nexttoward): Likewise.
21217         (RUN_TEST_LOOP_2_f): New macro.
21218         (RUN_TEST_LOOP_ff_f): Likewise.
21219         (atan2_test_data): New variable.
21220         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21221         (copysign_test_data): New variable.
21222         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21223         (fdim_test_data): New variable.
21224         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21225         (fmax_test_data): New variable.
21226         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21227         (fmin_test_data): New variable.
21228         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21229         (fmod_test_data): New variable.
21230         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21231         (hypot_test_data): New variable.
21232         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21233         (nextafter_test_data): New variable.
21234         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21235         (nexttoward_test_data): New variable.
21236         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21237         (pow_test_data): New variable.
21238         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21239         (pow_tonearest_test_data): New variable.
21240         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21241         (pow_towardzero_test_data): New variable.
21242         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21243         (pow_downward_test_data): New variable.
21244         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21245         (pow_upward_test_data): New variable.
21246         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21247         (remainder_test_data): New variable.
21248         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21249         (scalb_test_data): New variable.
21250         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21251         * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21255         * math/libm-test.inc (fma_test): Use max_value instead of local
21256         variable fltmax.
21257         (nextafter_test): Likewise.
21259         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21260         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21261         (acos_downward_test_data): New variable.
21262         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21263         (acos_upward_test_data): New variable.
21264         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21265         (acosh_test_data): New variable.
21266         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21267         (asin_test_data): New variable.
21268         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21269         (asin_tonearest_test_data): New variable.
21270         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21271         (asin_towardzero_test_data): New variable.
21272         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21273         (asin_downward_test_data): New variable.
21274         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21275         (asin_upward_test_data): New variable.
21276         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21277         (asinh_test_data): New variable.
21278         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21279         (atan_test_data): New variable.
21280         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21281         (atanh_test_data): New variable.
21282         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21283         (cbrt_test_data): New variable.
21284         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21285         (ceil_test_data): New variable.
21286         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21287         (cos_test_data): New variable.
21288         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21289         (cos_tonearest_test_data): New variable.
21290         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21291         (cos_towardzero_test_data): New variable.
21292         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21293         (cos_downward_test_data): New variable.
21294         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21295         (cos_upward_test_data): New variable.
21296         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21297         (cosh_test_data): New variable.
21298         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21299         (cosh_tonearest_test_data): New variable.
21300         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21301         (cosh_towardzero_test_data): New variable.
21302         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21303         (cosh_downward_test_data): New variable.
21304         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21305         (cosh_upward_test_data): New variable.
21306         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21307         (erf_test_data): New variable.
21308         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21309         (erfc_test_data): New variable.
21310         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21311         (exp_test_data): New variable.
21312         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21313         (exp_tonearest_test_data): New variable.
21314         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21315         (exp_towardzero_test_data): New variable.
21316         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21317         (exp_downward_test_data): New variable.
21318         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21319         (exp_upward_test_data): New variable.
21320         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21321         (exp10_test_data): New variable.
21322         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21323         (exp2_test_data): New variable.
21324         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21325         (expm1_test_data): New variable.
21326         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21327         (fabs_test_data): New variable.
21328         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21329         (floor_test_data): New variable.
21330         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21331         (j0_test_data): New variable.
21332         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21333         (j1_test_data): New variable.
21334         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21335         (log_test_data): New variable.
21336         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21337         (log10_test_data): New variable.
21338         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21339         (log1p_test_data): New variable.
21340         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21341         (log2_test_data): New variable.
21342         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21343         (logb_test_data): New variable.
21344         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21345         (logb_downward_test_data): New variable.
21346         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21347         (nearbyint_test_data): New variable.
21348         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21349         (rint_test_data): New variable.
21350         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21351         (rint_tonearest_test_data): New variable.
21352         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21353         (rint_towardzero_test_data): New variable.
21354         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21355         (rint_downward_test_data): New variable.
21356         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21357         (rint_upward_test_data): New variable.
21358         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21359         (round_test_data): New variable.
21360         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21361         (sin_test_data): New variable.
21362         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21363         (sin_tonearest_test_data): New variable.
21364         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21365         (sin_towardzero_test_data): New variable.
21366         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21367         (sin_downward_test_data): New variable.
21368         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21369         (sin_upward_test_data): New variable.
21370         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21371         (sinh_test_data): New variable.
21372         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21373         (sinh_tonearest_test_data): New variable.
21374         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21375         (sinh_towardzero_test_data): New variable.
21376         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21377         (sinh_downward_test_data): New variable.
21378         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21379         (sinh_upward_test_data): New variable.
21380         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21381         (sqrt_test_data): New variable.
21382         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21383         (tan_test_data): New variable.
21384         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21385         (tan_tonearest_test_data): New variable.
21386         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21387         (tan_towardzero_test_data): New variable.
21388         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21389         (tan_downward_test_data): New variable.
21390         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21391         (tan_upward_test_data): New variable.
21392         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21393         (tanh_test_data): New variable.
21394         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21395         (tgamma_test_data): New variable.
21396         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21397         (trunc_test_data): New variable.
21398         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21399         (y0_test_data): New variable.
21400         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21401         (y1_test_data): New variable.
21402         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21403         (significand_test_data): New variable.
21404         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21406 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21408         [BZ #12387]
21409         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21411 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21413         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21415 2013-05-10  Andreas Jaeger  <aj@suse.de>
21417         [BZ #15448]
21418         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21419         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21421 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21423         * math/gen-libm-test.pl (adjust_arg): New function.
21424         (special_functions): Handle generating output in both functions
21425         and arrays.
21426         (parse_args): Likewise.
21427         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21428         $in_func argument to parse_args.
21429         * math/libm-test.inc (struct test_f_f_data): New type.
21430         (IF_ROUND_INIT_): New macro.
21431         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21432         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21433         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21434         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21435         (ROUND_RESTORE_): Likewise.
21436         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21437         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21438         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21439         (ROUND_RESTORE_FE_UPWARD): Likewise.
21440         (RUN_TEST_LOOP_f_f): New macro.
21441         (acos_test_data): New variable.
21442         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21443         (acos_tonearest_test_data): New variable.
21444         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21446 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21448         * benchtests/bench-skeleton.c (startup): Fix coding style.
21450 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21452         [BZ #6809]
21453         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21454         negative infinity argument.
21455         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21456         negative infinity argument.
21457         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21458         negative infinity argument.
21459         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21460         domain errors.
21462 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21464         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21465         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21466         * iconv/iconv_prog.c (main): Likewise.
21467         * locale/programs/charmap-dir.c (charmap_readdir)
21468         (fopen_uncompressed): Likewise.
21469         * locale/programs/locfile.c (siblings_uncached)
21470         (write_locale_data): Use lstat64 instead of lstat.
21471         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21472         stat.
21474 2013-05-10  Andreas Jaeger  <aj@suse.de>
21476         [BZ #15395]
21477         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21478         localization.
21479         Include <locale.h>.
21481 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21483         * elf/dl-close.c (_dl_close_worker): Add comments.
21485 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21487         [BZ #15359]
21488         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21489         high part of pi/2.
21490         (__ieee754_rem_pio2l): Update comments.
21492         [BZ #15429]
21493         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21494         high part of pi/2.
21495         (__ieee754_rem_pio2l): Update comments.
21497         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21498         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21500         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21501         M_PI_4l.
21503         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21504         (M_PI_34_LOG10El): Likewise.
21505         (M_PI2_LOG10El): Likewise.
21506         (M_PI4_LOG10El): Likewise.
21507         (M_PI_LOG10El): Likewise.
21509 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21513 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21515         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21516         (MINUS_ZERO_INIT): Likewise.
21517         (PLUS_INFTY_INIT): Likewise.
21518         (MINUS_INFTY_INIT): Likewise.
21519         (QNAN_VALUE_INIT): Likewise.
21520         (MAX_VALUE_INIT): Likewise.
21521         (MIN_VALUE_INIT): Likewise.
21522         (MIN_SUBNORM_VALUE_INIT): Likewise.
21523         (plus_zero): Initialize with PLUS_ZERO_INIT.
21524         (minus_zero): Initialize with MINUS_ZERO_INIT.
21525         (plus_infty): Initialize with PLUS_INFTY_INIT.
21526         (minus_infty): Initialize with MINUS_INFTY_INIT.
21527         (qnan_value): Initialize with QNAN_VALUE_INIT.
21528         (max_value): Initialize with MAX_VALUE_INIT.
21529         (min_value): Initialize with MIN_VALUE_INIT.
21530         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21532         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21533         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21534         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21535         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21537         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21538         (RUN_TEST_2_f): Likewise.
21539         (RUN_TEST_ff_f): Likewise.
21540         (RUN_TEST_fi_f): Likewise.
21541         (RUN_TEST_fl_f): Likewise.
21542         (RUN_TEST_fff_f): Likewise.
21543         (RUN_TEST_c_f): Likewise.
21544         (RUN_TEST_f_f1): Likewise.
21545         (RUN_TEST_fF_f1): Likewise.
21546         (RUN_TEST_fI_f1): Likewise.
21547         (RUN_TEST_ffI_f1): Likewise.
21548         (RUN_TEST_c_c): Likewise.
21549         (RUN_TEST_cc_c): Likewise.
21550         (RUN_TEST_f_i): Likewise.
21551         (RUN_TEST_f_i_tg): Likewise.
21552         (RUN_TEST_ff_i_tg): Likewise.
21553         (RUN_TEST_f_b): Likewise.
21554         (RUN_TEST_f_b_tg): Likewise.
21555         (RUN_TEST_f_l): Likewise.
21556         (RUN_TEST_f_L): Likewise.
21557         (RUN_TEST_sincos): Likewise.
21558         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21559         whether to show exceptions.  Do not include ");\n" in return
21560         value.
21561         (special_functions): Output call to RUN_TEST_sincos instead of
21562         check_float calls.  Update calls to new_test.
21563         (parse_args): Output call to single RUN_TEST_* macro instead of
21564         check_* calls and other assignments.  Update calls to new_test.
21566         [BZ #2546]
21567         [BZ #2560]
21568         [BZ #5159]
21569         [BZ #15426]
21570         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21571         input to result for tgamma overflow.
21572         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21573         (gamma_coeff): New variable.
21574         (NCOEFF): New macro.
21575         (gamma_positive): New function.
21576         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21577         underflow here.  Use gamma_positive instead of exp (lgamma) for
21578         other arguments.
21579         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21580         (gamma_coeff): New variable.
21581         (NCOEFF): New macro.
21582         (gammaf_positive): New function.
21583         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21584         underflow here.  Use gamma_positive instead of exp (lgamma) for
21585         other arguments.
21586         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21587         (gamma_coeff): New variable.
21588         (NCOEFF): New macro.
21589         (gammal_positive): New function.
21590         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21591         underflow here.  Use gamma_positive instead of exp (lgamma) for
21592         other arguments.
21593         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21594         (gamma_coeff): New variable.
21595         (NCOEFF): New macro.
21596         (gammal_positive): New function.
21597         (__ieee754_gammal_r): Handle positive infinity, overflow and
21598         underflow here.  Handle NaN the same as positive infinity.  Remove
21599         check x < 0xffffffff for negative integers.  Use gamma_positive
21600         instead of exp (lgamma) for other arguments.
21601         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21602         (gamma_coeff): New variable.
21603         (NCOEFF): New macro.
21604         (gammal_positive): New function.
21605         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21606         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21607         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21608         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21609         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21610         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21611         * sysdeps/generic/math_private.h (__gamma_productf): New
21612         prototype.
21613         (__gamma_product): Likewise.
21614         (__gamma_productl): Likewise.
21615         * math/Makefile (libm-calls): Add gamma_product.
21616         * math/libm-test.inc (tgamma_test): Add more tests.
21617         * sysdeps/i386/fpu/libm-test-ulps: Update.
21618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21620 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21622         * benchtests/bench-skeleton.c (main): Preheat CPU.
21624 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21626         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21628 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21630         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21631         and _dl_skip_args_internal.
21633 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21635         * manual/message.texi (Message Translation): Talk about users.
21636         Message to key mapping impacts design.
21638 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21640         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21642         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21644         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21645         * sysdeps/wordsize-64/glob64.c: ... here.
21647         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21648         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21649         New macros.
21651         * debug/getlogin_r_chk.c: Moved to ...
21652         * login/getlogin_r_chk.c: ... here.
21653         * debug/Makefile (routines): Move getlogin_r_chk to ...
21654         * login/Makefile (routines): ... here.
21655         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21656         * login/Versions (libc: GLIBC_2.4): ... here.
21658         * io/poll.c (__poll): Renamed from poll.
21659         Add libc_hidden_def.
21660         (poll): Define as weak alias.
21662         * debug/ptsname_r_chk.c: Moved to ...
21663         * login/ptsname_r_chk.c: ... here.
21664         * debug/Makefile (routines): Move ptsname_r_chk to ...
21665         * login/Makefile (routines): ... here.
21666         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21667         * login/Versions (libc: GLIBC_2.4): ... here.
21669         * posix/getlogin.c: Moved to ...
21670         * login/getlogin.c: ... here.
21671         * posix/getlogin_r.c: Moved to ...
21672         * login/getlogin_r.c: ... here.
21673         * posix/getlogin_r.c: Moved to ...
21674         * login/getlogin_r.c: ... here.
21675         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21676         * login/Makefile (routines): ... here.
21677         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21678         * login/Versions (libc: GLIBC_2.0): ... here.
21680         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21681         (setrlimit): Define as weak alias.
21683         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21684         Call __ names for open, ftruncate, and close.
21685         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21686         (truncate): Define as weak alias.
21688 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21690         * math/gen-libm-test.pl (parse_args): Initialize x before each
21691         test of frexp, modf and remquo.
21693         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21694         test signgam value.
21696 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21698         [BZ #15418]
21699         [BZ #15419]
21700         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21701         internal tests.
21702         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21704 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21706         * elf/dl-writev.h: New file.
21707         * elf/dl-misc.c: Include it.
21708         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21709         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21711 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21713         * math/libm-test.inc (noXFails): Remove variable.
21714         (noXPasses): Likewise.
21715         (BUILD_COMPLEX_INT): Remove macro.
21716         (print_screen): Remove xfail argument.
21717         (print_screen_max_error): Likewise.
21718         (update_stats): Likewise.
21719         (print_max_error): Likewise.  Update calls to other affected
21720         functions.
21721         (print_complex_max_error): Likewise.
21722         (test_single_exception): Update calls to print_screen.
21723         (test_single_errno): Likewise.
21724         (check_float_internal): Remove xfail argument.  Update calls to
21725         other affected functions.
21726         (check_float): Likewise.
21727         (check_complex): Likewise.
21728         (check_int): Likewise.
21729         (check_long): Likewise.
21730         (check_bool): Likewise.
21731         (check_longlong): Likewise.
21732         (main): Don't print noXFails and noXPasses.
21733         * math/gen-libm-test.pl (top level): Don't mention expected
21734         failure handling in comment.
21735         (new_test): Don't handle expected failures.
21736         (parse_args): Don't mention expected failure handling in comment.
21737         (generate_testfile): Don't handle expected failures.
21738         (parse_ulps): Likewise.
21739         (print_ulps_file): Likewise.
21740         (get_failure): Remove function.
21741         (output_test): Don't handle expected failures.
21742         * make/README.libm-test: Don't mention expected failure handling.
21744         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21745         (minus_zero): Likewise.
21746         (plus_infty): Likewise.
21747         (minus_infty): Likewise.
21748         (qnan_value): Likewise.
21749         (max_value): Likewise.
21750         (min_value): Likewise.
21751         (min_subnorm_value): Likewise.
21752         (initialize): Do not initialize those variables dynamically.
21754 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21756         * io/open.c (__open_2): Moved to ...
21757         * io/open_2.c: ... this new file.
21758         * io/open64.c (__open64_2): Moved to ...
21759         * io/open64_2.c: ... this new file.
21760         * io/openat.c (__openat_2): Moved to ...
21761         * io/openat_2.c: ... this new file.
21762         * io/openat64.c (__openat64_2): Moved to ...
21763         * io/openat64_2.c: ... this new file.
21764         * io/Makefile (routines): Add them.
21765         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21766         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21767         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21768         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21769         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21770         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21771         (__openat64): Add hidden_ver.
21772         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21773         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21775         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21776         Separately conditionalize setting of GLRO(dl_sysinfo) so
21777         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21778         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21780 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21782         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21783         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21784         definition.
21785         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21786         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21787         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21788         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21789         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21791 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21793         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21794         test signgam value.
21796         * math/libm-test.inc (hypot_test): Do not use
21797         IGNORE_ZERO_INF_SIGN.
21799 2013-05-03  Andreas Jaeger  <aj@suse.de>
21801         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21802         Linux 3.9.
21803         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21804         (PF_MAX): Adjust for VSOCK change.
21806 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21810 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21812         [BZ #15264]
21813         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21814         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21815         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21817 2013-05-02  David S. Miller  <davem@davemloft.net>
21819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21821 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21823         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21825 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21827         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21829 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21831         [BZ #14952]
21832         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21833         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21834         Use __attribute__ ((__gnu_inline__)).
21835         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21836         Don't use __attribute__ ((__gnu_inline__)).
21838 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21840         [BZ #15423]
21841         * math/s_catan.c (__catan): Handle small real or imaginary part of
21842         input specially to avoid spurious underflow.
21843         * math/s_catanf.c (__catanf): Likewise.
21844         * math/s_catanh.c (__catanh): Likewise.
21845         * math/s_catanhf.c (__catanhf): Likewise.
21846         * math/s_catanhl.c (__catanhl): Likewise.
21847         * math/s_catanl.c (__catanl): Likewise.
21848         * math/libm-test.inc (catan_test): Add more tests.
21849         (catanh_test): Likewise.
21850         * sysdeps/i386/fpu/libm-test-ulps: Update.
21851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21853 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21857 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21859         [BZ #15416]
21860         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21861         accurately for denominator in atan2.
21862         * math/s_catanf.c (__catanf): Likewise.
21863         * math/s_catanh.c (__catanh): Likewise.
21864         * math/s_catanhf.c (__catanhf): Likewise.
21865         * math/s_catanhl.c (__catanhl): Likewise.
21866         * math/s_catanl.c (__catanl): Likewise.
21867         * math/libm-test.inc (catan_test): Add more tests.
21868         (catanh_test): Likewise.
21869         * sysdeps/i386/fpu/libm-test-ulps: Update.
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21872 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21874         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21876         * benchtests/Makefile (bench): Remove slow benchmarks.
21877         * benchtests/atan-inputs: Add slow benchmark inputs.
21878         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21879         (BENCH_FUNC): Accept variant offset.
21880         (VARIANT): Define.
21881         * benchtests/bench-skeleton.c (main): Run benchmark for each
21882         variant.
21883         * benchtests/cos-inputs: Add slow benchmark inputs.
21884         * benchtests/exp-inputs: Likewise.
21885         * benchtests/pow-inputs: Likewise.
21886         * benchtests/sin-inputs: Likewise.
21887         * benchtests/slowatan-inputs: Remove.
21888         * benchtests/slowatan.c: Remove.
21889         * benchtests/slowcos-inputs: Remove.
21890         * benchtests/slowcos.c: Remove.
21891         * benchtests/slowexp-inputs: Remove.
21892         * benchtests/slowexp.c: Remove.
21893         * benchtests/slowpow-inputs: Remove.
21894         * benchtests/slowpow.c: Remove.
21895         * benchtests/slowsin-inputs: Remove.
21896         * benchtests/slowsin.c: Remove.
21897         * benchtests/slowtan-inputs: Remove.
21898         * benchtests/slowtan.c: Remove.
21899         * benchtests/tan-inputs: Add slow benchmark inputs.
21900         * scripts/bench.pl: Parse comments and directives.
21902         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21903         in CPPFLAGS.
21904         ($(objpfx)bench-%.c): Remove *-ITER.
21905         * benchtests/bench-modf.c: Remove definition of ITER.
21906         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21907         (main): Loop for DURATION seconds instead of fixed number of
21908         iterations.
21909         * scripts/bench.pl: Don't expect iterations in parameters.
21911 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21913         * io/fchdir.c (__fchdir): Renamed from fchdir.
21914         (fchdir): Define as weak alias.
21916 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21918         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21919         (ERRNO_EDOM): Likewise.
21920         (ERRNO_ERANGE): Likewise.
21921         (noErrnoTests): New variable.
21922         (init_max_error): Set errno to 0.
21923         (test_single_errno): New function.
21924         (test_errno): Likewise.
21925         (check_float_internal): Call test_errno.  Set errno to 0.
21926         (check_complex): Refer to errno tests in comment.
21927         (check_int): Call test_errno.  Set errno to 0.
21928         (check_long): Likewise.
21929         (check_bool): Likewise.
21930         (check_longlong): Likewise.
21931         (cos_test): Use ERRNO_* flags for errno tests instead of
21932         check_int.
21933         (expm1_test): Likewise.
21934         (fmod_test): Likewise.
21935         (ilogb_test): Likewise.
21936         (lgamma_test): Likewise.
21937         (pow_test): Likewise.
21938         (remainder_test): Likewise.
21939         (sin_test): Likewise.
21940         (tan_test): Likewise.
21941         (yn_test): Likewise.
21942         (initialize): Set errno to 0.
21943         (main): Print number of errno tests.
21944         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21946 2013-04-29  Andreas Jaeger  <aj@suse.de>
21948         [BZ #15084]
21949         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21950         and RES_USEVC.
21952         [BZ #15085]
21953         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21954         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21955         unimplemented.
21957         [BZ #15380]
21958         * stdlib/random.c (__initstate): Return NULL if
21959         __initstate fails.
21961         [BZ #15086]
21962         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21963         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21964         RES_SNGLKUPREOP.
21966 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21970 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21972         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21973         of individual tests.
21974         (casin_test): Likewise.
21975         (casinh_test): Likewise.
21977 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21979         [BZ #15409]
21980         * math/s_catan.c (__catan): Handle arguments with large real or
21981         imaginary part separately without squaring.
21982         * math/s_catanf.c (__catanf): Likewise.
21983         * math/s_catanh.c (__catanh): Likewise.
21984         * math/s_catanhf.c (__catanhf): Likewise.
21985         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21986         and redefine.
21987         (__catanhl): Handle arguments with large real or imaginary part
21988         separately without squaring.
21989         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21990         and redefine.
21991         (__catanl): Handle arguments with large real or imaginary part
21992         separately without squaring.
21993         * math/libm-test.inc (catan_test): Add more tests.
21994         (catanh_test): Likewise.
21995         * sysdeps/i386/fpu/libm-test-ulps: Update.
21996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21998 2013-04-27  Andreas Jaeger  <aj@suse.de>
22000         [BZ #15007]
22001         * stdlib/stdlib.h: Update guards for qecvt.
22002         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22003         <stdlib.h>.
22005 2013-04-27  Allan McRae  <allan@archlinux.org>
22007         * sysdeps/i386/fpu/libm-test-ulps: Update.
22009 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22011         [BZ #15406]
22012         * math/s_catan.c: Include <float.h>.
22013         (__catan): Ensure underflow exception occurs for underflowed
22014         result.
22015         * math/s_catanf.c: Include <float.h>.
22016         (__catanf): Ensure underflow exception occurs for underflowed
22017         result.
22018         * math/s_catanh.c: Include <float.h>.
22019         (__catanh): Ensure underflow exception occurs for underflowed
22020         result.
22021         * math/s_catanhf.c: Include <float.h>.
22022         (__catanhf): Ensure underflow exception occurs for underflowed
22023         result.
22024         * math/s_catanhl.c: Include <float.h>.
22025         (__catanhl): Ensure underflow exception occurs for underflowed
22026         result.
22027         * math/s_catanl.c: Include <float.h>.
22028         (__catanl): Ensure underflow exception occurs for underflowed
22029         result.
22030         * math/libm-test.inc (catan_test): Add more tests.
22031         (catanh_test): Likewise.
22033         [BZ #15405]
22034         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22035         underflowed result.
22036         * math/s_ccoshf.c (__ccoshf): Likewise.
22037         * math/s_ccoshl.c (__ccoshl): Likewise.
22038         * math/s_csin.c (__csin): Likewise.
22039         * math/s_csinf.c (__csinf): Likewise.
22040         * math/s_csinh.c (__csinh): Likewise.
22041         * math/s_csinhf.c (__csinhf): Likewise.
22042         * math/s_csinhl.c (__csinhl): Likewise.
22043         * math/s_csinl.c (__csinl): Likewise.
22044         * math/libm-test.inc (ccos_test): Add more tests.
22045         (ccosh_test): Likewise.
22046         (csin_test): Likewise.
22047         (csinh_test): Likewise.
22049 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22051         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22052         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22053         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22054         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22055         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22056         powerpc/power5+/fpu folders.
22057         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22060 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22062         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22064 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22066         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22067         additions to variable.
22068         [$(config-machine) = x86_64] (modules-names): Likewise.
22069         ($(objpfx)tst-audit3): Remove dependency.
22070         ($(objpfx)tst-audit3.out): Likewise.
22071         ($(objpfx)tst-audit4): Likewise.
22072         ($(objpfx)tst-audit4.out): Likewise.
22073         ($(objpfx)tst-audit5): Likewise.
22074         ($(objpfx)tst-audit5.out): Likewise.
22075         ($(objpfx)tst-audit6): Likewise.
22076         ($(objpfx)tst-audit6.out): Likewise.
22077         ($(objpfx)tst-audit7): Likewise.
22078         ($(objpfx)tst-audit7.out): Likewise.
22079         (tst-audit3-ENV): Remove variable.
22080         (tst-audit4-ENV): Likewise.
22081         (tst-audit5-ENV): Likewise.
22082         (tst-audit6-ENV): Likewise.
22083         (tst-audit7-ENV): Likewise.
22084         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22085         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22086         addition to variable.
22087         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22088         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22089         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22090         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22091         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22092         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22093         tst-audit3, tst-audit4 and tst-audit5.
22094         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22095         tst-audit6 and tst-audit7.
22096         [$(subdir) = elf] (modules-names): Add audit modules for those
22097         tests.
22098         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22099         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22100         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22101         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22102         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22103         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22104         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22105         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22106         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22107         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22108         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22109         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22110         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22111         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22112         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22113         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22114         Likewise.
22115         [$(subdir) = elf && $(config-cflags-avx) = yes]
22116         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22117         [$(subdir) = elf && $(config-cflags-avx) = yes]
22118         (CFLAGS-tst-auditmod4a.c): Likewise.
22119         [$(subdir) = elf && $(config-cflags-avx) = yes]
22120         (CFLAGS-tst-auditmod4b.c): Likewise.
22121         [$(subdir) = elf && $(config-cflags-avx) = yes]
22122         (CFLAGS-tst-auditmod6b.c): Likewise.
22123         [$(subdir) = elf && $(config-cflags-avx) = yes]
22124         (CFLAGS-tst-auditmod6c.c): Likewise.
22125         [$(subdir) = elf && $(config-cflags-avx) = yes]
22126         (CFLAGS-tst-auditmod7b.c): Likewise.
22127         * elf/tst-audit3.c: Move to ...
22128         * sysdeps/x86_64/tst-audit3.c: ... here.
22129         * elf/tst-audit4.c: Move to ...
22130         * sysdeps/x86_64/tst-audit4.c: ... here.
22131         * elf/tst-audit5.c: Move to ...
22132         * sysdeps/x86_64/tst-audit5.c: ... here.
22133         * elf/tst-audit6.c: Move to ...
22134         * sysdeps/x86_64/tst-audit6.c: ... here.
22135         * elf/tst-audit7.c: Move to ...
22136         * sysdeps/x86_64/tst-audit7.c: ... here.
22137         * elf/tst-auditmod3a.c: Move to ...
22138         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22139         * elf/tst-auditmod3b.c: Move to ...
22140         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22141         * elf/tst-auditmod4a.c: Move to ...
22142         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22143         * elf/tst-auditmod4b.c: Move to ...
22144         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22145         * elf/tst-auditmod5a.c: Move to ...
22146         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22147         * elf/tst-auditmod5b.c: Move to ...
22148         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22149         * elf/tst-auditmod6a.c: Move to ...
22150         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22151         * elf/tst-auditmod6b.c: Move to ...
22152         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22153         * elf/tst-auditmod6c.c: Move to ...
22154         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22155         * elf/tst-auditmod7a.c: Move to ...
22156         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22157         * elf/tst-auditmod7b.c: Move to ...
22158         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22160 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22162         [BZ #15366]
22163         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22164         define unconditionally.
22165         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22166         define unconditionally.
22167         (INT8_C, INT16_C, etc.): Likewise.
22169 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22171         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22172         __ehdr_start with hidden visibility.
22174         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22176 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22178         * math/libm-test.inc (cos_test): Use accurate hex constants.
22179         (sincost_test): Likewise.
22181 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22183         * math/libm-test.inc (catan_test): Add more tests.
22184         (catanh_test): Likewise.
22186         * math/s_catanf.c (__catanf): Use suffixed floating-point
22187         constants.
22188         * math/s_catanhf.c (__catanhf): Likewise.
22189         * math/s_catanhl.c (__catanhl): Likewise.
22190         * math/s_catanl.c (__catanl): Likewise.
22192         [BZ #15394]
22193         * math/s_catan.c (__catan): Calculate imaginary part of result
22194         with log1p not log unless computing log of number close to 0.
22195         * math/s_catanf.c (__catanf): Likewise.
22196         * math/s_catanl.c (__catanl): Likewise.
22197         * math/s_catanh.c (__catanh): Calculate real part of result with
22198         log1p not log unless computing log of number close to 0.
22199         * math/s_catanhf.c (__catanhf): Likewise.
22200         * math/s_catanhl.c (__catanhl): Likewise.
22201         * math/libm-test.inc (catan_test): Add more tests.
22202         (catanh_test): Likewise.
22203         * sysdeps/i386/fpu/libm-test-ulps: Update.
22204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22206 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22208         * benchtests/Makefile: Mention files in which fast and slow
22209         paths of math functions are implemented.
22211 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22213         * sysdeps/posix/timespec_get.c: New file.
22215 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22217         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22218         POWER.
22219         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22220         for POWER.
22221         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22222         powerpc/power5/fpu folders.
22223         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22224         * benchtests/Makefile: Add modf testcase.
22225         * benchtests/bench-modf.c: New file: Benchmark test for mo
22227 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22229         [BZ #14888]
22230         * time/Makefile (tests): Add tst-strptime-whitespace.
22231         * time/strptime_l.c (get_number): Use ISSPACE.
22232         (__strptime_internal): Likewise.
22233         * time/tst-strptime-whitespace.c: New test case.
22235 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22237         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22238         member.
22239         (_nss_files_init): Set it here.
22241 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22243         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22244         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22245         unsigned.
22247 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22249         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22251 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22253         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22254         size just once.
22256 2013-04-21  David S. Miller  <davem@davemloft.net>
22258         * po/ru.po: Update Russion translation from translation project.
22260 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22262         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22263         and setfsgid.
22265 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22267         * configure.in: Remove i386 configure warning. Remove i386 case.
22268         * configure: Regenerate.
22269         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22270         Add example to error message.
22271         * sysdeps/i386/configure: Regenerate.
22273 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22275         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22276         slowtan.
22277         * benchtests/cos-inputs: New file.
22278         * benchtests/slowcos-inputs: New file.
22279         * benchtests/slowcos.c: New file.
22280         * benchtests/slowtan-inputs: New file.
22281         * benchtests/slowtan.c: New file.
22282         * benchtests/tan-inputs: New file.
22284 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22286         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22287         considered kosher.
22289 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22291         * benchtests/Makefile: Include cppflags-iterator.mk to add
22292         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22294         * Makefile.in (bench-clean): New target.
22295         * benchtests/Makefile (bench-clean): Likewise.
22297 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22299         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22301 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22303         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22305 2013-04-15  Andreas Schwab  <schwab@suse.de>
22307         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22309         * nscd/pwdcache.c (cache_addpw): Likewise.
22310         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22311         more than recsize.
22313 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22315         * benchtests/Makefile (bench): Write all output to
22316         bench-out.tmp together.
22318 2013-04-15  Andreas Schwab  <schwab@suse.de>
22320         * nscd/nscd.c (main): Don't fork again after closing files.
22322 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22324         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22326         * benchtests/Rules (bench-deps): Collect dependencies into a
22327         single variable.  Add Makefile to dependencies.
22328         ($(objpfx)bench-%.c): Depend on bench-deps.
22330 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22331             Xavier Roche  <roche+kml2@exalead.com>
22333         [BZ #15361]
22334         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22335         just that it's a file descriptor.
22336         * manual/llio.texi (Synchronizing AIO Operations): Update description
22337         for EBADF error from aio_fsync.
22339 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22341         * Rules (bench): Move target definition...
22342         * benchtests/Makefile: ... here.
22344 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22346         * math/libm-test.inc (cos_test): Fix PI/2 test.
22347         (sincos_test): Likewise.
22348         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22349         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22351 2013-04-11  Andreas Schwab  <schwab@suse.de>
22353         [BZ #13988]
22354         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22355         accept exponent character only when digits were seen.
22356         * stdio-common/Makefile (tests): Add bug26.
22357         * stdio-common/bug26.c: New file.
22359         [BZ #14293]
22360         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22361         non-freeable.
22363 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22365         * Makeconfig (rtld-prefix): Define built linker prefix.
22366         * Rules (run-bench): Use it.
22367         * math/Makefile (run-regen-ulps): Likewise.
22369         * Rules (bench): Remove eval.
22371 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22372             Roland McGrath  <roland@hack.frob.com>
22373             Ondrej Bilka  <neleai@seznam.cz>
22375         [BZ #15346]
22376         * time/getdate.c: Include ctype.h and alloca.h.
22377         (__getdate_r): Trim leading and trailing spaces of input.
22378         * time/tst-getdate.c (tests): Add tests with leading and
22379         trailing spaces.
22381 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22383         [BZ #14280]
22384         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22385         when computing value.
22387 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22389         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22390         Use testrun.sh to run libm tests.
22392         [BZ #15309]
22393         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22395 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22397         [BZ #15264]
22398         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22400 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22402         * Makefile.in (regen-ulps): New target.
22403         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22404         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22405         [ifneq (no,$(PERL)] (regen-ulps): New target.
22406         [ifeq (no,$(PERL)] (regen-ulps): New target.
22407         * math/libm-test.inc (ulps_file_name): Define.
22408         (output_dir): New variable.
22409         (options): Add "output-dir" option.
22410         (parse_opt): Handle 'o' case.
22411         (main): If output_dir is non-NULL use it as a prefix
22412         otherwise use "".
22413         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22415 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22417         [BZ #10060, #10062]
22418         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22419         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22420         fail configure if __sync_val_compare_and_swap is not inlined.
22421         * sysdeps/i386/configure: Regenerate.
22422         * configure.in: Build for i686 when configured for i386.
22423         * configure: Regenerate.
22424         * README: Remove i386 reference.
22426 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22428         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22429         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22431 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22433         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22434         (lmsnanval): New variables.
22435         (F): Add conversion tests.
22436         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22437         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22439         * stdio-common/tstdiomisc.c (F): Properly collect individual
22440         tests' results.
22442         [BZ #14686, #15336]
22443         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22444         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22445         Instead, use input NaN values or generate a qNaN by arithmetic
22446         operation.  Also fix bugs to comply with the standard.
22447         * math/libm-test.inc (remainder_test): Add more tests.
22449         [BZ #15335, #15342]
22450         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22451         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22452         input NaN values or generate a qNaN by arithmetic operation.
22454         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22455         unreachable code.
22457         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22458         definitions.
22460 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22462         [BZ #14478]
22463         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22464         underflowed result.
22465         * math/s_cexpf.c (__cexpf): Likewise.
22466         * math/s_cexpl.c (__cexpl): Likewise.
22467         * math/libm-test.inc (cexp_test): Add more tests.
22469 2013-04-03  Andreas Schwab  <schwab@suse.de>
22471         [BZ #15330]
22472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22473         order arrays from heap if bigger than alloca cutoff.
22475 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22477         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22478         (SNAN_TESTS_double): Refer to GCC PR56831.
22479         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22480         GCC PR56828.
22482 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484         * Rules (bench): Move bench.out after the run is complete.
22486         * Rules (bench): Echo currently running benchmark.
22488         * benchtests/Makefile (bench): Add atan and slowatan.
22489         * benchtests/atan-inputs: New file.
22490         * benchtests/slowatan-inputs: New file.
22491         * benchtests/slowatan.c: New file.
22493         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22494         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22495         its value.
22497         [BZ #15305]
22498         * sysdeps/unix/sysv/linux/kernel-features.h
22499         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22500         __ASSUME_XFS_RESTRICTED_CHOWN.
22501         * sysdeps/unix/sysv/linux/pathconf.c
22502         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22503         Save and restore errno.
22505 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22507         [BZ #15327]
22508         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22509         arguments using __kernel_casinh.
22510         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22511         arguments using __kernel_casinhf.
22512         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22513         arguments using __kernel_casinhl.
22514         * math/libm-test.inc (cacosh_test): Add more tests.
22515         * sysdeps/i386/fpu/libm-test-ulps: Update.
22516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22518 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22520         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22521         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22523         * bench/Makefile (bench): Add sin and slowsin.
22524         * benchtests/sin-inputs: New file.
22525         * benchtests/slowsin-inputs: New file.
22526         * benchtests/slowsin.c: New file.
22528         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22529         (bench): Add slowexp and slowpow.
22530         (exp-ITER): Increase iterations.
22531         (pow-ITER): Likewise.
22532         * benchtests/exp-inputs: Change input.
22533         * benchtests/pow-inputs: Likewise.
22534         * benchtests/slowexp-inputs: New file.
22535         * benchtests/slowexp.c: New file.
22536         * benchtests/slowpow-inputs: New file.
22537         * benchtests/slowpow.c: New file.
22539 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22541         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22542         instructions.
22543         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22544         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22545         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22546         * benchtests/Makefile: Add rint benchtest.
22547         * benchtests/rint-inputs: Input for rint benchtest.
22549 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22551         * Versions.def (libm): Add GLIBC_2.18.
22552         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22553         hidden libm prototypes.
22554         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22555         * math/Makefile (libm-calls): Add s_issignaling.
22556         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22557         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22558         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22559         declaration.
22560         * math/math.h [__USE_GNU] (issignaling): New macro.
22561         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22562         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22563         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22564         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22565         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22566         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22567         * manual/arith.texi (issignaling): New section.
22568         * manual/libm-err-tab.pl (@all_functions): Update comment.
22569         * math/gen-libm-test.pl (parse_args): Apply special handling for
22570         issignaling.
22571         * math/libm-test.inc (print_float, issignaling_test): New
22572         functions.
22573         (check_float_internal): Add issignaling checks.
22574         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22575         default definition.
22576         * sysdeps/powerpc/math-tests.h: New file.
22577         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22578         tests.
22579         * math/test-snan.c (TEST_FUNC): Likewise.
22581 2013-03-30  David S. Miller  <davem@davemloft.net>
22583         * po/de.po: Update from translation team.
22585 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22587         [BZ #10357]
22588         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22589         imaginary part less than 1.0 and real part less than 0.5
22590         specially.
22591         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22592         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22593         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22594         (cacos_test): Add more tests.
22595         (casin_test): Likewise.
22596         (casinh_test): Likewise.
22597         * sysdeps/i386/fpu/libm-test-ulps: Update.
22598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22600 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22602         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22603         ONE with its value.
22605         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22606         (__pow_mp): Replace ONE and MONE with their values.
22607         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22608         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22609         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22610         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22611         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22612         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22614         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22616         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22617         (__pow_mp): Replace ZERO and MZERO with their values.
22618         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22620         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22622         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22623         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22624         (__sqr): Likewise.
22626         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22628         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22630 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22632         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22633         Declare with __attribute__ ((weak)).
22634         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22635         Call __call_tls_dtors only if it's not NULL.
22637 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22639         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22640         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22641         magic __ehdr_start linker symbol if it's defined.
22642         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22643         them up here if it was already done.
22645         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22646         (_dl_aux_init): Use const in cast when setting it.
22647         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22648         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22649         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22651         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22652         Declare them here.
22653         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22654         * csu/libc-tls.c: Nor here.
22655         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22657         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22658         (__libc_message): Never call vsyslog.
22660 2013-03-28  Alan Modra  <amodra@gmail.com>
22662         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22663         Define as empty.
22664         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22665         Likewise.
22667 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22669         [BZ #15214]
22670         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22671         underflow.
22672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22674 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22676         [BZ #15304]
22677         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22678         Don't add gid passed as argument.
22680         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22682 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22684         [BZ #15307]
22685         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22686         imaginary part between 1.0 and 1.5 and real part less than 0.5
22687         specially.
22688         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22689         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22690         * math/libm-test.inc (cacos_test): Add more tests.
22691         (casin_test): Likewise.
22692         (casinh_test): Likewise.
22693         * sysdeps/i386/fpu/libm-test-ulps: Update.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22696 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22698         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22699         constants.
22700         (norm): Likewise.
22701         (denorm): Likewise.
22702         (__dbl_mp): Likewise.
22703         (add_magnitudes): Likewise.
22704         (sub_magnitudes): Likewise.
22705         (__add): Likewise.
22706         (__sub): Likewise.
22707         (__mul): Likewise.
22708         (__sqr): Likewise.
22709         (__inv): Likewise.
22710         (__dvd): Likewise.
22712         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22713         commented code.
22714         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22715         (__dubcos): Likewise.
22716         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22717         (__ieee754_acos): Likewise.
22718         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22719         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22720         (__exp1): Likewise.
22721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22722         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22723         (log1): Likewise.
22724         (my_log2): Likewise.
22725         (checkint): Likewise.
22726         * sysdeps/ieee754/dbl-64/e_remainder.c
22727         (__ieee754_remainder): Likewise.
22728         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22729         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22730         (bsloww): Likewise.
22731         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22733         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22734         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22735         MANTISSA_STORE_T to store computations on mantissa.  Use
22736         macros for rounding and division.
22737         (denorm): Likewise.
22738         (__dbl_mp): Likewise.
22739         (add_magnitudes): Likewise.
22740         (sub_magnitudes): Likewise.
22741         (__mul): Likewise.
22742         (__sqr): Likewise.
22743         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22744         powers of two in terms of TWOPOW macro.
22745         (mp_no): Make type of mantissa as MANTISSA_T.
22746         [!RADIXI]: Define RADIXI.
22747         [!TWO52]: Define TWO52.
22748         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22750 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22752         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22753         llroundl symbol when building for PPC32.
22755 2013-03-24  Mark H Weaver  <mhw@netris.org>
22757         * manual/arith.texi (Normalization Functions): Fix prototypes for
22758         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22760 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22762         [BZ #13889]
22763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22764         high value to check if expl overflow.
22765         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22766         to check for underflow and overflow.
22767         * math/libm-test.inc: Add exp test.
22769 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22771         [BZ #11120]
22772         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22773         with NOT_IN_libc.
22775 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22777         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22778         symbol.
22780 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22782         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22783         wrap blocks consisting of several statements.
22785         * sysdeps/generic/math-tests.h: New file.
22786         * sysdeps/i386/fpu/math-tests.h: Likewise.
22787         * math/test-snan.c: Include it.
22788         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22790 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22792         [BZ #15285]
22793         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22794         (__ieee754_j0l): Do not improve calculations using cos of twice
22795         input for inputs above LDBL_MAX / 2.0L.
22796         (__ieee754_y0l): Likewise.
22797         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22798         (__ieee754_j1l): Do not improve calculations using cos of twice
22799         input for inputs above LDBL_MAX / 2.0L.
22800         (__ieee754_y1l): Likewise.
22801         * math/libm-test.inc (j0_test): Add another test.
22802         (j1_test): Likewise.
22803         (y0_test): Likewise.
22804         (y1_test): Likewise.
22805         * sysdeps/i386/fpu/libm-test-ulps: Update.
22807 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22809         * Rules ($(objpfx)bench-%.c): Include code from a C source
22810         file.
22812 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22814         [BZ #15287]
22815         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22816         imaginary part 1.0 and real part less than 0.5 specially.
22817         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22818         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22819         * math/libm-test.inc (cacos_test): Add more tests.
22820         (casin_test): Likewise.
22821         (casinh_test): Likewise.
22822         * sysdeps/i386/fpu/libm-test-ulps: Update.
22823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22825 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22827         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22828         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22830 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22832         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22833         * config.make.in (config-cflags-sse4): Remove variable.
22834         (config-cflags-avx): Likewise.
22835         (config-cflags-sse2avx): Likewise.
22836         (config-cflags-novzeroupper): Likewise.
22837         (config-asflags-i686): Likewise.
22838         (have-mfma4): Likewise.
22839         (have-as-vis3): Likewise.
22840         (MIG): Likewise.
22841         * configure.in (MIG): Do not AC_SUBST.
22842         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22843         (libc_cv_cc_sse4): Do not AC_SUBST.
22844         (libc_cv_cc_avx): Likewise.
22845         (libc_cv_cc_sse2avx): Likewise.
22846         (libc_cv_cc_novzeroupper): Likewise.
22847         (libc_cv_cc_fma4): Likewise.
22848         (libc_cv_as_i686): Likewise.
22849         (libc_cv_sparc_as_vis3): Likewise.
22850         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22851         LIBC_CONFIG_VAR.
22852         (config-asflags-i686): Likewise.
22853         (config-cflags-avx): Likewise.
22854         (config-cflags-sse2avx): Likewise.
22855         (have-mfma4): Likewise.
22856         (config-cflags-novzeroupper): Likewise.
22857         * sysdeps/mach/configure.in (MIG): Likewise.
22858         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22859         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22860         LIBC_CONFIG_VAR.
22861         (config-cflags-avx): Likewise.
22862         (config-cflags-sse2avx): Likewise.
22863         (have-mfma4): Likewise.
22864         (config-cflags-novzeroupper): Likewise.
22865         * configure: Regenerated.
22866         * sysdeps/i386/configure: Likewise.
22867         * sysdeps/mach/configure: Likewise.
22868         * sysdeps/sparc/configure: Likewise.
22869         * sysdeps/x86_64/configure: Likewise.
22871 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22873         [BZ #14812]
22874         * locale/programs/localedef.c (options): Put N_ translation marker
22875         on argument names, not just descriptions.
22877 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22879         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22881 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22883         [BZ #14176]
22884         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22886 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22888         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22889         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22890         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22891         [!BEFORE_ABORT] (before_abort): New function.
22892         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22893         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22894         (writev_for_fatal): New function.
22895         (WRITEV_FOR_FATAL): New macro; call that.
22896         (backtrace_and_maps): New function.
22897         (BEFORE_ABORT): New macro; call that.
22898         (struct str_list): Type removed.
22899         (__libc_message, __libc_fatal): Functions removed.
22900         Include <sysdeps/posix/libc_fatal.c> instead.
22902 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22904         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22905         constants.
22906         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22907         double constants.
22909 2013-03-19  Andreas Schwab  <schwab@suse.de>
22911         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22912         * sysdeps/gnu/configure: Regenerate.
22914         * configure.in: Substitute libc_cv_rtlddir.
22915         * configure: Regenerate.
22916         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22917         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22918         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22919         * elf/Makefile (install-others, CFLAGS-interp.c)
22920         (ldso_install, common-ldd-rewrite): Likewise.
22921         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22922         $(inst_slibdir)/$(rtld-installed-name).
22923         * scripts/rellns-sh: Add -p option.
22924         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22925         for source.
22927 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22929         * manual/nptl.texi: Renamed to ...
22930         * manual/threads.texi: ... this.
22931         * manual/Makefile (chapters): Update.
22933 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22935         [BZ #14812]
22936         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22937         on argument names, not just descriptions.
22938         * malloc/memusagestat.c (options): Likewise.
22939         * nss/getent.c (options): Likewise.
22941 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22943         [BZ #14812]
22944         * iconv/iconv_prog.c (options): Put N_ translation marker
22945         on argument names, not just descriptions.
22946         * iconv/iconvconfig.c (options): Likewise.
22948 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22950         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22951         implementation which is faster on all x86_64 architectures.
22952         Tested on AMD, Intel Nehalem, SNB, IVB.
22953         * sysdeps/x86_64/strnlen.S: Likewise.
22955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22956         Remove all multiarch strlen and strnlen versions.
22957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22958         Remove strlen and strnlen related parts.
22960         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22961         Inline strlen part.
22962         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22964         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22965         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22966         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22967         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22968         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22969         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22971 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22973         * manual/memory.texi (Malloc Tunable Parameters):
22974         Sort parameters alphabetically. Add comments for missing entries.
22976 2013-03-17  David S. Miller  <davem@davemloft.net>
22978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22980 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22982         [BZ #15283]
22983         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22984         for arguments at most half maximum finite value.
22985         * math/libm-test.inc (j0_test): Add more tests.
22986         (j1_test): Likewise.
22987         (y0_test): Likewise.
22988         (y1_test): Likewise.
22989         * sysdeps/i386/fpu/libm-test-ulps: Update.
22990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22992         [BZ #14155]
22993         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22994         1 / x and functions P and Q for arguments above 0x1p256L.
22995         (__ieee754_y0l): Likewise.
22996         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22997         (__ieee754_y1l): Likewise.
22998         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22999         (j1_test): Likewise.
23000         (y0_test): Likewise.
23001         (y1_test): Likewise.
23003 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23005         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23006         variable.
23008 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23010         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23011         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23012         zero since it's initialized to EXEC_PAGESIZE.
23014         * sysdeps/unix/sysv/linux/ldsodefs.h
23015         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23016         * sysdeps/generic/ldsodefs.h: ... here.
23018 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23020         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23022         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23023         math/test-snan.c.
23024         * math/test-snan.c: Renamed from
23025         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23026         * math/Makefile (tests): Add test-snan.
23027         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23028         test-powerpc-snan.
23030         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23031         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23032         functions.
23033         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23034         __builtin_nan family of functions.
23035         * math/libm-test.inc (initialize): Initialize qnan_value with
23036         __builtin_nan family of functions.
23037         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23038         Remove variables.
23039         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23040         Remove functions.
23041         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23042         storage class.  Initialize qNaN_var and sNaN_var with
23043         __builtin_nan and __builtin_nans families of functions,
23044         respectively.
23046         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23047         (sqrt_test): Remove duplicate test with qNaN input.
23048         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23049         (round_test, signbit_test, significand_test): Note missing +/-Inf
23050         as well as qNaN tests.
23052         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23053         qNaN_var.  Fix a few strings, too.
23054         * math/libm-test.inc (nan_value): Rename to qnan_value.
23055         * math/gen-libm-test.pl (%beautify): Adjust to that.
23056         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23057         * math/test-misc.c (main): Likewise.
23058         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23059         to __qnan_bytes, and __qnan_union, respectively.
23060         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23061         Likewise.
23062         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23063         and lqnanval, respectively.
23064         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23065         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23066         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23067         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23069         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23070         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23071         doubles.
23073         * math/test-misc.c (main): Fix copy'n'pastos.
23074         * misc/tst-efgcvt.c (special): Likewise.
23076         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23077         Remove declarations.
23079 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23081         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23082         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23083         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23084         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23086 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23088         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23089         macro to return vdso values correctly in IFUNC implementations.
23090         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23091         Optimization by using IFUNC.
23093 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23094             Richard Henderson  <rth@redhat.com>
23095             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23097         * Makefile.in (bench): New target.
23098         * NEWS: Mention the benchmark framework.
23099         * Rules (bench): Likewise.
23100         (binaries-bench): Generate binaries for functions to
23101         benchmark.
23102         * benchtests/Makefile: New makefile for benchmark tests.
23103         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23104         programs.
23105         * benchtests/exp-inputs: New input file for EXP function.
23106         * benchtests/pow-inputs: New input file for POW function.
23107         * scripts/bench.pl: New script to generate source files for
23108         benchmark programs.
23110 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23112         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23113         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23114         computations on mantissa.  Use macros for rounding and
23115         division.
23116         (denorm): Likewise.
23117         (__dbl_mp): Likewise.
23118         (add_magnitudes): Likewise.
23119         (sub_magnitudes): Likewise.
23120         (__mul): Likewise.
23121         (__sqr): Likewise.
23122         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23123         powers of two in terms of TWOPOW macro.
23124         (mp_no): Make type of mantissa as MANTISSA_T.
23125         [!RADIXI]: Define RADIXI.
23126         [!TWO52]: Define TWO52.
23127         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23129         * manual/nptl.texi (cindex): Modify threads to pthreads.
23131 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23133         * sysdeps/x86_64/preconfigure: Regenerated.
23135 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23137         [BZ #14155]
23138         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23139         0x1p28 and above.
23140         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23141         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23142         0x1p28 and above.
23143         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23144         * math/libm-test.inc (j0_test): Do not allow one spurious
23145         underflow exception.
23146         (y1_test): Likewise.
23148 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         * manual/Makefile (chapters): Add nptl.
23151         * manual/debug.texi (Debugging Support): Add link to Threads
23152         chapter.
23153         * manual/nptl.texi: New file.
23155         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23157 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23159         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23160         for non-NULL pointer before the memory validity test. Pointed
23161         out by Holger Brunck <holger.brunck@keymile.com>.
23163 2013-03-13  Andreas Schwab  <schwab@suse.de>
23165         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23166         instead of .os.
23168 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23170         * timezone/zic.c: Update from tzcode 2013b.
23172 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23174         * manual/install.texi (Configuring and compiling):
23175         Mention i686 and i586.
23176         * INSTALL: Regenerate.
23178 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23180         * sysdeps/init_array/elf-init.c: New file.
23181         * csu/elf-init.c
23182         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23183         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23185         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23186         __gmon_start__ as global, but as static with a .preinit_array pointer.
23187         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23188         * sysdeps/init_array/crti.S: New file, empty except for comments.
23189         * sysdeps/init_array/crtn.S: Likewise.
23191 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23193         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23194         definining bcopy.
23195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23196         Remove Prefer_SSE_for_memop.
23197         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23198         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23199         HAS_PREFER_SSE_FOR_MEMOP.
23200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23201         memset-x86-64.
23202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23203         Remove bzero, memset ifunc support.
23204         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23205         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23206         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23207         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23209 2013-03-11  Andreas Schwab  <schwab@suse.de>
23211         [BZ #15234]
23212         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23213         by SHLIB_COMPAT.
23214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23215         (GLIBC_2.16): Remove pthread_atfork.
23217 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23219         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23220         (ptestcases.h): Likewise.
23222 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23224         * Makeconfig ($(common-objpfx)config.status): Depend on
23225         sysdeps/*/preconfigure{,.in} too.
23227 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23229         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23230         (__free_hook): Use void * instead of __malloc_ptr_t.
23231         (__malloc_hook): Likewise.
23232         (__realloc_hook): Likewise.
23233         (__memalign_hook): Likewise.
23234         (__after_morecore_hook): Likewise.
23235         * malloc/arena.c (save_malloc_hook): Likewise.
23236         (save_free_hook): Likewise.
23237         * malloc/hooks.c (malloc_hook_ini): Likewise.
23238         (realloc_hook_ini): Likewise.
23239         (memalign_hook_ini): Likewise.
23240         * malloc/malloc.c (malloc_hook_ini): Likewise.
23241         (realloc_hook_ini): Likewise.
23242         (memalign_hook_ini): Likewise.
23243         (__free_hook): Likewise.
23244         (__malloc_hook): Likewise.
23245         (__realloc_hook): Likewise.
23246         (__memalign_hook): Likewise.
23247         (__libc_malloc): Likewise.
23248         (__libc_free): Likewise.
23249         (__libc_realloc): Likewise.
23250         (__libc_memalign): Likewise.
23251         (__libc_valloc): Likewise.
23252         (__libc_pvalloc): Likewise.
23253         (__libc_calloc): Likewise.
23254         (__posix_memalign): Likewise.
23255         * malloc/morecore.c (__sbrk): Likewise.
23256         (__default_morecore): Likewise.
23258         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23260         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23261         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23262         __malloc_ptrdiff_t.
23264         * malloc/malloc.h (__malloc_size_t): Remove macro.
23265         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23266         __malloc_size_t.
23267         (old_memalign_hook): Likewise.
23268         (old_realloc_hook): Likewise.
23269         (struct hdr): Likewise.
23270         (flood): Likewise.
23271         (mallochook): Likewise.
23272         (memalignhook): Likewise.
23273         (reallochook): Likewise.
23274         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23275         (tr_old_realloc_hook): Likewise.
23276         (tr_old_memalign_hook): Likewise.
23277         (tr_mallochook): Likewise.
23278         (tr_reallochook): Likewise.
23279         (tr_memalignhook): Likewise.
23281 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23283         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23284         default_ldbl_pack and using as default implementation.
23285         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23286         implementation.
23287         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23288         redundant definition.
23289         (ldbl_insert_mantissa): Likewise.
23290         (ldbl_canonicalize): Likewise.
23291         (ldbl_nearbyint): Likewise.
23292         (ldbl_pack): Rename to ldbl_pack_ppc.
23293         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23294         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23295         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23297 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23300         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23301         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23302         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23304         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23305         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23306         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23308 2013-03-07  Andreas Jaeger  <aj@suse.de>
23310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23311         bits/mman-linux.h.
23313 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23315         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23316         Include mpa.h and declare __MPEXP.
23317         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23318         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23319         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23320         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23321         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23322         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23323         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23325         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23326         (__slowpow): Use long double EXPL and LOGL functions to
23327         compute POW.
23328         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23329         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23330         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23331         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23332         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23333         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23336         intermediate variable to calculate exponent.
23337         (__sqr): Likewise.
23338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23339         Likewise.
23340         (__sqr): Likewise.
23342         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23343         [!NO__SQR]: Define __sqr.
23344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23345         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23346         sysdeps/ieee754/dbl-64/mpa.c.
23347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23349         [BZ #12723]
23350         * posix/Makefile (tests): Add tst-pathconf.
23351         * posix/tst-pathconf.c: New test case.
23352         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23353         _PC_PIPE_BUF.
23354         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23356 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23358         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23360 2013-03-06  Andreas Jaeger  <aj@suse.de>
23362         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23363         definition via __MAP_ANONYMOUS.
23365         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23366         it's not part of Linux headers.
23368         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23369         (MAP_HUGE_MASK): Define.
23371         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23372         Define.
23373         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23374         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23375         Define.
23376         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23377         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23378         Define.
23379         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23380         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23381         Define.
23382         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23384         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23385         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23386         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23387         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23388         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23389         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23391         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23392         Handle f2fs.
23394         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23395         Handle f2fs and efivarfs.
23397         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23398         f2fs.
23400         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23401         (EFIVARFS_MAGIC): Add.
23402         (F2FS_LINK_MAX): Add.
23404 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23406         * stdio-common/vfprintf.c: Replace __builtin_expect with
23407         __glibc_unlikely.
23409 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23411         [BZ #13550]
23412         * sysdeps/generic/bp-sym.h: Remove file.
23413         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23414         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23415         <bp-sym.h> and <bp-asm.h>.
23416         (__longjmp): Don't use BP_SYM.
23417         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23418         and <bp-asm.h>.
23419         (memcpy): Don't use BP_SYM.
23420         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23421         <bp-sym.h> and <bp-asm.h>.
23422         (memcpy): Don't use BP_SYM.
23423         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23424         <bp-asm.h>.
23425         (memcpy): Don't use BP_SYM.
23426         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23427         <bp-asm.h>.
23428         (memset): Don't use BP_SYM.
23429         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23430         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23431         (__bzero): Don't use BP_SYM.
23432         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23433         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23434         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23435         <bp-sym.h> and <bp-asm.h>.
23436         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23437         pointers.
23438         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23439         <bp-sym.h> and <bp-asm.h>.
23440         (memcpy): Don't use BP_SYM.
23441         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23442         <bp-sym.h> and <bp-asm.h>.
23443         (memset): Don't use BP_SYM.
23444         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23445         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23446         (__bzero): Don't use BP_SYM.
23447         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23448         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23449         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23450         <bp-sym.h> and <bp-asm.h>.
23451         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23452         pointers.
23453         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23454         <bp-sym.h> and <bp-asm.h>.
23455         (memcpy): Don't use BP_SYM.
23456         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23457         <bp-sym.h> and <bp-asm.h>.
23458         (memset): Don't use BP_SYM.
23459         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23460         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23461         (__bzero): Don't use BP_SYM.
23462         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23463         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23465         <bp-sym.h> and <bp-asm.h>.
23466         (__memchr): Don't use BP_SYM.
23467         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23468         <bp-sym.h> and <bp-asm.h>.
23469         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23470         pointers.
23471         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23472         <bp-sym.h> and <bp-asm.h>.
23473         (memcpy): Don't use BP_SYM.
23474         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23475         <bp-sym.h> and <bp-asm.h>.
23476         (__mempcpy): Don't use BP_SYM.
23477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23478         <bp-sym.h> and <bp-asm.h>.
23479         (__memrchr): Don't use BP_SYM.
23480         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23481         <bp-sym.h> and <bp-asm.h>.
23482         (memset): Don't use BP_SYM.
23483         (__bzero): Likewise.
23484         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23485         <bp-sym.h> and <bp-asm.h>.
23486         (__rawmemchr): Don't use BP_SYM.
23487         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23488         <bp-sym.h> and <bp-asm.h>.
23489         (__STRCMP): Don't use BP_SYM.
23490         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23491         <bp-sym.h> and <bp-asm.h>.
23492         (strchr): Don't use BP_SYM.
23493         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23494         <bp-sym.h> and <bp-asm.h>.
23495         (__strchrnul): Don't use BP_SYM.
23496         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23497         <bp-sym.h> and <bp-asm.h>.
23498         (strlen): Don't use BP_SYM.
23499         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23500         <bp-sym.h> and <bp-asm.h>.
23501         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23502         pointers.
23503         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23504         <bp-sym.h> and <bp-asm.h>.
23505         (__strnlen): Don't use BP_SYM.
23506         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23507         <bp-sym.h> and <bp-asm.h>.
23508         (__GI__setjmp): Don't use BP_SYM.
23509         (_setjmp): Likewise.
23510         (__sigsetjmp): Likewise.
23511         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23512         (L(start_addresses)): Don't use BP_SYM.
23513         (_start): Likewise.
23514         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23515         <bp-asm.h>.
23516         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23517         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23518         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23519         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23520         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23521         <bp-asm.h>.
23522         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23523         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23524         about bounded pointers.
23525         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23526         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23527         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23528         <bp-asm.h>.
23529         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23530         about bounded pointers.  Remove GKM FIXME comments.
23531         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23532         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23533         <bp-asm.h>.
23534         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23535         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23536         Remove GKM FIXME comments.
23537         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23538         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23539         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23540         <bp-asm.h>.
23541         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23542         about bounded pointers.  Remove GKM FIXME comment.
23543         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23544         and <bp-asm.h>.
23545         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23546         pointers.
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23548         <bp-sym.h> and <bp-asm.h>.
23549         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23551         <bp-sym.h> and <bp-asm.h>.
23552         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23553         comment.
23555 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23557         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23558         call free(NULL).
23560 2013-03-05  David S. Miller  <davem@davemloft.net>
23562         * po/es.po: Update from translation team.
23564 2013-03-05  Andreas Jaeger  <aj@suse.de>
23566         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23567         <bits/mman-linux.h>.
23568         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23569         is fine.
23570         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23571         <bits/mman-linux.h> to end of file.
23572         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23573         is fine.
23574         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23575         <bits/mman-linux.h> to end of file.
23576         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23577         is fine.
23578         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23579         <bits/mman-linux.h> to end of file.
23581         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23582         (MCL_CURRENT, MCL_FUTURE): Define here.
23584 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23586         [BZ #15232]
23587         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23588         attribute_hidden.
23589         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23591 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23593         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23594         fourth parameter needed for rt_sigprocmask syscall.
23595         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23596         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23597         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23598         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23599         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23600         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23602 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23604         [BZ #13550]
23605         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23606         comment about bounded pointers.
23607         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23608         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23610 2013-03-04  Andreas Jaeger  <aj@suse.de>
23612         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23613         common definitions.
23615         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23616         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23617         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23618         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23619         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23620         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23622 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23624         [BZ #15055]
23625         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23626         __ieee754_sqrl instead of __sqrl.
23628 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23630         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23631         * sysdeps/powerpc/fpu_control.h: ... here.
23632         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23633         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23634         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23635         * sysdeps/powerpc/bits/mathinline.h: ... here.
23637 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23639         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23640         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23641         to just [NEED_DL_SYSINFO_DSO].
23642         * elf/dl-support.c: Likewise.
23643         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23644         * elf/rtld.c (dl_main): Likewise.
23645         * elf/setup-vdso.h (setup_vdso): Likewise.
23646         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23647         * sysdeps/unix/sysv/linux/dl-sysdep.c
23648         (_dl_discover_osversion): Likewise.
23650 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23652         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23653         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23655 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23657         * NEWS: Mention libm performance improvements and non-x86 PI
23658         futex support.
23660         * csu/libc-start.c (__pthread_initialize_minimal): Change
23661         function arguments.
23662         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23664 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23666         [BZ #13550]
23667         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23668         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23669         <bp-sym.h> and <bp-asm.h>.
23670         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23671         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23672         and <bp-asm.h>.
23673         (memcpy): Don't use BP_SYM.
23674         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23675         <bp-asm.h>.
23676         (__mpn_add_n): Don't use BP_SYM.
23677         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23678         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23679         and <bp-asm.h>.
23680         (__mpn_addmul_1): Don't use BP_SYM.
23681         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23682         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23683         <bp-sym.h>.
23684         (_setjmp): Don't use BP_SYM.
23685         (__novmx_setjmp): Likewise.
23686         (__GI__setjmp): Likewise.
23687         (__vmx_setjmp): Likewise.
23688         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23689         <bp-sym.h>.
23690         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23691         (__bzero): Don't use BP_SYM.
23692         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23693         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23694         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23695         <bp-sym.h> and <bp-asm.h>.
23696         (memcpy): Don't use BP_SYM.
23697         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23698         <bp-sym.h> and <bp-asm.h>.
23699         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23700         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23701         <bp-sym.h> and <bp-asm.h>.
23702         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23703         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23704         <bp-asm.h>.
23705         (__mpn_lshift): Don't use BP_SYM.
23706         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23707         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23708         <bp-asm.h>.
23709         (memset): Don't use BP_SYM.
23710         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23711         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23712         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23713         <bp-asm.h>.
23714         (__mpn_mul_1): Don't use BP_SYM.
23715         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23717         <bp-sym.h> and <bp-asm.h>.
23718         (memcmp): Don't use BP_SYM.
23719         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23720         <bp-sym.h> and <bp-asm.h>.
23721         (memcpy): Don't use BP_SYM.
23722         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23723         <bp-sym.h> and <bp-asm.h>.
23724         (memset): Don't use BP_SYM.
23725         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23726         <bp-sym.h> and <bp-asm.h>.
23727         (strncmp): Don't use BP_SYM.
23728         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23729         <bp-sym.h> and <bp-asm.h>.
23730         (memcpy): Don't use BP_SYM.
23731         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23732         <bp-sym.h> and <bp-asm.h>.
23733         (memset): Don't use BP_SYM.
23734         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23735         <bp-sym.h> and <bp-asm.h>.
23736         (__memchr): Don't use BP_SYM.
23737         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23738         <bp-sym.h> and <bp-asm.h>.
23739         (memcmp): Don't use BP_SYM.
23740         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23741         <bp-sym.h> and <bp-asm.h>.
23742         (memcpy): Don't use BP_SYM.
23743         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23744         <bp-sym.h> and <bp-asm.h>.
23745         (__mempcpy): Don't use BP_SYM.
23746         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23747         <bp-sym.h> and <bp-asm.h>.
23748         (__memrchr): Don't use BP_SYM.
23749         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23750         <bp-sym.h> and <bp-asm.h>.
23751         (memset): Don't use BP_SYM.
23752         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23753         <bp-sym.h> and <bp-asm.h>.
23754         (__rawmemchr): Don't use BP_SYM.
23755         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23756         <bp-sym.h> and <bp-asm.h>.
23757         (__STRCMP): Don't use BP_SYM.
23758         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23759         <bp-sym.h> and <bp-asm.h>.
23760         (strchr): Don't use BP_SYM.
23761         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23762         <bp-sym.h> and <bp-asm.h>.
23763         (__strchrnul): Don't use BP_SYM.
23764         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23765         <bp-sym.h> and <bp-asm.h>.
23766         (strlen): Don't use BP_SYM.
23767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23768         <bp-sym.h> and <bp-asm.h>.
23769         (strncmp): Don't use BP_SYM.
23770         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23771         <bp-sym.h> and <bp-asm.h>.
23772         (__strnlen): Don't use BP_SYM.
23773         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23774         <bp-asm.h>.
23775         (__mpn_rshift): Don't use BP_SYM.
23776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23777         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23778         <bp-sym.h> and <bp-asm.h>.
23779         (__sigsetjmp): Don't use BP_SYM.
23780         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23781         (L(start_addresses)): Don't use BP_SYM.
23782         (_start): Likewise.
23783         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23784         <bp-asm.h>.
23785         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23786         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23787         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23788         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23789         <bp-asm.h>.
23790         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23791         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23792         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23793         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23794         <bp-asm.h>.
23795         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23796         comments.
23797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23798         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23799         <bp-asm.h>.
23800         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23801         FIXME comments.
23802         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23803         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23804         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23805         <bp-asm.h>.
23806         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23807         comment.
23808         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23809         and <bp-asm.h>.
23810         (strncmp): Don't use BP_SYM,
23811         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23812         <bp-asm.h>.
23813         (__mpn_sub_n): Don't use BP_SYM.
23814         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23815         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23816         and <bp-asm.h>.
23817         (__mpn_submul_1): Don't use BP_SYM.
23818         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23820         <bp-sym.h> and <bp-asm.h>.
23821         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23823         <bp-sym.h> and <bp-asm.h>.
23824         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23825         comment.
23827 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23830         Use ZK to minimize writes to Z.
23831         (sub_magnitudes): Simplify code a bit.
23832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23833         Use ZK to minimize writes to Z.
23834         (sub_magnitudes): Simplify code a bit.
23836 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23838         * csu/gmon-start.c: Add special exception to license text.
23840 2013-02-27  Richard Henderson  <rth@redhat.com>
23842         * scripts/config.guess: Update from config.git.
23843         * scripts/config.sub: Likewise.
23845 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23847         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23849         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23851         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23853         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23855         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23857 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23859         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23860         [$(build-shared = yes].
23862 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23864         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23865         (__mul): Reduce iterations for calculating mantissa.
23867         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23868         MPTWO.
23869         (__mpranred): Likewise.
23871         [BZ #15160]
23872         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23873         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23875 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23877         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23878         Define __attribute__.
23880 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23882         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23883         unused.
23884         * posix/regex_internal.h (__attribute): Remove.
23885         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23886         (re_string_context_at): Likewise.
23887         (bitset_not): Use __attribute__ and mark function as possibly
23888         unused.
23889         (bitset_merge): Likewise.
23890         (bitset_mask): Likewise.
23891         (re_string_char_size_at): Likewise.
23892         (re_string_wchar_at): Likewise.
23893         (re_string_elem_size_at): Likewise.
23895 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23897         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23898         code.
23899         (cc32): Likewise.
23901         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23902         (__acr): Likewise.
23903         (__cpy): Likewise.
23904         (norm): Likewise.
23905         (denorm): Likewise.
23906         (__dbl_mp): Likewise.
23907         (add_magnitudes): Likewise.
23908         (sub_magnitudes): Likewise.
23909         (__mul): Likewise.
23910         (__inv): Likewise.
23912         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23913         style.
23915         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23916         style.
23918         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23919         code.
23921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23922         up changes with default code.
23923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23924         Likewise.
23926 2013-02-24  Allan McRae  <allan@archlinux.org>
23928         * manual/socket.texi (The Internet Namespace): Order menu items
23929         to match that in the file.
23931         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23932         node listing of the info page menu.
23934 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23936         [BZ #13550]
23937         * sysdeps/i386/bp-asm.h: Remove file.
23938         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23939         (PARMS): Do not use macros from bp-asm.h.
23940         (S1): Likewise.
23941         (S2): Likewise.
23942         (SIZE): Likewise.
23943         (__mpn_add_n): Do not use BP_SYM
23944         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23945         "bp-asm.h".
23946         (PARMS): Do not use macros from bp-asm.h.
23947         (S1): Likewise.
23948         (SIZE): Likewise.
23949         (__mpn_addmul_1): Do not use BP_SYM
23950         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23951         "bp-asm.h".
23952         (PARMS): Do not use macros from bp-asm.h.
23953         (SIGMSK): Likewise.
23954         (_setjmp): Likewise.  Do not use BP_SYM.
23955         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23956         "bp-asm.h".
23957         (PARMS): Do not use macros from bp-asm.h.
23958         (SIGMSK): Likewise.
23959         (setjmp): Likewise.  Do not use BP_SYM.
23960         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23961         "bp-asm.h".
23962         (PARMS): Do not use macros from bp-asm.h.
23963         (__frexp): Do not use BP_SYM.
23964         (frexp): Likewise.
23965         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23966         "bp-asm.h".
23967         (PARMS): Do not use macros from bp-asm.h.
23968         (__frexpf): Do not use BP_SYM.
23969         (frexpf): Likewise.
23970         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23971         "bp-asm.h".
23972         (PARMS): Do not use macros from bp-asm.h.
23973         (__frexpl): Do not use BP_SYM.
23974         (frexpl): Likewise.
23975         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23976         "bp-asm.h".
23977         (PARMS): Do not use macros from bp-asm.h.
23978         (__remquo): Do not use BP_SYM.
23979         (remquo): Likewise.
23980         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23981         "bp-asm.h".
23982         (PARMS): Do not use macros from bp-asm.h.
23983         (__remquof): Do not use BP_SYM.
23984         (remquof): Likewise.
23985         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23986         "bp-asm.h".
23987         (PARMS): Do not use macros from bp-asm.h.
23988         (__remquol): Do not use BP_SYM.
23989         (remquol): Likewise.
23990         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23991         "bp-asm.h".
23992         (PARMS): Do not use macros from bp-asm.h.
23993         (DEST): Likewise.
23994         (SRC): Likewise.
23995         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23996         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23997         "bp-asm.h".
23998         (PARMS): Do not use macros from bp-asm.h.
23999         (strlen): Do not use BP_SYM.
24000         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24001         "bp-asm.h".
24002         (PARMS): Do not use macros from bp-asm.h.
24003         (S1): Likewise.
24004         (S2): Likewise.
24005         (SIZE): Likewise.
24006         (__mpn_add_n): Do not use BP_SYM.
24007         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24008         "bp-asm.h".
24009         (PARMS): Do not use macros from bp-asm.h.
24010         (S1): Likewise.
24011         (SIZE): Likewise.
24012         (__mpn_addmul_1): Do not use BP_SYM.
24013         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24014         weak_alias.
24015         (bzero): Likewise.
24016         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24017         "bp-asm.h".
24018         (PARMS): Do not use macros from bp-asm.h.
24019         (S): Likewise.
24020         (SIZE): Likewise.
24021         (__mpn_lshift): Do not use BP_SYM.
24022         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24023         "bp-asm.h".
24024         (PARMS): Do not use macros from bp-asm.h.
24025         (DEST): Likewise.
24026         (SRC): Likewise.
24027         (LEN): Likewise.
24028         (memcpy): Likewise.  Do not use BP_SYM.
24029         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24030         libc_hidden_def and weak_alias.
24031         (mempcpy): Do not use BP_SYM in weak_alias.
24032         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24033         "bp-asm.h".
24034         (PARMS): Do not use macros from bp-asm.h.
24035         (DEST): Likewise.
24036         (LEN): Likewise.
24037         [!BZERO_P] (CHR): Likewise.
24038         (memset): Likewise.  Do not use BP_SYM.
24039         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24040         "bp-asm.h".
24041         (PARMS): Do not use macros from bp-asm.h.
24042         (S1): Likewise.
24043         (SIZE): Likewise.
24044         (__mpn_mul_1): Do not use BP_SYM.
24045         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24046         "bp-asm.h".
24047         (PARMS): Do not use macros from bp-asm.h.
24048         (S): Likewise.
24049         (SIZE): Likewise.
24050         (__mpn_rshift): Do not use BP_SYM.
24051         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24052         "bp-asm.h".
24053         (PARMS): Do not use macros from bp-asm.h.
24054         (STR): Likewise.
24055         (CHR): Likewise.
24056         (strchr): Likewise.  Do not use BP_SYM.
24057         (index): Do not use BP_SYM in weak_alias.
24058         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24059         "bp-asm.h".
24060         (PARMS): Do not use macros from bp-asm.h.
24061         (DEST): Likewise.
24062         (SRC): Likewise.
24063         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24064         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24065         "bp-asm.h".
24066         (PARMS): Do not use macros from bp-asm.h.
24067         (strlen): Do not use BP_SYM.
24068         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24069         "bp-asm.h".
24070         (PARMS): Do not use macros from bp-asm.h.
24071         (S1): Likewise.
24072         (S2): Likewise.
24073         (SIZE): Likewise.
24074         (__mpn_sub_n): Do not use BP_SYM.
24075         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24076         "bp-asm.h".
24077         (PARMS): Do not use macros from bp-asm.h.
24078         (S1): Likewise.
24079         (SIZE): Likewise.
24080         (__mpn_submul_1): Do not use BP_SYM.
24081         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24082         "bp-asm.h".
24083         (PARMS): Do not use macros from bp-asm.h.
24084         (S1): Likewise.
24085         (S2): Likewise.
24086         (SIZE): Likewise.
24087         (__mpn_add_n): Do not use BP_SYM.
24088         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24089         weak_alias.
24090         (bzero): Likewise.
24091         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24092         "bp-asm.h".
24093         (PARMS): Do not use macros from bp-asm.h.
24094         (BLK2): Likewise.
24095         (LEN): Likewise.
24096         (memcmp): Do not use BP_SYM.
24097         (bcmp): Do not use BP_SYM in weak_alias.
24098         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24099         "bp-asm.h".
24100         (PARMS): Do not use macros from bp-asm.h.
24101         (DEST): Likewise.
24102         (SRC): Likewise.
24103         (LEN): Likewise.
24104         (memcpy): Likewise.  Do not use BP_SYM.
24105         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24106         "bp-asm.h".
24107         (PARMS): Do not use macros from bp-asm.h.
24108         (DEST): Likewise.
24109         (SRC): Likewise.
24110         (LEN): Likewise.
24111         (memmove): Likewise.  Do not use BP_SYM.
24112         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24113         "bp-asm.h".
24114         (PARMS): Do not use macros from bp-asm.h.
24115         (DEST): Likewise.
24116         (SRC): Likewise.
24117         (LEN): Likewise.
24118         (__mempcpy): Likewise.  Do not use BP_SYM.
24119         (mempcpy): Do not use BP_SYM in weak_alias.
24120         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24121         "bp-asm.h".
24122         (PARMS): Do not use macros from bp-asm.h.
24123         (DEST): Likewise.
24124         (LEN): Likewise.
24125         [!BZERO_P] (CHR): Likewise.
24126         (memset): Likewise.  Do not use BP_SYM.
24127         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24128         "bp-asm.h".
24129         (PARMS): Do not use macros from bp-asm.h.
24130         (STR2): Likewise.
24131         (strcmp): Do not use BP_SYM.
24132         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24133         "bp-asm.h".
24134         (PARMS): Do not use macros from bp-asm.h.
24135         (STR): Likewise.
24136         (DELIM): Likewise.
24137         [USE_AS_STRTOK_R] (SAVE): Likewise.
24138         (FUNCTION): Likewise.  Do not use BP_SYM.
24139         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24140         aliases.
24141         (strtok_r): Likewise.
24142         (__GI___strtok_r): Likewise.
24143         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24144         (PARMS): Do not use macros from bp-asm.h.
24145         (S): Likewise.
24146         (SIZE): Likewise.
24147         (__mpn_lshift): Do not use BP_SYM.
24148         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24149         (PARMS): Do not use macros from bp-asm.h.
24150         (STR): Likewise.
24151         (CHR): Likewise.
24152         (__memchr): Do not use BP_SYM.
24153         (memchr): Do not use BP_SYM in weak_alias.
24154         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24155         (PARMS): Do not use macros from bp-asm.h.
24156         (BLK2): Likewise.
24157         (LEN): Likewise.
24158         (memcmp): Do not use BP_SYM.
24159         (bcmp): Do not use BP_SYM in weak_alias.
24160         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24161         (PARMS): Do not use macros from bp-asm.h.
24162         (S1): Likewise.
24163         (SIZE): Likewise.
24164         (__mpn_mul_1): Do not use BP_SYM.
24165         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24166         "bp-asm.h".
24167         (PARMS): Do not use macros from bp-asm.h.
24168         (STR): Likewise.
24169         (CHR): Likewise.
24170         (__rawmemchr): Do not use BP_SYM.
24171         (rawmemchr): Do not use BP_SYM in weak_alias.
24172         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24173         (PARMS): Do not use macros from bp-asm.h.
24174         (S): Likewise.
24175         (SIZE): Likewise.
24176         (__mpn_rshift): Do not use BP_SYM.
24177         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24178         (PARMS): Do not use macros from bp-asm.h.
24179         (SIGMSK): Likewise.
24180         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24181         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24182         (_start): Do not use BP_SYM.
24183         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24184         (PARMS): Do not use macros from bp-asm.h.
24185         (DEST): Likewise.
24186         (SRC): Likewise.
24187         (__stpcpy): Likewise.  Do not use BP_SYM.
24188         (stpcpy): Do not use BP_SYM in weak_alias.
24189         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24190         "bp-asm.h".
24191         (PARMS): Do not use macros from bp-asm.h.
24192         (DEST): Likewise.
24193         (SRC): Likewise.
24194         (LEN): Likewise.
24195         (__stpncpy): Likewise.  Do not use BP_SYM.
24196         (stpncpy): Do not use BP_SYM in weak_alias.
24197         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24198         (PARMS): Do not use macros from bp-asm.h.
24199         (STR): Likewise.
24200         (CHR): Likewise.
24201         (strchr): Likewise.  Do not use BP_SYM.
24202         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24203         "bp-asm.h".
24204         (PARMS): Do not use macros from bp-asm.h.
24205         (STR): Likewise.
24206         (CHR): Likewise.
24207         (__strchrnul): Likewise.  Do not use BP_SYM.
24208         (strchrnul): Do not use BP_SYM in weak_alias.
24209         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24210         "bp-asm.h".
24211         (PARMS): Do not use macros from bp-asm.h.
24212         (STOP): Likewise.
24213         (strcspn): Do not use BP_SYM.
24214         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24215         "bp-asm.h".
24216         (PARMS): Do not use macros from bp-asm.h.
24217         (STR): Likewise.
24218         (STOP): Likewise.
24219         (strpbrk): Likewise.  Do not use BP_SYM.
24220         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24221         "bp-asm.h".
24222         (PARMS): Do not use macros from bp-asm.h.
24223         (STR): Likewise.
24224         (CHR): Likewise.
24225         (strrchr): Likewise.  Do not use BP_SYM.
24226         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24227         (PARMS): Do not use macros from bp-asm.h.
24228         (SKIP): Likewise.
24229         (strspn): Do not use BP_SYM.
24230         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24231         (PARMS): Do not use macros from bp-asm.h.
24232         (STR): Likewise.
24233         (DELIM): Likewise.
24234         (SAVE): Likewise.
24235         (FUNCTION): Likewise.  Do not use BP_SYM.
24236         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24237         aliases.
24238         (strtok_r): Likewise.
24239         (__GI___strtok_r): Likewise.
24240         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24241         (PARMS): Do not use macros from bp-asm.h.
24242         (S1): Likewise.
24243         (S2): Likewise.
24244         (SIZE): Likewise.
24245         (__mpn_sub_n): Do not use BP_SYM.
24246         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24247         "bp-asm.h".
24248         (PARMS): Do not use macros from bp-asm.h.
24249         (S1): Likewise.
24250         (SIZE): Likewise.
24251         (__mpn_submul_1): Do not use BP_SYM.
24252         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24253         <bp-sym.h>.
24254         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24255         and <bp-asm.h>.
24256         (PARMS): Do not use macros from bp-asm.h.
24257         (FLAGS): Likewise.
24258         (PTID): Likewise.
24259         (TLS): Likewise.
24260         (CTID): Likewise.
24261         (__clone): Do not use BP_SYM.
24262         (clone): Do not use BP_SYM in weak_alias.
24263         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24264         and <bp-asm.h>.
24265         (PARMS): Do not use macros from bp-asm.h.
24266         (LEN): Likewise.
24267         (__mmap64): Do not use BP_SYM.
24268         (mmap64): Do not use BP_SYM in weak_alias.
24269         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24270         <bp-sym.h> and <bp-asm.h>.
24271         (PARMS): Do not use macros from bp-asm.h.
24272         (__posix_fadvise64_l64): Do not use BP_SYM.
24273         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24274         (PARMS): Do not use macros from bp-asm.h.
24275         (NSOPS): Likewise.
24276         (semtimedop): Do not use BP_SYM.
24277         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24278         and <bp-asm.h>.
24280 2013-02-21  Allan McRae  <allan@archlinux.org>
24282         * manual/message.texi (Charset conversion in gettext):
24283         Move @end statement to beginning of line.
24285 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24288         static.
24289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24290         Likewise.
24292         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24293         (denorm): Likewise.
24294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24297 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24299         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24300         tail-call to the resolved function if pltexit isn't needed.
24302 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24305         or Y being zero as being unlikely.
24306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24307         Likewise.
24309 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24311         * manual/nss.texi (System Databases and Name Service Switch):
24312         Remove frobnicate @pxref.
24314 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24316         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24317         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24319 2013-02-20  Petr Machata  <pmachata@redhat.com>
24321         * elf/elf.h (R_ARM_TARGET1): New macro.
24322         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24323         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24324         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24325         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24326         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24327         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24328         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24329         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24330         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24331         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24332         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24333         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24334         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24335         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24336         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24337         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24338         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24339         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24340         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24341         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24342         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24343         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24344         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24345         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24346         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24347         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24348         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24349         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24350         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24351         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24352         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24353         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24354         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24355         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24356         (R_ARM_THM_GOT_BREL12): Likewise.
24357         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24358         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24359         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24360         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24361         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24362         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24363         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24364         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24365         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24367 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24369         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24370         __attribute_used__ to __attribute__ ((unused)).
24372 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24374         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24375         powerpc mpa.c.
24376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24377         comment formatting.
24378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24380 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24382         [BZ #13550]
24383         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24384         Remove macro.
24385         (ENTER): Remove both macro definitions.
24386         (LEAVE): Likewise.
24387         (CHECK_BOUNDS_LOW): Likewise.
24388         (CHECK_BOUNDS_HIGH): Likewise.
24389         (CHECK_BOUNDS_BOTH): Likewise.
24390         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24391         (RETURN_BOUNDED_POINTER): Likewise.
24392         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24393         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24394         (POP_ERRNO_LOCATION_RETURN): Likewise.
24395         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24396         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24397         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24398         macros.
24399         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24400         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24401         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24402         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24403         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24404         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24405         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24406         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24407         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24408         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24409         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24410         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24411         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24412         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24413         removed macros.
24414         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24415         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24416         macros.
24417         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24418         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24419         * sysdeps/i386/i586/memset.S (memset): Likewise.
24420         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24421         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24422         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24423         macros.
24424         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24425         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24426         Change uses of L(2) to L(out).
24427         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24428         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24429         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24430         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24431         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24432         removed macros.
24433         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24434         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24435         macros.
24436         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24437         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24438         (RETURN): Do not use macro LEAVE.
24439         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24440         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24441         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24442         * sysdeps/i386/i686/memset.S (memset): Likewise.
24443         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24444         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24445         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24446         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24447         Likewise.
24448         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24449         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24450         L(1_2) and L(1_3) into L(1).
24451         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24452         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24453         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24454         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24455         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24456         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24457         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24458         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24459         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24460         macros.
24461         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24462         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24463         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24464         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24465         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24466         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24467         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24468         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24469         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24470         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24471         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24472         * sysdeps/i386/strspn.S (strspn): Likewise.
24473         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24474         conditional code.
24475         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24476         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24477         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24478         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24479         L(1_3) into L(1_1).
24480         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24481         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24482         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24483         macros.
24484         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24486 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24488         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24489         macro.
24491 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24493         * math/atest-exp.c (exp_mpn): Remove ROUND.
24494         * math/atest-exp2.c (exp_mpn): Likewise.
24495         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24497         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24498         * stdlib/tst-tls-atexit-lib.c: Likewise.
24499         * stdlib/tst-tls-atexit.c: Likewise.
24501 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24503         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24504         and __attribute_alloc_size__.
24506 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24508         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24509         __attribute_alloc_size__.
24510         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24511         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24513 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24515         * include/programs/xmalloc.h: New file.
24516         * catgets/gencat.c: Include it.
24517         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24518         * elf/pldd.c: Likewise.
24519         * iconv/iconv_charmap.c: Likewise.
24520         * iconv/iconvconfig.c: Likewise.
24521         * iconv/strtab.c: Likewise.
24522         * locale/programs/locale.c: Likewise.
24523         * locale/programs/localedef.h: Likewise.
24524         * locale/programs/simple-hash.c: Likewise.
24525         * nscd/nscd.h: Likewise.
24526         * nss/makedb.c: Likewise.
24527         * sysdeps/generic/ldconfig.h: Likewise.
24529 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24531         * Versions.def: Add GLIBC_2.18.
24532         * include/link.h (struct link_map): New member l_tls_dtor_count.
24533         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24534         (__call_tls_dtors): Likewise.
24535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24536         __cxa_thread_atexit_impl.
24537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24538         Likewise.
24539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24540         Likewise.
24541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24542         Likewise.
24543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24544         Likewise.
24545         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24547         Likewise.
24548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24549         Likewise.
24550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24552         Likewise.
24553         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24554         (tests): Add test case tst-tls-atexit.
24555         (modules-names): Add shared library for tst-tls-atexit.
24556         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24557         (GLIBC_PRIVATE): Add __call_tls_dtors.
24558         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24559         for libstdc++.
24560         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24561         * stdlib/tst-tls-atexit.c: New test case.
24562         * stdlib/tst-tls-atexit-lib.c: New test case.
24564         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24566         * elf/Versions (ld): Add _dl_find_dso_for_object.
24567         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24568         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24569         (dl_open_worker): Use _dl_find_dso_for_object.
24570         * elf/dl-sym.c (do_sym): Likewise.
24571         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24573 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24575         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24576         Syntactic changes only.
24577         (_dl_runtime_profile): Do a tail-call to the resolved function.
24579 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24581         [BZ #13550]
24582         * sysdeps/x86_64/bp-asm.h: Remove file.
24583         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24584         <bp-sym.h> and <bp-asm.h>.
24585         (__clone): Do not use BP_SYM.
24586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24587         <bp-sym.h> and <bp-asm.h>.
24588         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24589         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24590         "bp-asm.h".
24591         (_setjmp): Do not use BP_SYM.
24592         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24593         "bp-asm.h".
24594         (setjmp): Do not use BP_SYM.
24595         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24596         libc_hidden_def.
24597         (mempcpy): Do not use BP_SYM in weak_alias.
24598         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24599         "bp-asm.h".
24600         (strchr): Do not use BP_SYM.
24601         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24602         "bp-asm.h".
24603         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24604         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24605         (_start): Do not use BP_SYM.
24606         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24607         "bp-asm.h".
24608         (strcat): Do not use BP_SYM.
24609         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24610         "bp-asm.h".
24611         (STRCMP): Do not use BP_SYM.
24612         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24613         "bp-asm.h".
24614         (STRCPY): Do not use BP_SYM.
24615         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24616         "bp-asm.h".
24617         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24618         "bp-asm.h".
24619         (FUNCTION): Do not use BP_SYM.
24620         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24621         weak_alias.
24622         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24624 2013-02-17  Andreas Jaeger  <aj@suse.de>
24626         * time/Versions: Sort entries.
24627         * string/Versions: Likewise.
24628         * resolv/Versions: Likewise.
24629         * posix/Versions: Likewise.
24630         * iconv/Versions: Likewise.
24631         * elf/Versions: Likewise.
24632         * wcsmbs/Versions: Likewise.
24634 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24636         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24637         loop termination condition.
24639         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24640         variable to calculate EZ.
24641         (__sqr): Likewise.
24643         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24644         the lower precision input.
24646 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24648         [BZ #13550]
24649         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24650         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24651         (run-via-rtld-prefix): Do not handle %-bp tests.
24652         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24653         (all-object-suffixes): Remove .ob.
24654         (bppfx): Remove variable.
24655         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24656         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24657         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24658         [$(build-bounded) = yes] (libtype.ob): Likewise.
24659         * Makerules (elide-routines.ob): Remove variable.
24660         (do-tests-clean): Do not handle *-bp.out.
24661         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24662         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24663         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24664         (tests): Do not include $(tests-bp.out).
24665         (xtests): Do not include $(xtests-bp.out).
24666         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24667         [$(build-bounded) = yes] ($(addprefix
24668         $(objpfx),$(binaries-bounded))): Remove rule.
24669         ($(objpfx)%-bp.out): Remove rule.
24670         * config.make.in (build-bounded): Remove variable.
24671         * crypt/Makefile [$(build-bounded) = yes]
24672         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24673         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24674         append to variable.
24675         [$(build-bounded) = yes] (install-lib): Likewise.
24676         [$(build-bounded) = yes] (generated): Likewise.
24677         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24678         Remove rule.
24679         * intl/Makefile [$(build-bounded) = yes]
24680         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24681         * math/Makefile [$(build-bounded) = yes]
24682         ($(tests:%=$(objpfx)%-bp): Likewise.
24683         * misc/Makefile [$(build-bounded) = yes]
24684         ($(objpfx)tst-tsearch-bp): Likewise.
24685         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24686         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24687         Remove dependency.
24688         * string/Makefile (o-objects.ob): Remove variable.
24689         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24690         (CFLAGS-.ob): Remove variable.
24691         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24692         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24693         both definitions of variable.
24694         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24695         (ASFLAGS-.ob): Remove variable.
24697 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24699         [BZ #13550]
24700         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24701         Remove __BOUNDED_POINTERS__ from condition.
24702         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24703         * string/bits/string2.h [!__NO_STRING_INLINES &&
24704         !__BOUNDED_POINTERS__]: Likewise.
24705         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24706         Likewise.
24707         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24708         Remove conditional code.
24709         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24710         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24711         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24712         condition.
24714         [BZ #13550]
24715         * csu/libc-start.c: Do not include <bp-sym.h>.
24716         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24717         * elf/dl-open.c: Do not include <bp-sym.h>.
24718         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24719         * math/fegetenv.c: Do not include <bp-sym.h>.
24720         (fegetenv): Do not use BP_SYM in versioned symbols.
24721         * nptl/sysdeps/pthread/bits/libc-lockP.h
24722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24723         <bp-sym.h>.
24724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24725         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24727         (__pthread_mutex_destroy): Likewise.
24728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24729         (__pthread_mutex_lock): Likewise.
24730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24731         (__pthread_mutex_trylock): Likewise.
24732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24733         (__pthread_mutex_unlock): Likewise.
24734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24735         (__pthread_mutexattr_init): Likewise.
24736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24737         (__pthread_mutexattr_destroy): Likewise.
24738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24739         (__pthread_mutexattr_settype): Likewise.
24740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24741         (__pthread_rwlock_init): Likewise.
24742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24743         (__pthread_rwlock_destroy): Likewise.
24744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24745         (__pthread_rwlock_rdlock): Likewise.
24746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24747         (__pthread_rwlock_tryrdlock): Likewise.
24748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24749         (__pthread_rwlock_wrlock): Likewise.
24750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24751         (__pthread_rwlock_trywrlock): Likewise.
24752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24753         (__pthread_rwlock_unlock): Likewise.
24754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24755         (__pthread_key_create): Likewise.
24756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24757         (__pthread_setspecific): Likewise.
24758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24759         (__pthread_getspecific): Likewise.
24760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24761         Likewise.
24762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24763         (_pthread_cleanup_push_defer): Likewise.
24764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24765         (_pthread_cleanup_pop_restore): Likewise.
24766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24767         (pthread_setcancelstate): Likewise.
24768         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24769         <bp-sym.h>.
24770         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24771         (memchr): Do not use BP_SYM in weak_alias.
24772         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24773         (fegetenv): Do not use BP_SYM in versioned symbols.
24774         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24775         (fesetenv): Do not use BP_SYM in versioned symbols.
24776         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24777         (feupdateenv): Do not use BP_SYM in versioned symbols.
24778         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24779         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24780         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24781         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24782         (open64): Do not use BP_SYM in weak_alias.
24783         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24784         (fegetenv): Do not use BP_SYM in versioned symbols.
24785         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24786         (fesetenv): Do not use BP_SYM in versioned symbols.
24787         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24788         (feupdateenv): Do not use BP_SYM in versioned symbols.
24789         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24790         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24791         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24792         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24793         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24794         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24795         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24796         <bp-sym.h>.
24797         (__libc_start_main): Do not use BP_SYM.
24799 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24802         redundant return line.
24803         (norm): Likewise.
24804         (denorm): Likewise.
24805         (dbl_mp): Likewise.
24806         (sub_magnitudes): Likewise.
24807         (__add): Likewise.
24808         (__sub): Likewise.
24809         (__mul): Likewise.
24810         (__inv): Likewise.
24811         (__dvd): Likewise.
24812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24813         (norm): Likewise.
24814         (denorm): Likewise.
24815         (dbl_mp): Likewise.
24816         (sub_magnitudes): Likewise.
24817         (__add): Likewise.
24818         (__sub): Likewise.
24819         (__mul): Likewise.
24820         (__inv): Likewise.
24821         (__dvd): Likewise.
24823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24824         instead of __mul.
24825         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24826         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24827         (cc32): Likewise.
24829         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24830         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24832         of __mul for squares.
24833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24834         function
24835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24836         Likewise.
24837         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24840 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24842         [BZ #13550]
24843         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24844         code.
24845         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24846         prototype or function definition.  Rename ubp_* variables and
24847         parameters.  Remove argv definitions conditional on
24848         [__BOUNDED_POINTERS__].
24849         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24850         * elf/dl-runtime.c (_dl_fixup): Likewise.
24851         * include/set-hooks.h (RUN_HOOK): Likewise.
24852         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24853         definition.
24854         * string/strcpy.c (strcpy): Do not use __unbounded.
24855         * sysdeps/generic/frame.h (struct layout): Likewise.
24856         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24857         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24858         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24859         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24860         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24861         (__backtrace): Likewise.
24862         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24863         use __ptrvalue.
24864         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24865         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24866         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24867         Likewise.
24868         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24869         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24870         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24871         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24872         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24873         Do not use __unbounded.
24874         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24875         Rename __unboundedrlimits parameter to rlimits in prototype.
24876         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24877         Do not use __unbounded.
24878         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24879         not use __ptrvalue.
24880         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24881         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24882         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24883         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24884         __ptrvalue or __unbounded.
24885         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24886         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24887         use __unbounded.
24888         (__new_msgctl): Do not use __ptrvalue.
24889         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24890         __unbounded.
24891         (__libc_msgrcv): Do not use __ptrvalue.
24892         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24893         startup_info): Do not use __unbounded.
24894         (__libc_start_main): Likewise.  Rename ubp_* variables and
24895         parameters.  Remove argv definitions conditional on
24896         [__BOUNDED_POINTERS__].
24897         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24898         __ptrvalue.
24899         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24900         use __unbounded.
24901         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24902         or __ptrvalue.
24903         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24904         use __unbounded.
24905         (__new_shmctl): Do not use __ptrvalue.
24906         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24907         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24908         Likewise.
24909         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24910         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24911         (__libc_sigaction): Likewise.
24912         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24913         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24914         Likewise.
24915         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24917 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24919         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24921         * string/mempcpy.c: Implement by calling memcpy.
24923 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24925         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24928         evaluation.
24930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24931         values in the mantissa.
24933         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24934         minimize writes to Z.
24935         (sub_magnitudes): Simplify code a bit.
24937 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24939         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24940         from the message.  The linker prefixes all warnings with that already.
24942 2013-02-12  Andreas Schwab  <schwab@suse.de>
24944         [BZ #15078]
24945         * posix/regexec.c (extend_buffers): Add parameter min_len.
24946         (check_matching): Pass minimum needed length.
24947         (clean_state_log_if_needed): Likewise.
24948         (get_subexp): Likewise.
24949         * posix/Makefile (tests): Add bug-regex34.
24950         (bug-regex34-ENV): Define.
24951         * posix/bug-regex34.c: New file.
24953         [BZ #11561]
24954         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24955         elements compare against the byte sequence of it, not its name.
24956         * posix/Makefile (tests): Add bug-regex35.
24957         (bug-regex35-ENV): Define.
24958         * posix/bug-regex35.c: New file.
24960 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24962         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24963         comment.
24964         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24965         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24966         (CHECK_EOL): Add undef.
24968 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24970         * bits/stdlib-bsearch.h: New file.
24971         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24972         * stdlib/stdlib.h: Likewise.
24974 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24976         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24977         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24978         declaration.
24979         * manual/search.texi (Array Search Function): Add missing const in
24980         lfind prototype.
24981         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24982         declaration to use rlim_t.
24983         (Basic Scheduling Functions): Remove erroneous const from
24984         sched_getparam prototype.  Remove erroneous * from
24985         sched_get_priority_max and sched_get_priority_min prototypes.
24986         (Resource Usage): Fix summary @comment on vtimes to refer to
24987         sys/vtimes.h rather than vtimes.h.
24988         Add missing *s in vtimes prototype.
24989         (Limits on Resources): Fix ulimit prototype to return long int.
24990         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24991         prototypes to use long int rather than double.
24992         (BSD Random): Fix initstate and setstate to use char *, not void *.
24993         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24994         prototype to make second argument 'struct aiocb64 *const[]'.
24995         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24996         (Status of AIO Operations): Remove erroneous const in aio_return and
24997         aio_return64 prototypes.
24998         (Synchronizing I/O): Fix sync prototype to return void.
24999         * manual/startup.texi (Suboptions): Remove an erroneous const in
25000         getsubopt prototype.
25001         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25002         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25003         use size_t rather than int.
25004         (Scanning All Users): Likewise for getpwent_r.
25005         (Setting Groups): Add missing const to setgroups prototype.
25006         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25007         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25008         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25009         'const void *' rather than 'const char *'.
25010         (Host Address Functions): Likewise for inet_ntop.
25011         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25012         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25013         ssize_t for return value.
25014         (Sending Data): Likewise for send, sendto, sendmsg.
25015         (Socket Option Functions): Add a missing const in setsockopt prototype.
25016         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25017         use wchar_t for the argument.
25018         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25019         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25020         take no arguments.
25021         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25022         double/float/long double for second argument.
25023         Fix return types of significand, significandf, significandl.
25024         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25025         argument in fchmod prototype.
25026         (File Owner): Use uid_t and gid_t in fchown prototype.
25027         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25028         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25029         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25030         use 'const struct dirent **' as argument types to CMP function pointer
25031         argument.
25032         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25033         (File Times): Fix summary magic @comment for struct utimbuf and utime
25034         to refer to utime.h, not time.h.
25035         * manual/string.texi (Argz Functions): Add missing const in
25036         argz_extract and argz_next prototypes.
25037         (Finding Tokens in a String): Likewise for basename.
25038         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25039         (Copying and Concatenation): Fix typo in wmemmove prototype.
25040         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25041         (Signal Stack): Remove erroneous const in sigstack prototype.
25042         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25043         prototype.
25044         (Simple Calendar Time): Likewise for stime.
25045         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25046         prototype.
25047         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25048         say sys/sysctl.h instead.
25049         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25050         and vsyslog prototypes.
25052 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25054         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25055         Remove.
25057 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25059         * misc/sys/mman.h: Fix typo in mremap comment.
25061 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25063         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25064         the '\0' terminator.
25066 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25068         [BZ #13550]
25069         * debug/segfault.c: Don't include <bp-checks.h>.
25070         * sysdeps/generic/bp-checks.h: Remove file.
25071         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25072         (__GETDENTS): Don't use CHECK_N.
25073         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25074         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25075         (__getgroups): Don't use CHECK_N.
25076         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25077         (setgroups): Don't use CHECK_N.
25078         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25079         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25080         (__libc_msgrcv): Don't use CHECK_N.
25081         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25082         (__libc_msgsnd): Don't use CHECK_N.
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25084         <bp-checks.h>.
25085         (__libc_pread): Don't use CHECK_N.
25086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25087         include <bp-checks.h>.
25088         (__libc_pread64): Don't use CHECK_N.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25090         include <bp-checks.h>.
25091         (__libc_pwrite): Don't use CHECK_N.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25093         include <bp-checks.h>.
25094         (__libc_pwrite64): Don't use CHECK_N.
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25096         <bp-checks.h>.
25097         (__libc_pread): Don't use CHECK_N.
25098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25099         include <bp-checks.h>.
25100         (__libc_pread64): Don't use CHECK_N.
25101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25102         include <bp-checks.h>.
25103         (__libc_pwrite): Don't use CHECK_N.
25104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25105         include <bp-checks.h>.
25106         (__libc_pwrite64): Don't use CHECK_N.
25107         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25108         (do_pread): Don't use CHECK_N.
25109         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25110         (do_pread64): Don't use CHECK_N.
25111         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25112         (do_pwrite): Don't use CHECK_N.
25113         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25114         (do_pwrite64): Don't use CHECK_N.
25115         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25116         (__libc_readv): Don't use CHECK_N.
25117         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25118         (semop): Don't use CHECK_N.
25119         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25120         <bp-checks.h>.
25121         (semtimedop): Don't use CHECK_N.
25122         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25123         (__libc_pread): Don't use CHECK_N.
25124         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25125         <bp-checks.h>.
25126         (__libc_pread64): Don't use CHECK_N.
25127         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25128         <bp-checks.h>.
25129         (__libc_pwrite): Don't use CHECK_N.
25130         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25131         <bp-checks.h>.
25132         (__libc_pwrite64): Don't use CHECK_N.
25133         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25134         <bp-checks.h>.
25135         (__libc_msgrcv): Don't use CHECK_N.
25136         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25137         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25138         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25139         (__libc_writev): Don't use CHECK_N.
25141 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25143         * string/strcpy.c: Removed unused variable.
25145         * Makeconfig (+sysdep-includes): Define with := rather than =.
25146         Use an existing include/ subdir of each sysdeps dir before it.
25148 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25150         * nscd/connection.c (register_traced_file): Comment function.
25151         [HAVE_INOTIFY] (union __inev): Define.
25152         [HAVE_INOTIFY] (inotify_check_files): New function.
25153         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25154         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25155         clear_db_cache.
25156         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25158 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25160         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25161         loaded if not already and that a failure is permanent.
25163 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25165         [BZ #15006]
25166         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25167         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25169 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25171         [BZ #13550]
25172         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25173         (CHECK_1_NULL_OK): Likewise.
25174         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25175         (__fxstat): Do not use CHECK_1.
25176         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25177         <bp-checks.h>.
25178         (___fxstat64): Do not use CHECK_1.
25179         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25180         <bp-checks.h>.
25181         (__fxstatat): Do not use CHECK_1.
25182         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25183         <bp-checks.h>.
25184         (__fxstatat64): Do not use CHECK_1.
25185         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25186         <bp-checks.h>.
25187         (__fxstat): Do not use CHECK_1.
25188         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25189         <bp-checks.h>.
25190         (__fxstatat): Do not use CHECK_1.
25191         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25192         <bp-checks.h>.
25193         (__getresgid): Do not use CHECK_1.
25194         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25195         <bp-checks.h>.
25196         (__getresuid): Do not use CHECK_1.
25197         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25198         <bp-checks.h>.
25199         (__lxstat): Do not use CHECK_1.
25200         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25201         <bp-checks.h>.
25202         (__old_msgctl): Do not use CHECK_1.
25203         (__new_msgctl): Likewise.
25204         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25205         <bp-checks.h>.
25206         (__new_setrlimit): Do not use CHECK_1.
25207         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25208         <bp-checks.h>.
25209         (__old_shmctl): Do not use CHECK_1.
25210         (__new_shmctl): Likewise.
25211         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25212         <bp-checks.h>.
25213         (__xstat): Do not use CHECK_1.
25214         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25215         (__lxstat): Do not use CHECK_1.
25216         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25217         <bp-checks.h>.
25218         (___lxstat64): Do not use CHECK_1.
25219         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25220         (__old_msgctl): Do not use CHECK_1.
25221         (__new_msgctl): Likewise.
25222         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25223         <bp-checks.h>.
25224         (__gettimeofday): Do not use CHECK_1.
25225         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25226         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25227         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25228         <bp-checks.h>.
25229         (__gettimeofday): Do not use CHECK_1.
25230         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25231         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25232         (__new_shmctl): Do not use CHECK_1.
25233         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25234         <bp-checks.h>.
25235         (do_sigtimedwait): Do not use CHECK_1.
25236         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25237         <bp-checks.h>.
25238         (do_sigwaitinfo): Do not use CHECK_1.
25239         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25240         <bp-checks.h>.
25241         (msgctl): Do not use CHECK_1.
25242         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25243         <bp-checks.h>.
25244         (shmctl): Do not use CHECK_1.
25245         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25246         (ustat): Do not use CHECK_1.
25247         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25248         <bp-checks.h>.
25249         (__fxstat): Do not use CHECK_1.
25250         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25251         <bp-checks.h>.
25252         (__fxstatat): Do not use CHECK_1.
25253         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25254         <bp-checks.h>.
25255         (__lxstat): Do not use CHECK_1.
25256         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25257         <bp-checks.h>.
25258         (__xstat): Do not use CHECK_1.
25259         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25260         (__xstat): Do not use CHECK_1.
25261         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25262         (___xstat64): Do not use CHECK_1.
25264         [BZ #13550]
25265         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25266         definitions.
25267         (CHECK_BOUNDS_HIGH): Likewise.
25268         * string/strcpy.c: Do not include <bp-checks.h>.
25269         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25271 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25273         * nscd/nscd-client.h (__nscd_drop_map_ref):
25274         Add __attribute__ ((unused)).
25275         * nis/nss-nisplus.h (niserr2nss): Likewise.
25277         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25278         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25280         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25281         Remove inline keyword.
25282         * include/rounding-mode.h (round_away): Likewise.
25283         * libio/wfileops.c (adjust_wide_data): Likewise.
25284         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25285         (__m128i_strloadu_tolower): Likewise.
25286         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25287         (__m128i_strloadu_tolower): Likewise.
25288         * time/mktime.c (ydhms_diff): Likewise.
25289         * locale/elem-hash.h (elem_hash): Likewise.
25290         * locale/setlocale.c (setdata): Likewise.
25291         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25292         (re_string_wchar_at): Likewise.
25293         (bitset_not, bitset_merge, bitset_mask): Likewise.
25294         [!(__GNUC__ > 3)] (inline): Remove macro.
25295         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25296         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25297         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25298         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25299         * string/memcmp.c (memcmp_bytes): Likewise.
25300         * locale/programs/locarchive.c (compute_hashval): Likewise.
25301         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25302         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25303         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25304         * nss/getent.c (print_rpc, print_protocols): Likewise.
25305         (print_passwd, print_group, print_aliases): Likewise.
25306         * nis/nss-nisplus.h (niserr2nss): Likewise.
25307         * nscd/connections.c (restart_p): Likewise.
25308         Change return type to bool.
25310 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25312         * Makeconfig (all-Depend-files): Add existing
25313         $(sorted-subdirs:=/Depend) files.
25314         (all-subdirs): Remove nss.
25315         * sysdeps/unix/inet/Subdirs: Add it here instead.
25316         * hesiod/Depend: New file.
25318         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25319         instead of calling alloca.
25321         * io/lseek.c (__lseek): Rename to __libc_lseek.
25322         Define __lseek as an alias.
25324         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25326 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25328         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25329         else clause and remove check for non-standard endianness.
25331 2013-02-04  David S. Miller  <davem@davemloft.net>
25333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25335 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25337         [BZ #13550]
25338         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25339         (__ubp_memchr): Remove prototype.
25340         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25341         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25342         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25343         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25344         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25345         Remove alias.
25346         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25347         (__ubp_memchr): Likewise.
25348         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25349         (__ubp_memchr): Likewise.
25350         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25351         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25352         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25353         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25354         CHECK_STRING.
25355         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25356         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25357         (__getcwd): Do not use CHECK_STRING.
25358         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25359         <bp-checks.h>.
25360         (__real_chown): Do not use CHECK_STRING.
25361         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25362         <bp-checks.h>.
25363         (fchownat): Do not use CHECK_STRING.
25364         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25365         CHECK_STRING.
25366         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25367         <bp-checks.h>.
25368         (__lchown): Do not use CHECK_STRING.
25369         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25370         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25371         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25372         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25374         include <bp-checks.h>.
25375         (truncate64): Do not use CHECK_STRING.
25376         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25377         <bp-checks.h>.
25378         (__real_chown): Do not use CHECK_STRING.
25379         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25380         <bp-checks.h>.
25381         (__lchown): Do not use CHECK_STRING.
25382         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25383         <bp-checks.h>.
25384         (__chown): Do not use CHECK_STRING.
25385         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25386         <bp-checks.h>.
25387         (truncate64): Do not use CHECK_STRING.
25388         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25389         Likewise.
25390         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25391         (__xmknod): Do not use CHECK_STRING.
25392         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25393         <bp-checks.h>.
25394         (__xmknodat): Do not use CHECK_STRING.
25395         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25396         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25398 2013-02-04  Andreas Schwab  <schwab@suse.de>
25400         [BZ #14142]
25401         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25402         * include/netdb.h: Likewise for h_errno.
25403         * elf/tst-stackguard1.c: Include <tls.h>.
25405 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25407         * elf/link.h (struct link_map): Extend the l_addr comment.
25408         * include/link.h (struct link_map): Likewise.
25410 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25412         [BZ #13550]
25413         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25414         (BOUNDED_1): Remove macro.
25415         * debug/backtrace.c: Don't include <bp-checks.h>.
25416         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25417         (__backtrace): Likewise.
25418         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25419         <bp-checks.h>.
25420         (__backtrace): Don't use BOUNDED_1.
25421         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25422         <bp-checks.h>.
25423         (__backtrace): Don't use BOUNDED_1.
25424         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25425         (__backtrace): Don't use BOUNDED_1.
25426         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25427         (shmat): Don't use BOUNDED_N.
25429 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25431         [BZ #13550]
25432         * sysdeps/generic/bp-start.h: Remove file.
25433         * csu/libc-start.c: Don't include <bp-start.h>.
25434         (LIBC_START_MAIN): Set up __environ directly instead of using
25435         INIT_ARGV_and_ENVIRON.
25436         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25437         <bp-start.h>.
25439         [BZ #13550]
25440         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25441         definitions.
25442         (CHECK_FCNTL): Likewise.
25443         (CHECK_N_PAGES): Likewise.
25445         [BZ #13550]
25446         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25447         definitions.
25448         (CHECK_SIGSET_NULL_OK): Likewise.
25449         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25450         <bp-checks.h>.
25451         (sigpending): Don't use CHECK_SIGSET.
25452         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25453         <bp-checks.h>.
25454         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25455         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25456         <bp-checks.h>.
25457         (do_sigsuspend): Don't use CHECK_SIGSET.
25458         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25459         use CHECK_SIGSET.
25460         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25461         (do_sigwait): Don't use CHECK_SIGSET.
25462         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25463         use CHECK_SIGSET.
25464         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25465         include <bp-checks.h>.
25466         (sigpending): Don't use CHECK_SIGSET.
25467         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25468         include <bp-checks.h>.
25469         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25470         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25471         <bp-checks.h>.
25472         (sigpending): Don't use CHECK_SIGSET.
25473         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25474         <bp-checks.h>.
25475         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25477         [BZ #13550]
25478         * sysdeps/generic/bp-semctl.h: Remove file.
25479         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25480         <bp-checks.h> and <bp-semctl.h>.
25481         (__old_semctl): Don't use CHECK_SEMCTL.
25482         (__new_semctl): Likewise.
25483         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25484         and <bp-semctl.h>.
25485         (__old_semctl): Don't use CHECK_SEMCTL.
25486         (__new_semctl): Likewise.
25487         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25488         <bp-checks.h> and <bp-semctl.h>.
25489         (__old_semctl): Don't use CHECK_SEMCTL.
25490         (__new_semctl): Likewise.
25491         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25492         <bp-checks.h> and <bp-semctl.h>.
25493         (semctl): Don't use CHECK_SEMCTL.
25495         [BZ #13550]
25496         * Makerules (elide-bp-thunks): Remove variable.
25497         (elide-routines.oS): Don't use $(elide-bp-thunks).
25498         (elide-routines.os): Likewise.
25499         (elide-routines.o): Likewise.
25500         (elide-routines.op): Likewise.
25501         (elide-routines.og): Likewise.
25502         (objects): Don't use $(bp-thunks).
25503         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25504         include.
25505         (common-generated): Do not add s-proto-bp.d.
25506         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25507         (int): Likewise.
25508         (typ): Likewise.
25509         Do not generate makefile rules for bounded-pointer thunks.
25510         * sysdeps/generic/bp-thunks.h: Remove file.
25511         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25512         * sysdeps/unix/s-proto-bp.S: Likewise.
25514         [BZ #15062]
25515         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25516         parts of result separately when argument is not close to line from
25517         -i to i and one part of argument is small.
25518         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25519         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25520         * math/libm-test.inc (cacos_test): Add more tests.
25521         (casin_test): Likewise.
25522         (casinh_test): Likewise.
25523         * sysdeps/i386/fpu/libm-test-ulps: Update.
25524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25526 2013-01-31  David S. Miller  <davem@davemloft.net>
25528         * po/de.po: Update from translation team.
25530 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25532         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25534 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25536         * configure.in (_AC_PROG_CC_C89): New definition.
25537         * configure: Regenerate.
25539         * configure.in (AC_PROG_CPP): New definition.
25540         * configure: Regenerate.
25542 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25544         * debug/tst-backtrace.h: New file.
25545         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25546         (ret): Remove variable.
25547         (x): Likewise.
25548         (FAIL): Remove macro.
25549         (NO_INLINE): Likewise.
25550         (fn1): Use match function instead of strstr.
25551         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25552         (ret): Remove variable.
25553         (x): Likewise.
25554         (FAIL): Remove macro.
25555         (NO_INLINE): Likewise.
25556         (fn): Use match function instead of strstr.
25557         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25558         (ret): Remove variable.
25559         (x): Likewise.
25560         (FAIL): Remove macro.
25561         (NO_INLINE): Likewise.
25562         (handle_signal): Use match function instead of strstr.
25563         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25564         (ret): Remove variable.
25565         (x): Likewise.
25566         (FAIL): Remove macro.
25567         (NO_INLINE): Likewise.
25568         (handle_signal): Use match function instead of strstr.
25570 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25572         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25574 2013-01-23  David S. Miller  <davem@davemloft.net>
25576         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25577         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25578         argument of CAS if possible.
25579         * sysdeps/sparc/sparc64/bits/atomic.h
25580         (__arch_compare_and_exchange_val_32_acq): Likewise.
25581         (__arch_compare_and_exchange_val_64_acq): Likewise.
25583 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25585         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25586         * sysdeps/posix/ulimit.c: ... this.
25587         Include <limits.h>.
25588         * sysdeps/unix/bsd/ulimit.c: Remove file.
25590 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25592         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25593         (LDFLAGS-tst-array5): Likewise.
25595 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25597         [BZ #15036]
25598         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25599         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25600         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25601         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25603 2013-01-21  David S. Miller  <davem@davemloft.net>
25605         * sysdeps/sparc/backtrace.c: New file.
25606         * sysdeps/sparc/sparc32/backtrace.h: New file.
25607         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25608         * sysdeps/sparc/sparc64/backtrace.h: New file.
25609         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25610         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25611         -funwind-tables.
25613 2013-01-21  Andreas Schwab  <schwab@suse.de>
25615         [BZ #15020]
25616         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25617         closed its stdout.
25619 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25622         "mpa2.h".
25623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25625 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25626             Mark Mitchell  <mark@codesourcery.com>
25627             Tom de Vries  <tom@codesourcery.com>
25628             Paul Pluzhnikov  <ppluzhnikov@google.com>
25630         * debug/tst-backtrace2.c: New file.
25631         * debug/tst-backtrace3.c: Likewise.
25632         * debug/tst-backtrace4.c: Likewise.
25633         * debug/tst-backtrace5.c: Likewise.
25634         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25635         (CFLAGS-tst-backtrace3.c): Likewise.
25636         (CFLAGS-tst-backtrace4.c): Likewise.
25637         (CFLAGS-tst-backtrace5.c): Likewise.
25638         (LDFLAGS-tst-backtrace2): Likewise.
25639         (LDFLAGS-tst-backtrace3): Likewise.
25640         (LDFLAGS-tst-backtrace4): Likewise.
25641         (LDFLAGS-tst-backtrace5): Likewise.
25642         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25643         tst-backtrace4 and tst-backtrace5.
25645 2013-01-18  Anton Blanchard  <anton@samba.org>
25646             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25648         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25649         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25650         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25651         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25653         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25654         "+r" and remove output regs list as redundant.  Add explicit inline
25655         asm to specify register of return val to work around compiler codegen
25656         bug.  Remove (int) cast on return value.  Add return type parameter to
25657         use in macro so that this macro does not truncate return value for
25658         64-bit values.
25659         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25660         pass to INTERNAL_VSYSCALL_NCS.
25661         (INLINE_VSYSCALL): Add 'long int' as return type to
25662         INTERNAL_VSYSCALL_NCS macro invocation.
25663         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25664         INTERNAL_VSYSCALL_NCS macro invocation.
25665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25667 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25669         [BZ #14496]
25670         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25671         Fix application of SIMD FP exception mask.
25673         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25674         mp_no from a power of two.
25675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25676         __mpexp_twomm1.  Use __pow_mp.
25678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25679         multiplication.
25681 2013-01-17  David S. Miller  <davem@davemloft.net>
25683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25685 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25687         [BZ #15023]
25688         * include/complex.h: Condition contents on [!_COMPLEX_H].
25689         (__kernel_casinhf): New prototype.
25690         (__kernel_casinh): Likewise.
25691         (__kernel_casinhl): Likewise.
25692         * math/Makefile (libm_calls): Add k_casinh.
25693         * math/k_casinh.c: New file.
25694         * math/k_casinhf.c: Likewise.
25695         * math/k_casinhl.c: Likewise.
25696         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25697         finite nonzero arguments.
25698         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25699         finite nonzero arguments.
25700         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25701         finite nonzero arguments.
25702         * math/s_casinh.c: Do not include <float.h>.
25703         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25704         * math/s_casinhf.c: Do not include <float.h>.
25705         (__casinhf): Move code for finite nonzero arguments to
25706         k_casinhf.c.
25707         * math/s_casinhl.c: Do not include <float.h>.
25708         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25709         redefine.
25710         (__casinhl): Move code for finite nonzero arguments to
25711         k_casinhl.c.
25712         * math/libm-test.inc (cacos_test): Add more tests.
25713         * sysdeps/i386/fpu/libm-test-ulps: Update.
25714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25718         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25719         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25720         [!HAVE_MREMAP]: Remove [defined linux] case.
25721         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25723 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25725         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25727 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25729         * elf/elf.h (R_386_SIZE32): New relocation.
25730         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25731         R_386_SIZE32.
25732         (elf_machine_rela): Likewise.
25733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25734         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25736 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25738         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25739         (FP_FAST_FMA): Do not define.
25740         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25741         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25742         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25743         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25744         !_SOFT_FLOAT]: Likewise.
25745         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25746         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25747         value.
25748         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25749         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25750         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25751         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25752         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25753         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25754         file.
25756 2013-01-16  Andreas Schwab  <schwab@suse.de>
25758         [BZ #14327]
25759         * include/stdlib.h (__mktemp): Add declaration.
25760         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25761         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25763 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25765         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25766         definitions.
25767         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25768         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25769         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25770         definitions here.
25771         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25772         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25773         definitions.
25774         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25775         and ONE.
25776         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25777         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25778         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25779         definitions.
25780         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25781         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25782         definitions.
25783         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25785         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25787 2013-01-15  David S. Miller  <davem@davemloft.net>
25789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25790         trunc{,f} to libm-sysdep_routes.
25791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25793         file.
25794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25796         file.
25797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25798         file.
25799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25801         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25802         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25803         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25804         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25805         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25806         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25809         nearbyint{,f} to libm-sysdep_routes.
25810         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25812         New file.
25813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25814         file.
25815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25816         New file.
25817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25818         file.
25819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25821         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25822         file.
25823         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25824         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25825         file.
25826         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25827         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25828         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25830         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25831         libc_feholdexcept and libc_fesetenv.
25833 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25835         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25837 2013-01-14  David S. Miller  <davem@davemloft.net>
25839         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25840         (SPARC_ASM_VIS2_IFUNC): Likewise.
25841         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25843         use of 'siam' instruction.
25844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25845         Likewise.
25846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25847         Likewise.
25848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25849         Likewise.
25850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25852         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25855         file.
25856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25857         file.
25858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25859         file.
25860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25861         file.
25862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25867         new VIS2 routines.
25868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25871         Likewise.
25872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25877         routines to libm-sysdep_routines.
25878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25881         fdim/fdimf to libm-sysdep_routines.
25882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25883         file.
25884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25886         file.
25887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25890         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25891         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25892         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25893         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25895 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25897         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25898         to optimize copies.
25900         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25905         local variable MPTWO.
25906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25907         Likewise.
25909 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25911         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25912         GLOB_NOESCAPE.
25914 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25916         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25918 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25920         * manual/pattern.texi (glob_t): Document gl_flags.
25921         (glob64_t): Likewise.
25923 2013-01-11  David S. Miller  <davem@davemloft.net>
25925         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25926         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25927         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25928         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25929         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25930         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25931         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25932         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25933         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25934         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25935         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25936         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25937         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25939         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25940         sparc V9 rather than using V8 code.
25941         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25942         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25944         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25945         Move to...
25946         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25947         Here.
25949 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25951         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25952         not in the main loop.
25953         * configure: Regenerated.
25955 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25957         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25958         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25959         to just #else.
25960         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25961         [!__GLIBC_HAVE_LONG_LONG] case.
25962         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25963         condition to just #else.
25964         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25965         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25966         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25967         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25968         unconditional.
25969         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25970         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25971         #elif condition to just #else.
25972         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25973         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25974         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25975         #elif condition to just #else.
25977 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25979         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25980         (EF_MIPS_ARCH_64): Fix value.
25981         (EF_MIPS_ARCH_32R2): New.
25982         (EF_MIPS_ARCH_64R2): New.
25984 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25986         * Makeconfig (+link-pie-before-libc): New.
25987         (+link-pie-after-libc): Likewise.
25988         (+link-pie-tests): Likewise.
25989         (+link-pie): Rewritten.
25990         (link-before-libc): Remove $(config-LDFLAGS).
25991         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25992         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25993         (config-LDFLAGS): Renamed to ...
25994         (rtld-LDFLAGS): This.
25995         (rtld-tests-LDFLAGS): New macro.
25996         (link-libc-rpath-link): Likewise.
25997         (link-libc-tests-rpath-link): Likewise.
25998         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25999         (link-libc): Prepand $(link-libc-rpath-link).
26000         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26001         (test-program-prefix): New macro.
26002         (test-via-rtld-prefix): Likewise.
26003         (test-program-cmd): Likewise.
26004         (host-test-program-cmd): Likewise.
26005         * Makefile ($(common-objpfx)testrun.sh): Replace
26006         $(run-program-prefix) with $(test-program-prefix).
26007         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26008         $(rtld-LDFLAGS).
26009         ($(common-objpfx)shlib.lds): Likewise.
26010         (build-module-helper): Likewise.
26011         ($(common-objpfx)format.lds): Likewise.
26012         * Rules (binaries-pie-tests): New.
26013         (binaries-pie-notests): Likewise.
26014         (binaries-pie): Rewritten.
26015         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26016         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26017         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26018         (make-test-out): Replace $(host-built-program-cmd) with
26019         $(host-test-program-cmd).
26020         * config.make.in (build-hardcoded-path-in-tests): New variable.
26021         * configure.in (--enable-hardcoded-path-in-tests): New configure
26022         option.
26023         (hardcoded_path_in_tests): New AC_SUBST.
26024         * configure: Regenerated.
26025         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26026         $(built-program-cmd) with $(test-program-cmd).
26027         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26028         (test_program_cmd): This.
26029         * elf/Makefile ($(objpfx)order.out): Run test with
26030         $(test-program-prefix).
26031         ($(objpfx)order2.out): Likewise.
26032         ($(objpfx)tst-initorder.out): Likewise.
26033         ($(objpfx)tst-initorder2.out): Likewise.
26034         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26035         $(test-program-cmd).
26036         ($(objpfx)tst-array1-static.out): Likewise.
26037         ($(objpfx)tst-array2.out): Likewise.
26038         ($(objpfx)tst-array3.out): Likewise.
26039         ($(objpfx)tst-array4.out): Likewise.
26040         ($(objpfx)tst-array5.out): Likewise.
26041         ($(objpfx)tst-array5-static.out): Likewise.
26042         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26043         $(test-program-cmd).
26044         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26045         $(run-program-prefix) with $(test-program-prefix).
26046         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26047         (test_program_prefix): This.
26048         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26049         $(run-program-prefix) with $(test-program-prefix).
26050         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26051         (test_program_prefix): This.
26052         * iconvdata/tst-tables.sh: Likewise.
26053         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26054         $(run-program-prefix) with $(test-program-prefix).
26055         ($(objpfx)tst-translit.out): Likewise.
26056         ($(objpfx)tst-gettext2.out): Likewise.
26057         ($(objpfx)tst-gettext4.out): Likewise.
26058         ($(objpfx)tst-gettext6.out): Likewise.
26059         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26060         (test_program_prefix): This.
26061         * intl/tst-gettext2.sh: Likewise.
26062         * intl/tst-gettext4.sh  Likewise.
26063         * intl/tst-gettext6.sh: Likewise.
26064         * intl/tst-translit.sh: Likewise.
26065         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26066         with $(test-program-cmd).
26067         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26068         $(run-program-prefix) with $(test-program-prefix).
26069         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26070         (test_program_prefix): This.
26071         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26072         $(run-program-prefix) with $(test-program-prefix).
26073         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26074         (test_program_prefix): This.
26075         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26076         * posix/Makefile ($(objpfx)globtest.out): Replace
26077         $(run-via-rtld-prefix) and $(test-wrapper) with
26078         $(test-program-prefix) and $(test-via-rtld-prefix).
26079         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26080         $(test-program-prefix).
26081         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26082         $(host-test-program-cmd).
26083         (tst-spawn-ARGS): Likewise.
26084         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26085         $(test-program-prefix).
26086         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26087         (test_via_rtld_prefix): This.
26088         (test_wrapper): Renamed to ...
26089         (test_program_prefix): This.
26090         (run_program_prefix): Replaced by test_program_prefix.
26091         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26092         (test_program_prefix): This.
26093         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26094         with $(host-test-program-cmd).
26095         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26096         $(run-program-prefix) with $(test-program-prefix).
26097         ($(objpfx)tst-printf.out): Likewise.
26098         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26099         $(test-program-cmd).
26100         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26101         (test_program_prefix): This.
26102         * stdio-common/tst-unbputc.sh: Likewise.
26103         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26104         $(run-program-prefix) with $(test-program-prefix).
26105         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26106         (test_program_prefix): This.
26107         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26108         $(built-program-cmd) with $(test-program-cmd).
26110 2013-01-11  Andreas Jaeger  <aj@suse.de>
26112         [BZ #15003]
26113         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26114         value. Sync with Linux 3.7.
26116 2013-01-10  David S. Miller  <davem@davemloft.net>
26118         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26119         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26120         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26122 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26124         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26125         never set.
26126         * configure: Regenerated.
26128 2013-01-10  David S. Miller  <davem@davemloft.net>
26130         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26131         sparc V9 rather than using V8 code.
26132         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26133         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26135 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26137         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26138         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26139         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26140         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26141         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26142         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26143         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26144         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26145         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26146         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26147         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26148         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26149         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26150         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26151         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26152         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26153         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26154         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26155         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26156         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26157         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26158         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26159         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26160         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26161         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26162         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26163         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26165 2013-01-10  David S. Miller  <davem@davemloft.net>
26167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26169 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26171         * posix/Makefile (tests-static): New variable.
26172         (tests): Add $(tests-static).
26173         (tst-exec-static-ARGS): New variable.
26174         (tst-spawn-static-ARGS): Likewise.
26175         * posix/tst-exec-static.c: New file.
26176         * posix/tst-spawn-static.c: Likewise.
26177         * posix/tst-exec.c: Support run directly.
26178         * posix/tst-spawn.c: Likewise.
26180 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26182         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26183         long.
26184         * math/bits/mathcalls.h (llrint): Likewise.
26185         (llround): Likewise.
26186         * stdlib/stdlib.h (struct drand48_data): Likewise.
26187         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26188         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26189         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26190         Likewise.
26191         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26192         Likewise.
26193         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26194         (elf_greg_t): Likewise.
26195         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26196         (__jmp_buf): Likewise.
26197         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26198         definitions.
26199         (llrint): Likewise, for all definitions.
26200         (llrintl): Likewise.
26202         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26203         Remove [__GNUC__] condition.
26204         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26205         condition to just [__USE_ISOC99].
26206         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26208 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26210         [BZ #14200]
26211         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26212         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26213         defined.
26214         (_POSIX_V6_ILP32_OFF32): Likewise.
26215         (_XBS5_ILP32_OFF32): Likewise.
26216         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26217         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26219 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26221         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26224         doubles __mpexp_twomm1.  Adjust usage.
26225         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26226         Remove.
26228 2013-01-10  Andreas Schwab  <schwab@suse.de>
26230         [BZ #14964]
26231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26232         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26234 2013-01-09  David S. Miller  <davem@davemloft.net>
26236         [BZ #15003]
26237         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26238         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26239         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26240         (TCP_FASTOPEN): Define.
26241         (tcp_repair_opt): New structure.
26242         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26243         enum values.
26244         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26245         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26246         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26247         (tcp_cookie_transactions): New structure.
26249 2013-01-09  Anton Blanchard  <anton@samba.org>
26251         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26252         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26253         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26254         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26256 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26258         * include/features.h (__USE_ANSI): Remove.
26260 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26262         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26264         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26266 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26268         * sysdeps/s390/fpu/libm-test-ulps: Update.
26270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26272         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26273         (__acr): Likewise.
26274         (__cpy): Likewise.
26275         (norm): Likewise.
26276         (denorm): Likewise.
26277         (__mp_dbl): Likewise.
26278         (__dbl_mp): Likewise.
26279         (add_magnitudes): Likewise.
26280         (sub_magnitudes): Likewise.
26281         (__add): Likewise.
26282         (__sub): Likewise.
26283         (__mul): Likewise.
26284         (__inv): Likewise.
26285         (__dvd): Likewise.
26286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26287         (__acr): Likewise.
26288         (__cpy): Likewise.
26289         (norm): Likewise.
26290         (denorm): Likewise.
26291         (__mp_dbl): Likewise.
26292         (__dbl_mp): Likewise.
26293         (add_magnitudes): Likewise.
26294         (sub_magnitudes): Likewise.
26295         (__add): Likewise.
26296         (__sub): Likewise.
26297         (__mul): Likewise.
26298         (__inv): Likewise.
26299         (__dvd): Likewise.
26300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26301         (__acr): Likewise.
26302         (__cpy): Likewise.
26303         (norm): Likewise.
26304         (denorm): Likewise.
26305         (__mp_dbl): Likewise.
26306         (__dbl_mp): Likewise.
26307         (add_magnitudes): Likewise.
26308         (sub_magnitudes): Likewise.
26309         (__add): Likewise.
26310         (__sub): Likewise.
26311         (__mul): Likewise.
26312         (__inv): Likewise.
26313         (__dvd): Likewise.
26315 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26317         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26318         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26319         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26320         2 && __USE_EXTERN_INLINES]: Likewise.
26322 2013-01-08  Andreas Jaeger  <aj@suse.de>
26324         [BZ# 14985]
26325         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26326         Remove.
26327         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26328         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26330 2013-01-07  Anton Blanchard  <anton@samba.org>
26332         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26333         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26334         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26335         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26336         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26337         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26338         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26339         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26341         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26342         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26343         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26344         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26345         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26346         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26347         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26348         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26349         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26350         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26351         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26353         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26354         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26355         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26356         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26357         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26358         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26359         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26361         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26362         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26364         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26365         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26366         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26367         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26368         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26369         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26370         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26372         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26373         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26374         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26376 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26378         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26379         (__MALLOC_PMT): Likewise.
26380         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26381         [__GNUC__], only on [_LIBC].
26382         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26383         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26384         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26385         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26386         forward declaration.
26387         (realloc_hook_ini): Likewise.
26388         (memalign_hook_ini): Likewise.
26389         (__libc_memalign): Do not use __MALLOC_PMT in variable
26390         declaration.
26391         (__libc_valloc): Likewise.
26392         (__libc_pvalloc): Likewise.
26393         (__libc_calloc): Likewise.
26394         (__posix_memalign): Likewise.
26396         [BZ #14996]
26397         * math/s_casinh.c: Include <float.h>.
26398         (__casinh): Do not do computation with squaring and square root
26399         for large arguments.
26400         * math/s_casinhf.c: Include <float.h>.
26401         (__casinhf): Do not do computation with squaring and square root
26402         for large arguments.
26403         * math/s_casinhl.c: Include <float.h>.
26404         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26405         (__casinhl): Do not do computation with squaring and square root
26406         for large arguments.
26407         * math/libm-test.inc (casin_test): Add more tests.
26408         (casinh_test): Likewise.
26409         * sysdeps/i386/fpu/libm-test-ulps: Update.
26410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26414         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26415         (__x86_64_raw_data_cache_size): Likewise.
26416         (__x86_64_data_cache_size_half): Likewise.
26417         (__x86_64_raw_data_cache_size_half): Likewise.
26418         (__x86_64_shared_cache_size): Likewise.
26419         (__x86_64_raw_shared_cache_size): Likewise.
26420         (__x86_64_shared_cache_size_half): Likewise.
26421         (__x86_64_raw_shared_cache_size_half): Likewise.
26422         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26423         to ...
26424         (__x86_data_cache_size): This.
26425         (__x86_64_raw_data_cache_size): Renamed to ...
26426         (__x86_raw_data_cache_size): This.
26427         (__x86_64_data_cache_size_half): Renamed to ...
26428         (__x86_data_cache_size_half): This.
26429         (__x86_64_raw_data_cache_size_half): Renamed to ...
26430         (__x86_raw_data_cache_size_half): This.
26431         (__x86_64_shared_cache_size): Renamed to ...
26432         (__x86_shared_cache_size): This.
26433         (__x86_64_raw_shared_cache_size): Renamed to ...
26434         (__x86_raw_shared_cache_size): This.
26435         (__x86_64_shared_cache_size_half): Renamed to ...
26436         (__x86_shared_cache_size_half): This.
26437         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26438         (__x86_raw_shared_cache_size_half): This.
26439         * sysdeps/x86_64/memcpy.S: Updated.
26440         * sysdeps/x86_64/memset.S: Likewise.
26441         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26442         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26443         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26445 2013-01-04  David S. Miller  <davem@davemloft.net>
26447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26449 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26451         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26452         1 to avoid redefinition warning.
26453         (__USE_GNU): Don't define.
26454         (init_signaling_nan): Protoize.
26456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26458 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26460         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26462         (__cpymn): Likewise.
26463         (norm): Remove commented code.
26464         (denorm): Likewise.
26465         (__mp_dbl): Likewise.
26466         (__inv): Likewise.
26467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26468         (__cpymn): Likewise.
26469         (norm): Remove commented code.
26470         (denorm): Likewise.
26471         (__mp_dbl): Likewise.
26472         (__inv): Likewise.
26474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26475         mp_no value for 1.0 and 2.0.
26476         (norm): Use RADIXI instead of radixi.d.
26477         (denorm): Likewise.
26478         (__mul): Use 0.0 instead of zero.d.
26479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26480         mp_no value for 1.0 and 2.0.
26481         (norm): Use RADIXI instead of radixi.d.
26482         (denorm): Likewise.
26483         (__mul): Use 0.0 instead of zero.d.
26485 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26487         [BZ #14994]
26488         * math/s_casinh.c (__casinh): Reduce finite argument to first
26489         quadrant then set signs of results at the end.
26490         * math/s_casinhf.c (__casinhf): Likewise.
26491         * math/s_casinhl.c (__casinhl): Likewise.
26492         * math/libm-test.inc (casin_test): Add more tests.
26493         (casinh_test): Likewise.
26494         * sysdeps/i386/fpu/libm-test-ulps: Update.
26495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26497 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26499         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26501         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26503         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26504         declarations.
26505         (denorm): Likewise.
26506         (__mp_dbl): Likewise.
26507         (__inv): Likewise.
26509         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26510         and adjust the header comment.
26512         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26513         variable name from declaration.
26515 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26518         Initialize COMMON_CPUID_INDEX_7 element.
26519         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26520         (CPUID_RTM): Likewise.
26521         (HAS_RTM): Likewise.
26522         (COMMON_CPUID_INDEX_7): New enum.
26524 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26526         [BZ #14981]
26527         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26528         size is zero, record memory as freed.
26530 2013-01-03  Andreas Jaeger  <aj@suse.de>
26532         * po/ia.po: Add new Interlingua translation.
26534 2012-01-03  Allan McRae  <allan@archlinux.org>
26536         * locale/programs/localedef.c: Fix description of '--posix' flag.
26538 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26540         * NEWS: Update dates in second copyright notice.
26541         * README: Update copyright dates in example.
26542         * manual/libc.texinfo: Update copyright dates.
26543         * scripts/test-installation.pl: Update copyright date in --version
26544         output.
26546         * hurd/ctty-input.c: Fix copyright notice formatting.
26547         * hurd/ctty-output.c: Likewise.
26548         * hurd/dtable.c: Likewise.
26549         * hurd/hurd-raise.c: Likewise.
26550         * hurd/hurdprio.c: Likewise.
26551         * hurd/msgportdemux.c: Likewise.
26552         * misc/sys/file.h: Likewise.
26553         * misc/sys/ioctl.h: Likewise.
26554         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26555         * sysdeps/mach/hurd/chdir.c: Likewise.
26556         * sysdeps/mach/hurd/fchdir.c: Likewise.
26557         * sysdeps/mach/hurd/rename.c: Likewise.
26558         * sysdeps/mach/hurd/rmdir.c: Likewise.
26559         * sysdeps/mach/hurd/seekdir.c: Likewise.
26560         * sysdeps/mach/hurd/setsid.c: Likewise.
26561         * sysdeps/posix/wait3.c: Likewise.
26563         * All files with FSF copyright notices: Update copyright dates
26564         using scripts/update-copyrights.
26565         * intl/plural.c: Regenerated.
26566         * locale/programs/charmap-kw.h: Likewise.
26567         * locale/programs/locfile-kw.h: Likewise.
26569 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26571         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26572         four values.
26574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26575         calculation loop and add branch prediction.
26577         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26578         check access beyond bounds of m1np.
26580         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26581         MPTWO.
26582         (__inv): Remove local variable MPTWO to use the global
26583         constant.
26584         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26585         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26586         variable MPTWO.
26587         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26588         MP3HALFS static const.
26590 2013-01-01  David S. Miller  <davem@davemloft.net>
26592         * po/ca.po: Update from translation team.
26594 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26596         * scripts/update-copyrights: New file.
26597         * Makeconfig: Reformat copyright notice.
26598         * ctype/ctype.h: Likewise.
26599         * debug/swprintf_chk.c: Likewise.
26600         * elf/dl-cache.c: Likewise.
26601         * elf/dl-debug.c: Likewise.
26602         * elf/dl-object.c: Likewise.
26603         * grp/initgroups.c: Likewise.
26604         * hurd/Makefile: Likewise.
26605         * hurd/hurd/signal.h: Likewise.
26606         * hurd/hurdfault.c: Likewise.
26607         * hurd/hurdioctl.c: Likewise.
26608         * hurd/hurdlookup.c: Likewise.
26609         * hurd/intr-msg.c: Likewise.
26610         * iconv/gconv_open.c: Likewise.
26611         * libio/swprintf.c: Likewise.
26612         * locale/lc-ctype.c: Likewise.
26613         * locale/nl_langinfo.c: Likewise.
26614         * mach/Machrules: Likewise.
26615         * mach/Makefile: Likewise.
26616         * malloc/obstack.h: Likewise.
26617         * manual/Makefile: Likewise.
26618         * manual/tsort.awk: Likewise.
26619         * misc/bits/stab.def: Likewise.
26620         * nis/nis_print_group_entry.c: Likewise.
26621         * nis/nis_table.c: Likewise.
26622         * nis/nss_compat/compat-pwd.c: Likewise.
26623         * nis/nss_compat/compat-spwd.c: Likewise.
26624         * po/Makefile: Likewise.
26625         * posix/fnmatch.c: Likewise.
26626         * posix/regex.h: Likewise.
26627         * resolv/Makefile: Likewise.
26628         * resolv/nss_dns/dns-network.c: Likewise.
26629         * resolv/res_hconf.c: Likewise.
26630         * scripts/gen-sorted.awk: Likewise.
26631         * soft-fp/soft-fp.h: Likewise.
26632         * stdio-common/printf.h: Likewise.
26633         * stdlib/monetary.h: Likewise.
26634         * stdlib/random.c: Likewise.
26635         * stdlib/random_r.c: Likewise.
26636         * sysdeps/generic/Makefile: Likewise.
26637         * sysdeps/gnu/Makefile: Likewise.
26638         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26640         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26642         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26643         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26644         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26645         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26646         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26647         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26648         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26649         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26650         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26651         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26652         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26653         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26654         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26656         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26657         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26658         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26659         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26660         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26661         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26662         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26663         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26664         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26665         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26666         * sysdeps/mach/hurd/errnos.awk: Likewise.
26667         * sysdeps/mach/hurd/fork.c: Likewise.
26668         * sysdeps/mach/hurd/getcwd.c: Likewise.
26669         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26670         * sysdeps/mach/hurd/mmap.c: Likewise.
26671         * sysdeps/mach/hurd/utimes.c: Likewise.
26672         * sysdeps/mach/hurd/xmknod.c: Likewise.
26673         * sysdeps/posix/profil.c: Likewise.
26674         * sysdeps/posix/readdir_r.c: Likewise.
26675         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26676         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26677         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26678         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26680         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26681         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26682         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26684         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26685         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26686         * sysdeps/pthread/lio_listio.c: Likewise.
26687         * sysdeps/sparc/dl-procinfo.h: Likewise.
26688         * sysdeps/unix/i386/sysdep.S: Likewise.
26689         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26690         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26691         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26692         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26694         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26695         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26696         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26697         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26698         * sysdeps/wordsize-32/divdi3.c: Likewise.
26699         * time/sys/time.h: Likewise.
26700         * wcsmbs/Makefile: Likewise.
26702 2013-01-01  David S. Miller  <davem@davemloft.net>
26704         * po/fr.po: Update from translation team.
26706         * catgets/gencat.c: Update copyright year.
26707         * csu/version.c: Likewise.
26708         * debug/catchsegv.sh: Likewise.
26709         * debug/pcprofiledump.c: Likewise.
26710         * debug/xtrace.sh: Likewise.
26711         * elf/ldconfig.c: Likewise.
26712         * elf/ldd.bash.in: Likewise.
26713         * elf/pldd.c: Likewise.
26714         * elf/sotruss.ksh: Likewise.
26715         * elf/sprof.c: Likewise.
26716         * iconv/iconv_prog.c: Likewise.
26717         * iconv/iconvconfig.c: Likewise.
26718         * locale/programs/locale.c: Likewise.
26719         * locale/programs/localedef.c: Likewise.
26720         * login/programs/pt_chown.c: Likewise.
26721         * malloc/memusage.sh: Likewise.
26722         * malloc/memusagestat.c: Likewise.
26723         * malloc/mtrace.pl: Likewise.
26724         * nscd/nscd.c: Likewise.
26725         * nss/getent.c: Likewise.
26726         * nss/makedb.c: Likewise.
26727         * posix/getconf.c: Likewise.
26729 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26731         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26732         numbers.
26734 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26736         * math/bits/mathcalls.h (modf): Use __nonnull.
26738 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26740         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26741         (split): Use macro CN instead of the bare value.
26742         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26743         could be used.
26744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26745         instead of the bare value.
26746         (power1): Likewise.
26748 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26750         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26751         __ATAN_TWOM.
26752         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26754         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26755         their values.
26756         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26757         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26758         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26759         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26761 2012-12-28  Andreas Jaeger  <aj@suse.de>
26763         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26764         values are from Linux 3.7.
26766         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26767         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26769 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26771         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26772         TRUE case.
26774         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26775         (norm): Likewise.
26776         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26777         variables with preprocessor constants.
26778         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26779         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26780         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26782 2012-12-27  Bruno Haible  <bruno@clisp.org>
26784         [BZ #14317]
26785         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26786         only if needed.
26788 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26791         and use variable directly.
26792         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26794         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26795         MPONE.
26796         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26797         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26798         variable MPONE.
26799         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26801         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26802         include directive.  Remove local variable MPONE.
26803         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26804         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26805         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26807 2012-12-25  David S. Miller  <davem@davemloft.net>
26809         * version.h (RELEASE): Set to "development".
26810         (VERSION): Set to "2.17.90".
26811         * NEWS: Add 2.18 section.
26813 2012-12-21  David S. Miller  <davem@davemloft.net>
26815         * po/hr.po: Update from translation team.
26817 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26819         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26821 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26823         * NEWS:  Mention new memcpy for MIPS.
26825 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26827         * manual/contrib.texi (Contributors): Spelling correction.
26829 2012-12-15  David S. Miller  <davem@davemloft.net>
26831         * po/ru.po: Update from translation team.
26833 2012-12-13  David S. Miller  <davem@davemloft.net>
26835         * NEWS: Mention IFUNC testsuite enhancements.
26837         * po/pl.po: Update from translation team.
26838         * po/bg.po: Likewise.
26840         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26841         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26843 2012-12-11  David S. Miller  <davem@davemloft.net>
26845         * po/sv.po: Update from translation team.
26847         * po/vi.po: Update from translation team.
26849         * po/cs.po: Update from translation team.
26851         * po/de.po: Update from translation team.
26852         * po/eo.po: Likewise.
26853         * po/nl.po: Likewise.
26855 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26857         [BZ #14246]
26858         * manual/argp.texi (Argp Helper Functions): Move node to follow
26859         Argp Parsing State.
26861         [BZ #14872]
26862         * manual/conf.texi (Limits on File System Capacity): Mention if
26863         terminating null is included in the max size.
26865 2012-12-10  Andreas Jaeger  <aj@suse.de>
26867         * po/cs.po: Update from translation team.
26869 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26871         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26872         void pointer and cast to uintptr_t.
26873         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26874         path.
26875         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26876         * sysdeps/s390/s390-64/memset.S: Likewise.
26878 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26880         [BZ #14833]
26881         * menual/message.texi (Message Translation): Fix typos.
26882         (Helper programs for gettext): Likewise.
26884 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26886         [BZ #14898]
26887         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26888         Change to -1.
26890 2012-12-07  David S. Miller  <davem@davemloft.net>
26892         * po/libc.pot: Update.
26894 2012-12-07  Richard Henderson  <rth@redhat.com>
26896         [BZ #10114]
26897         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26898         normal/normal case to before the switch.
26899         (_FP_DIV): Likewise.
26901 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26902             Mike Frysinger  <vapier@gentoo.org>
26904         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26905         check for __NR_fadvise64_64.
26907 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26909         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26910         0, not just to plain "0" as a statement.
26911         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26912         with cw.
26914 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26916         * NEWS: Use sourceware.org in Bugzilla URL.
26918 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26921         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26923         * stdio-common/tst-put-error.c (do_test): Add newline to the
26924         padded test to ensure flush.
26926 2012-12-05  Jeff Law  <law@redhat.com>
26928         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26930 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26932         * README: Don't refer to ports add-on as distributed separately.
26933         Mention AArch64 in list of systems supported in the ports add-on.
26935         * LICENSES: Add more non-FSF copyright and license notices.
26937         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26938         ((unused)).
26940         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26942         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26943         10000 as width of padded output.
26945 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26947         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26949         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26950         variable LX with __attribute__ ((unused)).
26951         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26952         Likewise.
26953         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26954         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26955         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26956         with __attribute__ ((unused)).
26958 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26960         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26962 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26964         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26965         (CFLAGS-nldbl-acos.c): New variable.
26966         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26967         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26968         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26969         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26970         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26971         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26972         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26973         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26974         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26975         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26976         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26977         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26978         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26979         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26980         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26981         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26982         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26983         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26984         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26985         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26986         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26987         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26988         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26989         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26990         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26991         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26992         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26993         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26994         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26995         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26996         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26997         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26998         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26999         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27000         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27001         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27002         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27003         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27004         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27005         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27006         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27007         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27008         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27009         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27010         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27011         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27012         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27013         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27014         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27015         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27016         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27017         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27018         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27019         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27020         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27021         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27022         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27023         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27024         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27025         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27026         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27027         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27028         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27029         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27030         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27031         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27032         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27033         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27034         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27035         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27036         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27037         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27038         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27039         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27040         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27041         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27042         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27043         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27044         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27045         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27046         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27047         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27048         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27049         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27050         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27051         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27052         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27053         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27058         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27065         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27067         [BZ #14914]
27068         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27069         whole low double instead of just low 47 bits when splitting values
27070         into two parts.
27072 2012-12-03  Allan McRae  <allan@archlinux.org>
27074         * manual/stdio.texi (Predefined Printf Handlers): Remove
27075         @hsep and @vsep usage.
27077 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27079         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27080         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27082 2012-12-03  Jeff Law  <law@redhat.com>
27084         * time/sys/time.h (settimeofday): Do not mark TV argument
27085         as __nonnull.
27087 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27089         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27090         when currently writing and seek to current position when not.
27091         * libio/Makefile (tests): Remove bug-fclose1.
27092         * libio/bug-fclose1.c: Delete.
27094 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27096         * manual/arith.texi (feenableexcept): Fix typo.
27097         (fedisableexcept): Likewise.
27099 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27101         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27102         second, differently-typed declaration, rather than a cast.
27104 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27106         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27107         * include/rpc/svc.h: ... here.
27109 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27111         [BZ #13013]
27112         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27113         depending n and resplen2 to catch cases where answer
27114         equals answerp2.
27116 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27118         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27119         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27121 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27123         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27125 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27127         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27129 2012-11-28  Jeff Law  <law@redhat.com>
27131         [BZ #13761]
27132         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27133         dataset_temporary.  Track alloca usage into alloca_used.
27134         If dataset is large allocate and release it via malloc/free.
27136 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27138         [BZ #14197]
27139         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27141 2012-11-28  David S. Miller  <davem@davemloft.net>
27143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27145 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27147         [BZ #14803]
27148         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27149         of pi/2 rounded to nearest to 64 bits.
27150         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27151         nearest to 64 bits.
27152         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27153         bits.
27155 2012-11-28  Jeff Law <law@redhat.com>
27156             Martin Osvald <mosvald@redhat.com>
27158         [BZ #14889]
27159         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27160         * sunrpc/svc.c: Include time.h.
27161         (__svc_accept_failed): New function.
27162         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27163         any reason other than EINTR, call __svc_accept_failed.
27164         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27165         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27167 2012-11-28  Andreas Schwab  <schwab@suse.de>
27169         * scripts/abilist.awk: Also handle indirect functions in .opd
27170         section.
27172 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27174         [BZ #13881]
27175         * sysdeps/x86/fpu/powl_helper.c: New file.
27176         * sysdeps/x86/fpu/Makefile: Likewise.
27177         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27178         (p3): New object.
27179         (__ieee754_powl): Use __powl_helper for finite arguments except
27180         integer exponents below 8.
27181         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27182         (p3): New object.
27183         (__ieee754_powl): Use __powl_helper for finite arguments except
27184         integer exponents below 8.
27185         * math/libm-test.inc (pow_test): Add more tests and enable some
27186         previously disabled tests.
27187         * sysdeps/i386/fpu/libm-test-ulps: Update.
27188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27190 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27191             Carlos O'Donell  <carlos_odonell@mentor.com>
27193         * nss/makedb.c (is_prime): Assert that input is odd and greater
27194         than 4.  Note that fact in a comment too.
27195         (next_prime): Add 4 to input.
27197 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27199         [BZ #11741]
27200         * libio/Makefile (tests): Add test case tst-fwrite-error.
27201         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27202         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27203         * libio/tst-fwrite-error.c: New test case.
27205 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27207         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27208         before casting to void *.
27209         * include/libc-internal.h (__pointer_type): New macro.
27210         (__integer_if_pointer_type_sub): Likewise.
27211         (__integer_if_pointer_type): Likewise.
27212         (cast_to_integer): Likewise.
27213         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27214         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27215         before casting to atomic64_t.
27216         (atomic_exchange_acq): Likewise.
27217         (__arch_exchange_and_add_body): Likewise.
27218         (__arch_add_body): Likewise.
27219         (atomic_add_negative): Likewise.
27220         (atomic_add_zero): Likewise.
27222 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27224         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27225         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27226         (add_fdes): Likewise.
27227         (linear_search_fdes): Likewise.
27228         (binary_search_unencoded_fdes): Likewise.
27230 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27232         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27234 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27236         * configure.in: Autodetect C++ header directories.
27237         * configure: Regenerated.
27239 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27241         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27243 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27247 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27249         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27250         LDBL_MANT_DIG == 106]: Disable some tests.
27251         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27252         Likewise.
27253         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27254         Likewise.
27256         [BZ #14871]
27257         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27258         input for small inputs.  Return +/- pi/2 for large inputs.
27259         * math/libm-test.inc (atan_test): Add more tests.
27261         * sysdeps/generic/unwind-dw2-fde-glibc.c
27262         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27263         __attribute__ ((unused)).
27265         [BZ #14645]
27266         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27267         x * y if x and y are nonzero and z is zero.
27269         [BZ #14811]
27270         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27271         nonzero exponents with absolute value below 0x1p-117 to +/-
27272         0x1p-117.
27274         [BZ #14869]
27275         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27276         up arguments below 2**-450, not just those below 2**-500.
27277         * math/libm-test.inc (hypot_test): Add another test.
27279         [BZ #14868]
27280         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27281         Return a+b for ratio over 2**120, not 2**60.
27282         * math/libm-test.inc (hypot_test): Add another test.
27284         * math/libm-test.inc (clog_test): Use
27285         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27286         (clog10_test): Likewise.
27288         [BZ #6778]
27289         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27291 2012-11-22  Andreas Schwab  <schwab@suse.de>
27293         * sysdeps/i386/fpu/libm-test-ulps: Update.
27295 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27297         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27298         printf output with newline.
27300 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27302         [BZ #14865]
27303         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27304         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27305         -z nodlopen, -z initfirst and -z execstack support.
27306         * configure: Regenerated.
27308         * elf/elf.h (DF_1_NODIRECT): New macro.
27309         (DF_1_IGNMULDEF): Likewise.
27310         (DF_1_NOKSYMS): Likewise.
27311         (DF_1_NOHDR): Likewise.
27312         (DF_1_EDITED): Likewise.
27313         (DF_1_NORELOC): Likewise.
27314         (DF_1_SYMINTPOSE): Likewise.
27315         (DF_1_GLOBAUDIT): Likewise.
27316         (DF_1_SINGLETON): Likewise.
27317         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27318         DT_1_SUPPORTED_MASK bits.
27319         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27321 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27323         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27325 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27327         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27328         macro.
27330         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27331         (sendmmsg): Move declarations...
27332         * socket/sys/socket.h: ... here.
27333         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27334         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27335         include it from...
27336         * socket/recvmmsg.c: ... this new file.
27337         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27338         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27339         definition of __sendmmsg hidden.
27340         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27341         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27342         Move ENOSYS stub into and include it from...
27343         * socket/sendmmsg.c: ... this new file.
27344         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27345         (sysdep_routines): Move recvmmsg and sendmmsg...
27346         * socket/Makefile (routines): ... here.
27347         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27348         (GLIBC_PRIVATE): Add __sendmmsg.
27349         * include/sys/socket.h (__sendmmsg): Add declarations.
27350         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27351         sendmmsg.
27353 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27356         variable I1 with __attribute__ ((unused)).
27357         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27359 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27361         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27362         DUMMY variables with __attribute__ ((unused)).
27364         * bits/byteswap.h: Include <bits/types.h>.
27365         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27367 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27369         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27370         string_t.  Do not manually set errno.
27371         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27372         length with __strnlen.  Make sure to both set errno and return it on
27373         failure.
27375 2012-11-19  David S. Miller  <davem@davemloft.net>
27377         With help from Joseph Myers.
27378         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27379         very large arguments properly.
27380         * math/libm-test.inc (atan_test): New tests.
27381         (atan2_test): New tests.
27382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27385 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27387         [BZ #14856]
27388         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27389         Define to 3.
27391         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27392         [POSIX] (EADDRNOTAVAIL): Likewise.
27393         [POSIX] (EAFNOSUPPORT): Likewise.
27394         [POSIX] (EALREADY): Likewise.
27395         [POSIX] (ECONNABORTED): Likewise.
27396         [POSIX] (ECONNREFUSED): Likewise.
27397         [POSIX] (ECONNRESET): Likewise.
27398         [POSIX] (EDESTADDRREQ): Likewise.
27399         [POSIX] (EDQUOT): Likewise.
27400         [POSIX] (EHOSTUNREACH): Likewise.
27401         [POSIX] (EIDRM): Likewise.
27402         [POSIX] (EISCONN): Likewise.
27403         [POSIX] (ELOOP): Likewise.
27404         [POSIX] (EMULTIHOP): Likewise.
27405         [POSIX] (ENETDOWN): Likewise.
27406         [POSIX] (ENETUNREACH): Likewise.
27407         [POSIX] (ENOBUFS): Likewise.
27408         [POSIX] (ENODATA): Likewise.
27409         [POSIX] (ENOLINK): Likewise.
27410         [POSIX] (ENOMSG): Likewise.
27411         [POSIX] (ENOPROTOOPT): Likewise.
27412         [POSIX] (ENOSR): Likewise.
27413         [POSIX] (ENOSTR): Likewise.
27414         [POSIX] (ENOTCONN): Likewise.
27415         [POSIX] (ENOTSOCK): Likewise.
27416         [POSIX] (EOPNOTSUPP): Likewise.
27417         [POSIX] (EOVERFLOW): Likewise.
27418         [POSIX] (EPROTO): Likewise.
27419         [POSIX] (EPROTONOSUPPORT): Likewise.
27420         [POSIX] (EPROTOTYPE): Likewise.
27421         [POSIX] (ESTALE): Likewise.
27422         [POSIX] (ETIME): Likewise.
27423         [POSIX] (ETXTBSY): Likewise.
27424         [POSIX] (EWOULDBLOCK): Likewise.
27425         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27426         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27427         [POSIX] (SEEK_CUR): Likewise.
27428         [POSIX] (SEEK_END): Likewise.
27429         [POSIX || UNIX98] (mode_t): Do not require.
27430         [POSIX] (off_t): Likewise.
27431         [POSIX] (pid_t): Likewise.
27432         [POSIX] (sys/stat.h): Do not allow header.
27433         [POSIX] (unistd.h): Likewise.
27434         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27435         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27436         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27437         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27438         require.
27439         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27440         sigevent): Specify elements.
27441         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27442         entry.
27443         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27444         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27446         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27447         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27448         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27449         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27450         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27451         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27452         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27453         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27454         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27455         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27456         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27457         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27458         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27459         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27460         Likewise.
27461         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27462         Likewise.
27463         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27464         Likewise.
27465         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27466         Likewise.
27467         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27468         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27469         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27470         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27471         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27472         Specify lower bound on value.
27473         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27474         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27475         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27476         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27477         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27478         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27479         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27480         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27481         value.
27482         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27483         as optional.
27484         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27485         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27486         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27487         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27488         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27489         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27490         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27491         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27492         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27493         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27494         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27495         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27496         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27497         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27498         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27499         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27500         entry.
27501         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27502         optional.
27503         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27504         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27505         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27506         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27507         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27508         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27509         Likewise.
27510         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27511         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27512         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27513         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27514         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27515         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27516         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27517         as optional.
27518         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27519         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27520         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27521         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27522         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27523         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27524         specify as optional.
27525         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27526         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27527         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27528         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27529         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27530         [XPG3] (NL_LANGMAX): Likewise.
27531         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27532         [POSIX || XPG3] (NL_NMAX): Likewise.
27533         [POSIX || XPG3] (NL_SETMAX): Likewise.
27534         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27535         [XPG3] (NZERO): Likewise.
27536         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27537         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27538         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27539         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27540         (REG_ERANGE): Expect.
27541         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27542         optional-constant.
27543         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27544         Use (void) in prototype.
27545         [POSIX] (*_t): Allow.
27546         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27547         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27548         (WRDE_BADVAL): Expect.
27550         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27551         expect.
27552         [XPG3 || XPG4] (O_RSYNC): Likewise.
27553         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27554         Likewise.
27555         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27556         [XPG3 || XPG4] (sigqueue): Likewise.
27557         [XPG3 || XPG4] (sigtimedwait): Likewise.
27558         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27559         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27560         [XPG3 || XPG4] (vsnprintf): Likewise.
27561         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27562         Likewise.
27563         [XPG3 || XPG4] (blksize_t): Likewise.
27564         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27565         Likewise.
27566         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27567         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27568         [XPG3 || XPG4] (struct itimerspec): Likewise.
27569         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27570         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27571         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27572         [XPG3 || XPG4] (clockid_t): Likewise.
27573         [XPG3 || XPG4] (timer_t): Likewise.
27574         [XPG3 || XPG4] (clock_getres): Likewise.
27575         [XPG3 || XPG4] (clock_gettime): Likewise.
27576         [XPG3 || XPG4] (clock_settime): Likewise.
27577         [XPG3 || XPG4] (nanosleep): Likewise.
27578         [XPG3 || XPG4] (timer_create): Likewise.
27579         [XPG3 || XPG4] (timer_delete): Likewise.
27580         [XPG3 || XPG4] (timer_gettime): Likewise.
27581         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27582         [XPG3 || XPG4] (timer_settime): Likewise.
27583         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27584         [XPG3 || XPG4] (getlogin_r): Likewise.
27585         [XPG3 || XPG4] (pread): Likewise.
27586         [XPG3 || XPG4] (pthread_atfork): Likewise.
27587         [XPG3 || XPG4] (pwrite): Likewise.
27589         [BZ #14835]
27590         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27591         <bits/siginfo.h>.
27593 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27595         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27596         finalizing MALLSTREAM.
27598         * sysdeps/mach/hurd/syncfs.c: New file.
27600 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27602         [BZ #14719]
27603         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27604         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27605         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27606         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27607         (_nss_dns_gethostbyname4_r): Likewise.
27608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27609         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27611 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27613         [BZ #13763]
27614         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27616 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27618         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27619         * elf/cache.c (print_entry): Print ",AArch64" for
27620         FLAG_AARCH64_LIB64
27622         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27623         * elf/cache.c (print_entry): Print ",hard-float" for
27624         FLAG_ARM_LIBHF.
27626 2012-11-18  David S. Miller  <davem@davemloft.net>
27628         With help from Joseph Myers.
27629         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27630         cutoff to 2**-13.
27631         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27632         cutoff to 2**-25.
27633         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27634         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27635         small.
27636         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27637         * math/libm-test.inc (y0_test): New tests.
27638         (y1_test): New tests.
27639         * sysdeps/i386/fpu/libm-test-ulps: Update.
27640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27643 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27645         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27646         64-bit targets.
27647         * configure: Regenerated.
27649 2012-11-17  David S. Miller  <davem@davemloft.net>
27651         [BZ #14811]
27652         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27653         nonzero exponents with absolute value below 0x1p-128 to +/-
27654         0x1p-128.
27656 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27658         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27660         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27662         * posix/getconf-speclist.c: New file.
27663         * posix/posix-envs.def: Likewise.
27664         * posix/confstr.c (START_ENV_GROUP): New macro.
27665         (END_ENV_GROUP): Likewise.
27666         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27667         (KNOWN_PRESENT_ENV_STRING): Likewise.
27668         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27669         (UNKNOWN_ENVIRONMENT): Likewise.
27670         (confstr): Include posix-envs.def instead of handling
27671         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27672         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27673         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27674         (END_ENV_GROUP): Likewise.
27675         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27676         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27677         (UNKNOWN_ENVIRONMENT): Likewise.
27678         (__sysconf): Include posix-envs.def instead of handling associated
27679         cases directly here.
27680         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27681         preprocessing getconf-speclist.c rather than running getconf or
27682         generating empty file.
27684 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27686         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27688 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27690         [BZ #14672]
27691         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27693 2012-11-16  David S. Miller  <davem@davemloft.net>
27695         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27696         smaller than LDBL_EPSILON/2.0L, just return xm1.
27698 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27700         * elf/tst-array1.c (init): Set constructor priority to 1000.
27701         (fini): Set destructor priority to 1000.
27702         * elf/tst-array2dep.c: Likewise.
27704 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27706         [BZ #11741]
27707         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27708         (_IO_new_file_xsputn): Also return EOF if none of the input
27709         data was written when overflow failed.
27710         * libio/iopadn.c (_IO_padn): Likewise.
27711         * libio/iowpadn.c (_IO_wpadn): Likewise.
27712         * stdio-common/tst-put-error.c: Add copyright notice.
27713         (do_test): Add case for printing padded string.
27714         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27715         _IO_padn returned error.
27716         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27717         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27718         return EOF.
27720 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27722         * libio/libioP.h: Add comment note that the references to C++
27723         bits are now obsolete.
27725 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27727         * math/libm-test.inc (check_complex): Use asprintf.
27729 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27731         * debug/pcprofiledump.c (print_version): Update copyright year.
27732         * malloc/memusagestat.c (print_version): Likewise.
27734 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27736         [BZ #14831]
27737         * elf/Makefile (tests): Add tst-audit8.
27738         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27739         ($(objpfx)tst-audit8.out): New target.
27740         (tst-audit8-ENV): New variable.
27741         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27742         audit if l_reloc_result is NULL.
27743         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27744         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27745         * elf/tst-audit8.c: New file.
27747 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27749         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27750         * misc/Makefile (CFLAGS-select.c): Define.
27751         * posix/Makefile (CFLAGS-pause.c): Define.
27753 2012-11-13  David S. Miller  <davem@davemloft.net>
27755         * crypt/Makefile: Move test targets after toplevel Rules
27756         inclusion.  Grab any necessary sysdep routines when linking.
27757         * crypt/md5.c (md5_process_block): Remove define, we will always
27758         name it __md5_process_block.
27759         (md5_finish_ctx): Update md5_process_block call.
27760         (md5_stream): Likewise.
27761         (md5_process_bytes): Likewise.
27762         (md5_process_block): Rename to __md5_process_block and move to ...
27763         * crypt/md5-block.c: ... here.
27764         * crypt/sha256.c (sha256_process_block): Move to ...
27765         * crypt/sha256-block.c: ... here.
27766         * crypt/sha512.c (sha512_process_block): Move to ...
27767         * crypt/sha512-block.c: ... here.
27768         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27769         path.
27770         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27771         * sysdeps/sparc/sparc64/multiarch/Makefile
27772         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27773         crypt subdir.
27774         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27775         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27776         multiarch changes.
27777         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27778         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27779         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27780         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27781         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27782         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27783         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27784         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27785         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27786         file.
27787         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27788         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27789         file.
27790         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27792 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27794         * timezone/tzselect.ksh: Update from tzcode git revision
27795         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27796         * timezone/zdump.c: Likewise.
27797         * timezone/zic.c: Likewise.
27798         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27799         in TZVERSION setting, not $(PKGVERSION).
27800         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27801         REPORT_BUGS_TO settings.
27803         [BZ #14838]
27804         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27805         macro.
27807 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27809         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27810         detection to immediately after _FP_ROUND().
27811         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27812         bits are 0.
27814 2012-11-11  David S. Miller  <davem@davemloft.net>
27816         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27817         inttypes.h
27818         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27819         __close rather than their public counterparts.
27821 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27823         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27824         file.
27825         [UNIX98] (sem_timedwait): Do not expect.
27826         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27827         [XPG4 || UNIX98] (sockatmark): Do not expect.
27828         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27829         (clock_getcpuclockid): Do not expect.
27830         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27831         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27832         Do not expect.
27833         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27834         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27835         [UNIX98] (vwscanf): Likewise.
27836         [UNIX98] (vswscanf): Likewise.
27838 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27840         * timezone/version.h: Remove file.
27841         * timezone/README: Do not refer to version.h.
27842         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27843         $(objpfx)version.h.
27844         ($(objpfx)zdump.o): Likewise.
27845         ($(objpfx)version.h): New target.
27847         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27848         2012i.
27849         * timezone/README: Don't mention modification to tzselect.ksh.
27850         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27851         work on unmodified tzselect.ksh.  Substitute version numbers in
27852         tzselect.ksh.
27854         * Makefile (format-me): Remove.
27855         (INSTALL): Adjust indentation.  Use commands directly instead of
27856         using $(format-me).
27858         * aclocal.m4 (ACX_PKGVERSION): New macro.
27859         (ACX_BUGURL): Likewise.
27860         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27861         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27862         (REPORT_BUGS_TO): Likewise.
27863         * configure: Regenerated.
27864         * config.h.in (PKGVERSION): New macro.
27865         (REPORT_BUGS_TO): Likewise.
27866         * config.make.in (PKGVERSION): New variable.
27867         (PKGVERSION_TEXI): Likewise.
27868         (REPORT_BUGS_TO): Likewise.
27869         (REPORT_BUGS_TEXI): Likewise.
27870         * Makefile (format-me): Use -I$(common-objpfx)manual.
27871         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27872         ($(common-objpfx)manual/%): New target.
27873         (manual/%): Remove target.
27874         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27875         (print_version): Use PKGVERSION.
27876         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27877         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27878         and REPORT_BUGS_TO.
27879         ($(objpfx)xtrace): Likewise.
27880         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27881         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27882         (print_version): Use PKGVERSION.
27883         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27884         (do_version): Use PKGVERSION.
27885         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27886         REPORT_BUGS_TO.
27887         (common-ldd-rewrite): Likewise.
27888         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27889         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27890         (print_version): Use PKGVERSION.
27891         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27892         * elf/pldd.c (argp_program_bug_address): Remove variable.
27893         (more_help): New function.
27894         (argp): Use more_help.
27895         (print_version): Use PKGVERSION.
27896         * elf/sln.c (main): Use PKGVERSION.
27897         (usage): Use REPORT_BUGS_TO.
27898         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27899         (top level): Use PKGVERSION.
27900         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27901         (print_version): Use PKGVERSION.
27902         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27903         (print_version): Use PKGVERSION.
27904         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27905         (print_version): Use PKGVERSION.
27906         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27907         (print_version): Use PKGVERSION.
27908         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27909         (print_version): Use PKGVERSION.
27910         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27911         (print_version): Use PKGVERSION.
27912         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27913         and BUGURL.
27914         ($(objpfx)memusage): Likewise.
27915         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27916         (do_version): Use PKGVERSION.
27917         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27918         (print_version): Use PKGVERSION.
27919         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27920         ($PKGVERSION): New variable.
27921         ($REPORT_BUGS_TO): Likewise.
27922         (usage): Use $REPORT_BUGS_TO.
27923         (top level): Use $PKGVERSION.
27924         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27925         ($(objpfx)pkgvers.texi): New rule.
27926         ($(objpfx)stamp-pkgvers): Likewise.
27927         * manual/install.texi: Include pkgvers.texi.
27928         (--with-pkgversion): Document new configure option.
27929         (--with-bugurl): Likewise.
27930         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27931         than necessarily for this particular distribution.  Use
27932         REPORT_BUGS_TO for where to report bugs.
27933         * INSTALL: Regenerated.
27934         * manual/libc.texinfo: Include pkgvers.texi.
27935         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27936         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27937         (print_version): Use PKGVERSION.
27938         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27939         (print_version): Use PKGVERSION.
27940         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27941         (print_version): Use PKGVERSION.
27942         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27943         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27944         macro.
27945         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27946         (print_version): Use PKGVERSION.
27947         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27948         (print_version): Use PKGVERSION.
27949         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27950         and PKGVERSION.
27952         * timezone/checktab.awk: Update from tzcode 2012i.
27953         * timezone/ialloc.c: Likewise.
27954         * timezone/private.h: Likewise.
27955         * timezone/scheck.c: Likewise.
27956         * timezone/tzfile.h: Likewise.
27957         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27958         (TZVERSION): Hardcode tzcode version number.
27959         * timezone/zdump.c: Update from tzcode 2012i.
27960         * timezone/zic.c: Likewise.
27961         * timezone/version.h: New file.
27962         * timezone/README: Describe version.h.  Update upstream location.
27964         [BZ #14824]
27965         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27966         (mktemp): Enable declaration.
27967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27969         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27971         Likewise.
27972         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27973         Likewise.
27974         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27975         Likewise.
27976         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27977         Likewise.
27978         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27979         Likewise.
27980         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27981         Likewise.
27983         [BZ #14821]
27984         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27985         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27986         for copies of such integer values.
27987         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27988         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27990 2012-11-09  Andreas Jaeger  <aj@suse.de>
27992         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27993         definitions and declarations that are provided by
27994         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27996 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27998         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27999         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28000         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28001         definition.
28003 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28005         * elf/elf.h: Update comment before AArch64 relocations.
28007 2012-11-07  David S. Miller  <davem@davemloft.net>
28009         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28010         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28011         (__start_context): Declare.
28012         (__makecontext_ret): Delete.
28013         (__makecontext): Hook up __start_context instead of
28014         __makecontext_ret.
28015         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28016         (sysdep_routines): Add __start_context when in stdlib.
28018 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28020         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28021         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28022         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28023         hardcoded "nm".
28024         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28025         (READELF): New variable.  Use it instead of hardcoded "readelf".
28027 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28029         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28030         * sysdeps/x86/Makefile: Here.
28031         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28032         * sysdeps/x86/tst-xmmymm.sh: This.
28034 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28036         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28037         expectations.
28038         [UNIX98] (pthread_barrier_t): Do not expect.
28039         [UNIX98] (pthread_barrierattr_t): Likewise.
28040         [UNIX98] (pthread_spinlock_t): Likewise.
28041         [UNIX98] (pthread_barrier_destroy): Likewise.
28042         [UNIX98] (pthread_barrier_init): Likewise.
28043         [UNIX98] (pthread_barrier_wait): Likewise.
28044         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28045         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28046         [UNIX98] (pthread_barrierattr_init): Likewise.
28047         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28048         [UNIX98] (pthread_getcpuclockid): Likewise.
28049         [UNIX98] (pthread_mutex_timedlock): Likewise.
28050         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28051         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28052         [UNIX98] (pthread_sigmask): Likewise.
28053         [UNIX98] (pthread_spin_destroy): Likewise.
28054         [UNIX98] (pthread_spin_init): Likewise.
28055         [UNIX98] (pthread_spin_lock): Likewise.
28056         [UNIX98] (pthread_spin_trylock): Likewise.
28057         [UNIX98] (pthread_spin_unlock): Likewise.
28058         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28059         Do not expect.
28060         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28061         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28062         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28063         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28064         [XPG3 || XPG4] (pthread_key_t): Likewise.
28065         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28066         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28067         [XPG3 || XPG4] (pthread_once_t): Likewise.
28068         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28069         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28070         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28071         [XPG3 || XPG4] (pthread_t): Likewise.
28073         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28074         not expect.
28075         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28077         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28078         Change function return type to int.
28080         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28081         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28082         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28083         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28084         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28085         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28086         [!POSIX] (posix_madvise): Likewise.
28087         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28088         && !UNIX98].
28089         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28090         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28091         (mode_t): Likewise.
28092         (posix_mem_offset): Likewise.
28093         (posix_typed_mem_get_info): Likewise.
28094         (posix_typed_mem_open): Likewise.
28096         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28097         Change condition to [XOPEN2K8].
28099         * conform/conformtest.pl: Preprocess allow-header data with -x c
28100         instead of from stdin.
28101         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28102         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28103         [C99-based standards] (cerfc): Likewise.
28104         [C99-based standards] (cexp2): Likewise.
28105         [C99-based standards] (cexpm1): Likewise.
28106         [C99-based standards] (clog10): Likewise.
28107         [C99-based standards] (clog1p): Likewise.
28108         [C99-based standards] (clog2): Likewise.
28109         [C99-based standards] (clgamma): Likewise.
28110         [C99-based standards] (ctgamma): Likewise.
28111         [C99-based standards] (cerff): Likewise.
28112         [C99-based standards] (cerfcf): Likewise.
28113         [C99-based standards] (cexp2f): Likewise.
28114         [C99-based standards] (cexpm1f): Likewise.
28115         [C99-based standards] (clog10f): Likewise.
28116         [C99-based standards] (clog1pf): Likewise.
28117         [C99-based standards] (clog2f): Likewise.
28118         [C99-based standards] (clgammaf): Likewise.
28119         [C99-based standards] (ctgammaf): Likewise.
28120         [C99-based standards] (cerfl): Likewise.
28121         [C99-based standards] (cerfcl): Likewise.
28122         [C99-based standards] (cexp2l): Likewise.
28123         [C99-based standards] (cexpm1l): Likewise.
28124         [C99-based standards] (clog10l): Likewise.
28125         [C99-based standards] (clog1pl): Likewise.
28126         [C99-based standards] (clog2l): Likewise.
28127         [C99-based standards] (clgammal): Likewise.
28128         [C99-based standards] (ctgammal): Likewise.
28129         * conform/data/inttypes.h-data [C99-based standards]: Include
28130         stdint.h-data.  Remove all expectations for stdint.h contents.
28131         [C99-based standards] (PRI*): Do not allow.
28132         [C99-based standards] (SCN*): Likewise.
28133         [C99-based standards] (*_t): Likewise.
28134         [C99-based-standards] (PRId8): Expect macro.
28135         [C99-based-standards] (PRIi8): Likewise.
28136         [C99-based-standards] (PRIo8): Likewise.
28137         [C99-based-standards] (PRIu8): Likewise.
28138         [C99-based-standards] (PRIx8): Likewise.
28139         [C99-based-standards] (PRIX8): Likewise.
28140         [C99-based-standards] (SCNd8): Likewise.
28141         [C99-based-standards] (SCNi8): Likewise.
28142         [C99-based-standards] (SCNo8): Likewise.
28143         [C99-based-standards] (SCNu8): Likewise.
28144         [C99-based-standards] (SCNx8): Likewise.
28145         [C99-based-standards] (PRIdLEAST8): Likewise.
28146         [C99-based-standards] (PRIiLEAST8): Likewise.
28147         [C99-based-standards] (PRIoLEAST8): Likewise.
28148         [C99-based-standards] (PRIuLEAST8): Likewise.
28149         [C99-based-standards] (PRIxLEAST8): Likewise.
28150         [C99-based-standards] (PRIXLEAST8): Likewise.
28151         [C99-based-standards] (SCNdLEAST8): Likewise.
28152         [C99-based-standards] (SCNiLEAST8): Likewise.
28153         [C99-based-standards] (SCNoLEAST8): Likewise.
28154         [C99-based-standards] (SCNuLEAST8): Likewise.
28155         [C99-based-standards] (SCNxLEAST8): Likewise.
28156         [C99-based-standards] (PRIdFAST8): Likewise.
28157         [C99-based-standards] (PRIiFAST8): Likewise.
28158         [C99-based-standards] (PRIoFAST8): Likewise.
28159         [C99-based-standards] (PRIuFAST8): Likewise.
28160         [C99-based-standards] (PRIxFAST8): Likewise.
28161         [C99-based-standards] (PRIXFAST8): Likewise.
28162         [C99-based-standards] (SCNdFAST8): Likewise.
28163         [C99-based-standards] (SCNiFAST8): Likewise.
28164         [C99-based-standards] (SCNoFAST8): Likewise.
28165         [C99-based-standards] (SCNuFAST8): Likewise.
28166         [C99-based-standards] (SCNxFAST8): Likewise.
28167         [C99-based-standards] (PRId16): Likewise.
28168         [C99-based-standards] (PRIi16): Likewise.
28169         [C99-based-standards] (PRIo16): Likewise.
28170         [C99-based-standards] (PRIu16): Likewise.
28171         [C99-based-standards] (PRIx16): Likewise.
28172         [C99-based-standards] (PRIX16): Likewise.
28173         [C99-based-standards] (SCNd16): Likewise.
28174         [C99-based-standards] (SCNi16): Likewise.
28175         [C99-based-standards] (SCNo16): Likewise.
28176         [C99-based-standards] (SCNu16): Likewise.
28177         [C99-based-standards] (SCNx16): Likewise.
28178         [C99-based-standards] (PRIdLEAST16): Likewise.
28179         [C99-based-standards] (PRIiLEAST16): Likewise.
28180         [C99-based-standards] (PRIoLEAST16): Likewise.
28181         [C99-based-standards] (PRIuLEAST16): Likewise.
28182         [C99-based-standards] (PRIxLEAST16): Likewise.
28183         [C99-based-standards] (PRIXLEAST16): Likewise.
28184         [C99-based-standards] (SCNdLEAST16): Likewise.
28185         [C99-based-standards] (SCNiLEAST16): Likewise.
28186         [C99-based-standards] (SCNoLEAST16): Likewise.
28187         [C99-based-standards] (SCNuLEAST16): Likewise.
28188         [C99-based-standards] (SCNxLEAST16): Likewise.
28189         [C99-based-standards] (PRIdFAST16): Likewise.
28190         [C99-based-standards] (PRIiFAST16): Likewise.
28191         [C99-based-standards] (PRIoFAST16): Likewise.
28192         [C99-based-standards] (PRIuFAST16): Likewise.
28193         [C99-based-standards] (PRIxFAST16): Likewise.
28194         [C99-based-standards] (PRIXFAST16): Likewise.
28195         [C99-based-standards] (SCNdFAST16): Likewise.
28196         [C99-based-standards] (SCNiFAST16): Likewise.
28197         [C99-based-standards] (SCNoFAST16): Likewise.
28198         [C99-based-standards] (SCNuFAST16): Likewise.
28199         [C99-based-standards] (SCNxFAST16): Likewise.
28200         [C99-based-standards] (PRId32): Likewise.
28201         [C99-based-standards] (PRIi32): Likewise.
28202         [C99-based-standards] (PRIo32): Likewise.
28203         [C99-based-standards] (PRIu32): Likewise.
28204         [C99-based-standards] (PRIx32): Likewise.
28205         [C99-based-standards] (PRIX32): Likewise.
28206         [C99-based-standards] (SCNd32): Likewise.
28207         [C99-based-standards] (SCNi32): Likewise.
28208         [C99-based-standards] (SCNo32): Likewise.
28209         [C99-based-standards] (SCNu32): Likewise.
28210         [C99-based-standards] (SCNx32): Likewise.
28211         [C99-based-standards] (PRIdLEAST32): Likewise.
28212         [C99-based-standards] (PRIiLEAST32): Likewise.
28213         [C99-based-standards] (PRIoLEAST32): Likewise.
28214         [C99-based-standards] (PRIuLEAST32): Likewise.
28215         [C99-based-standards] (PRIxLEAST32): Likewise.
28216         [C99-based-standards] (PRIXLEAST32): Likewise.
28217         [C99-based-standards] (SCNdLEAST32): Likewise.
28218         [C99-based-standards] (SCNiLEAST32): Likewise.
28219         [C99-based-standards] (SCNoLEAST32): Likewise.
28220         [C99-based-standards] (SCNuLEAST32): Likewise.
28221         [C99-based-standards] (SCNxLEAST32): Likewise.
28222         [C99-based-standards] (PRIdFAST32): Likewise.
28223         [C99-based-standards] (PRIiFAST32): Likewise.
28224         [C99-based-standards] (PRIoFAST32): Likewise.
28225         [C99-based-standards] (PRIuFAST32): Likewise.
28226         [C99-based-standards] (PRIxFAST32): Likewise.
28227         [C99-based-standards] (PRIXFAST32): Likewise.
28228         [C99-based-standards] (SCNdFAST32): Likewise.
28229         [C99-based-standards] (SCNiFAST32): Likewise.
28230         [C99-based-standards] (SCNoFAST32): Likewise.
28231         [C99-based-standards] (SCNuFAST32): Likewise.
28232         [C99-based-standards] (SCNxFAST32): Likewise.
28233         [C99-based-standards] (PRId64): Likewise.
28234         [C99-based-standards] (PRIi64): Likewise.
28235         [C99-based-standards] (PRIo64): Likewise.
28236         [C99-based-standards] (PRIu64): Likewise.
28237         [C99-based-standards] (PRIx64): Likewise.
28238         [C99-based-standards] (PRIX64): Likewise.
28239         [C99-based-standards] (SCNd64): Likewise.
28240         [C99-based-standards] (SCNi64): Likewise.
28241         [C99-based-standards] (SCNo64): Likewise.
28242         [C99-based-standards] (SCNu64): Likewise.
28243         [C99-based-standards] (SCNx64): Likewise.
28244         [C99-based-standards] (PRIdLEAST64): Likewise.
28245         [C99-based-standards] (PRIiLEAST64): Likewise.
28246         [C99-based-standards] (PRIoLEAST64): Likewise.
28247         [C99-based-standards] (PRIuLEAST64): Likewise.
28248         [C99-based-standards] (PRIxLEAST64): Likewise.
28249         [C99-based-standards] (PRIXLEAST64): Likewise.
28250         [C99-based-standards] (SCNdLEAST64): Likewise.
28251         [C99-based-standards] (SCNiLEAST64): Likewise.
28252         [C99-based-standards] (SCNoLEAST64): Likewise.
28253         [C99-based-standards] (SCNuLEAST64): Likewise.
28254         [C99-based-standards] (SCNxLEAST64): Likewise.
28255         [C99-based-standards] (PRIdFAST64): Likewise.
28256         [C99-based-standards] (PRIiFAST64): Likewise.
28257         [C99-based-standards] (PRIoFAST64): Likewise.
28258         [C99-based-standards] (PRIuFAST64): Likewise.
28259         [C99-based-standards] (PRIxFAST64): Likewise.
28260         [C99-based-standards] (PRIXFAST64): Likewise.
28261         [C99-based-standards] (SCNdFAST64): Likewise.
28262         [C99-based-standards] (SCNiFAST64): Likewise.
28263         [C99-based-standards] (SCNoFAST64): Likewise.
28264         [C99-based-standards] (SCNuFAST64): Likewise.
28265         [C99-based-standards] (SCNxFAST64): Likewise.
28266         [C99-based-standards] (PRIdMAX): Likewise.
28267         [C99-based-standards] (PRIiMAX): Likewise.
28268         [C99-based-standards] (PRIoMAX): Likewise.
28269         [C99-based-standards] (PRIuMAX): Likewise.
28270         [C99-based-standards] (PRIxMAX): Likewise.
28271         [C99-based-standards] (PRIXMAX): Likewise.
28272         [C99-based-standards] (SCNdMAX): Likewise.
28273         [C99-based-standards] (SCNiMAX): Likewise.
28274         [C99-based-standards] (SCNoMAX): Likewise.
28275         [C99-based-standards] (SCNuMAX): Likewise.
28276         [C99-based-standards] (SCNxMAX): Likewise.
28277         [C99-based-standards] (PRIdPTR): Likewise.
28278         [C99-based-standards] (PRIiPTR): Likewise.
28279         [C99-based-standards] (PRIoPTR): Likewise.
28280         [C99-based-standards] (PRIuPTR): Likewise.
28281         [C99-based-standards] (PRIxPTR): Likewise.
28282         [C99-based-standards] (PRIXPTR): Likewise.
28283         [C99-based-standards] (SCNdPTR): Likewise.
28284         [C99-based-standards] (SCNiPTR): Likewise.
28285         [C99-based-standards] (SCNoPTR): Likewise.
28286         [C99-based-standards] (SCNuPTR): Likewise.
28287         [C99-based-standards] (SCNxPTR): Likewise.
28288         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28289         allow.
28290         * conform/data/stdint.h-data: Update comments to clarify
28291         requirements.
28292         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28293         type.
28294         [C99-based standards] (INT8_MAX): Likewise.
28295         [C99-based standards] (INT16_MIN): Likewise.
28296         [C99-based standards] (INT16_MAX): Likewise.
28297         [C99-based standards] (INT32_MIN): Likewise.
28298         [C99-based standards] (INT32_MAX): Likewise.
28299         [C99-based standards] (INT64_MIN): Likewise.
28300         [C99-based standards] (INT64_MAX): Likewise.
28301         [C99-based standards] (UINT8_MAX): Likewise.
28302         [C99-based standards] (UINT16_MAX): Likewise.
28303         [C99-based standards] (UINT32_MAX): Likewise.
28304         [C99-based standards] (UINT64_MAX): Likewise.
28305         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28306         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28307         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28308         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28309         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28310         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28311         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28312         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28313         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28314         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28315         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28316         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28317         [C99-based standards] (INT_FAST8_MIN): Likewise.
28318         [C99-based standards] (INT_FAST8_MAX): Likewise.
28319         [C99-based standards] (INT_FAST16_MIN): Likewise.
28320         [C99-based standards] (INT_FAST16_MAX): Likewise.
28321         [C99-based standards] (INT_FAST32_MIN): Likewise.
28322         [C99-based standards] (INT_FAST32_MAX): Likewise.
28323         [C99-based standards] (INT_FAST64_MIN): Likewise.
28324         [C99-based standards] (INT_FAST64_MAX): Likewise.
28325         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28326         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28327         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28328         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28329         [C99-based standards] (INTPTR_MIN): Likewise.
28330         [C99-based standards] (INTPTR_MAX): Likewise.
28331         [C99-based standards] (UINTPTR_MAX): Likewise.
28332         [C99-based standards] (INTMAX_MIN): Likewise.
28333         [C99-based standards] (INTMAX_MAX): Likewise.
28334         [C99-based standards] (UINTMAX_MAX): Likewise.
28335         [C99-based standards] (PTRDIFF_MIN): Likewise.
28336         [C99-based standards] (PTRDIFF_MAX): Likewise.
28337         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28338         [C99-based standards] (SIZE_MAX): Likewise.
28339         [C99-based standards] (WCHAR_MAX): Likewise.
28340         [C99-based standards] (WINT_MAX): Likewise.
28341         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28342         constraint on value.
28343         [C99-based standards] (WCHAR_MIN): Likewise.
28344         [C99-based standards] (WINT_MIN): Likewise.
28345         [C99-based standards] (*_t): Allow.
28346         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28347         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28348         Include math.h-data and complex.h-data.  Remove all expectations
28349         of math.h and complex.h contents.
28350         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28351         at end of line.
28352         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28353         (struct tm): Expect tag.
28354         [C99-based-standards] (wcstof): Expect function.
28355         [C99-based-standards] (wcstold): Likewise.
28356         [C99-based-standards] (wcstoll): Likewise.
28357         [C99-based-standards] (wcstoull): Likewise.
28358         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28359         macro-int-constant.  Specify type.
28360         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28361         constraint on value.
28362         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28363         Specify type.
28364         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28365         Specify value.
28366         [ISO C standards]: Do not allow headers.
28367         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28368         wcs[abcdefghijklmnopqrstuvwxyz]*.
28369         [ISO C standards] (*_t): Do not allow.
28370         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28371         Expect function.
28372         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28373         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28374         Specify type.
28375         [ISO C standards]: Do not allow headers.
28376         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28377         is[abcdefghijklmnopqrstuvwxyz]*.
28378         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28379         to[abcdefghijklmnopqrstuvwxyz]*.
28380         [ISO C standards] (*_t): Do not allow.
28381         * conform/data/stdalign.h-data: New file.
28382         * conform/data/stdbool.h-data: Likewise.
28383         * conform/data/stdnoreturn.h-data: Likewise.
28385 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28387         [BZ #14815]
28388         * manual/filesys.texi (Directory Entries): Typo fix.
28389         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28391 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28393         * elf/elf.h (EM_AARCH64): New macro.
28394         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28395         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28396         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28397         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28398         (R_AARCH64_TLSDESC): Likewise.
28399         (NT_ARM_TLS): Likewise.
28400         (NT_ARM_HW_BREAK): Likewise.
28401         (NT_ARM_HW_WATCH): Likewise.
28403 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28405         [BZ #14811]
28406         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28407         (__ieee754_powl): Saturate nonzero exponents with absolute value
28408         below 0x1p-79 to +/- 0x1p-79.
28409         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28410         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28411         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28412         nonzero exponents with absolute value below 0x1p-32 to +/-
28413         0x1p-32.
28414         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28415         (__ieee754_powl): Saturate nonzero exponents with absolute value
28416         below 0x1p-79 to +/- 0x1p-79.
28417         * math/libm-test.inc (pow_test): Add more tests.
28419 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28421         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28422         _dl_s390_cap_flags with kernel. Increase string length.
28423         (_dl_s390_platforms): Add z196 and zEC12.
28425 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28427         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28428         Change XOPEN21K to XOPEN2K.
28430 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28432         * string/memmove.c: Use memcpy when possible.
28434 2012-11-06  Andreas Jaeger  <aj@suse.de>
28436         * po/eo.po: Update from translation team.
28438 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28440         [BZ #14793]
28441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28442         exponent and small x and y exponents, scale x or y up.  Increase
28443         by 2 the exponent used in scaling up.
28444         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28445         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28446         * math/libm-test.inc (fma_test): Add more tests.
28447         (fma_test_towardzero): Likewise.
28448         (fma_test_downward): Likewise.
28449         (fma_test_upward): Likewise.
28451 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28453         [BZ #14805]
28454         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28455         fenv_t *.
28457         [BZ #14801]
28458         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28459         namespace for names of struct fields.
28460         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28461         fenv_t fields.
28462         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28463         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28465 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28467         [BZ #3665]
28468         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28470 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28472         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28473         PTR_DEMANGLE.
28475         [BZ #5246]
28476         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28477         PTR_DEMANGLE.
28479 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28481         [BZ #14797]
28482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28483         definitely overflow as x * y not x * y + z.
28484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28486         * math/libm-test.inc (fma_test): Add more tests.
28487         (fma_test_towardzero): Likewise.
28488         (fma_test_downward): Likewise.
28489         (fma_test_upward): Likewise.
28491 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28493         [BZ #157]
28495         * include/stub-tag.h: Remove file.
28496         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28497         '#include' of it.
28498         * manual/maint.texi (Porting): Don't reference it.
28499         * Makerules ($(objpfx)stubs): Likewise.
28500         * dirent/closedir.c: Don't include <stub-tag.h>.
28501         * dirent/dirfd.c: Likewise.
28502         * dirent/fdopendir.c: Likewise.
28503         * dirent/getdents.c: Likewise.
28504         * dirent/getdents64.c: Likewise.
28505         * dirent/opendir.c: Likewise.
28506         * dirent/readdir.c: Likewise.
28507         * dirent/readdir64.c: Likewise.
28508         * dirent/readdir64_r.c: Likewise.
28509         * dirent/readdir_r.c: Likewise.
28510         * dirent/rewinddir.c: Likewise.
28511         * dirent/seekdir.c: Likewise.
28512         * dirent/telldir.c: Likewise.
28513         * gmon/profil.c: Likewise.
28514         * grp/setgroups.c: Likewise.
28515         * inet/if_index.c: Likewise.
28516         * io/access.c: Likewise.
28517         * io/chdir.c: Likewise.
28518         * io/chmod.c: Likewise.
28519         * io/chown.c: Likewise.
28520         * io/close.c: Likewise.
28521         * io/dup.c: Likewise.
28522         * io/dup2.c: Likewise.
28523         * io/dup3.c: Likewise.
28524         * io/euidaccess.c: Likewise.
28525         * io/faccessat.c: Likewise.
28526         * io/fchdir.c: Likewise.
28527         * io/fchmod.c: Likewise.
28528         * io/fchmodat.c: Likewise.
28529         * io/fchown.c: Likewise.
28530         * io/fchownat.c: Likewise.
28531         * io/fcntl.c: Likewise.
28532         * io/flock.c: Likewise.
28533         * io/fstatfs.c: Likewise.
28534         * io/fstatfs64.c: Likewise.
28535         * io/fstatvfs.c: Likewise.
28536         * io/fstatvfs64.c: Likewise.
28537         * io/futimens.c: Likewise.
28538         * io/fxstat.c: Likewise.
28539         * io/fxstat64.c: Likewise.
28540         * io/fxstatat.c: Likewise.
28541         * io/fxstatat64.c: Likewise.
28542         * io/getcwd.c: Likewise.
28543         * io/isatty.c: Likewise.
28544         * io/lchmod.c: Likewise.
28545         * io/lchown.c: Likewise.
28546         * io/link.c: Likewise.
28547         * io/linkat.c: Likewise.
28548         * io/lseek.c: Likewise.
28549         * io/lseek64.c: Likewise.
28550         * io/lxstat64.c: Likewise.
28551         * io/mkdir.c: Likewise.
28552         * io/mkdirat.c: Likewise.
28553         * io/mkfifo.c: Likewise.
28554         * io/mkfifoat.c: Likewise.
28555         * io/open.c: Likewise.
28556         * io/open64.c: Likewise.
28557         * io/openat.c: Likewise.
28558         * io/openat64.c: Likewise.
28559         * io/pipe.c: Likewise.
28560         * io/pipe2.c: Likewise.
28561         * io/poll.c: Likewise.
28562         * io/posix_fadvise.c: Likewise.
28563         * io/posix_fadvise64.c: Likewise.
28564         * io/posix_fallocate.c: Likewise.
28565         * io/posix_fallocate64.c: Likewise.
28566         * io/read.c: Likewise.
28567         * io/readlink.c: Likewise.
28568         * io/readlinkat.c: Likewise.
28569         * io/rmdir.c: Likewise.
28570         * io/sendfile.c: Likewise.
28571         * io/sendfile64.c: Likewise.
28572         * io/statfs.c: Likewise.
28573         * io/statfs64.c: Likewise.
28574         * io/statvfs.c: Likewise.
28575         * io/statvfs64.c: Likewise.
28576         * io/symlink.c: Likewise.
28577         * io/symlinkat.c: Likewise.
28578         * io/ttyname.c: Likewise.
28579         * io/ttyname_r.c: Likewise.
28580         * io/umask.c: Likewise.
28581         * io/unlink.c: Likewise.
28582         * io/unlinkat.c: Likewise.
28583         * io/utime.c: Likewise.
28584         * io/utimensat.c: Likewise.
28585         * io/write.c: Likewise.
28586         * io/xmknod.c: Likewise.
28587         * io/xmknodat.c: Likewise.
28588         * io/xstat.c: Likewise.
28589         * io/xstat64.c: Likewise.
28590         * login/getpt.c: Likewise.
28591         * login/grantpt.c: Likewise.
28592         * login/unlockpt.c: Likewise.
28593         * math/e_acoshl.c: Likewise.
28594         * math/e_acosl.c: Likewise.
28595         * math/e_asinl.c: Likewise.
28596         * math/e_atan2l.c: Likewise.
28597         * math/e_atanhl.c: Likewise.
28598         * math/e_coshl.c: Likewise.
28599         * math/e_expl.c: Likewise.
28600         * math/e_fmodl.c: Likewise.
28601         * math/e_gammal_r.c: Likewise.
28602         * math/e_hypotl.c: Likewise.
28603         * math/e_j0l.c: Likewise.
28604         * math/e_j1l.c: Likewise.
28605         * math/e_jnl.c: Likewise.
28606         * math/e_lgammal_r.c: Likewise.
28607         * math/e_log10l.c: Likewise.
28608         * math/e_log2l.c: Likewise.
28609         * math/e_logl.c: Likewise.
28610         * math/e_powl.c: Likewise.
28611         * math/e_rem_pio2l.c: Likewise.
28612         * math/e_sinhl.c: Likewise.
28613         * math/e_sqrtl.c: Likewise.
28614         * math/fclrexcpt.c: Likewise.
28615         * math/fedisblxcpt.c: Likewise.
28616         * math/feenablxcpt.c: Likewise.
28617         * math/fegetenv.c: Likewise.
28618         * math/fegetexcept.c: Likewise.
28619         * math/fegetround.c: Likewise.
28620         * math/feholdexcpt.c: Likewise.
28621         * math/fesetenv.c: Likewise.
28622         * math/fesetround.c: Likewise.
28623         * math/feupdateenv.c: Likewise.
28624         * math/fgetexcptflg.c: Likewise.
28625         * math/fraiseexcpt.c: Likewise.
28626         * math/fsetexcptflg.c: Likewise.
28627         * math/ftestexcept.c: Likewise.
28628         * math/k_cosl.c: Likewise.
28629         * math/k_rem_pio2l.c: Likewise.
28630         * math/k_sinl.c: Likewise.
28631         * math/k_tanl.c: Likewise.
28632         * math/s_asinhl.c: Likewise.
28633         * math/s_atanl.c: Likewise.
28634         * math/s_cbrtl.c: Likewise.
28635         * math/s_erfl.c: Likewise.
28636         * math/s_expm1l.c: Likewise.
28637         * math/s_log1pl.c: Likewise.
28638         * math/s_tanhl.c: Likewise.
28639         * misc/acct.c: Likewise.
28640         * misc/brk.c: Likewise.
28641         * misc/chflags.c: Likewise.
28642         * misc/chroot.c: Likewise.
28643         * misc/fchflags.c: Likewise.
28644         * misc/fgetxattr.c: Likewise.
28645         * misc/flistxattr.c: Likewise.
28646         * misc/fremovexattr.c: Likewise.
28647         * misc/fsetxattr.c: Likewise.
28648         * misc/fsync.c: Likewise.
28649         * misc/ftruncate.c: Likewise.
28650         * misc/futimes.c: Likewise.
28651         * misc/futimesat.c: Likewise.
28652         * misc/getdomain.c: Likewise.
28653         * misc/getdtsz.c: Likewise.
28654         * misc/gethostid.c: Likewise.
28655         * misc/gethostname.c: Likewise.
28656         * misc/getloadavg.c: Likewise.
28657         * misc/getpagesize.c: Likewise.
28658         * misc/getsysstats.c: Likewise.
28659         * misc/getxattr.c: Likewise.
28660         * misc/gtty.c: Likewise.
28661         * misc/ioctl.c: Likewise.
28662         * misc/lgetxattr.c: Likewise.
28663         * misc/listxattr.c: Likewise.
28664         * misc/llistxattr.c: Likewise.
28665         * misc/lremovexattr.c: Likewise.
28666         * misc/lsetxattr.c: Likewise.
28667         * misc/lutimes.c: Likewise.
28668         * misc/madvise.c: Likewise.
28669         * misc/mincore.c: Likewise.
28670         * misc/mlock.c: Likewise.
28671         * misc/mlockall.c: Likewise.
28672         * misc/mmap.c: Likewise.
28673         * misc/mprotect.c: Likewise.
28674         * misc/msync.c: Likewise.
28675         * misc/munlock.c: Likewise.
28676         * misc/munlockall.c: Likewise.
28677         * misc/munmap.c: Likewise.
28678         * misc/preadv.c: Likewise.
28679         * misc/preadv64.c: Likewise.
28680         * misc/ptrace.c: Likewise.
28681         * misc/pwritev.c: Likewise.
28682         * misc/pwritev64.c: Likewise.
28683         * misc/readv.c: Likewise.
28684         * misc/reboot.c: Likewise.
28685         * misc/remap_file_pages.c: Likewise.
28686         * misc/removexattr.c: Likewise.
28687         * misc/revoke.c: Likewise.
28688         * misc/select.c: Likewise.
28689         * misc/setdomain.c: Likewise.
28690         * misc/setegid.c: Likewise.
28691         * misc/seteuid.c: Likewise.
28692         * misc/sethostid.c: Likewise.
28693         * misc/sethostname.c: Likewise.
28694         * misc/setregid.c: Likewise.
28695         * misc/setreuid.c: Likewise.
28696         * misc/setxattr.c: Likewise.
28697         * misc/sstk.c: Likewise.
28698         * misc/stty.c: Likewise.
28699         * misc/swapoff.c: Likewise.
28700         * misc/swapon.c: Likewise.
28701         * misc/sync.c: Likewise.
28702         * misc/syncfs.c: Likewise.
28703         * misc/syscall.c: Likewise.
28704         * misc/truncate.c: Likewise.
28705         * misc/ualarm.c: Likewise.
28706         * misc/usleep.c: Likewise.
28707         * misc/ustat.c: Likewise.
28708         * misc/utimes.c: Likewise.
28709         * misc/vhangup.c: Likewise.
28710         * misc/writev.c: Likewise.
28711         * posix/_exit.c: Likewise.
28712         * posix/alarm.c: Likewise.
28713         * posix/execve.c: Likewise.
28714         * posix/fexecve.c: Likewise.
28715         * posix/fork.c: Likewise.
28716         * posix/fpathconf.c: Likewise.
28717         * posix/getaddrinfo.c: Likewise.
28718         * posix/getegid.c: Likewise.
28719         * posix/geteuid.c: Likewise.
28720         * posix/getgid.c: Likewise.
28721         * posix/getgroups.c: Likewise.
28722         * posix/getlogin.c: Likewise.
28723         * posix/getlogin_r.c: Likewise.
28724         * posix/getpgid.c: Likewise.
28725         * posix/getpid.c: Likewise.
28726         * posix/getppid.c: Likewise.
28727         * posix/getresgid.c: Likewise.
28728         * posix/getresuid.c: Likewise.
28729         * posix/getsid.c: Likewise.
28730         * posix/getuid.c: Likewise.
28731         * posix/glob64.c: Likewise.
28732         * posix/nanosleep.c: Likewise.
28733         * posix/pathconf.c: Likewise.
28734         * posix/pause.c: Likewise.
28735         * posix/posix_madvise.c: Likewise.
28736         * posix/pread.c: Likewise.
28737         * posix/pread64.c: Likewise.
28738         * posix/pwrite.c: Likewise.
28739         * posix/pwrite64.c: Likewise.
28740         * posix/sched_getaffinity.c: Likewise.
28741         * posix/sched_getp.c: Likewise.
28742         * posix/sched_gets.c: Likewise.
28743         * posix/sched_primax.c: Likewise.
28744         * posix/sched_primin.c: Likewise.
28745         * posix/sched_rr_gi.c: Likewise.
28746         * posix/sched_setaffinity.c: Likewise.
28747         * posix/sched_setp.c: Likewise.
28748         * posix/sched_sets.c: Likewise.
28749         * posix/sched_yield.c: Likewise.
28750         * posix/setgid.c: Likewise.
28751         * posix/setlogin.c: Likewise.
28752         * posix/setpgid.c: Likewise.
28753         * posix/setresgid.c: Likewise.
28754         * posix/setresuid.c: Likewise.
28755         * posix/setsid.c: Likewise.
28756         * posix/setuid.c: Likewise.
28757         * posix/sleep.c: Likewise.
28758         * posix/spawni.c: Likewise.
28759         * posix/sysconf.c: Likewise.
28760         * posix/times.c: Likewise.
28761         * posix/wait.c: Likewise.
28762         * posix/wait3.c: Likewise.
28763         * posix/wait4.c: Likewise.
28764         * posix/waitpid.c: Likewise.
28765         * resolv/gai_sigqueue.c: Likewise.
28766         * resource/getpriority.c: Likewise.
28767         * resource/getrlimit.c: Likewise.
28768         * resource/getrusage.c: Likewise.
28769         * resource/nice.c: Likewise.
28770         * resource/setpriority.c: Likewise.
28771         * resource/setrlimit.c: Likewise.
28772         * resource/ulimit.c: Likewise.
28773         * rt/aio_cancel.c: Likewise.
28774         * rt/aio_fsync.c: Likewise.
28775         * rt/aio_read.c: Likewise.
28776         * rt/aio_sigqueue.c: Likewise.
28777         * rt/aio_suspend.c: Likewise.
28778         * rt/aio_write.c: Likewise.
28779         * rt/clock_getres.c: Likewise.
28780         * rt/clock_gettime.c: Likewise.
28781         * rt/clock_nanosleep.c: Likewise.
28782         * rt/clock_settime.c: Likewise.
28783         * rt/lio_listio.c: Likewise.
28784         * rt/mq_close.c: Likewise.
28785         * rt/mq_getattr.c: Likewise.
28786         * rt/mq_notify.c: Likewise.
28787         * rt/mq_open.c: Likewise.
28788         * rt/mq_receive.c: Likewise.
28789         * rt/mq_send.c: Likewise.
28790         * rt/mq_setattr.c: Likewise.
28791         * rt/mq_timedreceive.c: Likewise.
28792         * rt/mq_timedsend.c: Likewise.
28793         * rt/mq_unlink.c: Likewise.
28794         * rt/shm_open.c: Likewise.
28795         * rt/shm_unlink.c: Likewise.
28796         * rt/timer_create.c: Likewise.
28797         * rt/timer_delete.c: Likewise.
28798         * rt/timer_getoverr.c: Likewise.
28799         * rt/timer_gettime.c: Likewise.
28800         * rt/timer_settime.c: Likewise.
28801         * setjmp/__longjmp.c: Likewise.
28802         * setjmp/setjmp.c: Likewise.
28803         * signal/kill.c: Likewise.
28804         * signal/killpg.c: Likewise.
28805         * signal/raise.c: Likewise.
28806         * signal/sigaction.c: Likewise.
28807         * signal/sigaltstack.c: Likewise.
28808         * signal/sigblock.c: Likewise.
28809         * signal/sigignore.c: Likewise.
28810         * signal/sigintr.c: Likewise.
28811         * signal/signal.c: Likewise.
28812         * signal/sigpause.c: Likewise.
28813         * signal/sigpending.c: Likewise.
28814         * signal/sigqueue.c: Likewise.
28815         * signal/sigreturn.c: Likewise.
28816         * signal/sigset.c: Likewise.
28817         * signal/sigsetmask.c: Likewise.
28818         * signal/sigstack.c: Likewise.
28819         * signal/sigsuspend.c: Likewise.
28820         * signal/sigtimedwait.c: Likewise.
28821         * signal/sigvec.c: Likewise.
28822         * signal/sigwait.c: Likewise.
28823         * signal/sigwaitinfo.c: Likewise.
28824         * signal/sysv_signal.c: Likewise.
28825         * socket/accept.c: Likewise.
28826         * socket/accept4.c: Likewise.
28827         * socket/bind.c: Likewise.
28828         * socket/connect.c: Likewise.
28829         * socket/getpeername.c: Likewise.
28830         * socket/getsockname.c: Likewise.
28831         * socket/getsockopt.c: Likewise.
28832         * socket/isfdtype.c: Likewise.
28833         * socket/listen.c: Likewise.
28834         * socket/recv.c: Likewise.
28835         * socket/recvfrom.c: Likewise.
28836         * socket/recvmsg.c: Likewise.
28837         * socket/send.c: Likewise.
28838         * socket/sendmsg.c: Likewise.
28839         * socket/sendto.c: Likewise.
28840         * socket/setsockopt.c: Likewise.
28841         * socket/shutdown.c: Likewise.
28842         * socket/sockatmark.c: Likewise.
28843         * socket/socket.c: Likewise.
28844         * socket/socketpair.c: Likewise.
28845         * stdio-common/ctermid.c: Likewise.
28846         * stdio-common/cuserid.c: Likewise.
28847         * stdio-common/remove.c: Likewise.
28848         * stdio-common/rename.c: Likewise.
28849         * stdio-common/renameat.c: Likewise.
28850         * stdio-common/tempname.c: Likewise.
28851         * stdlib/getcontext.c: Likewise.
28852         * stdlib/makecontext.c: Likewise.
28853         * stdlib/setcontext.c: Likewise.
28854         * stdlib/swapcontext.c: Likewise.
28855         * stdlib/system.c: Likewise.
28856         * streams/fattach.c: Likewise.
28857         * streams/fdetach.c: Likewise.
28858         * streams/getmsg.c: Likewise.
28859         * streams/getpmsg.c: Likewise.
28860         * streams/putmsg.c: Likewise.
28861         * streams/putpmsg.c: Likewise.
28862         * sysdeps/unix/bsd/getpt.c: Likewise.
28863         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28864         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28865         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28867         Likewise.
28868         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28869         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28870         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28871         * sysvipc/msgctl.c: Likewise.
28872         * sysvipc/msgget.c: Likewise.
28873         * sysvipc/msgrcv.c: Likewise.
28874         * sysvipc/msgsnd.c: Likewise.
28875         * sysvipc/semctl.c: Likewise.
28876         * sysvipc/semget.c: Likewise.
28877         * sysvipc/semop.c: Likewise.
28878         * sysvipc/semtimedop.c: Likewise.
28879         * sysvipc/shmat.c: Likewise.
28880         * sysvipc/shmctl.c: Likewise.
28881         * sysvipc/shmdt.c: Likewise.
28882         * sysvipc/shmget.c: Likewise.
28883         * termios/tcdrain.c: Likewise.
28884         * termios/tcflow.c: Likewise.
28885         * termios/tcflush.c: Likewise.
28886         * termios/tcgetattr.c: Likewise.
28887         * termios/tcgetpgrp.c: Likewise.
28888         * termios/tcsendbrk.c: Likewise.
28889         * termios/tcsetattr.c: Likewise.
28890         * termios/tcsetpgrp.c: Likewise.
28891         * time/adjtime.c: Likewise.
28892         * time/clock.c: Likewise.
28893         * time/getitimer.c: Likewise.
28894         * time/gettimeofday.c: Likewise.
28895         * time/setitimer.c: Likewise.
28896         * time/settimeofday.c: Likewise.
28897         * time/stime.c: Likewise.
28898         * time/time.c: Likewise.
28900 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28902         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28903         /usr/old/bin.
28905         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28906         instead of spaces.
28907         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28909 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28911         [BZ #14796]
28912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28913         FE_TONEAREST before applying Dekker multiplication and Knuth
28914         addition.  Clear inexact exceptions and check for exact zero
28915         results afterwards.
28916         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28917         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28919         * math/libm-test.inc (fma_test): Add more tests.
28920         (fma_test_towardzero): Likewise.
28921         (fma_test_downward): Likewise.
28922         (fma_test_upward): Likewise.
28923         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28924         function.
28925         (libc_fesetround): New macro.
28926         (libc_fesetroundf): Likewise.
28927         (libc_fesetroundl): Likewise.
28928         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28929         function.
28930         (libc_fesetround_387): Likewise.
28931         (libc_fesetroundf): New macro.
28932         (libc_fesetround): Likewise.
28933         (libc_fesetroundl): Likewise.
28934         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28935         function.
28936         (libc_fesetroundf): New macro.
28937         (libc_fesetround): Likewise.
28938         (libc_fesetroundl): Likewise.
28939         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28940         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28941         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28942         libm_hidden_ver.
28943         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28944         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28945         libm_hidden_def.
28946         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28947         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28948         libm_hidden_ver.
28949         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28950         libm_hidden_def.
28952         [BZ #3439]
28953         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28954         integer constant usable in #if and use that to give value to enum
28955         constant.
28956         (FE_DIVBYZERO): Likewise.
28957         (FE_UNDERFLOW): Likewise.
28958         (FE_OVERFLOW): Likewise.
28959         (FE_INVALID): Likewise.
28960         (FE_INVALID_SNAN): Likewise.
28961         (FE_INVALID_ISI): Likewise.
28962         (FE_INVALID_IDI): Likewise.
28963         (FE_INVALID_ZDZ): Likewise.
28964         (FE_INVALID_IMZ): Likewise.
28965         (FE_INVALID_COMPARE): Likewise.
28966         (FE_INVALID_SOFTWARE): Likewise.
28967         (FE_INVALID_SQRT): Likewise.
28968         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28969         (FE_TONEAREST): Likewise.
28970         (FE_TOWARDZERO): Likewise.
28971         (FE_UPWARD): Likewise.
28972         (FE_DOWNWARD): Likewise.
28973         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28974         (FE_DIVBYZERO): Likewise.
28975         (FE_OVERFLOW): Likewise.
28976         (FE_UNDERFLOW): Likewise.
28977         (FE_INEXACT): Likewise.
28978         (FE_TONEAREST): Likewise.
28979         (FE_DOWNWARD): Likewise.
28980         (FE_UPWARD): Likewise.
28981         (FE_TOWARDZERO): Likewise.
28982         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28983         (FE_UNDERFLOW): Likewise.
28984         (FE_OVERFLOW): Likewise.
28985         (FE_DIVBYZERO): Likewise.
28986         (FE_INVALID): Likewise.
28987         (FE_TONEAREST): Likewise.
28988         (FE_TOWARDZERO): Likewise.
28989         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28990         (FE_OVERFLOW): Likewise.
28991         (FE_UNDERFLOW): Likewise.
28992         (FE_DIVBYZERO): Likewise.
28993         (FE_INEXACT): Likewise.
28994         (FE_TONEAREST): Likewise.
28995         (FE_TOWARDZERO): Likewise.
28996         (FE_UPWARD): Likewise.
28997         (FE_DOWNWARD): Likewise.
28998         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28999         (FE_DIVBYZERO): Likewise.
29000         (FE_OVERFLOW): Likewise.
29001         (FE_UNDERFLOW): Likewise.
29002         (FE_INEXACT): Likewise.
29003         (FE_TONEAREST): Likewise.
29004         (FE_DOWNWARD): Likewise.
29005         (FE_UPWARD): Likewise.
29006         (FE_TOWARDZERO): Likewise.
29008 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29010         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29012 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29014         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29015         commands.  Quote $PWD.
29016         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29017         -x" by "export".
29018         (remove_newlines): Remove.
29020 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29022         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29023         * stdlib/stdlib.h (atof): Moved to ...
29024         * include/bits/stdlib-float.h: Here.  New file.
29025         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29026         * stdlib/bits/stdlib-float.h: New file.
29027         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29028         -mno-sse -mno-mmx.
29029         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29030         <xmmintrin.h>.
29032 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29034         * conform/conformtest.pl (@headers): Add fenv.h.
29035         * conform/data/fenv.h-data: New file.
29036         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29037         include of <math/fenv.h>.
29039         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29040         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29041         && !UNIX98].  Enables tests for XOPEN2K8.
29042         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29043         POSIX2008]: Likewise.
29045         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29046         (struct rusage): Do not expect type or its members.
29048         [BZ #3439]
29049         * math/math.h (FP_NAN): Define macro to integer constant usable in
29050         #if and use that to give value to enum constant.
29051         (FP_INFINITE): Likewise.
29052         (FP_ZERO): Likewise.
29053         (FP_SUBNORMAL): Likewise.
29054         (FP_NORMAL): Likewise.
29056 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29058         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29059         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29060         arguments.
29062 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29064         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29065         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29066         autoconf-time if not.
29067         * configure.in: Remove AC_PREREQ.
29069 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29071         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29072         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29073         of the internal implementation.
29075 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29077         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29078         except include of <misc/sys/syslog.h>.
29080 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29083         function returns with a NULL context exit with zero.
29085 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29087         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29089 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29091         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29092         (run_program_cmd): This.
29093         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29094         (tst_langinfo): New variable.  Use it.
29096 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29098         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29099         floating point opcodes.
29101 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29103         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29104         variable.
29106         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29108         * sysdeps/mach/hurd/powerpc: Remove directory.
29109         * sysdeps/mach/powerpc: Likewise.
29111 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29113         * scripts/check-local-headers.sh: Ignore c++ headers.
29115 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29117         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29118         __libc_cleanup_region_start argument.
29120 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29122         [BZ #14784]
29123         [BZ #14785]
29124         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29125         x * y using scaling, not as x * y + z.
29126         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29128         * math/libm-test.inc (fma_test): Add more tests.
29129         (fma_test_towardzero): Likewise.
29130         (fma_test_downward): Likewise.
29131         (fma_test_upward): Likewise.
29133 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29135         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29137 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29139         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29140         New variable.
29142 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29144         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29146 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29149         Fix sort order.
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29151         Likewise.
29153 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29156         Fix the order of the list for glibc 2.17.
29157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29158         Likewise.
29160 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29164 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29166         [BZ #14610]
29167         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29168         for low part of x being zero before using __atanl (y).
29169         * math/libm-test.inc (atan2_test): Add another test.
29171         * manual/install.texi (Configuring and compiling): Document
29172         general use of test-wrapper and test-wrapper-env.
29173         * INSTALL: Regenerated.
29175         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29176         (__fma): Do not extract and scale down low bits on after-rounding
29177         systems when result rounded to normal precision would have normal
29178         exponent.
29179         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29180         (__fmal): Do not extract and scale down low bits on after-rounding
29181         systems when result rounded to normal precision would have normal
29182         exponent.
29183         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29184         (__fmal): Do not extract and scale down low bits on after-rounding
29185         systems when result rounded to normal precision would have normal
29186         exponent.
29187         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29188         macro.
29189         (fma_test): Add more tests.
29190         (fma_test_towardzero): Likewise.
29191         (fma_test_downward): Likewise.
29192         (fma_test_upward): Likewise.
29194 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29196         * sysdeps/i386/tininess.h: Renamed to ...
29197         * sysdeps/x86/tininess.h: This.
29198         * sysdeps/x86_64/tininess.h: Removed.
29200 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29202         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29203         input.  Use $(build-program-cmd).
29204         ($(objpfx)tst-array1-static.out): Likewise.
29205         ($(objpfx)tst-array2.out): Likewise.
29206         ($(objpfx)tst-array3.out): Likewise.
29207         ($(objpfx)tst-array4.out): Likewise.
29208         ($(objpfx)tst-array5.out): Likewise.
29209         ($(objpfx)tst-array5-static.out): Likewise.
29211 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29213         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29214         if defined.
29216         * nss/nsswitch.h (nss_interface_function): Provide new
29217         macro for use with NSS functions.
29218         * grp/initgroups.c: Use new macro.
29219         * nss/getXXbyYY.c: Likewise.
29220         * nss/getXXbyYY_r.c: Likewise.
29221         * nss/getXXent.c: Likewise.
29222         * nss/getXXent_r.c: Likewise.
29223         * sysdeps/posix/getaddrinfo.c: Likewise.
29225 2012-10-30  Andreas Jaeger  <aj@suse.de>
29227         * po/ru.po: Update Russion translation from translation project.
29229 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29231         [BZ #14152]
29232         [BZ #14783]
29233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29234         result and shift together with sticky bit instead of replicating
29235         round-to-nearest rounding.
29236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29238         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29239         missing underflow exceptions.
29240         (fma_test_towardzero): Add more tests.
29241         (fma_test_downward): Likewise.
29242         (fma_test_upward): Likewise.
29244         [BZ #14047]
29245         * sysdeps/generic/tininess.h: New file.
29246         * sysdeps/i386/tininess.h: Likewise.
29247         * sysdeps/sh/tininess.h: Likewise.
29248         * sysdeps/x86_64/tininess.h: Likewise.
29249         * stdlib/tst-strtod-underflow.c: Likewise.
29250         * stdlib/tst-tininess.c: Likewise.
29251         * stdlib/strtod_l.c: Include <tininess.h>.
29252         (round_and_return): Do not set errno for exact underflow cases.
29253         Force an underflow exception when setting errno for underflow.
29254         Determine underflow based on rounding to normal precision if
29255         TININESS_AFTER_ROUNDING.
29256         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29257         ERANGE for exact underflow cases.
29258         * stdlib/Makefile (tests): Add tst-tininess and
29259         tst-strtod-underflow.
29260         ($(objpfx)tst-tininess): Use $(link-libm).
29261         ($(objpfx)tst-strtod-underflow): Likewise.
29263 2012-10-30  Andreas Jaeger  <aj@suse.de>
29265         [BZ#14767]
29266         * elf/Makefile (tests): Remove conditional for have-initfini-array
29267         since this is now always required and the variable does not exist
29268         anymore.
29269         (tests-static): Likewise.
29270         (modules-names): Likewise.
29272         * po/eo.po: Add Esperanto translation from translation project.
29274         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29275         merged with constructor/destructor.
29276         (init_array): Likewise.
29277         * elf/tst-array2dep.c (fini_array): Likewise.
29278         (init_array): Likewise.
29280 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29282         * manual/message.texi: Delete @cartouche tags.
29284 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29286         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29287         EOPNOTSUPP.
29288         * sysdeps/mach/hurd/fsync.c: Likewise.
29290         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29291         [_POSIX_REALTIME_SIGNALS]: Change condition to
29292         [_POSIX_REALTIME_SIGNALS > 0].
29294 2012-10-27  Andreas Jaeger  <aj@suse.de>
29296         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29297         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29299         [__WORDSIZE != 64]: Likewise.
29301 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29303         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29304         *  iconvdata/tst-tables.sh: Likewise.
29306 2012-10-25  David S. Miller  <davem@davemloft.net>
29308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29309         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29310         of strtoull.
29312         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29313         ifunc-impl-list.c
29314         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29315         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29316         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29317         file.
29319 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29322         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29323         __getdirentries.
29325 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29326             Jim Blandy  <jimb@codesourcery.com>
29328         * scripts/cross-test-ssh.sh: New file.
29329         * manual/install.texi (Configuring and compiling): Document use of
29330         cross-test-ssh.sh.
29331         * INSTALL: Regenerated.
29333 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29335         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29336         EOPNOTSUPP.
29338 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29340         * Makeconfig (run-program-prefix): Fix comment.
29342 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29343             Jim Blandy  <jimb@codesourcery.com>
29345         * Makeconfig (test-wrapper): New variable,
29346         (test-wrapper-env): Likewise.
29347         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29348         (run-built-tests): Define to yes.
29349         (run-program-prefix): Use $(test-wrapper).
29350         (built-program-cmd): Likewise.
29351         * Rules (make-test-out): Use $(test-wrapper-env) and
29352         $(host-built-program-cmd).
29353         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29354         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29355         tst-pathopt.sh.
29356         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29357         $(test-wrapper-env) to tst-rtld-load-self.sh.
29358         ($(objpfx)order2.out): Use $(test-wrapper).
29359         ($(objpfx)tst-initorder.out): Likewise.
29360         ($(objpfx)tst-initorder2.out): Likewise.
29361         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29362         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29363         (test_wrapper_env): New variable.  Use it to run ld.so.
29364         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29365         Use it to run ld.so.
29366         (test_wrapper_env): Likewise.
29367         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29368         $(test-wrapper) to run-iconv-test.sh.
29369         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29370         (ICONV): Use $test_wrapper.
29371         * posix/Makefile ($(objpfx)globtest.out): Pass
29372         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29373         globtest.sh, not $(run-program-prefix).
29374         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29375         (test_wrapper): Likewise.
29376         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29377         set together with run_via_rtld_prefix.
29378         (run_program_prefix): Define in terms of test_wrapper and
29379         run_via_rtld_prefix.
29381 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29383         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29384         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29385         Targets removed.
29387         [BZ #14743]
29388         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29389         Declare __clock_getres, __clock_gettime, __clock_settime,
29390         __clock_nanosleep, and __clock_getcpuclockid.
29391         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29392         Remove librt_hidden_def (clock_gettime).
29393         * sysdeps/unix/clock_gettime.c: Likewise.
29394         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29395         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29396         * rt/clock_getres.c: Define __clock_getres as an alias.
29397         * sysdeps/posix/clock_getres.c: Likewise.
29398         * rt/clock_settime.c: Define __clock_settime as an alias.
29399         * sysdeps/unix/clock_settime.c: Likewise.
29400         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29401         * sysdeps/unix/clock_nanosleep.c: Likewise.
29402         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29403         * rt/clock-compat.c: New file.
29404         * rt/Makefile (librt-routines): Add clock-compat and move
29405         $(clock-routines) to ...
29406         (routines): ... here, new variable.
29407         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29408         Don't add get_clockfreq here.
29409         * rt/Versions (libc: GLIBC_2.17): New version set.
29410         Add clock_* symbols here.
29411         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29412         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29413         (GLIBC_2.17): Add clock_* symbols.
29414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29416         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29418         Likewise.
29419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29420         Likewise.
29421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29425         * NEWS: Mention the move.
29427         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29428         Use __open, __read, __close rather than their public counterparts.
29429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29430         (__get_clockfreq_via_cpuinfo): Likewise.
29431         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29432         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29434         * config.h.in (HAVE_IFUNC): New #undef.
29435         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29436         was successful.
29437         * configure: Regenerated.
29439 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29441         * configure.in: Move READELF check to start of file.
29442         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29443         libc_cv_asm_gnu_indirect_function in the process.
29444         * configure: Regenerated.
29446 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29448         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29449         send the output to /dev/null.
29450         (libc_cv_cc_with_libunwind): Likewise.
29451         (libc_cv_as_noexecstack): Likewise.
29452         * configure: Regenerate.
29454 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29456         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29458         * posix/globtest.sh (TMPDIR): Do not set.
29459         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29460         (testout): Likewise.
29462 2012-10-24  Andreas Jaeger  <aj@suse.de>
29464         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29465         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29466         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29467         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29468         posix_fadvise64, posix_fallocate64.
29470         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29471         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29472         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29473         Likewise.
29474         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29475         Likewise.
29476         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29479         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29480         <bits/fcntl-linux.h>.
29481         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29483         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29484         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29485         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29486         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29487         [__WORDSIZE != 64]: Likewise.
29489 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29491         * Makeconfig (run-built-tests): New variable.
29492         * Rules [$(cross-compiling) = yes]: Change condition to
29493         [$(run-built-tests) = no].
29494         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29495         to [$(run-built-tests) = yes].
29496         * elf/Makefile [$(cross-compiling) = no]: Likewise
29497         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29498         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29499         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29500         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29501         * io/Makefile [$(cross-compiling) = no]: Likewise.
29502         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29503         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29504         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29505         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29506         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29507         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29508         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29509         * string/Makefile [$(cross-compiling) = no]: Likewise.
29511         * posix/Makefile ($(objpfx)globtest.out): Pass
29512         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29513         $(rtld-installed-name).
29514         * posix/globtest.sh (elf_objpfx): Remove variable.
29515         (rtld_installed_name): Likewise.
29516         (library_path): Likewise.
29517         (run_program_prefix): New variable.  Use for running globtest
29518         binary.
29520 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29521             Joseph Myers  <joseph@codesourcery.com>
29523         * Makeconfig (host-built-program-cmd): New variable.
29524         * elf/Makefile (tst-stackguard1-ARGS): Use
29525         $(host-built-program-cmd).
29526         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29527         (tst-spawn-ARGS): Likewise.
29528         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29530 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29531             Jim Blandy  <jimb@codesourcery.com>
29533         * Makeconfig (run-via-rtld-prefix): New variable.
29534         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29535         (built-program-cmd): Likewise.
29537 2012-10-22  Andreas Jaeger  <aj@suse.de>
29539         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29540         __O_RSYNC if it exists, otherwise to O_SYNC.
29542 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29543             Joseph Myers  <joseph@codesourcery.com>
29545         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29546         /dev/null.
29547         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29548         from /dev/null
29549         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29550         /dev/null.
29552 2012-10-22  Andreas Jaeger  <aj@suse.de>
29554         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29555         Define always.
29556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29559         bits/fcntl-linux.h.
29561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29562         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29565         to __O_LARGEFILE.
29566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29567         to __O_LARGEFILE.
29569 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29570             Joseph Myers  <joseph@codesourcery.com>
29572         * config.make.in (NM): New variable.
29574 2012-10-21  Andreas Jaeger  <aj@suse.de>
29576         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29577         definitions and declarations that are provided by
29578         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29580 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29582         [BZ #14683]
29583         * elf/Makefile (tests-static): Add tst-leaks1-static.
29584         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29585         ($(objpfx)tst-leaks1-static): New rule.
29586         ($(objpfx)tst-leaks1-static-mem): Likewise.
29587         (tst-leaks1-static-ENV): New macro.
29588         * elf/dl-open.c (dl_open_worker): Check the main application
29589         only if SHARED is defined.
29590         * elf/tst-leaks1-static.c: New file.
29592 2012-10-20  Andreas Jaeger  <aj@suse.de>
29594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29595         generic values for Linux.
29596         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29597         and declarations that are provided by <bits/fcntl-linux.h> and
29598         include <bits/fcntl-linux.h>.
29599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29602 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29604         * io/fcntl.h: Move include of <bits/types.h> to the top and
29605         include it unconditionally.
29607 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29609         * wcsmbs/Makefile (tests-ifunc): New variable.
29610         (tests): Add $(tests-ifunc).
29611         * wcsmbs/test-wcschr-ifunc.c: New file.
29612         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29613         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29614         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29615         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29616         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29618         * string/Makefile (tests-ifunc): New variable.
29619         (tests): Add $(tests-ifunc).
29620         * string/test-memccpy.c (TEST_NAME): New macro.
29621         * string/test-memchr.c (TEST_NAME): Likewise.
29622         * string/test-memcmp.c (TEST_NAME): Likewise.
29623         * string/test-memcpy.c (TEST_NAME): Likewise.
29624         * string/test-memmem.c (TEST_NAME): Likewise.
29625         * string/test-memmove.c (TEST_NAME): Likewise.
29626         * string/test-memset.c (TEST_NAME): Likewise.
29627         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29628         * string/test-stpcpy.c (TEST_NAME): Likewise.
29629         * string/test-stpncpy.c (TEST_NAME): Likewise.
29630         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29631         * string/test-strcasestr.c (TEST_NAME): Likewise.
29632         * string/test-strcat.c (TEST_NAME): Likewise.
29633         * string/test-strchr.c (TEST_NAME): Likewise.
29634         * string/test-strcmp.c(TEST_NAME): Likewise.
29635         * string/test-strcpy.c (TEST_NAME): Likewise.
29636         * string/test-strcspn.c (TEST_NAME): Likewise.
29637         * string/test-strlen.c (TEST_NAME): Likewise.
29638         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29639         * string/test-strncmp.c (TEST_NAME): Likewise.
29640         * string/test-strncpy.c (TEST_NAME): Likewise.
29641         * string/test-strnlen.c (TEST_NAME): Likewise.
29642         * string/test-strpbrk.c (TEST_NAME): Likewise.
29643         * string/test-strrchr.c (TEST_NAME): Likewise.
29644         * string/test-strspn.c (TEST_NAME): Likewise.
29645         * string/test-strstr.c (TEST_NAME): Likewise.
29646         * string/test-bcopy-ifunc.c: New file.
29647         * string/test-bzero-ifunc.c: Likewise.
29648         * string/test-memccpy-ifunc.c: Likewise.
29649         * string/test-memchr-ifunc.c: Likewise.
29650         * string/test-memcmp-ifunc.c: Likewise.
29651         * string/test-memcpy-ifunc.c: Likewise.
29652         * string/test-memmem-ifunc.c: Likewise.
29653         * string/test-memmove-ifunc.c: Likewise.
29654         * string/test-mempcpy-ifunc.c: Likewise.
29655         * string/test-memset-ifunc.c: Likewise.
29656         * string/test-rawmemchr-ifunc.c: Likewise.
29657         * string/test-stpcpy-ifunc.c: Likewise.
29658         * string/test-stpncpy-ifunc.c: Likewise.
29659         * string/test-strcasecmp-ifunc.c: Likewise.
29660         * string/test-strcasestr-ifunc.c: Likewise.
29661         * string/test-strcat-ifunc.c: Likewise.
29662         * string/test-strchr-ifunc.c: Likewise.
29663         * string/test-strchrnul-ifunc.c: Likewise.
29664         * string/test-strcmp-ifunc.c: Likewise.
29665         * string/test-strcpy-ifunc.c: Likewise.
29666         * string/test-strcspn-ifunc.c: Likewise.
29667         * string/test-strlen-ifunc.c: Likewise.
29668         * string/test-strncasecmp-ifunc.c: Likewise.
29669         * string/test-strncat-ifunc.c: Likewise.
29670         * string/test-strncmp-ifunc.c: Likewise.
29671         * string/test-strncpy-ifunc.c: Likewise.
29672         * string/test-strnlen-ifunc.c: Likewise.
29673         * string/test-strpbrk-ifunc.c: Likewise.
29674         * string/test-strrchr-ifunc.c: Likewise.
29675         * string/test-strspn-ifunc.c: Likewise.
29676         * string/test-strstr-ifunc.c: Likewise.
29678         * debug/Makefile (tests-ifunc): New variable.
29679         (tests): Add $(tests-ifunc).
29680         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29681         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29682         * debug/test-stpcpy_chk-ifunc.c: New file.
29683         * debug/test-strcpy_chk-ifunc.c: Likewise.
29685 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29687         [BZ #13601]
29688         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29689         header is not read in.
29691 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29693         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29694         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29695         directly.  Pass built executable to script as
29696         $(built-program-cmd).
29697         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29698         $testprogram without using LD_LIBRARY_PATH and $ldso.
29700         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29701         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29702         $(rtld-installed-name).
29703         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29704         (rtld_installed_name): Likewise.
29705         (library_path): Likewise.
29706         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29707         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29708         $(run-program-prefix) to tst-tables.sh.
29709         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29710         it to run tst-table-from and tst-table-to.
29711         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29712         Pass it to tst-table.sh.
29713         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29714         $(run-program-prefix) to tst-gettext.sh.
29715         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29716         tst-translit.sh.
29717         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29718         tst-gettext2.sh.
29719         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29720         to run tst-gettext.
29721         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29722         to run tst-gettext2.
29723         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29724         to run tst-translit.
29725         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29726         $(run-program-prefix) to tst-mtrace.sh.
29727         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29728         to run tst-mtrace.
29729         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29730         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29731         $(rtld-installed-name).
29732         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29733         (rtld_installed_name): Likewise.
29734         (run_program_prefix): New variable.  Use it to run wordexp-test.
29736         * Makeconfig (ARCH): Remove all definitions.
29737         (machine): Likewise.
29738         [ARCH]: Remove conditional code.
29739         [!objdir]: Give error.
29740         [!objdir] (objpfx): Remove.
29741         [!objdir] (common-objpfx): Likewise.
29742         [!objdir] (common-objdir): Likewise.
29743         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29744         AC_CONFIG_FILES call.
29745         * configure: Regenerated.
29747         [BZ #13888]
29748         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29749         or TMPDIR.
29750         (testout): Likewise.
29752         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29753         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29754         $(rtld-installed-name).
29755         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29756         (rtld_installed_name): Likwise.
29757         (runit): Remove function.
29758         (run_getconf): New variable,  Use it for running getconf binary.
29760 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29762         [BZ #14716]
29763         * string/test-memmem.c (check_result): New function.
29764         (do_one_test): Use it.
29765         (check1): New function.
29766         (test_main): Use it.
29768 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29770         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29772 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29774         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29775         (_G_LSEEK64): Likewise.
29776         (_G_MMAP64): Likewise.
29777         (_G_FSTAT64): Likewise.
29778         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29779         (_G_LSEEK64): Likewise.
29780         (_G_MMAP64): Likewise.
29781         (_G_FSTAT64): Likewise.
29782         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29783         unconditional.  Call __mmap64 directly.
29784         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29785         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29786         __lseek64 directly.
29787         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29788         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29789         __mmap64 directly.
29790         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29791         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29792         __lseek64 directly.
29793         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29794         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29795         __lseek64 directly.
29796         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29797         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29798         __lseek64 directly.
29799         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29800         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29801         __fxstat64 directly.
29802         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29803         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29804         unconditional.
29805         (freopen64) [!_G_OPEN64]: Remove conditional code.
29806         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29807         unconditional.
29808         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29809         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29810         unconditional.
29811         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29812         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29813         unconditional.
29814         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29815         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29816         unconditional.
29817         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29818         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29819         unconditional.
29820         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29821         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29822         unconditional.
29823         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29824         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29825         unconditional.
29826         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29828 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29830         [BZ #12140]
29831         * manual/memory.texi (Malloc Tunable Parameters): Add note
29832         about free list pointers overwriting some perturb bytes.
29833         Wording suggested by Roland McGrath.
29835 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29837         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29838         (lgamma_test): Likewise.
29839         (tgamma_test): Likewise.
29841 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29843         [BZ #14700]
29844         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29845         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29847 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29849         * NEWS: Mention BZ #14716.
29850         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29851         when removing AVAILABLE1_USES_J macro.
29853 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29855         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29856         (__bswap_64): __uint64_t for unsigned 64-bit int.
29858 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29860         * include/string.h (memmem): Declare libc hidden alias.
29861         * string/memmem.c (memmem): Define libc hidden alias.
29862         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29863         __read, __close instead of open, read, close.
29865 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29868         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29869         global and hidden.
29870         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29871         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29872         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29873         Likewise.
29874         (__rawmemchr_sse2): Likewise.
29875         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29876         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29877         (__strchr_sse2): Likewise.
29878         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29879         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29880         (__strcasecmp_sse2): Likewise.
29881         (__strncasecmp_sse2): Likewise.
29882         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29883         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29884         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29885         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29886         (__strrchr_sse2): Likewise.
29887         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29888         ifunc-impl-list.c.
29889         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29890         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29891         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29892         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29893         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29894         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29895         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29896         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29897         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29898         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29899         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29900         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29901         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29902         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29903         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29904         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29905         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29906         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29907         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29908         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29909         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29910         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29911         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29912         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29913         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29914         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29915         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29916         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29917         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29918         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29920         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29921         global and hidden.
29922         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29923         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29924         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29925         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29926         Likewise.
29927         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29928         Likewise.
29929         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29930         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29931         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29932         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29933         ifunc-impl-list.c.
29934         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29935         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29936         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29937         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29938         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29939         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29940         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29941         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29942         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29943         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29944         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29945         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29946         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29947         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29948         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29949         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29950         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29951         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29952         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29953         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29954         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29955         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29956         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29957         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29958         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29959         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29960         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29961         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29962         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29963         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29964         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29965         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29966         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29967         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29968         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29969         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29970         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29971         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29972         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29973         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29974         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29976         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29977         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29978         * include/ifunc-impl-list.h: New file.
29979         * misc/ifunc-impl-list.c: Likewise.
29980         * misc/Makefile (routines): Add ifunc-impl-list.
29981         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29982         * string/test-string.h: Include <ifunc-impl-list.h>.
29983         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29984         TEST_NAME]: New variables.
29985         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29986         are defined.
29987         (test_init): Call __libc_ifunc_impl_list to initialize
29988         func_list if TEST_IFUNC and TEST_NAME are defined.
29990         * string/Makefile (strop-tests): Add bcopy and bzero.
29991         * string/test-bcopy.c: New file.
29992         * string/test-bzero.c: Likewise.
29993         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29994         defined.
29995         * string/test-memset.c: Support bzero test if TEST_BZERO is
29996         defined.
29997         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29998         __libc_memmove.
29999         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30000         __libc_memset.
30001         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30002         of memset.
30004 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30006         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30007         * configure: Regenerated.
30009         * Makeconfig (+link-static-before-libc): Don't include
30010         $(link-static-libc).
30012         * libio/libio.h (_IO_pos_t): Remove.
30014 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30016         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30017         McGrath.
30019 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30021         * crypt/crypt-entry.c: Include fips-private.h.
30022         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30023         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30024         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30025         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30027 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30029         * crypt/crypt-private.h: Include stdbool.h.
30030         (_ufc_setup_salt_r): Return bool.
30031         * crypt/crypt-entry.c: Include errno.h.
30032         (__crypt_r): Return NULL with EINVAL for bad salt.
30033         * crypt/crypt_util.c (bad_for_salt): New.
30034         (_ufc_setup_salt_r): Check that salt is long enough and within
30035         the specified alphabet.
30036         * crypt/badsalttest.c: New file.
30037         * crypt/Makefile (tests): Add it.
30038         ($(objpfx)badsalttest): New.
30040 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30042         * NEWS: Add entry for BZ #14602.
30044 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30046         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30047         type-generic.
30048         * math/libm-test.inc: Update comment listing what functions and
30049         macros are tested.
30050         (isgreater_test): New function.
30051         (isgreaterequal_test): Likewise.
30052         (isless_test): Likewise.
30053         (islessequal_test): Likewise.
30054         (islessgreater_test): Likewise.
30055         (isunordered_test): Likewise.
30056         (main): Call the new functions.
30058 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30060         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30061         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30062         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30063         * sysdeps/i386/configure: Regenerated.
30064         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30065         * sysdeps/mach/configure: Regenerated.
30066         * sysdeps/mach/hurd/configure: Regenerated.
30067         * sysdeps/powerpc/configure: Regenerated.
30068         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30069         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30070         * sysdeps/s390/s390-32/configure: Regenerated.
30071         * sysdeps/s390/s390-64/configure: Regenerated.
30072         * sysdeps/sh/configure: Regenerated.
30073         * sysdeps/sparc/configure: Regenerated.
30074         * sysdeps/unix/sysv/linux/configure: Regenerated.
30075         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30076         * sysdeps/x86_64/configure: Regenerated.
30078         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30079         defined.  Don't check if MAP is NULL.
30081 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30083         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30084         (_G_stat64): Likewise.
30085         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30086         (_G_stat64): Likewise.
30087         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30088         instead of struct _G_stat64.
30089         * libio/fileops.c (mmap_remap_check): Likewise.
30090         (decide_maybe_mmap): Likewise.
30091         (_IO_new_file_seekoff): Likewise.
30092         (_IO_file_stat): Likewise.
30093         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30094         _G_off64_t.
30095         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30096         instead of struct _G_stat64.
30097         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30099 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30101         [BZ #14602]
30102         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30103         Replace with ...
30104         (CHECK_EOL): New macro.
30105         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30106         CHECK_EOL.
30107         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30108         Replace with CHECK_EOL.
30109         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30110         Replace with CHECK_EOL.
30112 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30114         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30115         type-generic.
30116         * math/libm-test.inc: Update comment listing what functions and
30117         macros are tested.
30118         (finite_test): New function.
30119         (isinf_test): Likewise.
30120         (isnan_test): Likewise.
30121         (fpclassify_test): Test subnormal input.
30122         (isfinite_test): Likewise.
30123         (isnormal_test): Likewise.
30124         (main): Call the new functions.
30126 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30128         [BZ #14660]
30129         * Makerules (%.dynsym): Force C locale when running
30130         $(OBJDUMP) --dynamic-syms.
30132 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30134         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30135         <stdint.h>.
30137 2012-10-06  David S. Miller  <davem@davemloft.net>
30139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30140         upper 32-bits of the length value in %o2 since we use branch-on-register
30141         tests which consider the entire 64-bit register.
30143 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30145         * string/test-strstr.c (check2): Add a test for page boundary.
30147 2012-10-05  David S. Miller  <davem@davemloft.net>
30149         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30150         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30151         file.
30152         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30153         sysdep_routines.
30154         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30155         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30156         and bzero when HWCAP_SPARC_CRYPTO is present.
30158 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30160         [BZ #14602]
30161         * string/test-strstr.c (check2): New function.
30162         (test_main): Call check2.
30164         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30165         and bug-strchr1.
30166         * string/bug-strcasestr1.c (do_test): Moved to ...
30167         * string/test-strcasestr.c (check1): Here.  New function.
30168         (do_one_test): Break out result checking code into ...
30169         (check_result): This.  New function.
30170         (do_one_test): Call check_result.
30171         (test_main): Call check1.
30172         * string/bug-strchr1.c (do_test): Moved to ...
30173         * string/test-strchr.c (check1): Here.  New function.
30174         (do_one_test): Break out result checking code into ...
30175         (check_result): This.  New function.
30176         (do_one_test): Call check_result.
30177         (test_main): Call check1.
30178         * string/bug-strstr1.c (main): Moved to ...
30179         * string/test-strstr.c (check1): Here.  New function.
30180         (do_one_test): Break out result checking code into ...
30181         (check_result): This.  New function.
30182         (do_one_test): Call check_result.
30183         (test_main): Call check1.
30184         * string/bug-strcasestr1.c: Removed.
30185         * string/bug-strchr1.c: Likewise.
30186         * string/bug-strstr1.c: Likewise.
30188         * elf/Makefile (dl-routines): Add hwcaps.
30189         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30190         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30191         (_dl_important_hwcaps): Moved to ...
30192         * elf/dl-hwcaps.c: Here.  New file.
30193         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30195         [BZ #14557]
30196         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30197         if IS_IN_rtld isn't defined.
30199         * elf/dl-support.c (_dl_sysinfo_map): New.
30200         Include "get-dynamic-info.h" and "setup-vdso.h".
30201         (_dl_non_dynamic_init): Call setup_vdso.
30202         * elf/dynamic-link.h: Don't include <assert.h>.
30203         (elf_get_dynamic_info): Moved to ...
30204         * elf/get-dynamic-info.h: Here.  New file.
30205         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30206         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30207         * elf/setup-vdso.h: Here.  New file.
30208         * elf/rtld.c: Include "setup-vdso.h".
30209         (dl_main): Call setup_vdso.
30211 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30213         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30214         creal in comment listing functions tested.  List finite, isinf,
30215         isnan, isless, islessequal, isgreater, isgreaterequal,
30216         islessgreater, isunordered, lgamma_r and pow10 as functions and
30217         macros not tested.  Mention which functions not tested are aliases
30218         for other functions.  Fix typo.  Note that signs of NaNs are not
30219         tested.
30221         * scripts/config.guess: Update from config.git.
30222         * scripts/config.sub: Likewise.
30224 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30226         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30227         * misc/madvise.c (madvise): Renamed to __madvise.
30228         Make madvise a weak alias.
30229         * include/sys/mman.h: Declare __madvise.
30230         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30231         * sysdeps/unix/syscalls.list
30232         (madvise): Make __madvise the strong name, and madvise a weak alias.
30233         * sysdeps/unix/sysv/linux/syscalls.list
30234         (madvise, mmap): Remove redundant entries.
30235         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30236         * malloc/malloc.c (mtrim): Likewise.
30237         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30239 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30241         * sysdeps/mach/hurd/dl-cache.c: File removed.
30242         * config.h.in (USE_LDCONFIG): New #undef.
30243         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30244         * configure: Regenerated.
30245         * elf/Makefile (dl-routines): Add dl-cache only under
30246         [$(use-ldconfig) = yes].
30247         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30248         cache on [USE_LDCONFIG].
30249         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30250         [USE_LDCONFIG].
30251         * elf/rtld.c (dl_main): Likewise.
30253 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30255         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30256         _SC_LEVEL4_CACHE_LINESIZE.
30258 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30260         * sysdeps/unix/bsd/confstr.h: File removed.
30262 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30264         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30265         sys/sdt-config.h.
30267 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30269         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30270         Make 'mapoff' field ElfW(Off) rather than off_t.
30272 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30274         * nscd/Makefile: Remove nscd-cflags and all its users.
30275         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30276         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30278         [BZ #10631]
30279         * malloc.c (malloc_printerr): Clarify error message.
30281 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30283         [BZ #14648]
30284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30285         Set bit_FMA_Usable if FMA is supported.
30286         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30287         macro.
30288         (bit_FMA4_Usable): Updated.
30289         (index_FMA_Usable): New macro.
30290         (CPUID_FMA): Likewise
30291         (HAS_FMA): Defined with bit_FMA_Usable.
30293 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30295         * bits/types.h (__swblk_t): Type removed.
30296         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30297         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30299         (__SWBLK_T_TYPE): Likewise.
30300         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30301         (__SWBLK_T_TYPE): Likewise.
30302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30303         (__SWBLK_T_TYPE): Likewise.
30304         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30305         (__SWBLK_T_TYPE): Likewise.
30307 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30308             Honza Horak <hhorak@redhat.com>
30310         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30311         (xdr_mapname): Use YPMAXMAP as maxsize.
30312         (xdr_peername): Use YPMAXPEER as maxsize.
30313         (xdr_keydat): Use YPAXRECORD as maxsize.
30314         (xdr_valdat): Use YPMAXRECORD as maxsize.
30316 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30318         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30320         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30321         * csu/init-first.c: ... here.
30322         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30323         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30324         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30325         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30326         * sysdeps/i386/init-first.c: File removed.
30327         * sysdeps/sh/init-first.c: File removed.
30329 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30331         [BZ #14645]
30332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30333         if x * y might underflow to zero and z is zero.
30334         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30335         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30336         * math/libm-test.inc (min_subnorm_value): New variable.
30337         (fma_test): Add more tests.
30338         (fma_test_towardzero): Likewise.
30339         (fma_test_downward): Likewise
30340         (fma_test_upward): Likewise.
30341         (initialize): Set min_subnorm_value.
30343 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30345         [BZ #14638]
30346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30347         0 + 0.
30348         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30349         mode for addition resulting in exact zero.
30350         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30352         exact 0 + 0.
30353         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30354         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30355         * math/libm-test.inc (fma_test): Add more tests.
30356         (fma_test_towardzero): New function.
30357         (fma_test_downward): Likewise.
30358         (fma_test_upward): Likewise.
30359         (main): Call the new functions.
30361 2012-09-28  David S. Miller  <davem@davemloft.net>
30363         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30365 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30367         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30368         instead of SIGALRM.
30370         * sysdeps/gnu/_G_config.h: Moved to ...
30371         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30372         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30373         * sysdeps/generic/_G_config.h: ... here.
30375         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30377         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30379         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30380         Conditionalize target on [libnss_test1.so-version].
30382         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30384         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30385         (elfobjdir): Move out of conditionals.
30387         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30388         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30389         (__nss_lookup_function): Conditionalize label remove_from_tree on
30390         [!DO_STATIC_NSS || SHARED], matching its only use.
30392 2012-09-28  David S. Miller  <davem@davemloft.net>
30394         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30395         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30396         file.
30397         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30398         sysdep_routines.
30399         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30401         when HWCAP_SPARC_CRYPTO is present.
30403 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30405         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30407 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30409         [BZ #6530]
30410         * stdio-common/vfprintf.c (process_string_arg): Revert
30411         2000-07-22 change.
30413 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30415         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30416         for testcase.
30417         * stdio-common/tst-sprintf.c: Include <locale.h>
30418         (main): Test sprintf's handling of incomplete multibyte
30419         characters.
30421 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30423         * elf/dl-runtime.c (VERSYMIDX): Removed.
30424         * elf/dl-version.c (VERSYMIDX): Likewise.
30425         * elf/do-rel.h (VERSYMIDX): Likewise.
30426         (VALIDX): Likewise.
30427         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30428         * elf/rtld.c (VALIDX): Likewise.
30429         (ADDRIDX): Likewise.
30430         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30431         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30432         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30433         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30434         (VALIDX): Likewise.
30435         (ADDRIDX): Likewise.
30437 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30439         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30441 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30443         [BZ #11438]
30444         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30445         to global scope.
30446         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30447         addresses are in the same scope as 192.0.2/24.
30448         * posix/gai.conf: Document new scope table defaults.
30450 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30452         [BZ #5298]
30453         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30454         for ftell.  Compute offsets from write pointers instead.
30455         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30457 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30459         [BZ #14543]
30460         * libio/Makefile (tests): New test case tst-fseek.
30461         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30462         combination works in wide mode.
30463         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30464         state when the external buffer state changes.
30466 2012-09-27  David S. Miller  <davem@davemloft.net>
30468         [BZ #14376]
30469         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30470         pass reloc->r_addend in as the 'high' argument to
30471         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30475 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30477         * rt/tst-aio2.c: Include <pthread.h>.
30478         * rt/tst-aio3.c: Likewise.
30480 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30482         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30484 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30486         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30487         contents on [SHARED].
30489 2012-09-26  Marek Polacek  <polacek@redhat.com>
30491         [BZ #14530]
30492         [BZ #13741]
30493         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30494         for C++ and GCC <4.3 as well as for non GCC compilers.
30496 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30500 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30502         * Makefile.in (all, install): Declare with .PHONY.
30503         Reported by Michael Hope <michael.hope@linaro.org>.
30505 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30507         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30508         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30509         system header.
30510         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30511         Likewise.
30512         (sydep_routines): Add the new and the internal functions.
30513         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30514         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30516         (GLIBC_2.17): Add the new function.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30518         (GLIBC_2.17): Likewise.
30519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30520         (GLIBC_2.17): Likewise.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30522         (GLIBC_2.17): Likewise.
30523         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30525 2012-09-25  Alan Modra  <amodra@gmail.com>
30527         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30528         Add release barrier before setting once_control to say
30529         initialisation is done.  Add hints on lwarx.  Use macro in
30530         place of isync.
30531         (clear_once_control): Add release barrier.
30533 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #13629]
30536         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30537         specially.
30538         * math/s_clog10.c (__clog10): Likewise.
30539         * math/s_clog10f.c (__clog10f): Likewise.
30540         * math/s_clog10l.c (__clog10l): Likewise.
30541         * math/s_clogf.c (__clogf): Likewise.
30542         * math/s_clogl.c (__clogl): Likewise.
30543         * math/Makefile (libm-calls): Add x2y2m1.
30544         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30545         (__x2y2m1): Likewise.
30546         (__x2y2m1l): Likewise.
30547         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30548         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30549         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30550         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30551         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30552         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30553         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30554         * sysdeps/i386/fpu/libm-test-ulps: Update.
30555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30557         [BZ #14621]
30558         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30559         int as type of variable DEPTH.
30560         (glob): Use size_t instead of int as type of variables NEWCOUNT
30561         and OLD_PATHC.
30563 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30565         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30566         Add s_sincosf-sse2.
30567         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30568         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30569         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30570         macros for using routine as __sincosf_ia32.
30571         Use macro for function declaration and weak_alias.
30572         * sysdeps/i386/fpu/libm-test-ulps: Update.
30574         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30577         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30578         subnormal argument.
30579         * math/s_cexpf.c (__cexpf): Likewise.
30580         * math/s_csinf.c (__csinf): Likewise.
30581         * math/s_csinhf.c (__csinhf): Likewise.
30582         * math/s_ctanf.c (__ctanf): Likewise.
30583         * math/s_ctanhf.c (__ctanhf): Likewise.
30584         * math/s_ccosh.c (__ccoshf): Likewise.
30585         * math/s_cexp.c (__cexpl): Likewise.
30586         * math/s_csin.c (__csin): Likewise.
30587         * math/s_csinh.c (__csinh): Likewise.
30588         * math/s_ctan.c (__ctan): Likewise.
30589         * math/s_ctanh.c (ctanh): Likewise.
30590         * math/s_ccoshl.c (__ccoshl): Likewise.
30591         * math/s_cexpl.c (__cexpl): Likewise.
30592         * math/s_csinl.c (__csinl): Likewise.
30593         * math/s_csinhl.c (__csinhl): Likewise.
30594         * math/s_ctanl.c (__ctanl): Likewise.
30595         * math/s_ctanhl.c (__ctanhl): Likewise.
30597 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30599         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30600         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30601         (_IO_off_t): Define to __off_t, not _G_off_t.
30602         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30603         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30604         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30605         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30606         type of __dummy and __dummy2 fields.
30607         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30608         (_G_ssize_t): Likewise.
30609         (_G_off_t): Likewise.
30610         (_G_pid_t): Likewise.
30611         (_G_uid_t): Likewise.
30612         (_G_wchar_t): Likewise.
30613         (_G_wint_t): Likewise.
30614         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30615         (_G_ssize_t): Likewise.
30616         (_G_off_t): Likewise.
30617         (_G_pid_t): Likewise.
30618         (_G_uid_t): Likewise.
30619         (_G_wchar_t): Likewise.
30620         (_G_wint_t): Likewise.
30621         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30622         (_G_ssize_t): Likewise.
30623         (_G_off_t): Likewise.
30624         (_G_pid_t): Likewise.
30625         (_G_uid_t): Likewise.
30626         (_G_wchar_t): Likewise.
30627         (_G_wint_t): Likewise.
30629 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30631         * malloc/arena.c: Include malloc-sysdep.h.
30632         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30633         is sufficient to shrink the heap or an unmap is needed.
30634         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30635         new function check_may_shrink_heap.
30636         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30637         new function check_may_shrink_heap.
30639 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30641         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30642         comments.
30644 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30646         * catgets/test-gencat.sh: Add "set -e".
30647         * elf/tst-pathopt.sh: Likewise.
30648         * grp/tst_fgetgrent.sh: Likewise.
30649         * iconvdata/run-iconv-test.sh: Likewise.
30650         * intl/tst-gettext.sh: Likewise.
30651         * intl/tst-gettext2.sh: Likewise.
30652         * intl/tst-gettext4.sh: Likewise.
30653         * intl/tst-gettext6.sh: Likewise.
30654         * intl/tst-translit.sh: Likewise.
30655         * io/ftwtest-sh: Likewise.
30656         * libio/test-freopen.sh: Likewise.
30657         * malloc/tst-mtrace.sh: Likewise.
30658         * posix/globtest.sh: Likewise.
30659         * posix/tst-getconf.sh: Likewise.
30660         * posix/wordexp-tst.sh: Likewise.
30661         * stdio-common/tst-printf.sh: Likewise.
30662         * stdio-common/tst-unbputc.sh: Likewise.
30663         * stdlib/tst-fmtmsg.sh: Likewise.
30664         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30665         * catgets/Makefile: Do not specify -e option when running
30666         testsuite shell scripts.
30667         * elf/Makefile: Likewise.
30668         * grp/Makefile: Likewise.
30669         * iconvdata/Makefile: Likewise.
30670         * intl/Makefile: Likewise.
30671         * io/Makefile: Likewise.
30672         * libio/Makefile: Likewise.
30673         * malloc/Makefile: Likewise.
30674         * posix/Makefile: Likewise.
30675         * stdio-common/Makefile: Likewise.
30676         * stdlib/Makefile: Likewise.
30677         * sysdeps/x86_64/Makefile: Likewise.
30679         * io/ftwtest-sh: Add copyright header.
30680         * posix/globtest.sh: Likewise.
30681         * posix/tst-getconf.sh: Likewise.
30682         * posix/wordexp-tst.sh: Likewise.
30683         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30685 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30687         [BZ #13679]
30688         * Makeconfig (+link): Defined as $(+link-static) if
30689         $(build-shared) isn't yes.
30690         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30691         isn't yes.
30692         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30694         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30696         [BZ #14562]
30697         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30698         new chunk size with MALLOC_ALIGN_MASK.
30700 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30702         [BZ #5044]
30703         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30704         <rounding-mode.h>.
30705         (__printf_fphex): Determine rounding using get_rounding_mode and
30706         round_away.
30707         * stdio-common/tst-printf-round.c (struct hex_test): New
30708         structure.
30709         (hex_tests): New variable.
30710         (test_hex_in_one_mode): New function.
30711         (do_test): Also run tests for hex float output.
30713 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30715         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30716         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30717         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30718         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30719         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30720         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30721         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30722         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30724 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30726         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30727         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30728         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30729         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30731 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30733         [BZ #14579]
30734         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30735         mode only.
30736         * elf/tst-rtld-load-self.sh: New test.
30737         * elf/Makefile: Run it.
30739 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30741         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30742         (tst-writev-ENV): Remove.
30743         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30745 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30747         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30749 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30751         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30752         unconditional.
30753         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30754         Likewise.
30755         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30756         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30757         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30758         Likewise.
30760 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30762         [BZ #14587]
30763         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30764         * config.make.in (have-cpp-asm-debuginfo): Removed.
30765         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30766         * configure: Regenerated.
30768 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30770         [BZ #5044]
30771         * stdio-common/printf_fp.c: Include <stdbool.h> and
30772         <rounding-mode.h>.
30773         (___printf_fp): Determine rounding using get_rounding_mode and
30774         round_away.
30775         * stdio-common/tst-printf-round.c: New file.
30776         * stdio-common/Makefile (tests): Add tst-printf-round.
30777         (link-libm): New variable.
30778         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30780 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30782         [BZ #14576]
30783         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30784         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30785         Likewise.
30786         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30787         Likewise.
30789 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30791         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30792         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30793         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30794         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30796 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30798         [BZ #14518]
30799         * include/rounding-mode.h: New file.
30800         * sysdeps/generic/get-rounding-mode.h: Likewise.
30801         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30802         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30803         (MAX_VALUE): New macro.
30804         (MIN_VALUE): Likewise.
30805         (overflow_value): New function.
30806         (underflow_value): Likewise.
30807         (round_and_return): Use overflow_value and underflow_value to
30808         determine return values in overflow and underflow cases.  Use
30809         round_away to determine rounding depending on rounding mode.
30810         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30811         determine return values in overflow and underflow cases.
30812         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30813         (struct test_results): New structure.
30814         (struct test): Use struct test_results to store expected results
30815         for all rounding modes.
30816         (TEST): Include expected results for all rounding modes.
30817         (test_in_one_mode): New function.
30818         (do_test): Use test_in_one_mode to compute and check results.
30819         Check results for all rounding modes.
30820         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30821         $(link-libm).
30823 2012-12-09  Allan McRae  <allan@archlinux.org>
30825         * sysdeps/i386/fpu/libm-test-ulps: Update
30827 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30829         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30830         (_G_int32_t): Likewise.
30831         (_G_uint16_t): Likewise.
30832         (_G_uint32_t): Likewise.
30833         (_G_HAVE_BOOL): Likewise.
30834         (_G_HAVE_ATEXIT): Likewise.
30835         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30836         (_G_HAVE_IO_FILE_OPEN): Likewise.
30837         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30838         (_G_int32_t): Likewise.
30839         (_G_uint16_t): Likewise.
30840         (_G_uint32_t): Likewise.
30841         (_G_HAVE_BOOL): Likewise.
30842         (_G_HAVE_ATEXIT): Likewise.
30843         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30844         (_G_HAVE_IO_FILE_OPEN): Likewise.
30845         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30846         (_G_int32_t): Likewise.
30847         (_G_uint16_t): Likewise.
30848         (_G_uint32_t): Likewise.
30849         (_G_HAVE_BOOL): Likewise.
30850         (_G_HAVE_ATEXIT): Likewise.
30851         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30852         (_G_HAVE_IO_FILE_OPEN): Likewise.
30854 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30856         * csu/libc-tls.c: Update copyright years.
30858 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30860         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30861         [!_G_USING_THUNKS]: Remove conditional code.
30862         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30863         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30865         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30866         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30867         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30868         (_G_VTABLE_LABEL_PREFIX): Likewise.
30869         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30870         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30871         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30872         (_G_VTABLE_LABEL_PREFIX): Likewise.
30873         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30874         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30875         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30876         (_G_VTABLE_LABEL_PREFIX): Likewise.
30877         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30879 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30881         * libio/Makefile: Include ../Makeconfig before tests.
30882         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30883         only if $(build-shared) is yes.
30885         * iconv/gconv_db.c: Update copyright years.
30887 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30889         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30890         unwind info if defined PIC. Fix special cases description.
30891         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30893         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30894         DP_HI_MASK entry.
30895         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30897 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30899         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30901         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30902         is NULL.
30904         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30905         (LDLIBS-tst-chk4): This.
30906         (LDFLAGS-tst-chk5): Renamed to ...
30907         (LDLIBS-tst-chk5): This.
30908         (LDFLAGS-tst-chk6): Renamed to ...
30909         (LDLIBS-tst-chk6): This.
30910         (LDFLAGS-tst-lfschk4): Renamed to ...
30911         (LDLIBS-tst-lfschk4): This.
30912         (LDFLAGS-tst-lfschk5): Renamed to ...
30913         (LDLIBS-tst-lfschk5): This.
30914         (LDFLAGS-tst-lfschk6): Renamed to ...
30915         (LDLIBS-tst-lfschk6): This.
30917         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30918         on $(common-objpfx)soversions.mk.
30920 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30922         [BZ #10014]
30923         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30924         example host name.
30926 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30928         * malloc/arena.c (arena_get_retry): New function that gets
30929         another arena for the caller to try its request on.
30930         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30931         current arena cannot fulfill the request.
30932         (__libc_memalign): Likewise.
30933         (__libc_memalign): Likewise.
30934         (__libc_pvalloc): Likewise.
30935         (__libc_calloc): Likewise.
30937 2012-09-05  John Tobey  <john.tobey@gmail.com>
30939         [BZ #13542]
30940         * manual/arith.texi (Operations on Complex): Fix description
30941         of carg branch cut.
30943 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30945         [BZ #10014]
30946         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30947         host name.
30949         [BZ #10038]
30950         * manual/memory.texi (Memory): Make order of menu items match
30951         order of sections.
30953 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30955         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30956         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30957         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30959 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30961         * csu/libc-tls.c (static_dtv): Renamed to ...
30962         (_dl_static_dtv): This.  Make it global.
30963         (_dl_initial_dtv): Removed.
30964         (__libc_setup_tls): Updated.
30965         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30966         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30967         DL_INITIAL_DTV.
30969 2012-09-06  Petr Machata  <pmachata@redhat.com>
30971         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30972         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30973         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30974         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30976 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30978         [BZ #14545]
30979         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30980         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30981         freeing dtv[-1].
30983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30985         [BZ #14544]
30986         * Makeconfig (link-static-before-libc): Replace $(+prector)
30987         with $(+prectorT).
30988         (link-static-after-libc): Replace $(+postctor) with
30989         $(+postctorT).
30990         (link-bounded): Replace $(+prector)/$(+postctor) with
30991         $(+prectorT)/$(+postctorT).
30992         (+prectorT): New macro.
30993         (+postctorT): Likewise.
30995 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30997         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30998         (round_str): Handle values above the maximum for IBM long double
30999         as inexact.
31000         * stdlib/tst-strtod-round.c (tests): Regenerated.
31002 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31004         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31005         assembler flag.
31006         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31007         zarch_nohighgprs around the zarch optimized routines.
31008         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31009         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31010         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31011         for zarch.
31013 2012-09-05  David S. Miller  <davem@davemloft.net>
31015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31017         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31018         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31019         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31020         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31021         entries.
31023 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31025         * malloc/arena.c: Fold copyright years.
31026         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31028 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31030         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31032 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31034         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31036 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31038         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31039         change internal state upon failure.
31041 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31043         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31044         * malloc/memusage.c (mmap): Likewise.
31045         (mmap64, mremap): Likewise.  Adjust name in comment.
31047 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31049         * libio/fileops.c: Fix typos in comments.
31050         * libio/oldfileops.c: Likewise.
31051         * libio/wfileops.c: Likewise.
31053 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31055         [BZ #1349]
31056         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31057         (tst-malloc-usable-ENV): Set environment for test case.
31058         * malloc/hooks.c (malloc_check_get_size): New function to get
31059         requested size.
31060         * malloc/malloc.c (musable): Use malloc_check_get_size.
31061         * malloc/tst-malloc-usable.c: New test case.
31063 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31065         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31067 2012-09-05  Allan McRae  <allan@archlinux.org>
31069         [BZ #13966]
31070         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31071         determine header location.
31072         * configure: Regenerated.
31074 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31076         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31077         float format.
31078         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31079         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31080         format.
31081         (test): Regenerate.
31083 2012-09-04  David S. Miller  <davem@davemloft.net>
31085         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31086         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31087         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31089 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31091         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31092         failures.
31094         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31096 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31098         [BZ #9914]
31099         * libio/iogetdelim.c: Include <limits.h>.
31100         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31101         + len + 1 would overflow.
31103 2012-09-03  Andreas Jaeger  <aj@suse.de>
31105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31106         * sysdeps/i386/fpu/libm-test-ulps: Update.
31108 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31110         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31111         Add s_sinf-sse2, s_conf-sse2.
31113         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31114         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31115         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31116         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31118         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31119         for using routine as __sinf_ia32.
31120         Use macro for function declaration and weak_alias.
31121         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31122         for using routine as __cosf_ia32.
31123         Use macro for function declaration and weak_alias.
31125         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31126         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31128         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31129         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31132         * math/libm-test.inc (cos_test): Add more test cases.
31133         (sin_test): Likewise.
31134         (sincos_test): Likewise.
31136 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31138         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31139         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31140         hidden.
31141         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31143 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31145         [BZ #14538]
31146         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31147         first element of the GOT.
31148         (elf_machine_load_address): Return the difference between
31149         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31151 2012-09-01  Allan McRae  <allan@archlinux.org>
31153         [BZ #13412]
31154         * configure.in (AWK): Require gawk version 3.0 or later.
31155         * configure: Regenerated.
31157 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31159         * sysdeps/unix/sysv/linux/kernel-features.h
31160         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31161         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31162         [__NR_clock_getres]: Make code unconditional.
31163         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31164         (clock_getcpuclockid): Remove code left unreachable by removal of
31165         conditionals.
31166         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31167         code unconditional.
31168         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31169         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31170         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31171         Make code unconditional.
31172         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31173         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31174         * sysdeps/unix/sysv/linux/clock_settime.c
31175         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31176         conditional code.
31177         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31178         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31180 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31182         [BZ #14476]
31183         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31184         scripts/test-installation.pl.
31186         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31187         and $ld_so_version if it is set.
31189 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31191         [BZ #14516]
31192         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31193         failure if reading from procfs failed.
31194         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31196 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31198         * sysdeps/unix/sysv/linux/kernel-features.h
31199         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31200         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31201         Remove conditional code.
31202         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31203         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31204         Remove conditional code.
31205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31206         * sysdeps/unix/sysv/linux/i386/fxstat.c
31207         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31209         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31210         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31212         * sysdeps/unix/sysv/linux/i386/lxstat.c
31213         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31215         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31216         Remove conditional code.
31217         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31218         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31219         Remove conditional code.
31220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31221         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31222         <kernel-features.h>.
31223         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31224         Remove.
31225         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31226         Remove conditional code.
31227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31228         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31229         Remove conditional.
31231 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31233         [BZ #5400]
31234         * NEWS: Add fixed bug number.
31236 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31238         [BZ #14519]
31239         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31240         underflowing exponent in case of negative sign.
31241         * stdlib/tst-strtod-round-data: Add more tests.
31242         * stdlib/tst-strtod-round.c (tests): Regenerated.
31244         [BZ #3479]
31245         * stdlib/strtod_l.c (NDIG): Remove.
31246         (HEXNDIG): Likewise.
31247         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31248         smallest representable value.
31249         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31250         lie within an exact representation of 1/2 ulp of the result.
31251         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31252         unconditionally.
31253         (TENS_P9_IDX): Define unconditionally.
31254         (TENS_P9_SIZE): Likewise.
31255         (TENS_P10_IDX): Likewise.
31256         (TENS_P10_SIZE): Likewise.
31257         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31258         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31259         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31260         entries for 10^2^13 and 10^2^14.
31261         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31262         (TENS_P13_IDX): Define.
31263         (TENS_P13_SIZE): Likewise.
31264         (TENS_P14_IDX): Likewise.
31265         (TENS_P14_SIZE): Likewise.
31266         (_fpioconst_pow10): Change array size to
31267         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31268         unconditional.
31269         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31270         1024]: Add entries for 10^2^13 and 10^2^14.
31271         [LAST_POW10 > _LAST_POW10]: Remove #error.
31272         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31273         (_fpioconst_pow10): Change array size to
31274         FPIOCONST_POW10_ARRAY_SIZE.
31275         * stdlib/gen-fpioconst.c: New file.
31276         * stdlib/gen-tst-strtod-round.c: Likewise.
31277         * stdlib/tst-strtod-round-data: Likewise.
31278         * stdlib/tst-strtod-round.c: Likewise.
31279         * stdlib/Makefile (tests): Add tst-strtod-round.
31281         [BZ #14459]
31282         * stdlib/strtod_l.c: Include <stdint.h>.
31283         (NDEBUG): Do not define.
31284         (round_and_return): Change EXPONENT parameter to type intmax_t.
31285         Rearrange calculations to avoid internal overflow possibilities.
31286         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31287         Rearrange calculations to avoid internal overflow possibilities.
31288         Assert that number fits inside MPNSIZE limbs.
31289         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31290         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31291         calculations and add assertions to avoid internal overflow
31292         possibilities.  Add casts to avoid signed/unsigned operations.
31293         * stdlib/tst-strtod-overflow.c: New file.
31294         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31296 2012-08-25  Marek Polacek  <polacek@redhat.com>
31298         * time/time.h: Fix some typos in comments.
31300 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31302         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31303         * posix/tst-rfc3484-2.c: Likewise.
31304         * posix/tst-rfc3484-3.c: Likewise.
31306 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31308         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31309         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31311 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31313         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31314         #include of fxstatat64.c.
31316 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31318         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31319         * shadow/getspent_r.c: Likewise.
31320         * shadow/getspnam.c: Likewise.
31321         * shadow/getspnam_r.c: Likewise.
31322         * gshadow/getsgent.c: Likewise.
31323         * gshadow/getsgent_r.c: Likewise.
31324         * gshadow/getsgnam.c: Likewise.
31325         * gshadow/getsgnam_r.c: Likewise.
31326         * inet/getnetbyad.c: Likewise.
31327         * inet/getnetbyad_r.c: Likewise.
31328         * inet/getnetbynm.c: Likewise.
31329         * inet/getnetbynm_r.c: Likewise.
31330         * inet/getnetent.c: Likewise.
31331         * inet/getnetent_r.c: Likewise.
31332         * inet/getproto.c: Likewise.
31333         * inet/getproto_r.c: Likewise.
31334         * inet/getprtent.c: Likewise.
31335         * inet/getprtent_r.c: Likewise.
31336         * inet/getprtname.c: Likewise.
31337         * inet/getprtname_r.c: Likewise.
31338         * inet/getrpcbyname.c: Likewise.
31339         * inet/getrpcbyname_r.c: Likewise.
31340         * inet/getrpcbynumber.c: Likewise.
31341         * inet/getrpcbynumber_r.c: Likewise.
31342         * inet/getrpcent.c: Likewise.
31343         * inet/getrpcent_r.c: Likewise.
31344         * inet/getaliasent.c: Likewise.
31345         * inet/getaliasent_r.c: Likewise.
31346         * inet/getaliasname.c: Likewise.
31347         * inet/getaliasname_r.c: Likewise.
31348         * nscd/getgrgid_r.c: Likewise.
31349         * nscd/getgrnam_r.c: Likewise.
31350         * nscd/gethstbyad_r.c: Likewise.
31351         * nscd/gethstbynm3_r.c: Likewise.
31352         * nscd/getpwnam_r.c: Likewise.
31353         * nscd/getpwuid_r.c: Likewise.
31354         * nscd/getsrvbynm_r.c: Likewise.
31355         * nscd/getsrvbypt_r.c: Likewise.
31356         * nscd/gai.c: Likewise.
31358         * configure.in (build_nscd): New substituted variable, set
31359         by --disable-build-nscd and defaults to $use_nscd.
31360         * configure: Regenerated.
31361         * config.make.in (build-nscd): New substituted variable.
31362         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31363         Change conditional to require [$(build-nscd) = yes] as well.
31364         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31366         [BZ# 13696]
31367         * configure.in (use_nscd): New substituted variable, set by
31368         --disable-nscd.  If enabled, define USE_NSCD.
31369         * configure: Regenerated.
31370         * config.h.in: Add USE_NSCD.
31371         * config.make.in (use-nscd): New substituted variable.
31372         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31373         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31374         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31375         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31376         (CFLAGS-getgrnam_r.c): Likewise.
31377         (CFLAGS-initgroups.c): Likewise.
31378         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31379         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31380         Variables removed.
31381         * inet/getnetgrent_r.c
31382         (nscd_setnetgrent): New function, broken out of ...
31383         (setnetgrent): ... here.  Call it.
31384         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31385         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31386         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31387         * nscd/Makefile (routines, aux): Move definitions after include of
31388         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31389         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31390         Conditionalize on [USE_NSCD].
31391         (is_nscd, nscd_init_cb): Likewise.
31392         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31393         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31394         * nss/nss_db/db-init.c: Likewise.
31395         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31396         [USE_NSCD].
31397         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31398         (make_request): Use it.
31399         (cache_valid_p): New function.
31400         (__check_pf): Use it.
31401         * NEWS: Add item for --disable-nscd.
31403 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31405         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31406         to support sed >= 4.2.1-20-ga9bf076.
31407         * configure: Regenerated.
31409 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31411         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31412         Conditionalize whole body on [IREL].
31414 2012-08-22  Jeff Law <law@redhat.com>
31416         [BZ #14505]
31417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31418         if the family is PF_UNSPEC.
31420 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31422         * Makerules (lib-version): Rename from V.
31423         (install-lib-nosubdir): Change V to lib-version.
31425 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31427         [BZ #14252]
31428         * powerpc32/power6/wcschr.c: New file.
31429         * powerpc32/power6/wcscpy.c: New file.
31430         * powerpc32/power6/wcsrchr.c: New file.
31431         * powerpc64/power6/wcschr.c: New file.
31432         * powerpc64/power6/wcscpy.c: New file.
31433         * powerpc64/power6/wcsrchr.c: New file.
31435 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31437         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31438         (two_way_short_needle): Use it.
31439         * string/strstr.c (AVAILABLE1_USES_J): Define.
31440         * string/strcasestr.c: Likewise.
31442         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31443         array references.
31444         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31446         [BZ #11607]
31447         * NEWS: Add an entry.
31448         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31449         define their defaults.
31450         (two_way_short_needle): Detect end-of-string on-the-fly.
31451         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31452         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31453         * string/bug-strcasestr1.c: New test.
31454         * string/Makefile: Run it.
31456 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31458         [BZ #11607]
31459         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31460         the first character.
31462 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31464         * csu/elf-init.c (__libc_csu_irel): Function removed.
31465         * csu/libc-start.c (apply_irel): New function.
31466         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31468 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31470         * sysdeps/unix/sysv/linux/kernel-features.h
31471         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31472         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31473         <kernel-features.h>.
31474         [__NR_fadvise64_64]: Make code unconditional.
31475         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31476         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31477         !__NR_fadvise64_64)]: Likewise.
31478         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31479         !__NR_fadvise64_64))]: Likewise.
31480         [__NR_fadvise64]: Make code unconditional.
31481         [!__NR_fadvise64]: Remove conditional code.
31482         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31483         <kernel-features.h>.
31484         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31485         unconditional.
31486         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31487         conditional code.
31488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31489         not include <kernel-features.h>.
31490         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31491         unconditional.
31492         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31493         conditional code.
31494         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31495         include <kernel-features.h>.
31496         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31497         unconditional.
31498         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31499         conditional code.
31501 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31503         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31504         slight instruction rearrangements per scrollpipe analysis.
31505         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31507 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31509         * manual/syslog.texi (syslog; vsyslog, closelog):
31510         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31511         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31513         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31514         DSOCAPS to match condition on defining it.
31516 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31518         * sysdeps/unix/sysv/linux/kernel-features.h
31519         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31521         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31522         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31524         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31525         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31527         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31528         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31530         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31531         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31533         * sysdeps/unix/sysv/linux/kernel-features.h
31534         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31535         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31536         unconditional.
31537         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31538         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31539         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31540         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31541         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31542         Make code unconditional.
31543         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31544         (__mmap64) [!__NR_mmap2]: Likewise.
31545         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31546         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31547         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31548         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31549         [__NR_mmap2]: Make code unconditional.
31550         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31551         (__mmap64) [!__NR_mmap2]: Likewise.
31553 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31555         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31557 2012-08-18  Andreas Jaeger  <aj@suse.de>
31559         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31561 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31563         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31564         * include/unistd.h (__have_sock_cloexec): Likewise.
31565         (__have_pipe2): Likewise.
31566         (__have_dup3): Likewise.
31568 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31570         [BZ #9685]
31571         * include/unistd.h (__have_pipe2): Change define into an extern int.
31572         (__have_dup3): Likewise.
31573         * socket/have_sock_cloexec.c: Include fcntl.h.
31574         (__have_pipe2): New variable.
31575         (__have_dup3): Likewise.
31577 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31579         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31581 2012-08-17  Marek Polacek  <polacek@redhat.com>
31583         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31584         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31586 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31588         * configure.in: Add AC_SUBST for sysheaders.
31589         * configure: Regenerated.
31590         * config.make.in (sysheaders): New substituted variable.
31592         * sysdeps/unix/mkfifo.c: Moved ...
31593         * sysdeps/posix/mkfifo.c: ... here.
31594         * sysdeps/unix/mkfifoat.c: Moved ...
31595         * sysdeps/posix/mkfifoat.c: ... here.
31597         * sysdeps/unix/utime.c: Moved ...
31598         * sysdeps/posix/utime.c: ... here.
31600         * sysdeps/unix/time.c: Moved ...
31601         * sysdeps/posix/time.c: ... here.
31602         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31603         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31605         * sysdeps/unix/nice.c: Moved ...
31606         * sysdeps/posix/nice.c: ... here.
31608         * sysdeps/unix/alarm.c: Moved ...
31609         * sysdeps/posix/alarm.c: ... here.
31611         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31613 2012-08-17  Jeff Law <law@redhat.com>
31615         * intl/Makefile (codeset_mo): New variable.
31616         ($(codeset_mo)): New target.
31617         (tst-codeset.out): Depend on that.  Remove explicit rule.
31618         (tst-gettext3.out, tst-gettext5.out): Likewise.
31619         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31620         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31621         * intl/tst-codeset.sh: Remove.
31622         * intl/tst-gettext3.sh: Likewise.
31623         * intl/tst-gettext5.sh: Likewise.
31625 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31627         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31628         * sysdeps/unix/syscalls.list: ... here.
31630         * sysdeps/posix/getaddrinfo.c
31631         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31632         (gaiconf_init, gaiconf_reload): Use them.
31633         [!_STATBUF_ST_NSEC]
31634         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31635         Define using time_t rather than struct timespec.
31637         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31638         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31639         Macros removed.
31640         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31641         [!NO_THREADS].
31642         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31643         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31644         Likewise.
31646         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31647         __libc_cleanup_push argument.
31649         * bits/param.h: New file.
31650         * misc/sys/param.h: New file.
31651         * include/sys/param.h: New file.
31652         * misc/Makefile (headers): Add bits/param.h.
31653         * sysdeps/generic/sys/param.h: File removed.
31654         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31655         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31656         * sysdeps/mach/hurd/bits/param.h: New file.
31657         * sysdeps/mach/hurd/sys/param.h: File removed.
31659         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31660         last change.
31662         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31663         [_IO_MTSAFE_IO].
31664         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31665         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31666         New macros.
31668         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31669         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31670         rather than -D_IO_MTSAFE_IO conditionally.
31671         * stdio-common/Makefile (CPPFLAGS): Likewise.
31672         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31673         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31674         Use $(libio-mtsafe).
31675         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31676         of -D_IO_MTSAFE_IO.
31677         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31678         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31679         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31680         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31681         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31682         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31683         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31684         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31685         (CFLAGS-fread_u_chk.c): Likewise.
31686         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31687         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31688         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31689         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31690         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31691         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31692         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31693         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31694         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31696         * libio/Makefile: Test [$(libc-reentrant) = yes]
31697         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31699         * Makeconfig
31700         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31701         * sysdeps/pthread/configure: File removed.
31702         * sysdeps/pthread/Makeconfig: New file.
31703         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31704         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31706 2012-08-16  Gary Benson  <gbenson@redhat.com>
31708         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31709         unmapping the first object in a namespace.
31711 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31713         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31714         (__internal_setnetgrent): ... this.  Add internal_function to
31715         definition.  Add libc_hidden_def.
31716         (setnetgrent): Update caller.
31717         (internal_endnetgrent): Renamed to ...
31718         (__internal_endnetgrent): ... this.  Add internal_function to
31719         definition.  Add libc_hidden_def.
31720         (endnetgrent): Update caller.
31721         (internal_getnetgrent_r): Renamed to ...
31722         (__internal_getnetgrent_r): ... this.  Add internal_function to
31723         definition.  Add libc_hidden_def.
31724         (__getnetgrent_r): Update caller.
31725         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31727 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31729         * stdlib/longlong.h: Update from GCC.
31731 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31733         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31734         on _QL, which is set by umul_ppmm but never used.
31735         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31736         variables, which are set by GMP macros but never used.
31737         * stdio-common/_itowa.c (_itowa): Likewise.
31738         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31739         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31741 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31743         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31744         struct La_sh_regs is not constant.
31745         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31746         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31747         and struct La_sparc64_regs are not constant.
31749 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31751         * sysdeps/unix/sysv/linux/kernel-features.h
31752         (__ASSUME_POSIX_TIMERS): Remove.
31753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31754         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31755         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31756         Make code unconditional.
31757         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31758         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31759         Make code unconditional.
31760         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31761         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31762         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31763         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31764         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31765         Make code unconditional.
31766         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31767         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31768         (__libc_missing_posix_timers): Remove.
31770 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31772         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31773         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31775         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31777         * elf/dl-sym.c: Include <stdlib.h>.
31779         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31780         constants, which avoids warnings in 32-bit builds.
31782         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31783         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31785         * misc/lseek.c: File moved to ...
31786         * io/lseek.c: ... here.
31788         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31790         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31791         shifting LEN more than 31 bits at once.
31793 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31795         [BZ #14195]
31796         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31797         segmentation fault for a case of two empty input strings.
31798         * string/test-strncasecmp.c (check1): Renamed to...
31799         (bz12205): ...this.
31800         (bz14195): Add new testcase for two empty input strings and N > 0.
31801         (test_main): Call new testcase, adapt for renamed function.
31803 2012-08-15  Andreas Jaeger  <aj@suse.de>
31805         [BZ #14090]
31806         * crypt/md5test2.c: New test, based on test supplied by Serge
31807         Belyshev <belyshev@depni.sinp.msu.ru>.
31808         * crypt/Makefile (xtests): Add md5test-giant..
31809         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31811 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31813         [BZ #14090]
31814         * crypt/md5.c (md5_process_block): Don't assume the buffer
31815         length is less than 2**32.
31816         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31817         length is less than 2**64.
31819 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31821         * string/str-two-way.h: Include <sys/param.h>.
31822         (MAX): Macro removed.
31824         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31825         Move #define and #undef of memmove to just before and after
31826         including <string.h>.
31828         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31829         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31830         and after including <string.h>.  Move declarations of
31831         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31832         to before #include "string/memmove.c".
31834         * include/dirent.h: Declare __getdirentries.
31836         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31837         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31839 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31841         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31842         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31843         * sysdeps/i386/configure: Regenerated.
31844         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31845         STABS_CURRENT_FILE, and STABS_FUN.
31846         (END): Remove call to STABS_FUN_END.
31847         (STABS_CURRENT_FILE1): Delete.
31848         (STABS_CURRENT_FILE): Likewise.
31849         (STABS_FUN): Likewise.
31850         (STABS_FUN_END): Likewise.
31851         (STABS_FUN2): Likewise.
31852         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31853         * sysdeps/x86_64/configure: Regenerated.
31855 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31857         * elf/dl-open.c: Include <atomic.h>.
31858         * elf/dl-lookup.c: Likewise.
31860 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31862         * sysdeps/unix/sysv/linux/kernel-features.h
31863         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31864         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31865         unconditionally.
31866         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31867         unconditionally.
31868         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31869         condition on __ASSUME_CLONE_THREAD_FLAGS.
31871 2012-08-14  Andreas Jaeger  <aj@suse.de>
31873         * sysdeps/i386/fpu/libm-test-ulps: Update.
31875 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31877         * include/atomic.h (atomic_exchange_and_add): Split into ...
31878         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31879         New atomic macros.
31881 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31885 2012-08-13  Jeff Law <law@redhat.com>
31887         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31888         null byte in the output string.
31890 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31892         * sysdeps/unix/sysv/linux/kernel-features.h
31893         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31894         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31895         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31896         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31897         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31898         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31899         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31901 2012-08-09  Jeff Law <law@redhat.com>
31903         [BZ #13939]
31904         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31905         When avoid_arena is set, don't retry in the that arena.  Pick the
31906         next one, whatever it might be.
31907         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31908         (arena_lock): Pass in new parameter to arena_get2.
31909         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31910         arena_get2.
31911         (__libc_malloc): Unify retrying after main arena failure with
31912         __libc_memalign version.
31913         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31915 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31917         [BZ #14166]
31918         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31919         to __redirect_strstr.
31920         (__strstr_sse42): Use typeof __redirect_strstr.
31921         (__strstr_ia32): Likewise.
31922         (__libc_strstr): New prototype.
31923         (strstr): Renamed to ...
31924         (__libc_strstr): This.
31925         (strstr): New strong alias of __libc_strstr.
31926         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31927         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31928         __redirect_time.
31929         Include <time.h>.
31930         (__libc_time): New prototype.
31931         (time_ifunc): Replace time with __libc_time.
31932         (time): New strong alias and hidden definition of __libc_time.
31933         (__GI_time): Remove strong alias.
31934         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31935         Include <stddef.h>.
31936         (memmove): Redefined to __redirect_memmove.
31937         (__memmove_sse2): Use typeof __redirect_memmove.
31938         (__memmove_ssse3): Likewise.
31939         (__memmove_ssse3_back): Likewise.
31940         (__libc_memmove): New prototype.
31941         (memmove): Renamed to ...
31942         (__libc_memmove): This.
31943         (memmove): New strong alias of __libc_memmove.
31945 2012-08-08  Mark Salter  <msalter@redhat.com>
31947         * elf/elf.h
31948         (R_MN10300_TLS_GD): Define.
31949         (R_MN10300_TLS_LD): Likewise.
31950         (R_MN10300_TLS_LDO): Likewise.
31951         (R_MN10300_TLS_GOTIE): Likewise.
31952         (R_MN10300_TLS_IE): Likewise.
31953         (R_MN10300_TLS_LE): Likewise.
31954         (R_MN10300_TLS_DTPMOD): Likewise.
31955         (R_MN10300_TLS_DTPOFF): Likewise.
31956         (R_MN10300_TLS_TPOFF): Likewise.
31957         (R_MN10300_SYM_DIFF): Likewise.
31958         (R_MN10300_ALIGN): Likewise.
31959         (R_MN10300_NUM): Update.
31961 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31963         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31964         Remove.
31966 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31968         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31970         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31971         sysdeps/unix -> sysdeps/posix move.
31972         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31974 2012-08-07      Allan McRae     <allan@archlinux.org>
31976         [BZ #14303]
31977         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31978         (SUNOS_CPP): Likewise.
31979         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31980         not found.
31981         (open_input): Call CPP using execvp.
31983 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31985         * sysdeps/unix/sysv/linux/kernel-features.h
31986         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31987         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31988         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31989         (__ASSUME_WAITID_SYSCALL): Likewise.
31990         * sysdeps/unix/sysv/linux/dl-execstack.c
31991         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31992         code unconditional.
31993         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31994         conditional code.
31995         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31996         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31997         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31998         code.
31999         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32000         unconditional.
32001         [__ASSUME_WAITID_SYSCALL]: Likewise.
32002         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32004 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32006         * sysdeps/unix/closedir.c: Renamed to ...
32007         * sysdeps/posix/closedir.c: ... here.
32008         * sysdeps/unix/dirfd.c: Renamed to ...
32009         * sysdeps/posix/dirfd.c: ... here.
32010         * sysdeps/unix/dirstream.h: Renamed to ...
32011         * sysdeps/posix/dirstream.h: ... here.
32012         * sysdeps/unix/fdopendir.c: Renamed to ...
32013         * sysdeps/posix/fdopendir.c: ... here.
32014         * sysdeps/unix/opendir.c: Renamed to ...
32015         * sysdeps/posix/opendir.c: ... here.
32016         * sysdeps/unix/readdir.c: Renamed to ...
32017         * sysdeps/posix/readdir.c: ... here.
32018         * sysdeps/unix/readdir_r.c: Renamed to ...
32019         * sysdeps/posix/readdir_r.c: ... here.
32020         * sysdeps/unix/rewinddir.c: Renamed to ...
32021         * sysdeps/posix/rewinddir.c: ... here.
32022         * sysdeps/unix/seekdir.c: Renamed to ...
32023         * sysdeps/posix/seekdir.c: ... here.
32024         * sysdeps/unix/telldir.c: Renamed to ...
32025         * sysdeps/posix/telldir.c: ... here.
32026         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32027         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32028         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32029         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32031         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32032         * bits/fcntl.h: ... here.
32034         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32035         not 0.
32036         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32037         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32038         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32039         (struct flock): Move l_start, l_len to the beginning.
32040         Use __pid_t for l_pid.
32041         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32042         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32043         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32044         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32045         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32046         [__USE_LARGEFILE64] (struct flock64): New type.
32047         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32049         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32050         * bits/dirent.h: ... here.
32052         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32053         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32055 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32057         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32058         Change from 2.6.0 to 2.6.16.
32059         * sysdeps/unix/sysv/linux/configure: Regenerated.
32060         * sysdeps/unix/sysv/linux/kernel-features.h
32061         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32062         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32063         version.
32064         (__ASSUME_UTIMES): Likewise.
32065         (__ASSUME_CLONE_STOPPED): Remove.
32066         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32067         architectures, not kernel version.
32068         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32069         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32070         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32071         (__ASSUME_WAITID_SYSCALL): Likewise.
32072         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32073         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32074         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32075         refer to older versions.
32077 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32079         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32080         Define alphasort64 as an alias.
32081         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32082         Define versionsort64 as an alias.
32083         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32084         Define scandir64 as an alias.
32085         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32086         Define scandirat64 as an alias.
32087         * dirent/alphasort64.c (alphasort64):
32088         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32089         * dirent/versionsort64.c: Likewise.
32090         * dirent/scandir64.c: Likewise.
32091         * dirent/scandirat64.c: Likewise.
32092         * sysdeps/wordsize-64/alphasort.c: File removed.
32093         * sysdeps/wordsize-64/alphasort64.c: File removed.
32094         * sysdeps/wordsize-64/scandir.c: File removed.
32095         * sysdeps/wordsize-64/scandir64.c: File removed.
32096         * sysdeps/wordsize-64/scandirat.c: File removed.
32097         * sysdeps/wordsize-64/scandirat64.c: File removed.
32098         * sysdeps/wordsize-64/versionsort.c: File removed.
32099         * sysdeps/wordsize-64/versionsort64.c: File removed.
32100         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32101         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32102         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32103         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32104         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32105         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32106         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32107         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32109         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32111         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32112         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32113         [defined __arch64__ || defined __sparcv9]
32114         (__INO_T_MATCHES_INO64_T): New macro.
32115         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32116         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32117         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32118         * sysdeps/unix/sysv/linux/bits/dirent.h
32119         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32120         (_DIRENT_MATCHES_DIRENT64): New macro.
32122         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32123         Define lockf64 as an alias.
32124         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32125         Define fseeko64 as an alias.
32126         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32127         Define ftello64 as an alias.
32128         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32129         Define _IO_fgetpos64 and fgetpos64 as aliases.
32130         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32131         Define _IO_fsetpos64 and fsetpos64 as aliases.
32132         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32133         Conditionalize body on this.
32134         * libio/fseeko64.c: Likewise.
32135         * libio/ftello64.c: Likewise.
32136         * libio/iofgetpos64.c: Likewise.
32137         * libio/iofsetpos64.c: Likewise.
32138         * sysdeps/wordsize-64/lockf.c: File removed.
32139         * sysdeps/wordsize-64/lockf64.c: File removed.
32140         * sysdeps/wordsize-64/fseeko.c: File removed.
32141         * sysdeps/wordsize-64/fseeko64.c: File removed.
32142         * sysdeps/wordsize-64/ftello.c: File removed.
32143         * sysdeps/wordsize-64/ftello64.c: File removed.
32144         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32145         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32146         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32147         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32148         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32149         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32150         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32151         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32152         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32153         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32154         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32155         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32156         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32157         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32159         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32160         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32161         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32163         [defined __arch64__ || defined __sparcv9]
32164         (__OFF_T_MATCHES_OFF64_T): New macro.
32165         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32166         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32168         (__OFF_T_MATCHES_OFF64_T): New macro.
32170 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32172         * stdlib/secure-getenv.c (__secure_getenv): Replace
32173         GLIBC_2_16 with GLIBC_2_17.
32175 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32177         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32178         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32180 2012-08-03  David S. Miller  <davem@davemloft.net>
32182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32184 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32187         Remove.
32188         (__ASSUME_CORRECT_SI_PID): Likewise.
32189         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32190         (__ASSUME_TMPFS_NAME): Likewise.
32191         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32192         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32193         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32194         (HAVE_AUX_SECURE): Make definition unconditional.
32195         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32196         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32198 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32200         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32201         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32202         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32203         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32204         __eloop_threshold instead of SYMLOOP_MAX.
32206         * sysdeps/generic/eloop-threshold.h: New file.
32207         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32208         of MAXSYMLINKS.
32209         * elf/chroot_canon.c (chroot_canon): Likewise.
32211 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32213         [BZ #13717]
32214         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32215         Change to 2.6.0 everywhere.
32216         * sysdeps/unix/sysv/linux/configure: Regenerated.
32217         * sysdeps/unix/sysv/linux/kernel-features.h
32218         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32219         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32220         kernel versions.
32221         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32222         (__ASSUME_FUTEX_REQUEUE): Remove.
32223         (__ASSUME_STATFS64): Define unconditionally.
32224         (__ASSUME_AT_SECURE): Likewise.
32225         (__ASSUME_CORRECT_SI_PID): Likewise.
32226         (__ASSUME_TGKILL): Define without depending on kernel version for
32227         i386.
32228         (__ASSUME_UTIMES): Likewise.
32229         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32230         kernel version.
32231         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32232         (__ASSUME_TMPFS_NAME): Likewise.
32233         * README: Update reference to Linux kernel versions.
32235 2012-08-02  Marek Polacek  <polacek@redhat.com>
32237         [BZ# 14150]
32238         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32239         libc_cv_asm_type_prefix with %.
32240         * configure: Regenerated.
32241         * include/libc-symbols.h: Remove comment about
32242         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32243         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32244         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32245         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32246         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32247         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32248         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32249         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32250         * elf/tst-unique2mod1.c: Likewise.
32251         * elf/tst-unique1mod2.c: Likewise.
32252         * elf/tst-unique1mod1.c: Likewise.
32253         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32254         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32255         Replace ASM_TYPE_DIRECTIVE with .type.
32256         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32257         * sysdeps/i386/sysdep.h: Likewise.
32258         * sysdeps/x86_64/sysdep.h: Likewise.
32259         * sysdeps/sh/sysdep.h: Likewise.
32260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32261         Do not define ASM_TYPE_DIRECTIVE.
32262         * sysdeps/powerpc/sysdep.h: Likewise.
32263         * sysdeps/powerpc/powerpc32/sysdep.h:
32264         Replace ASM_TYPE_DIRECTIVE with .type.
32265         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32266         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32267         * sysdeps/i386/fpu/e_powf.S: Likewise.
32268         * sysdeps/i386/fpu/e_expl.S: Likewise.
32269         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32270         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32271         * sysdeps/i386/fpu/e_pow.S: Likewise.
32272         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32273         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32274         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32275         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32276         * sysdeps/i386/fpu/e_log2.S: Likewise.
32277         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32278         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32279         * sysdeps/i386/fpu/e_powl.S: Likewise.
32280         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32281         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32282         * sysdeps/i386/fpu/e_logl.S: Likewise.
32283         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32284         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32285         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32286         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32287         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32288         * sysdeps/i386/fpu/e_log.S: Likewise.
32289         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32290         * sysdeps/i386/fpu/e_logf.S: Likewise.
32291         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32292         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32293         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32294         * sysdeps/i386/fpu/e_log10.S: Likewise.
32295         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32296         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32297         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32298         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32299         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32300         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32301         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32302         * sysdeps/i386/i686/strtok.S: Likewise.
32303         * sysdeps/i386/i386-mcount.S: Likewise.
32304         * sysdeps/i386/strtok.S: Likewise.
32305         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32306         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32307         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32308         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32309         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32310         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32311         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32312         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32313         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32314         * sysdeps/x86_64/_mcount.S: Likewise.
32315         * sysdeps/x86_64/strtok.S: Likewise.
32316         * sysdeps/sh/_mcount.S: Likewise.
32318 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32320         * libio/iofopen.c: Include <fcntl.h>.
32321         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32322         (_IO_fopen64, fopen64): Define as aliases.
32323         * libio/iofopen64.c: Include <fcntl.h>.
32324         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32325         Conditionalize body on this.
32326         * sysdeps/wordsize-64/iofopen.c: File removed.
32327         * sysdeps/wordsize-64/iofopen64.c: File removed.
32329 2012-08-01  Marek Polacek  <polacek@redhat.com>
32331         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32332         Use dlfcn directly instead of a variable.
32333         (binfmt-subdir): Do not define.
32334         (dlfcn): Likewise.
32336 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32338         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32339         Remove all definitions.
32340         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32341         <kernel-features.h>.
32342         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32343         (miss_F_GETOWN_EX): Remove all definitions.
32344         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32345         macro definition.
32346         [!__ASSUME_FCNTL64]: Remove conditional code.
32347         [__ASSUME_FCNTL64]: Make code unconditional.
32348         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32349         <kernel-features.h>.
32350         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32351         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32352         (lockf64) [__NR_fcntl64]: Make code unconditional.
32353         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32355         * sysdeps/unix/sysv/linux/kernel-features.h
32356         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32357         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32358         Make code unconditional.
32359         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32360         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32362         [__NR_vfork]: Make code unconditional.
32363         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32364         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32366         [__NR_vfork]: Make code unconditional.
32367         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32368         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32370 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32372         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32373         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32375         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32376         Define mkstemp64 as an alias.
32377         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32378         Define mkstemps64 as an alias.
32379         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32380         Define mkostemp64 as an alias.
32381         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32382         Define mkostemps64 as an alias.
32383         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32384         Conditionalize body on this.
32385         * misc/mkostemp64.c: Likewise.
32386         * misc/mkostemps64.c: Likewise.
32387         * misc/mkstemps64.c: Likewise.
32388         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32389         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32390         * sysdeps/wordsize-64/mkostemp.c: File removed.
32391         * sysdeps/wordsize-64/mkstemp.c: File removed.
32392         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32393         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32394         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32395         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32397         [BZ #14138]
32398         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32399         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32400         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32401         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32403         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32404         compat_symbol macros from <shlib-compat.h> rather than the underlying
32405         default_symbol_version and symbol_version macros, so that DEFAULT
32406         lines in shlib-versions are respected.
32407         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32409 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32411         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32412         Declare with warn_unused_result.
32413         (setgid, setregid, setegid, setresgid): Likewise.
32414         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32415         Likewise.
32416         * WUR-REPORT: Remove set*id functions.
32418 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32420         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32422 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32424         [BZ #10191]
32425         * include/sys/socket.h (__libc_accept, __libc_accept4):
32426         Add attribute_hidden.
32427         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32429         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32430         use of PTR_MANGLE.
32431         * inet/getnetgrent_r.c (setup): Likewise.
32433         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32435 2012-07-31  David S. Miller  <davem@davemloft.net>
32437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32439 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32441         [BZ #13629]
32442         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32443         value between 1.0 and 2.0 and smaller part has absolute value less
32444         than 1.0.
32445         * math/s_clog10.c (__clog10): Likewise.
32446         * math/s_clog10f.c (__clog10f): Likewise.
32447         * math/s_clog10l.c (__clog10l): Likewise.
32448         * math/s_clogf.c (__clogf): Likewise.
32449         * math/s_clogl.c (__clogl): Likewise.
32450         * math/libm-test.inc (clog_test): Add more tests.
32451         (clog10_test): Likewise.
32452         * sysdeps/i386/fpu/libm-test-ulps: Update.
32453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32455 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32457         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32458         Exit with zero in case no suitable GID is found, and write a
32459         message to standard error.
32461 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32463         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32464         rather than to 1.
32465         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32466         (MAXPATHLEN): Removed.
32467         (NOGROUP, NODEV): New macros.
32468         (setbit, clrbit, isset, isclr): New macros.
32469         (howmany, roundup, powerof2): New macros.
32470         (DEV_BSIZE): New macro.
32472         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32473         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32475         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32476         definition on [!__NO_LONG_DOUBLE_MATH].
32478         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32479         PTR_MANGLE and PTR_DEMANGLE.
32481         * socket/accept4.c (accept4): Rename to __libc_accept4.
32482         Define accept4 as a weak alias.
32484         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32485         on [_DIRENT_HAVE_D_TYPE].
32486         * io/ftw.c (ftw_dir): Likewise.
32488         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32490         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32492         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32493         Use the BSD numbers rather than the arbitrary ones we had.
32494         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32495         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32496         (SIGXCPU, SIGXFSZ): New macros.
32497         (_NSIG): Now 32.
32499         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32500         initializer on [_LIBC_REENTRANT].
32502         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32503         definitions inside [_POSIX_MAPPED_FILES].
32505         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32507         * dirent/opendir.c: Include <fcntl.h>.
32509         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32510         (__libc_getspecific): Likewise.
32511         (__libc_key_create): Likewise.
32513         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32514         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32515         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32516         (tmpfile64): Define as alias.
32517         * sysdeps/wordsize-64/tmpfile.c: File removed.
32518         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32519         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32520         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32522         * stdio-common/vfscanf.c: Include <stdbool.h>.
32523         * nss/makedb.c: Likewise.
32524         * stdio-common/_i18n_number.h: Likewise.
32525         * argp/argp-help.c: Likewise.
32526         * posix/wordexp.c: Likewise.
32527         * sysdeps/posix/spawni.c: Likewise.
32528         * nss/nss_files/files-initgroups.c: Likewise.
32529         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32530         * nss/nss_files/files-initgroups.c: Likewise.
32531         * nss/nss_db/db-netgrp.c: Likewise.
32532         * nss/nss_db/db-initgroups.c: Likewise.
32533         * io/fchmodat.c: Include <sys/stat.h>.
32535         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32536         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32538         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32539         [HAVE_MMAP].
32541         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32542         Add multiple inclusion protection.
32544 2012-07-27  David S. Miller  <davem@davemloft.net>
32546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32548 2012-07-27  Gary Benson  <gbenson@redhat.com>
32550         [BZ #14298]
32551         * elf/rtld.c: Include <stap-probe.h>.
32552         (dl_main): Added static probes "init_start" and "init_complete".
32553         * elf/dl-load.c: Include <stap-probe.h>.
32554         (lose): Take new parameter "nsid".
32555         Added static probe "map_failed".
32556         (_dl_map_object_from_fd): Pass namespace id to lose.
32557         Added static probe "map_start".
32558         (open_verify): Pass namespace id to lose.
32559         * elf/dl-open.c: Include <stap-probe.h>.
32560         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32561         and "reloc_complete".
32562         * elf/dl-close.c: Include <stap-probe.h>.
32563         (_dl_close_worker): Added static probes "unmap_start" and
32564         "unmap_complete".
32565         * elf/rtld-debugger-interface.txt: New file documenting the above.
32567 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32569         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32570         rather than a string variable.
32571         * sunrpc/rpc_main.c (h_output): Likewise.
32572         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32574 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32576         * inet/check_native.c: New file.
32578 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32580         [BZ #13629]
32581         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32582         if larger part has absolute value 1.0.
32583         * math/s_clog10.c (__clog10): Likewise.
32584         * math/s_clog10f.c (__clog10f): Likewise.
32585         * math/s_clog10l.c (__clog10l): Likewise.
32586         * math/s_clogf.c (__clogf): Likewise.
32587         * math/s_clogl.c (__clogl): Likewise.
32588         * math/libm-test.inc (clog_test): Add more tests.
32589         (clog10_test): Likewise.
32590         * sysdeps/i386/fpu/libm-test-ulps: Update.
32591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32593         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32594         (pltexit): Likewise.
32595         (La_regs): Likewise.
32596         (La_retval): Likewise.
32597         (int_retval): Likewise.
32598         Update #error for removed macros to refer only to definitions in
32599         tst-audit.h.
32600         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32601         macro.
32602         (pltexit): Likewise.
32603         (La_regs): Likewise.
32604         (La_retval): Likewise.
32605         (int_retval): Likewise.
32606         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32607         macro.
32608         (pltexit): Likewise.
32609         (La_regs): Likewise.
32610         (La_retval): Likewise.
32611         (int_retval): Likewise.
32612         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32613         macro.
32614         (pltexit): Likewise.
32615         (La_regs): Likewise.
32616         (La_retval): Likewise.
32617         (int_retval): Likewise.
32618         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32619         macro.
32620         (pltexit): Likewise.
32621         (La_regs): Likewise.
32622         (La_retval): Likewise.
32623         (int_retval): Likewise.
32624         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32625         macro.
32626         (pltexit): Likewise.
32627         (La_regs): Likewise.
32628         (La_retval): Likewise.
32629         (int_retval): Likewise.
32630         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32631         macro.
32632         (pltexit): Likewise.
32633         (La_regs): Likewise.
32634         (La_retval): Likewise.
32635         (int_retval): Likewise.
32636         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32637         macro definitions in tst-audit.h.
32638         * sysdeps/i386/tst-audit.h: New file.
32639         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32640         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32641         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32642         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32643         * sysdeps/sh/tst-audit.h: Likewise.
32644         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32645         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32646         * sysdeps/x86_64/tst-audit.h: Likewise.
32648 2012-07-26  Andreas Jaeger  <aj@suse.de>
32650         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32651         ptrace.
32653         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32654         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32655         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32656         PTRACE_O_MASK.
32657         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32658         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32659         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32661         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32662         value.
32664         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32665         _sigsys.
32666         (si_call_addr, si_syscall, si_arch): Define new macro.
32667         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32668         _sigsys.
32669         (si_call_addr, si_syscall, si_arch): Define new marcro.
32670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32671         _sigsys.
32672         (si_call_addr, si_syscall, si_arch): Define new macro.
32673         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32674         _sigsys.
32675         (si_call_addr, si_syscall, si_arch): Define new macro.
32677 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32679         [BZ #13717]
32680         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32681         Change to 2.4.21 where previously 2.4.1.
32682         * sysdeps/unix/sysv/linux/configure: Regenerated.
32683         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32684         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32685         Linux kernel version.
32686         (__ASSUME_STD_AUXV): Remove.
32687         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32688         kernel version.
32689         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32690         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32691         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32692         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32693         (__ASSUME_NETLINK_SUPPORT): Likewise.
32694         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32695         (__no_netlink_support): Remove conditional definition.
32696         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32697         Remove.
32698         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32699         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32700         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32701         (if_nameindex_ioctl): Remove.
32702         (if_nameindex_netlink): Do not handle __no_netlink_support.
32703         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32704         code.
32705         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32706         Remove conditional code.
32707         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32708         code.
32709         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32710         unconditional.
32711         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32712         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32713         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32714         Remove.
32715         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32716         [!__ASSUME_STD_AUXV]: Remove conditional code.
32717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32718         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32719         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32721         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32722         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32723         code.
32724         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32726         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32727         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32728         conditional code.
32729         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32731         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32732         code.
32733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32734         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32735         conditional code.
32736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32737         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32738         code unconditional.
32739         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32740         conditional code.
32741         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32742         unconditional.
32743         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32744         conditional code.
32745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32746         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32747         unconditional.
32748         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32749         conditional code.
32750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32751         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32752         code unconditional.
32753         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32754         conditional code.
32755         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32756         unconditional.
32757         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32758         conditional code.
32759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32760         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32761         code unconditional.
32762         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32763         conditional code.
32764         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32765         unconditional.
32766         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32767         conditional code.
32769 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32771         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32772         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32773         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32774         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32775         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32776         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32777         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32778         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32779         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32780         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32781         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32782         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32783         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32784         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32785         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32786         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32787         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32788         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32789         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32791         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32792         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32793         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32795 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32797         * Versions.def: Add GLIBC_2.17.
32798         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32799         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32800         Introduce __libc_secure_getenv.
32801         * stdlib/Versions (2.17): Add secure_getenv
32802         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32803         * stdlib/secure-getenv.c: Rename __secure_getenv to
32804         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32805         symbol __secure_getenv for GLIBC_2.0.
32806         * stdlib/tst-secure-getenv.c: New.
32807         * stdlib/Makefile (tests): Add testcase.
32808         * manual/startup.texi (Environment Access): Document
32809         secure_getenv.
32810         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32811         __libc_secure_getenv.
32812         * inet/ruserpass.c (ruserpass): Likewise.
32813         * malloc/mtrace.c (mtrace): Likewise.
32814         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32815         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32816         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32817         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32818         HAVE_SECURE_GETENV.
32819         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32820         __secure_getenv to __libc_secure_getenv.
32821         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32823         Likewise.
32824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32825         Likewise.
32826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32828         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32834 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32836         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32837         (struct La_i86_retval): Likewise.
32838         (struct La_x86_64_regs): Likewise.
32839         (struct La_x86_64_retval): Likewise.
32840         (struct La_x32_regs): Likewise.
32841         (struct La_x32_retval): Likewise.
32842         (struct La_ppc32_regs): Likewise.
32843         (struct La_ppc32_retval): Likewise.
32844         (struct La_ppc64_regs): Likewise.
32845         (struct La_ppc64_retval): Likewise.
32846         (struct La_sh_regs): Likewise.
32847         (struct La_sh_retval): Likewise.
32848         (struct La_s390_32_regs): Likewise.
32849         (struct La_s390_32_retval): Likewise.
32850         (struct La_s390_64_regs): Likewise.
32851         (struct La_s390_64_retval): Likewise.
32852         (struct La_sparc32_regs): Likewise.
32853         (struct La_sparc32_retval): Likewise.
32854         (struct La_sparc64_regs): Likewise.
32855         (struct La_sparc64_retval): Likewise.
32856         (struct audit_ifaces): Remove architecture-specific pltenter and
32857         pltexit members.
32858         * sysdeps/i386/ldsodefs.h: New file.
32859         * sysdeps/powerpc/ldsodefs.h: Likewise.
32860         * sysdeps/s390/ldsodefs.h: Likewise.
32861         * sysdeps/sh/ldsodefs.h: Likewise.
32862         * sysdeps/sparc/ldsodefs.h: Likewise.
32863         * sysdeps/x86_64/ldsodefs.h: Likewise.
32865 2012-07-25  Marek Polacek  <polacek@redhat.com>
32867         [BZ #6808]
32868         * math/libm-test.inc (yn_test): Add another test.
32869         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32870         to ERANGE when the result is +-Inf.
32871         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32872         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32873         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32874         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32876 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32878         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32879         equal to 0.
32880         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32881         clock_t.
32882         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32884 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32886         * configure.in <sysdeps resolving>: Correct printing
32887         Implies_before.
32888         * configure: Regenerate.
32890 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32892         * math/w_ilogb.c: Include <limits.h>.
32893         * math/w_ilogbl.c: Likewise.
32895 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32897         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32898         va_copy.  Document allowing for unavailable va_copy only as
32899         pre-C99 compatibility.
32900         * manual/string.texi (Copying and Concatenation): Use va_copy
32901         instead of __va_copy in concat example.
32903 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32905         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32906         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32907         it if not null.
32909         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32910         with O_NOLINK passed to __file_name_lookup.
32912         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32913         with O_NOLINK passed to __file_name_lookup.
32915         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32916         negative N or less than NGIDS.
32918         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32919         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32920         enough.  Use memcpy instead of strncpy.
32922 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32924         * elf/Makefile (check-data): Remove.
32925         (localplt.data): New vpath directive.
32926         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32927         instead of $(check-data).
32928         * scripts/data/localplt-generic.data: Move to ...
32929         * sysdeps/generic/localplt.data: ... here.
32930         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32931         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32932         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32934         ... here.
32935         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32937         ... here.
32938         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32940         ... here.
32941         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32943         ... here.
32944         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32946         ... here.
32947         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32949         ... here.
32951 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32953         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32954         PPC32 and PPC64 files.
32955         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32956         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32958 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32960         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32961         __makecontext_ret to ...
32962         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32963         ... here and call exit if uc_link is NULL.  New file.
32964         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32965         __makecontext_ret.S.
32966         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32967         __makecontext_ret to ...
32968         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32969         ... here and call exit if uc_link is NULL.  New file.
32970         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32971         __makecontext_ret.S.
32973 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32975         * elf/elf.h (R_390_IRELATIVE): New definition.
32976         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32977         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32978         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32979         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32980         (elf_machine_lazy_rel): Likewise.
32981         * sysdeps/s390/dl-irel.h: New file.
32982         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32983         * sysdeps/s390/s390-64/memset.S: New asm code.
32984         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32985         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32987         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32988         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32989         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32990         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32991         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32992         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32993         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32994         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32995         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32996         * sysdeps/s390/s390-32/memset.S: New asm code.
32997         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32999 2012-07-17  Marek Polacek  <polacek@redhat.com>
33001         [BZ #14349]
33002         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33003         * sysdeps/s390/s390-64/configure.in: Likewise.
33004         * sysdeps/sparc/configure.in: Likewise.
33005         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33006         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33007         * sysdeps/i386/configure.in: Likewise.
33008         * sysdeps/x86_64/configure.in: Likewise.
33009         * sysdeps/sh/configure.in: Likewise.
33010         * sysdeps/s390/s390-32/configure: Regenerated.
33011         * sysdeps/s390/s390-64/configure: Likewise.
33012         * sysdeps/x86_64/configure: Likewise.
33013         * sysdeps/sh/configure: Likewise.
33014         * sysdeps/powerpc/powerpc64/configure: Likewise.
33015         * sysdeps/powerpc/powerpc32/configure: Likewise.
33016         * sysdeps/sparc/configure: Likwise.
33017         * sysdeps/i386/configure: Likewise.
33019         * elf/dl-open.c: Comment fixes.
33021 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33023         * Makefile [CXX] (check-data): Remove.
33024         [CXX] (c++-types.data): New vpath directive.
33025         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33026         vpath.  Do not allow for C++ type data being missing.
33027         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33028         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33029         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33030         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33031         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33032         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33033         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33035         ... here.
33036         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33038         ... here.
33039         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33041         ... here.
33042         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33044         ... here.
33045         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33047         ... here.
33048         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33050         ... here.
33051         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33053         ... here.
33054         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33057         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33058         definitions to architecture-specific files.
33059         (TLS_IE): Likewise.
33060         (TLS_LD): Likewise.
33061         (TLS_GD): Likewise.
33062         * sysdeps/i386/tls-macros.h: New file.
33063         * sysdeps/powerpc/tls-macros.h: Likewise.
33064         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33065         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33066         * sysdeps/sh/tls-macros.h: Likewise.
33067         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33068         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33069         * sysdeps/x86_64/tls-macros.h: Likewise.
33071 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33073         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33074         zero value for regular exit case.
33076         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33077         (__start_context): Preserve zero value for regular exit case.
33079 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33080             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33082         * manual/setjmp.texi (setcontext): Clarify normal process
33083         termination when uc_link is the null pointer.
33084         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33085         exit call.
33087 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33089         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33090         preprocessor.  Test for each exception mask separately.
33092 2012-07-16  Andreas Jaeger  <aj@suse.de>
33094         * po/ru.po: Update from translation team.
33096 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33098         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33099         equal to 0.
33100         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33101         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33102         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33103         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33106 2012-07-13  Andreas Jaeger  <aj@suse.de>
33108         * po/fr.po: Update from translation team.
33110 2012-07-12  Marek Polacek  <polacek@redhat.com>
33112         [BZ #14173]
33113         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33114         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33115         loop condition.
33117 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33119         [BZ #13717]
33120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33121         Change to 2.4.1 where previously 2.4.0.
33122         * sysdeps/unix/sysv/linux/configure: Regenerated.
33123         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33124         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33125         version.
33126         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33127         (__ASSUME_AT_CLKTCK): Remove.
33128         (__ASSUME_AT_PAGESIZE): Likewise.
33129         (__ASSUME_AT_XID): Likewise.
33130         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33131         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33132         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33133         unconditionally.
33134         (HAVE_AUX_PAGESIZE): Likewise.
33135         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33136         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33137         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33139 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33141         [BZ #14307]
33142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33143         the temporary buffer used to invoke __gethostbyname2_r,
33144         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33145         host_data / struct gaih_addrtuple.
33146         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33147         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33148         header file nss/nsswitch.h.
33149         * nss/nsswitch.h (global scope): Add definition of implementation
33150         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33151         resolv/nss_dns/dns-host.c).
33153 2012-07-11  Andreas Jaeger  <aj@suse.de>
33155         * po/fr.po: Update from translation team.
33157         * po/sv.po: Update from translation team
33158         * po/fr.po: Another update from translation team.
33160 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33162         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33163         for subnormals or multiply small sinh result by itself.
33164         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33167 2012-07-11  David S. Miller  <davem@davemloft.net>
33169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33171 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33173         [BZ #14347]
33174         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33175         (INTERNAL_MARK): Shift it here.
33177 2012-07-10  Marek Polacek  <polacek@redhat.com>
33179         [BZ #14151]
33180         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33181         libc_cv_asm_global_directive with .globl.
33182         * configure: Regenerated.
33183         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33184         with .globl.
33185         * sysdeps/i386/configure: Regenerated.
33186         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33187         with .globl.
33188         * sysdeps/x86_64/configure: Regenerated.
33189         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33190         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33191         * elf/tst-unique2mod2.c: Likewise.
33192         * elf/tst-unique2mod1.c: Likewise.
33193         * elf/tst-unique1mod2.c: Likewise.
33194         * elf/tst-unique1mod1.c: Likewise.
33195         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33196         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33197         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33198         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33199         * sysdeps/mach/sysdep.h: Likewise.
33200         * sysdeps/i386/sysdep.h: Likewise.
33201         * sysdeps/i386/i386-mcount.S: Likewise.
33202         * sysdeps/x86_64/_mcount.S: Likewise.
33203         * sysdeps/x86_64/sysdep.h: Likewise.
33204         * sysdeps/sh/_mcount.S: Likewise.
33205         * sysdeps/sh/sysdep.h: Likewise.
33206         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33207         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33208         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33209         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33210         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33211         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33212         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33213         * locale/localeinfo.h: Likewise.
33214         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33215         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33217 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33219         [BZ #14336]
33220         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33221         system".
33222         * manual/message.texi (The Uniforum approach): Likewise.
33223         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33224         (glibc iconv Implementation): Likewise.
33226 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33228         [BZ #14337]
33229         * math/s_clog.c (__clog): Avoid scaling a value down where that
33230         could result in underflow.
33231         * math/s_clog10.c (__clog10): Likewise.
33232         * math/s_clog10f.c (__clog10f): Likewise.
33233         * math/s_clog10l.c (__clog10l): Likewise.
33234         * math/s_clogf.c (__clogf): Likewise.
33235         * math/s_clogl.c (__clogl): Likewise.
33236         * math/libm-test.inc (clog_test): Add more tests.
33237         (clog10_test): Likewise.
33238         * sysdeps/i386/fpu/libm-test-ulps: Update.
33239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33241 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33243         [BZ #14283]
33244         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33245         by 7 not 8 to examine high bit of fractional part.
33247         [BZ #14042]
33248         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33249         for call to __mcount_internal.
33250         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33251         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33252         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33254 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33256         [BZ #14154]
33257         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33258         approximation for values within 0x1p-13f of an odd multiple of
33259         pi/4.
33260         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33261         exception.  Add more tests.
33262         * sysdeps/i386/fpu/libm-test-ulps: Update.
33264         [BZ #6778]
33265         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33266         inputs and return -1 for them.  Do not check for +Inf in case not
33267         reachable for +Inf.
33268         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33269         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33270         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33271         and return -1 for them.  Do not check for +Inf in case not
33272         reachable for +Inf.
33273         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33274         define.
33275         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33276         and return -1 for them.  Do not check for +Inf in case not
33277         reachable for +Inf.
33278         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33279         spurious underflow.
33280         * sysdeps/i386/fpu/libm-test-ulps: Update.
33281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33283 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33285         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33287 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33289         [BZ #14157]
33290         [BZ #14331]
33291         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33292         could result in spurious underflow.  Scale down values above
33293         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33294         * math/s_csqrtf.c (__csqrtf): Likewise.
33295         * math/s_csqrtl.c (__csqrtl): Likewise.
33296         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33297         spurious underflow.
33298         * sysdeps/i386/fpu/libm-test-ulps: Update.
33299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33301 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33303         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33304         xopen-msg.sed.
33305         * catgets/xopen-msg.awk: New file.
33306         * catgets/xopen-msg.sed: Removed.
33308         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33309         po2text.sed.
33310         * intl/po2test.awk: New file.
33311         * intl/po2test.sed: Removed.
33313 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33315         [BZ #14328]
33316         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33317         or multiply small sinh result by itself.
33318         * math/s_ctanf.c (__ctanf): Likewise.
33319         * math/s_ctanh.c (__ctanh): Likewise.
33320         * math/s_ctanhf.c (__ctanhf): Likewise.
33321         * math/s_ctanhl.c (__ctanhl): Likewise.
33322         * math/s_ctanl.c (__ctanl): Likewise.
33323         * math/libm-test.inc (ctan_test_tonearest): New function.
33324         (ctan_test_towardzero): Likewise.
33325         (ctan_test_downward): Likewise.
33326         (ctan_test_upward): Likewise.
33327         (ctanh_test_tonearest): Likewise.
33328         (ctanh_test_towardzero): Likewise.
33329         (ctanh_test_downward): Likewise.
33330         (ctanh_test_upward): Likewise.
33331         (main): Call these new functions.
33332         * sysdeps/i386/fpu/libm-test-ulps: Update.
33333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33335 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33337         * .gitignore: Delete /ports entry.
33339 2012-07-03  Andreas Jaeger  <aj@suse.de>
33341         * po/bg.po: Update from translation team.
33342         * po/cs.po: Likewise.
33343         * po/de.po: Likewise.
33344         * po/hr.po: Likewise.
33345         * po/nl.pl: Likewise.
33346         * po/pl.po: Likewise.
33347         * po/vi.po: Likewise.
33349 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33351         * Makeconfig [!+link] (+link-before-libc): New variable.
33352         [!+link] (+link-after-libc): Likewise.
33353         [!+link] (+link-tests): Likewise.
33354         [!+link] (+link): Define in terms of $(+link-before-libc) and
33355         $(+link-after-libc).
33356         [!+link-static] (+link-static-before-libc): New variable.
33357         [!+link-static] (+link-static-after-libc): Likewise.
33358         [!+link-static] (+link-static-tests): Likewise.
33359         [!+link-static] (+link-static): Define in terms of
33360         $(+link-static-before-libc) and $(+link-static-after-libc).
33361         [build-shared] (link-libc-before-gnulib): New variable.
33362         [build-shared] (link-libc-tests): Likewise.
33363         [build-shared] (link-libc): Define in terms of
33364         $(link-libc-before-gnulib).
33365         [!build-shared] (link-libc-tests): New variable.
33366         (link-libc-static-tests): New variable.
33367         [!gnulib] (gnulib-arch): New variable.
33368         [!gnulib] (gnulib-tests): Likewise.
33369         [!gnulib] (static-gnulib-arch): Likewise.
33370         [!gnulib] (static-gnulib-tests): Likewise.
33371         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33372         Define with "=" instead of ":=".
33373         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33374         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33375         * Rules (binaries-all-notests): New variable.
33376         (binaries-all-tests): Likewise.
33377         (binaries-static-notests): Likewise.
33378         (binaries-static-tests): Likewise.
33379         (binaries-all): Define using $(binaries-all-notests) and
33380         $(binaries-all-tests).
33381         (binaries-static): Define using $(binaries-static-notests) and
33382         $(binaries-static-tests).
33383         (binaries-shared-tests): New variable.
33384         (binaries-shared-notests): Likewise.
33385         (binaries-shared): Remove variable.
33386         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33387         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33388         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33389         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33390         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33391         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33392         * elf/Makefile (sln-modules): New variable.
33393         (extra-objs): Add $(sln-modules:=.o).
33394         (ldconfig-modules): Add static-stubs.
33395         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33396         * elf/static-stubs.c: New file.
33398         [BZ #14283]
33399         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33400         by 7 not 8 to examine high bit of fractional part.  Use volatile
33401         variables when splitting into final array of floats if
33402         __FLT_EVAL_METHOD__ != 0.
33403         * math/libm-test.inc (cos_test): Add another test.
33404         (sin_test): Likewise.
33405         * sysdeps/i386/fpu/libm-test-ulps: Update.
33407         [BZ #14273]
33408         * math/libm-test.inc (cosh_test): Add more tests.
33410         * version.h (RELEASE): Set to "development".
33411         (VERSION): Set to "2.16.90".
33413 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33415         * NEWS: Update copyright. Remove last-updated date.
33416         Mention math library bug fixes and timezone data changes.
33417         * README: Mention GNU/Hurd, x32, and HPPA support status.
33419 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33421         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33423 2012-06-27  Andreas Jaeger  <aj@suse.de>
33425         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33427 2012-06-25  Andreas Jaeger  <aj@suse.de>
33429         * sysdeps/s390/fpu/libm-test-ulps: Update.
33431 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33432             Thomas Schwinge  <thomas@codesourcery.com>
33434         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33435         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33437         fanotify_mark.
33439 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33441         * sysdeps/mach/start.c: Remove file.
33442         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33443         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33444         * sysdeps/sh/init-first.c: Likewise.
33446         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33447         registers for frame unwinding purposes, add CFI directives.
33448         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33450         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33451         Likewise.
33453         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33454         __fortify_fail returning.
33455         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33457         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33458         sysdeps/sh/____longjmp_chk.S.
33459         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33460         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33461         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33462         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33464         * sysdeps/sh/abort-instr.h: New file.
33465         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33466         process in case exit returns.
33468         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33469         initialize the GOT register before use.
33471         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33472         calculation of ARGC > 4.
33474         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33475         meaningful names to some local labels.
33477 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33478             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33480         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33481         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33482         (__arch_compare_and_exchange_val_16_acq): Likewise.
33483         (__arch_compare_and_exchange_val_32_acq): Likewise.
33484         (atomic_exchange_and_add): Fix gUSA sequence.
33485         (atomic_add): Likewise.
33486         (atomic_add_negative): Likewise.
33487         (atomic_add_zero): Likewise.
33488         (atomic_bit_test_set): Likewise.
33490 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33492         [BZ #13579]
33493         * include/link.h (struct link_map): Add l_free_initfini.
33494         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33495         l_initfini.
33496         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33497         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33498         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33499         set.
33501 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33503         * configure.in: Use AC_LANG_SOURCE.
33504         * configure: Regenerate.
33506 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33508         * configure.in (libc_cv_localstatedir): New substituted variable.
33509         * configure: Regenerated.
33510         * config.make.in (localstatedir): New variable, substituted from
33511         libc_cv_localstatedir.
33512         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33513         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33514         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33515         * sysdeps/gnu/configure: Regenerated.
33517 2012-06-21  Jeff Law  <law@redhat.com>
33519         [BZ #14277]
33520         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33521         free.  Simplify list management for _LIBC case.
33523 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33525         [BZ #14273]
33526         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33527         Clear sign bit of 64-bit integer value before comparing against
33528         overflow value.
33530         * sysdeps/mach/configure: Regenerated.
33532 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33534         [BZ #14278]
33535         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33537 2012-06-21  Jeff Law  <law@redhat.com>
33539         [BZ #13882]
33540         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33541         uint16_t for elements in the "seen" array to avoid char overflows.
33542         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33543         * elf/dl-open.c (dl_open_worker): Likewise.
33545 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33547         * scripts/list-sources.sh: Scan PORTS for translations.
33548         * po/libc.pot: Regenerated.
33550 2012-06-21  Andreas Jaeger  <aj@suse.de>
33552         [BZ #12194]
33553         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33554         warning.
33555         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33556         * bits/byteswap-16.h (__bswap_16): Likewise.
33557         * bits/byteswap.h (__bswap_constant_16): Likewise.
33559 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33561         [BZ #14117]
33562         * sysdeps/i386/fpu_control.h: Removed.
33563         * sysdeps/x86_64/fpu_control.h: Moved to ...
33564         * sysdeps/x86/fpu_control.h: Here.
33566         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33567         (_FPU_SETCW): Likewise.
33569 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33571         [BZ #14117]
33572         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33573         * sysdeps/x86/fpu/bits/mathinline.h: This.
33574         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33576         [BZ #14050]
33577         [BZ #14117]
33578         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33579         functions if __x86_64__ is defined.
33581 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33583         * string/endian.h: Add !__ASSEMBLER__ condition for including
33584         conversion interfaces.
33586 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33588         [BZ #14241]
33589         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33590         of ABS(x) in calculating zero to negative powers other than odd
33591         integers.
33592         * math/libm-test.inc (pow_test): Add more tests.
33594 2012-06-15  Andreas Jaeger  <aj@suse.de>
33596         * manual/contrib.texi (Contributors): Update entry of Liubov
33597         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33598         Machado Filho.
33600 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33602         * string/string.h: Add __wur to GNU version of strerror_r.
33604 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33606         [BZ #14229]
33607         * string/Makefile (tests): Add tst-strtok_r.
33608         * string/tst-strtok_r.c: New file.
33609         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33610         RAX_LP/RDX_LP on SAVE_PTR.
33612 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33614         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33616 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33618         * libm_test.inc (csqrt_test): Allow more spurious underflow
33619         exceptions.
33620         (j0_test): Likewise.
33621         (j1_test): Likewise.
33622         (y0_test): Likewise.
33623         (y1_test): Likewise.
33625 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33627         * po/Makefile (libc.pot): Use UTF-8 charset.
33629 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33631         [BZ #14210]
33632         Suppress sign-conversion warning from FD_SET.
33633         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33634         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33635         not unsigned long int.
33636         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33638 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33640         [BZ #14050]
33641         [BZ #14117]
33642         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33643         __extern_always_inline instead of __extern_inline.
33644         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33645         (__signbit): Likewise.
33646         (__signbitl): Support C++ namespace.
33647         (lrintf): New inline function.
33648         (lrint): Likewise.
33649         (llrintf): Likewise.
33650         (llrint): Likewise.
33651         (fmaxf): Likewise.
33652         (fmax): Likewise.
33653         (fminf): Likewise.
33654         (fmin): Likewise.
33655         (rint): Likewise.
33656         (rintf): Likewise.
33657         (ceil): Likewise.
33658         (ceilf): Likewise.
33659         (floor): Likewise.
33660         (floorf): Likewise.
33661         (nearbyint): Likewise.
33662         (nearbyintf): Likewise.
33664 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33666         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33667         non-default versions.
33669 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33671         [BZ #14218]
33672         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33674 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33676         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33677         (FE_UPWARD, FE_DOWNWARD): Don't define.
33678         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33679         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33682         reading it.
33683         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33684         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33686 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33688         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33689         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33690         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33691         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33693 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33695         [BZ #14117]
33696         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33697         * sysdeps/i386/fpu/Implies: New file.
33698         * sysdeps/x86_64/fpu/Implies: Likewise.
33699         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33700         * sysdeps/x86/fpu/bits/fenv.h: This.
33702         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33703         __SSE_MATH__.
33705 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33707         [BZ #14134]
33708         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33709         character 0xffff that matches the last element of the
33710         conversion table.
33712 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33715         fmodl commit.
33717 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33720         values higher than 25.6283.
33722 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33725         subnormal exponent extraction and add some __builtin_expect.
33726         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33727         Fix for subnormal mantissa calculation.
33729 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33731         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33732         cpu2 is -1 and errno is not ENOSYS.
33734 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33736         [BZ #14117]
33737         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33738         * sysdeps/x86/bits/string.h: This.
33739         * sysdeps/x86_64/bits/string.h: Removed.
33741         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33742         if not compiling for x86-64, but compiling for >= i486.
33744         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33745         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33747         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33748         New macro from Linux kernel 3.4.0.
33749         (FP_XSTATE_MAGIC2): Likewise.
33750         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33751         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33752         (struct _fpx_sw_bytes): New struct.
33753         (struct _xsave_hdr): Likewise.
33754         (struct _ymmh_state): Likewise.
33755         (struct _xstate): Likewise.
33757         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33758         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33759         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33760         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33761         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33762         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33764         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33765         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33766         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33767         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33768         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33769         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33771 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33773         [BZ #13743]
33774         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33775         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33776         (sysdep_headers): Include sys/platform/ppc.h.
33777         * sysdeps/powerpc/test-gettimebase.c: Test for
33778         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33779         * manual/Makefile (appendices): Include platform.texi.
33780         * manual/contrib.texi (Contributors): Update @node pointers.
33781         * manual/maint.texi (Maintenance): Likewise.
33782         (Platform): New node.
33783         * manual/platform.texi: New file.  Document the new features.
33785 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33786             Jakub Jelinek  <jakub@redhat.com>
33788         [BZ #14188]
33789         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33790         where __builtin_expect is unavailable.
33792 2012-06-03  David S. Miller  <davem@davemloft.net>
33794         * stdlib/longlong.h: Updated from GCC.
33796 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33798         [BZ #14042]
33799         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33800         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33801         __mcount_internal.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33803         (GLIBC_2.16): Likewise.
33805 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33807         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33809 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33812         (default-abi): New variable.
33813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33814         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33815         variable.
33816         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33817         Likewise.
33818         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33819         Likewise.
33820         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33821         Likewise.
33823         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33824         definition.  Document in comment.
33826 2012-06-01  David S. Miller  <davem@davemloft.net>
33828         * stdlib/longlong.h: Updated from GCC.
33830 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33832         [BZ #14117]
33833         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33834         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33835         sys/debugreg.h sys/io.h here.
33836         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33837         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33838         sys/io.h.
33839         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33840         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33841         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33842         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33843         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33844         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33846         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33847         Define only if __x86_64__ is defined.
33849 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33851         [BZ #14048]
33852         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33853         Use int64_t for variable i.
33854         * math/libm-test.inc (fmod_test): Add more tests.
33856         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33857         z computation is not scheduled after fetestexcept.
33858         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33859         Use math_force_eval instead of asm to ensure calculation scheduled
33860         before exception test.
33861         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33862         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33864 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33867         computation is not scheduled after fetestexcept.
33869 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33871         [BZ #14117]
33872         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33873         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33875 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33877         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33878         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33880 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33882         [BZ #14117]
33883         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33884         <bits/wordsize.h>.
33885         (__WCHAR_MIN): Support __WORDSIZE == 64.
33886         (__WCHAR_MAX): Likewise.
33888         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33889         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33891         [BZ #14183]
33892         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33893         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33895         [BZ #14117]
33896         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33897         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33899         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33900         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33902         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33903         Defined to 1 if __x86_64__ isn't defined.
33904         (_STAT_VER_LINUX_OLD): New.
33905         (st_atime): Remove duplicate.
33906         (st_mtime): Likewise.
33907         (st_ctime): Likewise.
33909 2012-05-31  David S. Miller  <davem@davemloft.net>
33911         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33912         entries.
33914 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33916         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33917         gen-libm-test.pl.
33919         [BZ #14132]
33920         * elf/dl-reloc.c: Include <_itoa.h>.
33921         (_dl_reloc_bad_type): Remove use of INTUSE.
33922         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33923         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33924         * stdio-common/psiginfo.c (psiginfo): Likewise.
33925         * stdio-common/psignal.c (psignal): Likewise.
33926         * string/strsignal.c (strsignal): Likewise.
33927         * include/signal.h (_sys_siglist): Declare hidden proto.
33928         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33929         INTVARDEF with libc_hidden_data_def.
33930         * stdio-common/itoa-udigits.c: Likewise.
33931         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33932         (_itoa_lower_digits_internal): Remove declaration.
33933         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33934         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33935         (_sys_sigabbrev_internal): Remove aliases.
33936         (_sys_siglist): Define hidden alias.
33938 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33941         bits/sysctl.h.
33943 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33945         [BZ #14117]
33946         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33947         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33949         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33950         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33951         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33952         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33953         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33954         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33956         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33957         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33958         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33960         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33961         with __addr.
33962         (insw): Likewise.
33963         (insl): Likewise.
33964         (outsb): Likewise.
33965         (outsw): Likewise.
33966         (outsl): Likewise.
33968         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33970         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33972         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33973         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33974         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33975         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33976         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33977         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33979         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33980         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33982         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33983         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33985         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33986         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33987         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33989         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33990         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33991         to ...
33992         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33994         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33995         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33996         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33998         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33999         for x86-64.
34000         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34002 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34004         * math/math.h (M_El): Use two more decimal places.
34005         (M_LOG2El): Likewise.
34006         (M_LOG10El): Likewise.
34007         (M_LN2l): Likewise.
34008         (M_LN10l): Likewise.
34009         (M_PIl): Likewise.
34010         (M_PI_2l): Likewise.
34011         (M_PI_4l): Likewise.
34012         (M_1_PIl): Likewise.
34013         (M_2_PIl): Likewise.
34014         (M_2_SQRTPIl): Likewise.
34015         (M_SQRT2l): Likewise.
34016         (M_SQRT1_2l): Likewise.
34018 2012-05-31  David S. Miller  <davem@davemloft.net>
34020         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34021         values between float registers.
34022         * sysdeps/sparc/sparc64/memset.S: Likewise.
34023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34025 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34027         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34028         -D_FORTIFY_SOURCE=1.
34029         (CPPFLAGS-tst-longjmp_chk.c): Define.
34030         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34031         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34032         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34033         CFLAGS-tst-wchar-h.c.
34035 2012-05-31  Marek Polacek  <polacek@redhat.com>
34037         [BZ #14132]
34038         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34039         __endmntent_internal): Remove declaration.
34040         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34041         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34042         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34044 2012-05-30  David S. Miller  <davem@davemloft.net>
34046         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34047         (___Q_simulate_exceptions): Use real FP ops rather than writing
34048         into the %fsr.
34049         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34050         Likewise.
34052 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34054         [BZ #14117]
34055         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34056         * sysdeps/x86/bits/xtitypes.h: This.
34058         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34059         * sysdeps/x86/bits/wordsize.h: This.
34061         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34062         * sysdeps/x86/bits/huge_vall.h: This.
34064         * sysdeps/i386/bits/select.h: Removed.
34065         * sysdeps/x86_64/bits/select.h: Renamed to ...
34066         * sysdeps/x86/bits/select.h: This.
34068         * sysdeps/i386/bits/setjmp.h: Removed.
34069         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34070         * sysdeps/x86/bits/setjmp.h: This.
34072         * sysdeps/i386/bits/mathdef.h: Removed.
34073         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34074         * sysdeps/x86/bits/mathdef.h: This.
34076 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34078         [BZ #14132]
34079         * include/sys/socket.h (__connect_internal)
34080         (__libc_sa_len_internal): Remove declaration.
34081         (__connect, __libc_sa_len): Declare hidden_proto.
34082         (SA_LEN): Remove use of INTUSE.
34083         * socket/connect.c: Add libc_hidden_def.
34084         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34085         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34086         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34087         alias.
34088         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34089         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34090         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34091         of adding _internal alias.
34093 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34095         [BZ #14117]
34096         * sysdeps/i386/bits/link.h: Removed.
34097         * sysdeps/i386/bits/linkmap.h: Likewise.
34098         * sysdeps/x86_64/bits/link.h: Renamed to ...
34099         * sysdeps/x86/bits/link.h: This.
34100         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34101         * sysdeps/x86/bits/linkmap.h: This.
34103         * sysdeps/i386/bits/endian.h: Removed.
34104         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34105         * sysdeps/x86/bits/endian.h: This.
34107         * sysdeps/i386/bits/byteswap.h: Removed.
34108         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34109         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34110         * sysdeps/x86/bits/byteswap.h: This.
34111         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34112         * sysdeps/x86/bits/byteswap-16.h: This.
34113         * sysdeps/i386/Implies: Add x86.
34114         * sysdeps/x86_64/Implies: Likewise.
34116 2012-05-30  David S. Miller  <davem@davemloft.net>
34118         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34119         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34120         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34121         (FP_TRAPPING_EXCEPTIONS): Define.
34122         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34123         (FP_TRAPPING_EXCEPTIONS): Define.
34124         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34125         subnormals only when inexact has been signalled or underflow
34126         exceptions are enabled.
34127         (_FP_PACK_CANONICAL): Likewise.
34129 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34131         [BZ #14183]
34132         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34133         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34135 2012-05-30  Richard Henderson  <rth@twiddle.net>
34137         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34138         with #ifndef NOT_IN_libc.
34140         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34141         marked to avoid plt entry.
34143 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34145         [BZ #14112]
34146         * Makeconfig (default-abi): New macro.
34147         (abi-includes): Likewise.
34148         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34149         $(abi-$(default-abi)-lib-soname) for soname if defined.
34150         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34151         abi-variants.
34152         * Makefile (installed-stubs): Likewise.
34153         * include/stubs-biarch.h: Removed.
34154         * scripts/lib-names.awk: Only handle one library at a time.
34155         * scripts/soversions.awk: Remove WORDSIZE support.
34156         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34157         entries.
34158         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34159         Removed.
34160         (syscall-list-default-condition): Likewise.
34161         (syscall-list-default-condition): Likewise.
34162         (syscall-list-includes): Likewise.
34163         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34164         syscall-list-* with abi-*.  Handle undefined abi-variants.
34165         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34166         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34167         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34168         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34169         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34170         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34171         Removed.
34172         (syscall-list-32-options): Likewise.
34173         (syscall-list-32-condition): Likewise.
34174         (syscall-list-64-options): Likewise.
34175         (syscall-list-64-condition): Likewise.
34176         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34177         macro.
34178         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34179         Renamed to ...
34180         (abi-*): This.
34181         (abi-64-ld-soname): New macro.
34182         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34183         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34184         Renamed to ...
34185         (abi-*): This.
34186         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34187         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34189 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34191         * sysdeps/unix/sysv/linux/kernel-features.h
34192         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34193         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34194         include <kernel-features.h>.
34195         [!__NR_ftruncate64]: Remove conditional code.
34196         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34197         [__NR_ftruncate64]: Make code unconditional.
34198         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34199         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34200         include <kernel-features.h>.
34201         [!__NR_ftruncate64]: Remove conditional code.
34202         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34203         [__NR_ftruncate64]: Make code unconditional.
34204         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34206         include <kernel-features.h>.
34207         [!__NR_ftruncate64]: Remove conditional code.
34208         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34209         [__NR_ftruncate64]: Make code unconditional.
34210         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34212         include <kernel-features.h>.
34213         [!__NR_ftruncate64]: Remove conditional code.
34214         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34215         [__NR_ftruncate64]: Make code unconditional.
34216         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34218         * configure.in (libc_cv_fpie): Weaken to a compile test using
34219         LIBC_TRY_CC_OPTION.
34220         * configure: Regenerated.
34222 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34228         Refreshed.
34229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34235         Refreshed.
34237 2012-05-27  David S. Miller  <davem@davemloft.net>
34239         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34240         (___Q_zero): New.
34241         (__Q_simulate_exceptions): Return void.  Change to simulate
34242         exceptions by writing into the %fsr.
34243         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34244         (__Qp_handle_exceptions): Likewise.
34245         (numbers): Delete.
34246         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34247         __Qp_handle_exceptions.
34248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34249         __Qp_handle_exceptions.
34250         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34251         as unused and give dummy FP_RND_NEAREST initializer.
34252         (FP_INHIBIT_RESULTS): Define.
34253         (___Q_simulate_exceptions): Update declaration.
34254         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34255         formatting.
34256         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34257         as unused and give dummy FP_RND_NEAREST initializer.
34258         (__Qp_handle_exceptions): Update declaration.
34259         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34260         formatting.
34262 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34264         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34265         the temporary FPU control word.
34266         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34267         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34268         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34269         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34270         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34271         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34272         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34273         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34274         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34275         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34276         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34278 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34280         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34281         fields.
34283 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34285         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34286         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34287         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34288         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34289         Likewise.
34290         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34291         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34292         Likewise.
34294 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34296         * po/h.po: Update from translation team.
34298 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34300         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34302         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34303         handling of denormals.
34304         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34305         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34306         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34307         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34308         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34310         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34311         Likewise.
34313 2012-05-26  Marek Polacek  <polacek@redhat.com>
34315         [BZ #14152]
34316         * math/libm-test.inc (fma_test): Don't always expect underflow
34317         exception.
34319 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34321         [BZ #12416]
34322         * elf/tst-execstack.c: Include stackinfo.h.
34323         (do_test): Adjust test case to ensure that pthread_getattr_np
34324         behaviour remains the same after marking stack executable.
34326 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34328         * sysdeps/unix/sysv/linux/kernel-features.h
34329         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34330         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34331         kernel-features.h.
34332         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34333         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34334         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34335         kernel-features.h.
34336         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34337         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34339 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34341         * configure.in: Define the default includes to being none.
34342         * configure: Regenerated.
34344 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34346         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34347         * sysdeps/x86_64/setjmp.S: Likewise.
34348         * sysdeps/i386/bsd-setjmp.S: Likewise.
34349         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34350         * sysdeps/i386/setjmp.S: Likewise.
34351         * sysdeps/i386/__longjmp.S: Likewise.
34352         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34353         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34355         * include/stap-probe.h: New file.
34356         * configure.in: Handle --enable-systemtap.
34357         * configure: Regenerated.
34358         * config.h.in (USE_STAP_PROBE): New #undef.
34359         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34360         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34361         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34363 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34365         [BZ #13717]
34366         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34367         to 2.4.0 where earlier.
34368         * sysdeps/unix/sysv/linux/configure: Regenerated.
34369         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34370         <kernel-features.h>.
34371         [__ASSUME_32BITUIDS]: Make code unconditional.
34372         [!__ASSUME_32BITUIDS]: Remove conditional code.
34373         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34374         <kernel-features.h>.
34375         [__ASSUME_32BITUIDS]: Make code unconditional.
34376         [!__ASSUME_32BITUIDS]: Remove conditional code.
34377         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34378         [__ASSUME_32BITUIDS]: Make code unconditional.
34379         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34380         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34381         <kernel-features.h>.
34382         [__ASSUME_32BITUIDS]: Make code unconditional.
34383         [!__ASSUME_32BITUIDS]: Remove conditional code.
34384         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34385         <kernel-features.h>.
34386         [__ASSUME_32BITUIDS]: Make code unconditional.
34387         [!__ASSUME_32BITUIDS]: Remove conditional code.
34388         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34389         <kernel-features.h>.
34390         [__ASSUME_32BITUIDS]: Make code unconditional.
34391         [!__ASSUME_32BITUIDS]: Remove conditional code.
34392         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34393         <kernel-features.h>.
34394         [__ASSUME_32BITUIDS]: Make code unconditional.
34395         [!__ASSUME_32BITUIDS]: Remove conditional code.
34396         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34397         <kernel-features.h>.
34398         [__ASSUME_32BITUIDS]: Make code unconditional.
34399         [!__ASSUME_32BITUIDS]: Remove conditional code.
34400         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34401         <kernel-features.h>.
34402         [__ASSUME_32BITUIDS]: Make code unconditional.
34403         [!__ASSUME_32BITUIDS]: Remove conditional code.
34404         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34405         <kernel-features.h>.
34406         [__ASSUME_32BITUIDS]: Make code unconditional.
34407         [!__ASSUME_32BITUIDS]: Remove conditional code.
34408         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34409         <kernel-features.h>.
34410         [__ASSUME_32BITUIDS]: Make code unconditional.
34411         [!__ASSUME_32BITUIDS]: Remove conditional code.
34412         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34413         <kernel-features.h>.
34414         [__ASSUME_32BITUIDS]: Make code unconditional.
34415         [!__ASSUME_32BITUIDS]: Remove conditional code.
34416         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34417         <kernel-features.h>.
34418         [__ASSUME_32BITUIDS]: Make code unconditional.
34419         [!__ASSUME_32BITUIDS]: Remove conditional code.
34420         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34421         <kernel-features.h>.
34422         [__NR_setresgid] (__setresgid): Do not declare.
34423         [__ASSUME_32BITUIDS]: Make code unconditional.
34424         [!__ASSUME_32BITUIDS]: Remove conditional code.
34425         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34426         <kernel-features.h>.
34427         [__NR_setresuid] (__setresuid): Do not declare.
34428         [__ASSUME_32BITUIDS]: Make code unconditional.
34429         [!__ASSUME_32BITUIDS]: Remove conditional code.
34430         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34431         <kernel-features.h>.
34432         [__ASSUME_32BITUIDS]: Make code unconditional.
34433         [!__ASSUME_32BITUIDS]: Remove conditional code.
34434         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34435         <kernel-features.h>.
34436         [__ASSUME_32BITUIDS]: Make code unconditional.
34437         [!__ASSUME_32BITUIDS]: Remove conditional code.
34438         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34439         <kernel-features.h>.
34440         [__ASSUME_32BITUIDS]: Make code unconditional.
34441         [!__ASSUME_32BITUIDS]: Remove conditional code.
34442         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34443         <kernel-features.h>.
34444         [__ASSUME_32BITUIDS]: Make code unconditional.
34445         [!__ASSUME_32BITUIDS]: Remove conditional code.
34446         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34447         <kernel-features.h>.
34448         [__ASSUME_32BITUIDS]: Make code unconditional.
34449         [!__ASSUME_32BITUIDS]: Remove conditional code.
34450         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34451         <kernel-features.h>.
34452         [__ASSUME_32BITUIDS]: Make code unconditional.
34453         [!__ASSUME_32BITUIDS]: Remove conditional code.
34454         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34455         <kernel-features.h>.
34456         [__ASSUME_32BITUIDS]: Make code unconditional.
34457         [!__ASSUME_32BITUIDS]: Remove conditional code.
34458         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34459         <kernel-features.h>.
34460         [__ASSUME_32BITUIDS]: Make code unconditional.
34461         [!__ASSUME_32BITUIDS]: Remove conditional code.
34462         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34463         <kernel-features.h>.
34464         [__ASSUME_32BITUIDS]: Make code unconditional.
34465         [!__ASSUME_32BITUIDS]: Remove conditional code.
34466         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34467         <kernel-features.h>.
34468         [__ASSUME_32BITUIDS]: Make code unconditional.
34469         [!__ASSUME_32BITUIDS]: Remove conditional code.
34470         * sysdeps/unix/sysv/linux/kernel-features.h
34471         (__ASSUME_SETRESUID_SYSCALL): Remove.
34472         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34473         (__ASSUME_32BITUIDS): Likewise.
34474         (__ASSUME_LDT_WORKS): Likewise.
34475         (__ASSUME_O_DIRECTORY): Likewise.
34476         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34477         architecture but not kernel version.
34478         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34479         (__ASSUME_MMAP2_SYSCALL): Likewise.
34480         (__ASSUME_STAT64_SYSCALL): Likewise.
34481         (__ASSUME_IPC64): Likewise.
34482         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34483         <kernel-features.h>.
34484         [__ASSUME_32BITUIDS]: Make code unconditional.
34485         [!__ASSUME_32BITUIDS]: Remove conditional code.
34486         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34487         <kernel-features.h>.
34488         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34489         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34490         132096]: Remove conditional code.
34491         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34492         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34493         <kernel-features.h>.
34494         [__ASSUME_32BITUIDS]: Make code unconditional.
34495         [!__ASSUME_32BITUIDS]: Remove conditional code.
34496         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34497         <kernel-features.h>.
34498         [__ASSUME_32BITUIDS]: Make code unconditional.
34499         [!__ASSUME_32BITUIDS]: Remove conditional code.
34500         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34501         <kernel-features.h>.
34502         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34503         unconditional.
34504         (__setresgid): Do not declare.
34505         [__ASSUME_32BITUIDS]: Make code unconditional.
34506         [!__ASSUME_32BITUIDS]: Remove conditional code.
34507         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34508         <kernel-features.h>.
34509         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34510         unconditional.
34511         (__setresuid): Do not declare.
34512         [__ASSUME_32BITUIDS]: Make code unconditional.
34513         [!__ASSUME_32BITUIDS]: Remove conditional code.
34514         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34515         <kernel-features.h>.
34516         [__ASSUME_32BITUIDS]: Make code unconditional.
34517         [!__ASSUME_32BITUIDS]: Remove conditional code.
34518         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34519         <kernel-features.h>.
34520         [__ASSUME_32BITUIDS]: Make code unconditional.
34521         [!__ASSUME_32BITUIDS]: Remove conditional code.
34523 2012-05-25  Richard Henderson  <rth@twiddle.net>
34525         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34526         dl_hwcap to ifunc resolver.
34527         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34528         elf_ifunc_invoke.
34529         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34530         dl_hwcap to ifunc resolver.
34531         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34533 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34535         [BZ #14153]
34536         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34537         for |x| <= 2**-26, not 2**-57.
34538         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34539         exception.
34541 2012-05-24  Jeff Law  <law@redhat.com>
34543         * stdio-common/Makefile (tests): Add bug25.
34544         * stdio-common/bug25.c: New test.
34546 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34548         [BZ #13576]
34549         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34550         multiple of MALLOC_ALIGNMENT in size.
34551         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34553 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34555         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34556         Require >= 256.
34557         (FILENAME_MAX): Use macro-int-constant.
34558         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34559         (_IOFBF): Use macro-int-constant.
34560         (_IOLBF): Likewise.
34561         (_IONBF): Likewise.
34562         (SEEK_CUR): Likewise.
34563         (SEEK_END): Likewise.
34564         (SEEK_SET): Likewise.
34565         (TMP_MAX): Likewise.
34566         (EOF): Use macro-int-constant.  Require < 0.
34567         (NULL): Use macro-constant.  Require == 0.
34568         (stdin): Require type to be FILE *.
34569         (stdout): Likewise.
34570         (stderr): Likewise.
34571         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34572         macro-int-constant.
34573         (EXIT_SUCCESS): Likewise.
34574         (NULL): Use macro-constant.  Require == 0.
34575         (RAND_MAX): Use macro-int-constant.
34576         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34577         [C99-based standards] (strtof): Require function.
34578         [C99-based standards] (strtold): Likewise.
34579         [C99-based standards] (strtoll): Likewise.
34580         [C99-based standards] (strtoull): Likewise.
34581         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34582         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34583         [ISO || ISO99 || ISO11] (math.h): Likewise.
34584         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34585         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34588 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34590         [BZ #14132]
34591         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34592         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34593         * intl/dgettext.c (DCGETTEXT): Likewise.
34594         * intl/gettext.c (DCGETTEXT): Likewise.
34595         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34596         * posix/regex_internal.h (gettext): Likewise.
34597         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34598         Remove declaration.
34599         * include/argz.h (__argz_count_internal)
34600         (__argz_stringify_internal): Remove declaration.
34601         (__argz_count, __argz_stringify): Declare hidden proto.
34602         * intl/dcgettext.c: Remove use of INTDEF.
34603         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34604         * string/argz-stringify.c: Likewise.
34605         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34606         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34607         Declare hidden proto.
34608         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34609         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34610         Declare hidden proto.
34611         * include/stdio.h (__asprintf_internal): Don't declare.
34612         (__asprintf): Don't define as macro.  Declare hidden proto.
34613         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34614         (__fsetlocking): Declare hidden proto.
34615         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34616         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34617         hidden proto.
34618         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34619         (_IO_setlinebuf): Remove use of INTUSE.
34620         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34621         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34622         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34623         Remove declaration.
34624         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34625         (_IO_do_flush): Remove use of INTUSE.
34626         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34627         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34628         (_IO_adjust_column, _IO_least_wmarker)
34629         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34630         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34631         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34632         (_IO_default_doallocate, _IO_wdefault_doallocate)
34633         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34634         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34635         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34636         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34637         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34638         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34639         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34640         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34641         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34642         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34643         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34644         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34645         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34646         proto.
34647         (_IO_flush_all_internal, _IO_adjust_column_internal)
34648         (_IO_default_uflow_internal, _IO_default_finish_internal)
34649         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34650         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34651         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34652         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34653         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34654         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34655         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34656         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34657         (_IO_file_close_internal, _IO_file_close_it_internal)
34658         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34659         (_IO_file_init_internal, _IO_file_attach_internal)
34660         (_IO_file_fopen_internal, _IO_file_read_internal)
34661         (_IO_file_sync_internal, _IO_file_seek_internal)
34662         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34663         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34664         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34665         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34666         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34667         (_IO_list_all_internal, _IO_link_in_internal)
34668         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34669         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34670         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34671         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34672         (_IO_do_write_internal, _IO_padn_internal)
34673         (_IO_getline_info_internal, _IO_getline_internal)
34674         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34675         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34676         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34677         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34678         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34679         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34680         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34681         with libc_hidden_ver, remove use of INTUSE.
34682         * libio/genops.c: Likewise.
34683         * libio/freopen.c: Likewise.
34684         * libio/freopen64.c: Likewise.
34685         * libio/iofclose.c: Likewise.
34686         * libio/iofdopen.c: Likewise.
34687         * libio/iofflush.c: Likewise.
34688         * libio/iofflush_u.c: Likewise.
34689         * libio/iofgets.c: Likewise.
34690         * libio/iofgets_u.c: Likewise.
34691         * libio/iofopen.c: Likewise.
34692         * libio/iofopncook.c: Likewise.
34693         * libio/iofread.c: Likewise.
34694         * libio/iofread_u.c: Likewise.
34695         * libio/ioftell.c: Likewise.
34696         * libio/iofwrite.c: Likewise.
34697         * libio/iogetline.c: Likewise.
34698         * libio/iogets.c: Likewise.
34699         * libio/iogetwline.c: Likewise.
34700         * libio/iopadn.c: Likewise.
34701         * libio/iopopen.c: Likewise.
34702         * libio/ioseekoff.c: Likewise.
34703         * libio/ioseekpos.c: Likewise.
34704         * libio/iosetbuffer.c: Likewise.
34705         * libio/iosetvbuf.c: Likewise.
34706         * libio/ioungetc.c: Likewise.
34707         * libio/ioungetwc.c: Likewise.
34708         * libio/iovdprintf.c: Likewise.
34709         * libio/iovsprintf.c: Likewise.
34710         * libio/iovsscanf.c: Likewise.
34711         * libio/memstream.c: Likewise.
34712         * libio/obprintf.c: Likewise.
34713         * libio/oldfileops.c: Likewise.
34714         * libio/oldiofclose.c: Likewise.
34715         * libio/oldiofdopen.c: Likewise.
34716         * libio/oldiofopen.c: Likewise.
34717         * libio/oldiopopen.c: Likewise.
34718         * libio/oldstdfiles.c: Likewise.
34719         * libio/putc.c: Likewise.
34720         * libio/setbuf.c: Likewise.
34721         * libio/setlinebuf.c: Likewise.
34722         * libio/stdfiles.c: Likewise.
34723         * libio/strops.c: Likewise.
34724         * libio/vasprintf.c: Likewise.
34725         * libio/vscanf.c: Likewise.
34726         * libio/vsnprintf.c: Likewise.
34727         * libio/vswprintf.c: Likewise.
34728         * libio/wfiledoalloc.c: Likewise.
34729         * libio/wfileops.c: Likewise.
34730         * libio/wgenops.c: Likewise.
34731         * libio/wmemstream.c: Likewise.
34732         * libio/wstrops.c: Likewise.
34733         * libio/__fpurge.c: Likewise.
34734         * libio/__fsetlocking.c: Likewise.
34735         * assert/assert.c: Likewise.
34736         * debug/fgets_chk.c: Likewise.
34737         * debug/fgets_u_chk.c: Likewise.
34738         * debug/fread_chk.c: Likewise.
34739         * debug/fread_u_chk.c: Likewise.
34740         * debug/gets_chk.c: Likewise.
34741         * debug/obprintf_chk.c: Likewise.
34742         * debug/vasprintf_chk.c: Likewise.
34743         * debug/vdprintf_chk.c: Likewise.
34744         * debug/vsnprintf_chk.c: Likewise.
34745         * debug/vsprintf_chk.c: Likewise.
34746         * malloc/mtrace.c: Likewise.
34747         * misc/error.c: Likewise.
34748         * misc/syslog.c: Likewise.
34749         * stdio-common/asprintf.c: Likewise.
34750         * stdio-common/fxprintf.c: Likewise.
34751         * stdio-common/getw.c: Likewise.
34752         * stdio-common/isoc99_fscanf.c: Likewise.
34753         * stdio-common/isoc99_scanf.c: Likewise.
34754         * stdio-common/isoc99_vfscanf.c: Likewise.
34755         * stdio-common/isoc99_vscanf.c: Likewise.
34756         * stdio-common/isoc99_vsscanf.c: Likewise.
34757         * stdio-common/printf-prs.c: Likewise.
34758         * stdio-common/printf_fp.c: Likewise.
34759         * stdio-common/printf_fphex.c: Likewise.
34760         * stdio-common/printf_size.c: Likewise.
34761         * stdio-common/putw.c: Likewise.
34762         * stdio-common/scanf.c: Likewise.
34763         * stdio-common/sprintf.c: Likewise.
34764         * stdio-common/tmpfile.c: Likewise.
34765         * stdio-common/vfprintf.c: Likewise.
34766         * stdio-common/vfscanf.c: Likewise.
34767         * stdlib/strfmon_l.c: Likewise.
34768         * sunrpc/openchild.c: Likewise.
34769         * sunrpc/xdr_stdio.c: Likewise.
34770         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34771         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34773 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34775         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34777         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34778         in the third column, to generate for the shared library an IFUNC
34779         that uses _dl_vdso_vsym.
34780         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34781         * Makeconfig (object-suffixes-noshared): New variable.
34783         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34784         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34785         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34786         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34788         [BZ #14132]
34789         * include/sys/time.h (__gettimeofday): Remove macro.
34790         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34791         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34792         Remove INTDEF.
34793         (__gettimeofday): Add libc_hidden_def.
34794         (gettimeofday): Add libc_hidden_weak.
34795         * sysdeps/mach/gettimeofday.c: Likewise.
34796         * sysdeps/posix/gettimeofday.c: Likewise.
34797         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34798         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34799         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34800         (__gettimeofday_internal): Remove strong_alias.
34801         (__gettimeofday): Add libc_hidden_def.
34802         (gettimeofday): Add libc_hidden_weak.
34803         * sysdeps/unix/syscalls.list (gettimeofday):
34804         Remove __gettimeofday_internal alias.
34806 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34807             H.J. Lu  <hongjiu.lu@intel.com>
34809         [BZ #12495]
34810         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34811         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34812         (largebin_index_32_big): New.
34813         (largebin_index): Use it for 16-byte alignment.
34814         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34815         correction with front_misalign.
34817 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34821         Likewise.
34822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34823         Likewise.
34824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34825         Likewise.
34826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34827         Likewise.
34828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34829         Likewise.
34830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34831         Likewise.
34832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34833         Likewise.
34834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34835         Likewise.
34836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34837         Likewise.
34838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34839         Likewise.
34840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34841         Likewise.
34842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34843         Likewise.
34845         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34846         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34848 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34850         [BZ #10846]
34851         [BZ #14036]
34852         * math/libm-test.inc (exp_test): Add test from bug 14036.
34853         (pow_test): Add test from bug 10846.
34855         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34856         and other flags.
34857         (special_function): Do not include flags in test name.
34858         (parse_args): Likewise.
34859         * sysdeps/i386/fpu/libm-test-ulps: Update.
34860         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34861         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34862         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34865         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34866         exceptions.
34867         * math/libm-test.inc ("Philosophy"): Update comment about
34868         exception testing.
34869         (UNDERFLOW_EXCEPTION): New macro.
34870         (UNDERFLOW_EXCEPTION_OK): Likewise.
34871         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34872         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34873         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34874         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34875         (INVALID_EXCEPTION_OK): Update value.
34876         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34877         (OVERFLOW_EXCEPTION_OK): Likewise.
34878         (IGNORE_ZERO_INF_SIGN): Likewise.
34879         (test_exceptions): Handle underflow exceptions.
34880         (acos_test): Update for underflow exception expectations.
34881         (cexp_test): Likewise.
34882         (clog_test): Likewise.
34883         (clog10_test): Likewise.
34884         (csqrt_test): Likewise.
34885         (ctan_test): Likewise.
34886         (ctanh_test): Likewise.
34887         (exp_test): Likewise.
34888         (exp10_test): Likewise.
34889         (exp2_test): Likewise.
34890         (expm1_test): Likewise.
34891         (fma_test): Likewise.
34892         (j0_test): Likewise.
34893         (jn_test): Likewise.
34894         (nexttoward_test): Likewise.
34895         (pow_test): Likewise.
34896         (scalbn_test): Likewise.
34897         (scalbln_test): Likewise.
34898         (tan_test): Likewise.
34899         (y1_test): Likewise.
34900         * sysdeps/i386/fpu/libm-test-ulps: Update.
34901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34903 2012-05-23  David S. Miller  <davem@davemloft.net>
34905         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34906         (__libc_sigaction): Remove unused local variables.
34908 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34910         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34912 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34914         mktime: avoid signed integer overflow
34915         * time/mktime.c (__mktime_internal): Do not mishandle the case
34916         where diff == INT_MIN.
34918         mktime: simplify computation of average
34919         * time/mktime.c (ranged_convert): Use new time_t_avg function
34920         instead of rolling our own (probably-slower) code.
34922         mktime: do not assume signed right shift propagates sign bit
34923         * time/mktime.c (isdst_differ): New static function.
34924         (__mktime_internal): No need to normalize tm_isdst now.
34925         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34926         tm_isdst values.
34928         mktime: merge another wrapv change from gnulib
34929         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34930         from some compilers.
34932         mktime: remove incorrect attempt at unusual arithmetics
34933         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34934         The code didn't really work on such machines anyway.
34935         (TYPE_MINIMUM): Assume two's complement.
34936         (twos_complement_arithmetic): Verify that long_int and time_t
34937         are two's complement (or unsigned, in the latter case).
34939         mktime: check signed shifts on long_int and time_t, too
34940         * time/mktime.c (SHR): Check that shifts work as desired
34941         on the types long_int and time_t too, as SHR is used on
34942         such types.
34944         mktime: do not assume 'long' is wide enough
34945         * time/mktime.c (verify): Move decl up.
34946         (long_int): New type.
34947         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34948         to remove assumption in the code that 'long' is wide enough to
34949         store year values.  This assumption is not true on x32 and on
34950         some non-glibc platforms.
34952         mktime: merge wrapv change from gnulib
34953         * time/mktime.c (WRAPV): New macro.
34954         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34955         (guess_time_tm, __mktime_internal): Do not assume that signed
34956         integer overflow wraps around; modern compilers generate code
34957         where this assumption is no longer valid.
34959 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34961         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34962         Replace "jmp L(pseudo_end)" with "ret".
34963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34964         Likewise.
34966 2012-05-23  Andreas Jaeger  <aj@suse.de>
34968         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34969         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34971 2012-05-23  Andreas Jaeger  <aj@suse.de>
34972             Maximilian Attems  <max@stro.at>
34974         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34975         New macros.
34977 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34979         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34980         code so that pseudo_end is just ret and the stack pointer is
34981         correct also for static library in error case.
34983 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34985         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34986         move to syscalls.list.
34987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34992         * manual/install.texi (Running make install): Do not mention Linux
34993         kernel version for which pt_chown is not needed.
34994         (Linux): Do not mention problems with nscd with 2.0 kernels.
34995         * INSTALL: Regenerated.
34997 2012-05-23  Andreas Jaeger  <aj@suse.de>
34999         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35000         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35001         macro.
35002         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35003         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35004         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35005         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35006         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35007         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35009         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35010         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35011         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35012         * sysdeps/unix/sysv/linux/bits/in.h
35013         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35015 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35017         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35018         (PREPARE_VERSION): Just use assert instead, it will be elided
35019         under [NDEBUG] anyway.
35021 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35023         * sysdeps/unix/sysv/linux/Makefile: Include
35024         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35025         (sysdep_routines): Remove sysctl.
35026         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35027         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35028         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35029         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35030         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35032 2012-05-22  Andreas Jaeger  <aj@suse.de>
35034         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35035         that pseudo_end is just ret and the stack pointer is correct also
35036         for static library in error case.
35038 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35040         [BZ #14122]
35041         * nss/nsswitch.c (defconfig_entries): New variable.
35042         (__nss_database_lookup): Don't leak defconfig entries.
35043         (nss_parse_service_list): Don't leak on error paths.
35044         (free_database_entries): New function.
35045         (free_defconfig): New function.
35046         (free_mem): Move common code to free_database_entries.
35048 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35050         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35051         Add arch_prctl.
35052         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35054         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35055         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35057         New macro.
35058         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35059         (INTERNAL_SYSCALL_TYPES): Likewise.
35060         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35061         (LOAD_REGS_TYPES_[1-6]): Likewise.
35062         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35063         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35065 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35067         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35068         copysignl for GLIBC_2_0.
35069         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35070         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35072         logbl for GLIBC_2_0.
35073         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35074         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35076 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35078         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35079         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35081         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35082         Use "neg %eax".
35084         * time/mktime.c: Update copyright years.
35086 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35088         mktime: merge comment-quoting-style change from gnulib
35089         * time/mktime.c: Quote 'like this' in comments.
35090         The GNU coding standards suggest that we no longer quote `like this',
35091         as "`" and "'" are typically rendered asymmetrically nowadays.
35092         The typical gnulib style is to quote 'like this' when quoting
35093         code, and "like this" when quoting English.
35095         * time/mktime.c (compile-command): Add "-I.".
35097         mktime: merge mktime-internal.h change from gnulib
35098         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35100         mktime: merge time_r change from gnulib
35101         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35103         mktime: merge DEBUG change from gnulib
35104         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35105         case system <time.h> has a #define.
35107         mktime: merge <sys/types.h> change from gnulib
35108         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35109         since <time.t> is now guaranteed to define time_t.
35111         mktime: merge HAVE_CONFIG_H change from gnulib
35112         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35114 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35117         Use "neg %eax".
35119         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35120         __rlim_t cast.
35121         (struct rusage): Use anonymous union to pad each field to
35122         __syscall_slong_t.
35124 2012-05-21  David S. Miller  <davem@davemloft.net>
35126         * Makefules (o-iterator): Remove .s cases.
35127         (compile-command.s): Delete.
35128         (COMPILE.s): Delete.
35129         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35131 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35133         * configure.in (libc_cv_predef_stack_protector): Only consider
35134         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35135         * configure: Regenerated.
35137 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35140         New macro.  Use R*LP on int and pointer.
35141         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35142         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35143         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35144         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35146         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35147         [__WORDSIZE_TIME64_COMPAT32] instead of
35148         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35149         (struct utmp): Likewise.
35150         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35151         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35152         Renamed to ...
35153         (__WORDSIZE_TIME64_COMPAT32): This.
35154         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35155         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35156         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35157         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35158         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35159         (__WORDSIZE_TIME64_COMPAT32): New macro.
35161 2012-05-21  Andreas Jaeger  <aj@suse.de>
35163         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35164         only if [SHARED]. Add prototype for __wcschr_ia32.
35166 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35168         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35169         of %rbp unmolested in the jmp_buf while mangling the low bits.
35170         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35171         unmolested high bits of %rbp while demangling the low bits.
35172         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35174 2012-05-21  Andreas Jaeger  <aj@suse.de>
35176         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35177         * sunrpc/svc_simple.c: Use it for registerrpc.
35178         * sunrpc/xcrypt.c: Use it for passwd2des.
35180         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35182 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35184         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35185         Don't define if [__SYSCALL_WORDSIZE != 32].
35186         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35187         New macro.
35189 2012-05-21  Bruno Haible  <bruno@clisp.org>
35190             Andreas Jaeger  <aj@suse.de>
35192         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35193         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35194         inptr and inend for must_buffer_ch.
35195         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35196         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35197         * stdio-common/Makefile (tests): Remove bug15.
35198         (bug15-ENV): Remove macro.
35199         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35200         anymore.
35202 2012-05-19  Andreas Jaeger  <aj@suse.de>
35203             Roland McGrath  <roland@hack.frob.com>
35205         * manual/contrib.texi: Completely rewritten. It contains now an
35206         alphabetical list of contributors and their contributions.
35208 2012-05-21  Richard Henderson  <rth@twiddle.net>
35210         * misc/getauxval.c (__getauxval): Use unsigned long int.
35211         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35212         (getauxval): Use unsigned long int.
35214 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35216         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35218 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35220         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35221         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35222         __alignof__ (long double).
35224 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35228 2012-05-20  Richard Henderson  <rth@twiddle.net>
35230         * misc/getauxval.c: New file.
35231         * misc/sys/auxv.h: New file.
35232         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35233         (routines): Add getauxval.
35234         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35235         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35236         * elf/dl-sysdep.c (_dl_auxv): Remove.
35237         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35238         * elf/dl-support.c (_dl_auxv): New variable.
35239         (_dl_aux_init): Initialize it.
35240         * manual/startup.texi (Auxiliary Vector): New node.
35241         * sysdeps/generic/bits/hwcap.h: New file.
35242         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35243         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35244         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35245         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35246         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35247         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35249         Update.
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35253         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35259 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35263 2012-05-19  David S. Miller  <davem@davemloft.net>
35265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35267 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35269         [BZ #14123]
35270         * math/s_ccosh.c: Include <float.h>
35271         (__ccosh): Avoid internal overflow calculating sinh and cosh
35272         values before multiplying by sin and cos values.
35273         * math/s_ccoshf.c: Likewise.
35274         * math/s_ccoshl.c: Likewise.
35275         * math/s_csin.c: Likewise.
35276         * math/s_csinf.c: Likewise.
35277         * math/s_csinl.c: Likewise.
35278         * math/s_csinh.c: Likewise.
35279         * math/s_csinhf.c: Likewise.
35280         * math/s_csinhl.c: Likewise.
35281         * math/libm-test.inc (ccos_test): Add more tests.
35282         (ccosh_test): Likewise.
35283         (csin_test): Likewise.
35284         (csinh_test): Likewise.
35285         * sysdeps/i386/fpu/libm-test-ulps: Update.
35286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35288 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35290         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35291         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35293         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35295 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35297         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35298         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35299         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35300         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35301         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35302         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35303         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35304         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35305         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35306         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35307         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35308         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35309         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35310         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35311         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35312         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35313         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35314         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35315         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35316         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35317         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35318         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35319         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35320         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35321         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35322         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35323         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35324         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35325         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35326         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35327         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35329 2012-05-18  Andreas Jaeger  <aj@suse.de>
35331         * csu/.gitignore: Delete.
35333 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35335         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35336         (timex): Use __syscall_slong_t.
35338 2012-05-18  Andreas Jaeger  <aj@suse.de>
35339             Carlos O'Donell  <carlos_odonell@mentor.com>
35341         * manual/install.texi (Configuring and compiling): Update
35342         description about files modified in the source directory.
35343         * INSTALL: Regenerated.
35345 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35347         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35348         value.  Use "or" to set return value to -1.
35349         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35350         negate return value.
35352 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35354         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35355         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35356         failure if the compiler has Graphite support disabled.
35357         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35358         Likewise.
35359         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35360         (CFLAGS-memmove.c): Likewise.
35361         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35362         Likewise.
35364 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35366         * sysdeps/x86_64/x32/_itoa.h: New file.
35368         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35369         getdents system call only if kernel and user dirents have the
35370         same d_ino and d_off.
35372         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35373         LLONG_MAX != LONG_MAX.
35374         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35375         (_fitoa_word): Likewise.
35377         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35378         years.
35379         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35380         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35381         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35383         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35384         include <bits/wordsize.h>.  Check __x86_64__ instead of
35385         __WORDSIZE.
35386         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35387         if __x86_64__ is defined.  Use anonymous union on fpstate.
35389         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35390         anonymous union.
35392 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35394         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35395         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35396         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35397         Refer to _rtld_local_ro instead of _rtld_global_ro.
35398         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35399         Likewise.
35400         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35401         Likewise.
35402         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35403         Likewise.
35404         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35405         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35406         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35408         * sysdeps/powerpc/powerpc32/dl-machine.c
35409         (__elf_machine_runtime_setup) [PROF]: Don't reference
35410         _dl_prof_resolve.
35412 2012-05-18  Andreas Jaeger  <aj@suse.de>
35414         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35415         function only available for GCCs before 3.4 since GCC 3.4
35416         introduced a builtin.
35417         (lrint): Likewise.
35418         (llrintf): Likewise.
35419         (llrint): Likewise.
35420         (fmaxf): Likewise.
35421         (fmax): Likewise.
35422         (fminf): Likewise.
35423         (fmin): Likewise.
35424         (rint): Likewise.
35425         (rintf): Likewise.
35426         (nearbyint): Likewise.
35427         (nearbyintf): Likewise.
35428         (ceil): Likewise.
35429         (ceilf): Likewise.
35430         (floor): Likewise.
35431         (floorf): Likewise.
35433 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35435         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35436         on both fields and cast pointer to __syscall_ulong_t.
35438         * bits/types.h (__fsword_t): New type.
35439         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35440         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35441         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35442         (__FSWORD_T_TYPE): Likewise.
35443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35444         (__FSWORD_T_TYPE): Likewise.
35445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35446         (__FSWORD_T_TYPE): Likewise.
35447         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35448         (__FSWORD_T_TYPE): Likewise.
35449         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35450         __SWORD_TYPE with __fsword_t.
35451         (statfs64): Likewise.
35453 2012-05-17  David S. Miller  <davem@davemloft.net>
35455         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35457 2012-05-17  Andreas Jaeger  <aj@suse.de>
35459         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35460         warning.
35462 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35464         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35466 2012-05-17  Andreas Jaeger  <aj@suse.de>
35468         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35469         when it is used.
35471 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35473         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35475 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35477         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35478         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35480 2012-05-17  Andreas Jaeger  <aj@suse.de>
35481             Carlos O'Donell  <carlos_odonell@mentor.com>
35483         [BZ #14059]
35484         * sysdeps/x86_64/multiarch/init-arch.h
35485         (bit_YMM_Usable): Rename to...
35486         (bit_AVX_Usable): ... this.
35487         (bit_FMA4_Usable): New macro.
35488         (bit_XMM_state): New macro.
35489         (bit_YMM_state): New macro.
35490         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35491         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35492         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35493         (CPUID_OSXSAVE): New macro.
35494         (CPUID_AVX): New macro.
35495         (CPUID_FMA4): New macro.
35496         (index_YMM_Usable): Rename to...
35497         (index_AVX_Usable): ... this.
35498         (HAS_AVX): Use HAS_ARCH_FEATURE.
35499         (HAS_FMA4): Likewise.
35500         (HAS_YMM_USABLE): Remove.
35501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35502         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35503         are present.
35504         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35505         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35506         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35507         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35508         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35510 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35512         * math/libm-test.c: Support platforms without multiple rounding modes.
35513         * math/bug-nextafter.c: Support platforms without FP exceptions.
35514         * math/bug-nexttoward.c: Likewise.
35515         * math/test-fenv.c: Likewise.
35516         * math/test-misc.c: Likewise.
35517         * stdlib/bug-getcontext.c: Likewise.
35519 2012-05-17  Andreas Jaeger  <aj@suse.de>
35521         * manual/examples/search.c (critter_cmp): Change signature to
35522         avoid warnings.
35523         * manual/string.texi (Collation Functions): Likewise.
35525 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35527         * bits/types.h: Fold copyright years.
35528         * bits/typesizes.h: Likewise.
35529         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35532         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35533         * time/time.h: Likewise.
35535 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35537         [BZ #208]
35538         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35539         in instead of returning them.  Return void.
35540         (__libc_mallinfo): Accumulate over all arenas.
35541         (__malloc_stats): Adjust for change in int_mallinfo interface.
35543 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35545         [BZ #10375]
35546         * configure.in (NM): Add AC_CHECK_TOOL for it.
35547         (libc_extra_cflags): New substituted variable.
35548         Check for -fstack-protector being used implicitly.
35549         * configure: Regenerated.
35550         * config.make.in (config-extra-cflags): New variable,
35551         gets @libc_extra_cflags@.
35552         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35554         [BZ #10375]
35555         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35556         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35557         * configure: Regenerated.
35558         * config.make.in (CPPUNDEFS): New substituted variable.
35559         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35560         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35561         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35565         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35566         (mq_attr): Use __syscall_slong_t.
35568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35570         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35571         Check __x86_64__ instead of __WORDSIZE.
35572         (_STAT_VER_LINUX): Likewise.
35573         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35574         __syscall_ulong_t and __syscall_slong_t.
35575         (stat64): Likewise.
35577 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35579         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35581 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35583         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35585 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35587         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35588         __syscall_ulong_t.
35590         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35591         include <bits/wordsize.h>.  Check __x86_64__ instead of
35592         __WORDSIZE.
35593         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35594         defined.
35595         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35597         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35598         include <bits/wordsize.h>.  Check __x86_64__ instead of
35599         __WORDSIZE.
35600         (user_regs_struct): Use "__extension__ unsigned long long"
35601         instead of "unsigned long" if __x86_64__ is defined.
35602         (user): Likewise.  Pad after pointer field if __ILP32__ is
35603         defined.
35605 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35607         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35608         versions 5 to 9.
35609         * configure: Regenerated.
35610         * manual/install.texi (texinfo): Increase version requirement to
35611         4.5 or later.
35612         * INSTALL: Regenerated.
35614         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35618         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35620         * sysdeps/x86_64/x32/ffs.c: New file.
35622         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35623         __syscall_ulong_t.
35624         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35625         defined.  Use __syscall_ulong_t.
35626         (shminfo): Use __syscall_ulong_t.
35627         (shm_info): Likewise.
35629         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35630         __syscall_ulong_t.
35632         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35633         <bits/wordsize.h>.
35634         (msgqnum_t): Use __syscall_ulong_t.
35635         (msglen_t): Likewise.
35636         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35637         __syscall_ulong_t.
35639         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35640         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35642         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35644         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35645         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35647         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35648         __syscall_slong_t.
35650         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35651         include <bits/wordsize.h>.  Check __x86_64__ instead of
35652         __WORDSIZE.
35654         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35655         "unsigned long long int" if __x86_64__ is defined.
35656         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35658         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35659         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35660         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35662         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35663         <stdint.h>.
35664         (GET_PC): Cast to uintptr_t first.
35665         (GET_FRAME): Likewise.
35666         (GET_STACK): Likewise.
35668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35669         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35670         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35671         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35672         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35673         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35674         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35675         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35676         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35677         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35678         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35679         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35680         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35681         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35682         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35683         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35684         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35685         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35686         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35687         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35688         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35689         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35690         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35691         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35692         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35693         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35694         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35695         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35696         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35698 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35700         * Makerules (+depfiles): Also collect depfiles from .oS in
35701         $(extra-objs).
35702         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35703         .oS, $(libnldbl-routines)).
35705         * Makerules (native-compile-mkdep-flags): Define.
35706         * sunrpc/Makefile (extra-objs): Add $(addprefix
35707         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35708         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35709         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35710         calling $(make-target-directory).
35712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35714         * bits/types.h (__snseconds_t): Removed.
35715         * time/time.h (struct timespec): Replace __snseconds_t with
35716         __syscall_slong_t.
35717         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35718         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35719         Likewise.
35720         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35721         (__SNSECONDS_T_TYPE): Likewise.
35722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35723         (__SNSECONDS_T_TYPE): Likewise.
35724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35725         (__SNSECONDS_T_TYPE): Likewise.
35727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35729         * sysdeps/mach/hurd/bits/typesizes.h
35730         (__SYSCALL_SLONG_TYPE): New macro.
35731         (__SYSCALL_ULONG_TYPE): Likewise.
35733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35735         * bits/types.h (__syscall_slong_t): New type.
35736         (__syscall_ulong_t): Likewise.
35738         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35739         (__SYSCALL_ULONG_TYPE): Likewise.
35740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35741         (__SYSCALL_SLONG_TYPE): Likewise.
35742         (__SYSCALL_ULONG_TYPE): Likewise.
35743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35744         (__SYSCALL_SLONG_TYPE): Likewise.
35745         (__SYSCALL_ULONG_TYPE): Likewise.
35746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35747         (__SYSCALL_SLONG_TYPE): Likewise.
35748         (__SYSCALL_ULONG_TYPE): Likewise.
35750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35752         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35753         Add sigaltstack-offsets.sym.
35754         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35755         <sigaltstack-offsets.h>.
35756         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35757         longjmp_msg pointer.
35758         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35759         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35760         signal stack.
35761         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35763 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35765         * elf/stackguard-macros.h: Remove file.
35766         * sysdeps/generic/stackguard-macros.h: New file.
35767         * sysdeps/i386/stackguard-macros.h: Likewise.
35768         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35769         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35770         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35771         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35772         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35773         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35774         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35775         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35776         <elf/stackguard-macros.h>.
35778         [BZ #14109]
35779         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35780         __aligned__ in attribute.
35781         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35782         (gregset_t): Likewise.
35784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35786         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35787         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35788         * sysdeps/x86_64/x32/Implies-after: New file.
35790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35792         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35793         and access return value for _dl_profile_fixup.  Use R10_LP to
35794         load frame size.
35796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35798         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35802         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35803         * sysdeps/x86_64/x32/sysdep.h: New file.
35805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35807         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35808         * sysdeps/x86_64/setjmp.S: Likewise.
35810 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35812         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35813         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35814         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35815         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35816         remove unused global constant.
35818 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35820         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35821         include of <not-cancel.h>.
35823 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35825         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35827 2012-05-15  Jeff Law  <law@redhat.com>
35828             Andreas Jaeger  <aj@suse.de>
35830         [BZ #13594]
35831         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35832         out from...
35833         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35834         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35835         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35836         code changing __hst_map_handle.map.
35838 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35840         * configure.in (sysnames): Look for Implies-before and Implies-after
35841         files.
35842         * configure: Regenerated.
35844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35846         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35847         8-byte data alignment with LP_SIZE alignment.
35849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35851         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35852         into R10_LP.
35854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35856         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35860         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35861         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35862         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35863         Likewise.
35864         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35868         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35869         (stackinfo_sub_sp): Likewise.
35871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35873         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35874         RAX_LP.
35876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35879         into R*_LP.
35881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35883         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35884         sizes into R*_LP.
35886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35888         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35892         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35893         into R11_LP and load __x86_64_shared_cache_size_half into
35894         R8_LP.
35896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35898         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35899         R8_LP.
35901 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35903         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35904         logb for POWER7.
35905         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35906         logbf for POWER7.
35907         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35908         logbl for POWER7.
35909         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35910         powerpc32/power7/fpu/s_logb.c via #include.
35911         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35912         powerpc32/power7/fpu/s_logbf.c via #include.
35913         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35914         powerpc32/power7/fpu/s_logbl.c via #include.
35916 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35918         * README.libm: Remove file.
35920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35922         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35923         count for x32.  Use R*_LP and omit operand-size suffix.
35925 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35927         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35928         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35929         * sysdeps/x86_64/x32/shlib-versions: New file.
35931 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35933         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35934         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35935         Use _dl_fatal_printf instead.
35937 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35939         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35940         set if not set by the user.  Do not allow for being unset.
35941         * sysdeps/unix/sysv/linux/configure: Regenerated.
35943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35945         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35946         the `q' suffix from lea and replace .quad with ASM_ADDR.
35948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35951         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35952         instead of $17.
35953         (PTR_DEMANGLE): Likewise.
35955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35957         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35958         (LP_OP): Likewise.
35959         (ASM_ADDR): Likewise.
35960         (RAX_LP): Likewise.
35961         (RBP_LP): Likewise.
35962         (RBX_LP): Likewise.
35963         (RCX_LP): Likewise.
35964         (RDI_LP): Likewise.
35965         (RSI_LP): Likewise.
35966         (RSP_LP): Likewise.
35967         (R8_LP): Likewise.
35968         (R9_LP): Likewise.
35969         (R10_LP): Likewise.
35970         (R10_LP): Likewise.
35971         (R11_LP): Likewise.
35972         (R12_LP): Likewise.
35973         (R13_LP): Likewise.
35974         (R14_LP): Likewise.
35975         (R15_LP): Likewise.
35977 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35979         * sysdeps/x86_64/x32/dl-machine.h: New file.
35981 2012-05-14  Andreas Jaeger  <aj@suse.de>
35983         * manual/Makefile (subdir): Remove export of subdir.
35984         (all): Remove target.
35985         (.PHONY): Remove all from list.
35986         (mkinstalldirs): Remove.
35987         (.PHONY): Remove installdirs from list.
35988         ($(inst_infodir)/libc.info): Use make-target-directory.
35989         (installdirs): Remove.
35990         (subdir_%): Remove.
35991         (glibc-targets): Remove.
35992         (lib): Remove.
35993         (stubs): Remove.
35994         ($(objpfx)stubs ../po/manual.pot): Remove.
35995         ($(objpfx)stamp%): Remove.
35996         (make-target-directory): Remove.
35997         (subdir_install): Remove.
35998         (routines): Remove.
35999         (aux): Remove.
36000         (sources): Remove.
36001         (objects): Remove.
36002         (headers): Remove.
36004         [BZ #13750]
36005         * manual/.gitignore: Remove, it's not needed anymore.
36006         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36007         all files in it.
36008         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36009         directory.
36010         (texis): Renamed to $(objpfx)texis.
36011         (texis-path): New, contains path to generated files.
36012         (chapters.%): Use texis-path for complete path, add extra argument
36013         libc-texinfo.sh.
36014         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36015         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36016         (summary,texi, stamp-summary): Use complete path of
36017         files. Generate files in build dir.
36018         (dir-add.texi): Build in build dir.
36019         (libm-err.texi,stamp-libm-err): Likewise.
36020         (version.texi, stamp-version): Likewise.
36021         (.%c.texi): Likewise.
36022         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36023         (mostlyclean): Remove target.
36024         (realclean): Remove target.
36025         (generated): Add new variable with contents from mostlyclean and
36026         realclean, remove entries duplicated in common-mostlyclean, add
36027         stamp-libm-err and stamp-version.
36028         (generated-dirs): Add libc directory.
36029         ($(inst_infodir)/libc.info): Install files from build dir.
36031         * manual/install.texi (Configuring and compiling): Adjust since
36032         the info files are not part of the tar ball anymore.
36034 2012-05-14  Andreas Jaeger  <aj@suse.de>
36036         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36037         variable.
36039 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36041         [BZ #13717]
36042         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36043         to 2.2.0 where earlier.
36044         * sysdeps/unix/sysv/linux/configure: Regenerated.
36045         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36046         Remove conditional code.
36047         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36048         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36049         Remove conditional code.
36050         [!__NR_lchown]: Likewise.
36051         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36052         [__NR_lchown]: Likewise.
36053         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36054         comment referencing __ASSUME_LCHOWN_SYSCALL.
36055         * sysdeps/unix/sysv/linux/i386/sigaction.c
36056         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36057         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36058         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36059         Remove conditional code.
36060         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36061         (__protocol_available): Remove #if 0 code.
36062         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36063         conditional code.
36064         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36065         * sysdeps/unix/sysv/linux/kernel-features.h
36066         (__ASSUME_GETCWD_SYSCALL): Don't define.
36067         (__ASSUME_REALTIME_SIGNALS): Likewise.
36068         (__ASSUME_PREAD_SYSCALL): Likewise.
36069         (__ASSUME_PWRITE_SYSCALL): Likewise.
36070         (__ASSUME_POLL_SYSCALL): Likewise.
36071         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36072         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36073         non-SPARC.
36074         (__ASSUME_SIOCGIFNAME): Don't define.
36075         (__ASSUME_MSG_NOSIGNAL): Likewise.
36076         (__ASSUME_SENDFILE): Define unconditionally.
36077         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36078         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36079         conditional code.
36080         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36081         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36082         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36083         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36084         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36085         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36086         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36088         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36091         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36097         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36100         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36103         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36106         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36107         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36109         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36110         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36111         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36112         Remove conditional code.
36113         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36114         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36115         Remove conditional code.
36116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36117         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36118         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36119         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36120         Remove conditional code.
36121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36122         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36123         Remove conditional code.
36124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36125         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36126         Remove conditional code.
36127         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36128         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36129         Remove conditional code.
36130         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36131         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36132         Remove conditional code.
36133         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36134         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36135         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36136         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36137         * sysdeps/unix/sysv/linux/sigaction.c
36138         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36139         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36140         * sysdeps/unix/sysv/linux/sigpending.c
36141         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36142         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36143         * sysdeps/unix/sysv/linux/sigprocmask.c
36144         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36145         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36146         * sysdeps/unix/sysv/linux/sigsuspend.c
36147         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36148         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36149         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36150         (__libc_missing_rt_sigs): Remove.
36151         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36152         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36153         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36154         Remove conditional code.
36155         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36156         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36157         return 1.
36158         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36159         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36160         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36161         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36163 2012-05-14  Andreas Jaeger  <aj@suse.de>
36165         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36166         it's not used in glibc.
36167         (__coshm1): Likewise.
36168         (__acosh1p): Likewise.
36169         (__sgn): Likewise.
36171         * manual/string.texi (Copying and Concatenation): Add missing
36172         variable in concat example.
36173         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36177         [BZ #14103]
36178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36179         __builtin_clzl with __builtin_clzll.
36181 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36183         [BZ #14104]
36184         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36185         libc_freeres_ptr.
36187 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36189         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36190         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36191         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36192         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36194 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36196         * NEWS: Update ia64 info.
36198 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36200         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36201         used as bcopy.
36203 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36205         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36206         * sysdeps/unix/syscalls.list (dup3): Likewise.
36207         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36208         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36210 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36212         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36213         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36215 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36217         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36218         thread pointer.
36219         (TLS_IE): Use mov/add instead of movq/addq to load thread
36220         pointer.
36221         (TLS_GD_PREFIX): New.
36222         (TLS_GD): Use it.
36224 2012-05-11  David S. Miller  <davem@davemloft.net>
36226         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36227         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36228         (_FPU_SETCW): Likewise.
36230 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36232         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36233         is 32-byte aligned.
36235 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36237         [BZ #11837]
36238         * iconvdata/gb18030.c: Update tables.
36239         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36240         characters specially.
36241         (BODY for TO_LOOP): Add encoding of missing ranges.
36243 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36245         [BZ #13673]
36246         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36247         * sysdeps/mach/hurd/dup3.c: Likewise.
36248         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36249         * sysdeps/powerpc/memmove.c:: Likewise.
36251 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36254         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36256 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36258         * elf/elf.h (R_X86_64_RELATIVE64): New.
36259         (R_X86_64_NUM): Updated.
36260         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36261         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36262         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36263         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36264         tst-quad1pie tst-quad2pie
36265         (modules-names): Add tst-quadmod1 tst-quadmod2.
36266         ($(objpfx)tst-quad1): New dependency.
36267         ($(objpfx)tst-quad2): Likewise.
36268         ($(objpfx)tst-quad1pie): Likewise.
36269         ($(objpfx)tst-quad2pie): Likewise.
36270         * sysdeps/x86_64/tst-quad1.c: New file.
36271         * sysdeps/x86_64/tst-quad1pie.c: New file.
36272         * sysdeps/x86_64/tst-quad2.c: Likewise.
36273         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36274         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36275         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36276         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36277         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36281         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36282         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36283         * streams/stropts.h (t_scalar_t): Define type.
36285         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36286         (_PATH_PRESERVE): Set to "/var/lib".
36287         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36289         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36290         instead of int.
36292         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36293         if __dir_mkfile succeeded.
36295         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36296         checking for _hurd_dtablesize.  Unlock it right after having
36297         finished _hurd_dtable allocation.
36299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36301         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36302         * sysdeps/mach/hurd/configure: Regenerated.
36303         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36304         special-casing to...
36305         * sysdeps/gnu/configure.in: ... this new file.
36306         * sysdeps/unix/sysv/linux/configure: Regenerated.
36307         * sysdeps/gnu/configure: New generated file.
36309         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36310         for Linux: use nsec instead of usec, as well as:
36311         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36312         members of type struct timespec.
36313         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36314         New macros.
36315         (struct stat64): Likewise.
36316         (_STATBUF_ST_NSEC): New macro.
36317         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36319         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36320         __strtoul_internal rather than strtoul.
36322 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36324         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36325         and reject them.
36327 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36329         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36330         which preserves existing values.
36331         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36333 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36335         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36336         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36337         greater than FD_SETSIZE.
36339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36341         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36342         allocated, call __vm_protect to finish enabling the existing space, and
36343         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36344         allocate the remainder.
36346 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36348         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36349         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36353         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36354         sysdeps/mach/hurd/readlink.c.
36356         * posix/tst-sysconf.c (posix_options): Only use
36357         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36358         _POSIX_SYNCHRONIZED_IO when they are defined
36359         * sysdeps/mach/hurd/bits/posix_opt.h:
36360         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36361         (_XOPEN_REALTIME): Undefine macro.
36362         (_XOPEN_REALTIME_THREADS): Undefine macro.
36363         (_XOPEN_SHM): Undefine macro.
36364         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36365         macro to -1.
36366         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36367         macro to -1.
36368         (_POSIX_ASYNC_IO): Undefine macro.
36369         (_POSIX_PRIORITIZED_IO): Undefine macro.
36370         (_POSIX_SPIN_LOCKS): Define macro to -1.
36372         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36373         SA_NODEFER, SA_RESETHAND.
36374         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36375         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36376         F_DUPFD_CLOEXEC.
36378 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36380         * elf/Makefile (pldd-modules): Define unconditionally.
36382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36384         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36388         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36389         Return ENOENT when name is empty.
36390         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36394         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36396         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36400         Fix mlock in all cases except non-readable pages.
36401         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36402         instead of VM_PROT_ALL as parameter to __vm_wire function.
36404         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36405         (__mkdir): When path is `/', just fail with EEXIST.
36406         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36410         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36411         <sys/uio.h> (for writev).
36412         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36413         and <sys/param.h> (for MIN).
36415 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36417         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36418         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36419         if interrupted.
36421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36423         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36424         Depend on against $(link-rpcuserlibs).
36426 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36428         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36429         (__libc_stack_end): Do not use attribute_relro.
36430         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36431         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36432         to libthread-provided value.
36433         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36434         attribute_relro.
36436 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36438         [BZ #3748]
36439         * bits/libc-lock.h (__libc_once_get): New macro.
36440         * sysdeps/mach/bits/libc-lock.h: Likewise.
36441         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36443         instead of using implementation details.
36445         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36446         * libio/freopen.c: Likewise.
36447         * libio/freopen64.c: Likewise.
36448         * misc/syslog.c: Likewise.
36449         * nscd/connections.c: Likewise.
36450         * nscd/netgroupcache.c: Likewise.
36451         * sysdeps/posix/getcwd.c: Likewise.
36453 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36455         * math/w_ilogbf.c: Add #include <limits.h>.
36457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36459         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36460         path instead of returning without unlocking.
36462         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36463         immediate-write ioctls.
36464         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36468         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36469         __builtin_frame_address instead of making assumptions about the
36470         location of the return address relative to DATA.  Force early load of
36471         the return address.
36472         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36473         __builtin_frame_address.
36475         dup3 for GNU Hurd.
36476         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36477         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36478         implement dup3 and do some further code clean-ups.
36479         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36480         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36484         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36486         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36487         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36488         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36489         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36490         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36491         d->port.lock.
36493         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36494         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36495         when handler == SIG_ERR, not when handler != SIG_ERR.
36497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36499         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36500         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36501         definitions.
36503         accept4 for GNU Hurd.
36504         * include/sys/socket.h (__libc_accept4): New prototype.
36505         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36506         to implement __libc_accept4.
36507         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36508         __libc_accept4.
36509         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36511         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36512         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36513         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36514         signal-defines.sym.
36516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36518         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36522         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36523         assertion on O_CLOEXEC flag.
36524         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36525         * hurd/intern-fd.c: Likewise.
36526         * hurd/port2fd.c: Likewise.
36528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36530         [BZ #3906]
36531         * bits/in.h (IPV6_PKTINFO): Define new macro.
36532         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36534 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36536         [BZ #13954]
36537         [BZ #13955]
36538         [BZ #13956]
36539         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36540         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36541         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36542         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36544         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36545         * math/libm-test.inc (logb_test) : Additional logb tests.
36547 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36548             Andreas Jaeger  <aj@suse.de>
36550         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36551         * configure: Regenerated.
36552         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36553         * config.make.in (link-obsolete-rpc): New substituted variable.
36554         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36555         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36556         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36557         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36558         so that libc.a contains the symbols.
36559         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36560         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36561         * sunrpc/auth_none.c: Likewise.
36562         * sunrpc/auth_unix.c: Likewise.
36563         * sunrpc/authdes_prot.c: Likewise.
36564         * sunrpc/authuxprot.c: Likewise.
36565         * sunrpc/clnt_gen.c: Likewise.
36566         * sunrpc/clnt_perr.c: Likewise.
36567         * sunrpc/clnt_raw.c: Likewise.
36568         * sunrpc/clnt_simp.c: Likewise.
36569         * sunrpc/clnt_tcp.c: Likewise.
36570         * sunrpc/clnt_udp.c: Likewise.
36571         * sunrpc/clnt_unix.c: Likewise.
36572         * sunrpc/des_crypt.c: Likewise.
36573         * sunrpc/des_soft.c: Likewise.
36574         * sunrpc/get_myaddr.c: Likewise.
36575         * sunrpc/key_call.c: Likewise.
36576         * sunrpc/key_prot.c: Likewise.
36577         * sunrpc/netname.c: Likewise.
36578         * sunrpc/pm_getmaps.c: Likewise.
36579         * sunrpc/pm_getport.c: Likewise.
36580         * sunrpc/pmap_clnt.c: Likewise.
36581         * sunrpc/pmap_prot.c: Likewise.
36582         * sunrpc/pmap_prot2.c: Likewise.
36583         * sunrpc/pmap_rmt.c: Likewise.
36584         * sunrpc/publickey.c: Likewise.
36585         * sunrpc/rpc_cmsg.c: Likewise.
36586         * sunrpc/rpc_common.c: Likewise.
36587         * sunrpc/rpc_dtable.c: Likewise.
36588         * sunrpc/rpc_prot.c: Likewise.
36589         * sunrpc/rpc_thread.c: Likewise.
36590         * sunrpc/rtime.c: Likewise.
36591         * sunrpc/svc.c: Likewise.
36592         * sunrpc/svc_auth.c: Likewise.
36593         * sunrpc/svc_raw.c: Likewise.
36594         * sunrpc/svc_run.c: Likewise.
36595         * sunrpc/svc_tcp.c: Likewise.
36596         * sunrpc/svc_udp.c: Likewise.
36597         * sunrpc/svc_unix.c: Likewise.
36598         * sunrpc/svcauth_des.c: Likewise.
36599         * sunrpc/xcrypt.c: Likewise.
36600         * sunrpc/xdr.c: Likewise.
36601         * sunrpc/xdr_array.c: Likewise.
36602         * sunrpc/xdr_float.c: Likewise.
36603         * sunrpc/xdr_intXX_t.c: Likewise.
36604         * sunrpc/xdr_mem.c: Likewise.
36605         * sunrpc/xdr_rec.c: Likewise.
36606         * sunrpc/xdr_ref.c: Likewise.
36607         * sunrpc/xdr_sizeof.c: Likewise.
36608         * sunrpc/xdr_stdio.c: Likewise.
36610 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36613         change.  Update copyright years.
36615 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36617         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36619 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36620             Joseph Myers  <joseph@codesourcery.com>
36621             Paul Pluzhnikov  <ppluzhnikov@google.com>
36623         [BZ #14012]
36624         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36625         requiring rpcgen.
36626         [cross-compiling] (extra-libs): Likewise.
36627         [cross-compiling] (extra-libs-others): Likewise.
36628         [cross-compiling] (librpcsvc-routines): Likewise.
36629         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36630         [cross-compiling] (omit-deps): Likewise.
36631         (sunrpc-CPPFLAGS): New variable.
36632         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36633         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36634         (cross-rpcgen-objs): New variable.
36635         (extra-objs): Append $(cross-rpcgen-objs).
36636         ($(cross-rpcgen-objs)): New rule.
36637         ($(objpfx)cross-rpcgen): Likewise.
36638         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36639         comment.
36640         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36641         ($(objpfx)x%.stmp): Likewise.
36642         * sunrpc/proto.h [IS_IN_build] (_): Define.
36643         [IS_IN_build] (_libc_intl_domainname): Likewise.
36645 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36647         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36648         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36649         and R_X86_64_TPOFF64.
36651 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36653         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36654         sysdeps/unix/sysv/syscalls.list.
36655         (stime): Likewise.
36656         (utime): Likewise.
36657         * sysdeps/unix/sysv/syscalls.list: Remove file.
36659 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36661         [BZ #3440]
36662         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36663         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36664         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36665         (__LC_IDENTIFICATION): Make these macros useful in #if
36666         expressions, as required by C99.
36668 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36670         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36671         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36672         after this.
36674 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36676         * stdlib/longlong.h: Updated from GCC.
36678 2012-05-09  Andreas Jaeger  <aj@suse.de>
36680         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36681         default is first entry.
36682         (run_mode): Set type.
36683         (main): Remove informal message about syslog.
36684         (options): Fix typo.
36686         [BZ #14053]
36687         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36688         to asm.
36689         (lrint): Likewise.
36690         (llrintf): Likewise.
36691         (llrint): Likewise.
36692         (rint): Likewise.
36693         (rintf): Likewise.
36694         (nearbyint): Likewise.
36695         (nearbyintf): Likewise.
36697 2012-05-09  Andreas Jaeger  <aj@suse.de>
36698             Pedro Alves  <palves@redhat.com>
36700         * nscd/nscd.c (run_mode): Use enum.
36701         (main): Cleanup coding style issue.
36703 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36704             Andreas Jaeger  <aj@suse.de>
36706         * nscd/nscd.c (go_background): Replaced with...
36707         (run_mode): ... this.
36708         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36709         (options): Add -F --foreground.
36710         (main): Implement it.
36711         (parse_opt): Parse it.
36713 2012-05-09  Andreas Jaeger  <aj@suse.de>
36715         [BZ #14083]
36716         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36717         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36718         -Wconversion warning.
36719         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36720         Likewise.
36722 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36724         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36725         == 0.
36726         (LC_ALL): Use macro-int-constant.
36727         (LC_COLLATE): Likewise.
36728         (LC_CTYPE): Likewise.
36729         (LC_MESSAGES): Likewise.
36730         (LC_MONETARY): Likewise.
36731         (LC_NUMERIC): Likewise.
36732         (LC_TIME): Likewise.
36733         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36734         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36735         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36736         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36737         Specify type.
36738         [C99-based standards] (float_t): Expect type.
36739         [C99-based standards] (double_t): Expect type.
36740         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36741         type.
36742         [C99-based standards] (HUGE_VALL): Likewise.
36743         [C99-based standards] (INFINITY): Likewise.
36744         [C99-based standards] (NAN): Likewise.
36745         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36746         [C99-based standards] (FP_NAN): Likewise.
36747         [C99-based standards] (FP_NORMAL): Likewise.
36748         [C99-based standards] (FP_SUBNORMAL): Likewise.
36749         [C99-based standards] (FP_ZERO): Likewise.
36750         [C99-based standards] (FP_FAST_FMA): Use
36751         optional-macro-int-constant.  Specify type.  Require == 1.
36752         [C99-based standards] (FP_FAST_FMAF): Likewise.
36753         [C99-based standards] (FP_FAST_FMAL): Likewise.
36754         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36755         [C99-based standards] (FP_ILOGBNAN): Likewise.
36756         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36757         Specify type.
36758         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36759         [C99-based standards] (math_errhandling): Specify type.
36760         [ISO99 || ISO11] (signgam): Do not allow.
36761         [non-C99-based standards] (copysignf): Do not allow.
36762         [non-C99-based standards] (exp2f): Likewise.
36763         [non-C99-based standards] (log2f): Likewise.
36764         [non-C99-based standards] (modff): Allow.
36765         [non-C99-based standards] (erff): Do not allow.
36766         [non-C99-based standards] (erfcf): Likewise.
36767         [non-C99-based standards] (gammaf): Likewise.
36768         [non-C99-based standards] (hypotf): Likewise.
36769         [non-C99-based standards] (j0f): Likewise.
36770         [non-C99-based standards] (j1f): Likewise.
36771         [non-C99-based standards] (jnf): Likewise.
36772         [non-C99-based standards] (lgammaf): Likewise.
36773         [non-C99-based standards] (tgammaf): Likewise.
36774         [non-C99-based standards] (y0f): Likewise.
36775         [non-C99-based standards] (y1f): Likewise.
36776         [non-C99-based standards] (ynf): Likewise.
36777         [non-C99-based standards] (isnanf): Likewise.
36778         [non-C99-based standards] (acoshf): Likewise.
36779         [non-C99-based standards] (asinhf): Likewise.
36780         [non-C99-based standards] (atanhf): Likewise.
36781         [non-C99-based standards] (cbrtf): Likewise.
36782         [non-C99-based standards] (expm1f): Likewise.
36783         [non-C99-based standards] (ilogbf): Likewise.
36784         [non-C99-based standards] (log1pf): Likewise.
36785         [non-C99-based standards] (logbf): Likewise.
36786         [non-C99-based standards] (nextafterf): Likewise.
36787         [non-C99-based standards] (remainderf): Likewise.
36788         [non-C99-based standards] (rintf): Likewise.
36789         [non-C99-based standards] (scalbf): Likewise.
36790         [non-C99-based standards] (copysignl): Likewise.
36791         [non-C99-based standards] (exp2l): Likewise.
36792         [non-C99-based standards] (log2l): Likewise.
36793         [non-C99-based standards] (modfl): Allow.
36794         [non-C99-based standards] (erfl): Do not allow.
36795         [non-C99-based standards] (erfcl): Likewise.
36796         [non-C99-based standards] (gammal): Likewise.
36797         [non-C99-based standards] (hypotl): Likewise.
36798         [non-C99-based standards] (j0l): Likewise.
36799         [non-C99-based standards] (j1l): Likewise.
36800         [non-C99-based standards] (jnl): Likewise.
36801         [non-C99-based standards] (lgammal): Likewise.
36802         [non-C99-based standards] (tgammal): Likewise.
36803         [non-C99-based standards] (y0l): Likewise.
36804         [non-C99-based standards] (y1l): Likewise.
36805         [non-C99-based standards] (ynl): Likewise.
36806         [non-C99-based standards] (isnanl): Likewise.
36807         [non-C99-based standards] (acoshl): Likewise.
36808         [non-C99-based standards] (asinhl): Likewise.
36809         [non-C99-based standards] (atanhl): Likewise.
36810         [non-C99-based standards] (cbrtl): Likewise.
36811         [non-C99-based standards] (expm1l): Likewise.
36812         [non-C99-based standards] (ilogbl): Likewise.
36813         [non-C99-based standards] (log1pl): Likewise.
36814         [non-C99-based standards] (logbl): Likewise.
36815         [non-C99-based standards] (nextafterl): Likewise.
36816         [non-C99-based standards] (remainderl): Likewise.
36817         [non-C99-based standards] (rintl): Likewise.
36818         [non-C99-based standards] (scalbl): Likewise.
36819         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36820         [non-C99-based standards] (FP_*): Do not allow.
36821         [C99-based standards] (FP_*): Change to
36822         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36823         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36824         allow.
36825         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36826         (SIG_ERR): Likewise.
36827         [X/Open-based standards] (SIG_HOLD): Likewise.
36828         (SIG_IGN): Likewise.
36829         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36830         positive value.
36831         (SIGFPE): Likewise.
36832         (SIGILL): Likewise.
36833         (SIGINT): Likewise.
36834         (SIGSEGV): Likewise.
36835         (SIGTER): Likewise.
36836         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36837         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36838         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36839         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36840         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36841         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36842         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36843         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36844         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36845         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36846         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36847         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36848         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36849         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36850         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36851         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36852         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36853         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36854         [X/Open-based standards] (SIGTRAP): Likewise.
36855         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36856         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36857         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36858         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36859         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36860         allow.
36862 2012-05-08  Ian Wienand  <ianw@vmware.com>
36864         [BZ #14080]
36865         * time/tzset.c (__tzset_parse_tz): Update default rules for
36866         daylight time changes in the Energy Policy Act of 2005.
36868 2012-05-09  Andreas Jaeger  <aj@suse.de>
36870         [BZ #13983]
36871         * elf/ldconfig.c (parse_conf): Change string to make clear that
36872         ldconfig only issued a warning if ld.so.conf does not exist.
36874 2012-05-08  David S. Miller  <davem@davemloft.net>
36876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36877         movxtod instead of popping the value on the stack.
36879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36881 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36883         * config.h.in: Add HAVE_ARM_PCS_VFP.
36885 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36887         [BZ #13979]
36888         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36889         checking but the checks are disabled for any reason.
36891 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36893         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36894         and ELF64_R_TYPE with ELFW(R_TYPE).
36896 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36898         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36899         (ulimit): Likewise.
36901         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36902         (settimeofday): Likewise.
36904 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36906         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36907         a struct th_u2 inside the union, and move tu_block/tu_code into
36908         a new th_u3 union of tu_block/tu_code inside of that.  Move
36909         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36910         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36911         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36912         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36913         (th_stuff): Change to th_u1.tu_stuff.
36914         (th_data): Define.
36915         (th_msg): Change to th_u1.th_u2.tu_data.
36917 2012-05-07  David S. Miller  <davem@davemloft.net>
36919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36921         [BZ #14074]
36922         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36923         (SETUP_PIC_REG): Use it.
36924         (SETUP_PIC_REG_LEAF): Use it.
36926 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36928         [BZ #13885]
36929         [BZ #13923]
36930         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36931         USE_AS_EXPM1L.
36932         (EXPL_FINITE): Likewise.
36933         (FLDLOG): Likewise.
36934         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36935         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36936         e_expl.S.
36937         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36938         USE_AS_EXPM1L.
36939         (EXPL_FINITE): Likewise.
36940         (FLDLOG): Likewise.
36941         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36942         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36943         e_expl.S.
36944         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36945         test of -max_value argument for long double.
36946         * sysdeps/i386/fpu/libm-test-ulps: Update.
36947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36949 2012-05-06  David S. Miller  <davem@davemloft.net>
36951         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36952         quad soft-float symbols whose references which are compiler
36953         generated.
36954         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36956 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36958         [BZ #13884]
36959         [BZ #13914]
36960         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36961         USE_AS_EXP10L.
36962         (EXPL_FINITE): Likewise.
36963         (FLDLOG): Likewise.
36964         (c0): Likewise.
36965         (c1): Likewise.
36966         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36967         Adjust comments for base varying.
36968         (__expl_finite): Change alias to EXPL_FINITE.
36969         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36970         e_expl.S.
36971         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36972         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36973         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36974         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36975         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36976         USE_AS_EXP10L.
36977         (EXPL_FINITE): Likewise.
36978         (FLDLOG): Likewise.
36979         (c0): Likewise.
36980         (c1): Likewise.
36981         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36982         Adjust comments for base varying.
36983         (__expl_finite): Change alias to EXPL_FINITE.
36984         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36985         tests for bugs.
36986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36988         [BZ #14064]
36989         * math/libm-test.inc (check_float_internal): Correct ulp
36990         calculation for subnormal expected results.
36992 2012-05-06  Andreas Jaeger  <aj@suse.de>
36994         * Makeconfig (+math-flags): New, set to -frounding-math.
36995         (+cflags): Add +math-flags so that all of glibc gets compiled with
36996         it.
36998         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37000 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37002         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37003         Disable one test.
37005         [BZ #13787]
37006         [BZ #13922]
37007         [BZ #14036]
37008         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37009         (__ieee754_expl): Allow for and saturate large arguments.
37010         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37011         (u_threshold): Likewise.
37012         (__exp): Call __ieee754_exp before checking for overflow and
37013         underflow.
37014         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37015         (u_threshold): Likewise.
37016         (__expf): Call __ieee754_expf before checking for overflow and
37017         underflow.
37018         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37019         (u_threshold): Likewise.
37020         (__expl): Call __ieee754_expl before checking for overflow and
37021         underflow.
37022         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37023         (__ieee754_expl): Allow for and saturate large arguments.
37024         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37025         missing overflow exception on overflow.
37026         (expm1_test): Do not allow missing overflow exception on overflow.
37028         * sysdeps/i386/fpu/e_expl.c: Move to ...
37029         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37030         rather than using inline asm.
37031         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37032         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37033         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37035         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37036         (nice): Likewise.
37037         (poll): Likewise.
37038         (signal): Likewise.
37039         (time): Likewise.
37040         (times): Likewise.
37042 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37044         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37045         sysdeps/unix/common/syscalls.list.
37046         (fchmod): Likewise.
37047         (fchown): Likewise.
37048         (ftruncate): Likewise.
37049         (getrusage): Likewise.
37050         (gettimeofday): Likewise.
37051         (setpgid): Likewise.
37052         (setregid): Likewise.
37053         (setreuid): Likewise.
37054         (sigaction): Likewise.
37055         (truncate): Likewise.
37056         (vhangup): Likewise.
37057         * sysdeps/unix/common/syscalls.list: Remove file.
37058         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37059         * sysdeps/unix/sysv/linux/Implies: Likewise.
37061 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37063         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37065         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37066         Moved to ...
37067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37068         Here.
37069         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37070         to ...
37071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37072         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37073         to ...
37074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37075         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37076         to ...
37077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37078         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37079         to ...
37080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37081         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37082         to ...
37083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37084         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37085         to ...
37086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37087         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37088         to ...
37089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37090         Here.
37091         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37092         to ...
37093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37094         Here.
37095         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37096         to ...
37097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37098         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37099         Moved to ...
37100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37101         Here.
37102         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37103         to ...
37104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37106 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37108         * sysdeps/unix/common/bits/dirent.h: Remove file.
37109         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37111         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37112         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37113         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37114         * sysdeps/unix/bsd/isatty.c: Likewise.
37115         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37116         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37117         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37119 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37121         [BZ #13563]
37122         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37123         long double comparison inaccuracies.
37124         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37127 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37129         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37132 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37134         [BZ #14049]
37135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37136         nonzero digits before rounding a hex value.
37137         * stdlib/tst-strtod.c (tests): Add another test.
37139 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37141         * sysdeps/s390/fpu/libm-test-ulps: Update.
37143 2012-05-03  Andreas Jaeger  <aj@suse.de>
37145         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37146         does not get optimized out.
37147         (malloc_opt_barrier): New.
37149 2012-05-03  Andreas Jaeger  <aj@suse.de>
37150             Roland McGrath  <roland@hack.frob.com>
37152         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37153         intermediate file deletion.
37154         (generated): Add .symlist files.
37156 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37158         [BZ #13775]
37159         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37160         Redirect under this condition.
37161         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37162         [__USE_GNU] (__dprintf_chk): Not under this condition.
37163         [__USE_GNU] (__vdprintf_chk): Likewise.
37164         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37165         under this condition.
37166         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37167         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37168         [__USE_XOPEN2K8] (vdprintf): Likewise.
37169         [__USE_GNU] (__dprintf_chk): Not under this condition.
37170         [__USE_GNU] (__vdprintf_chk): Likewise.
37171         [__USE_GNU] (dprintf): Likewise.
37172         [__USE_GNU] (vdprintf): Likewise.
37174 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37176         * elf/Makefile (common-generated): Set this instead of generated for
37177         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37178         $(all-built-dso)-derived lists.
37180 2012-05-03  Andreas Jaeger  <aj@suse.de>
37182         * sysdeps/i386/fpu/libm-test-ulps: Update.
37184         * FAQ: Removed.
37185         * FAQ.in: Likewise.
37186         * scripts/gen-FAQ.pl: Likewise.
37187         * manual/install.texi (Installation): Point to online location of
37188         FAQ.
37189         * Makefile (files-for-dist): Remove FAQ.
37190         (FAQ): Remove.
37192 2012-05-02  Allan McRae  <allan@archlinux.org>
37194         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37195         (LDFLAGS-reldepmod5.so): Likewise.
37196         (LDFLAGS-reldep6mod1.so): Likewise.
37197         (LDFLAGS-reldep6mod4.so): Likewise.
37198         (LDFLAGS-reldep8mod3.so): Likewise.
37199         (LDFLAGS-unload4mod1.so): Likewise.
37200         (LDFLAGS-unload4mod2.so): Likewise.
37201         (LDFLAGS-tst-initorder): Likewise.
37202         (LDFLAGS-tst-initordera2.so): Likewise.
37203         (LDFLAGS-tst-initordera3.so): Likewise.
37204         (LDFLAGS-tst-initordera4.so): Likewise.
37205         (LDFLAGS-tst-initorderb2.so): Likewise.
37206         (LDFLAGS-noload): Likewise.
37207         (LDFLAGS-next): Likewise.
37208         (LDFLAGS-order2mod1.so): Likewise.
37209         (LDFLAGS-order2mod2.so): Likewise.
37210         (LDFLAGS-tst-initorder2): Likewise.
37211         (LDFLAGS-tst-initorder2a.so): Likewise.
37212         (LDFLAGS-tst-initorder2b.so): Likewise.
37213         (LDFLAGS-tst-initorder2c.so): Likewise.
37214         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37216 2012-05-02  David S. Miller  <davem@davemloft.net>
37218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37220 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37222         [BZ #14055]
37223         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37225 2012-05-02  Andreas Jaeger  <aj@suse.de>
37227         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37228         since we manipulate rounding mode.
37229         (CPPFLAGS-test-idouble.c): Likewise.
37230         (CPPFLAGS-test-ifloat.c): Likewise.
37231         (CFLAGS-test-ldouble.c): Likewise.
37232         (CFLAGS-test-double.c): Likewise.
37233         (CFLAGS-test-float.c): Likewise.
37234         (CFLAGS-test-misc.c): Likewise.
37235         (CFLAGS-test-test-fenv.c): Likewise.
37237 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37239         [BZ #2550]
37240         [BZ #2570]
37241         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37242         comparisons to determine direction to adjust input.
37244 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37246         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37247         output to the target.
37249         * scripts/localplt.awk: New file.
37250         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37251         (check-localplt-CFLAGS): Variable removed.
37252         ($(all-built-dso:=.jmprel)): New static pattern rule.
37253         (generated): Add those targets.
37254         (localplt-built-dso): New variable.
37255         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37257         * elf/check-localplt.c: File removed.
37259         * scripts/check-execstack.awk: New file.
37260         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37261         (check-execstack-CFLAGS): Variable removed.
37262         ($(objpfx)check-execstack.h): Target removed.
37263         ($(objpfx)execstack-default): New target.
37264         (generated): Add that instead of check-execstack.h.
37265         ($(all-built-dso:=.phdr)): New static pattern rule.
37266         (generated): Add those targets.
37267         * elf/check-execstack.c: File removed.
37269         * scripts/check-textrel.awk: New file.
37270         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37271         (check-textrel-CFLAGS): Variable removed.
37272         (all-built-dso): Use := to define.o
37273         ($(all-built-dso:=.dyn)): New static pattern rule.
37274         (generated): Add those targets.
37275         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37276         * config.make.in (READELF): New substituted variable.
37277         * elf/check-textrel.c: File removed.
37279 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37281         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37282         allow.
37283         * conform/data/ctype.h-data [C99-based standards] (isblank):
37284         Expect function.
37285         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37286         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37287         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37288         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37289         Specify type.  Require positive value.
37290         (EILSEQ): Likewise.
37291         (ERANGE): Likewise.
37292         [ISO || POSIX] (EILSEQ): Do not expect.
37293         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37294         Specify type.  Require positive value.
37295         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37296         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37297         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37298         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37299         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37300         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37301         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37302         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37303         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37304         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37305         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37306         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37307         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37308         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37309         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37310         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37311         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37312         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37313         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37314         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37315         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37316         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37317         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37318         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37319         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37320         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37321         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37322         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37323         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37324         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37325         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37326         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37327         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37328         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37329         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37330         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37331         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37332         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37333         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37334         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37335         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37336         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37337         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37338         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37339         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37340         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37341         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37342         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37343         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37344         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37345         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37346         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37347         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37348         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37349         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37350         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37351         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37352         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37353         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37354         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37355         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37356         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37357         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37358         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37359         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37360         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37361         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37362         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37363         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37367         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37368         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37369         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37370         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37371         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37372         Require >= 2.
37373         (FLT_ROUNDS): Expect as macro, not constant.
37374         (FLT_MANT_DIG): Use macro-int-constant.
37375         (DBL_MANT_DIG): Likewise.
37376         (LDBL_MANT_DIG): Likewise.
37377         (FLT_DIG): Likewise.
37378         (DBL_DIG): Likewise.
37379         (LDBL_DIG): Likewise.
37380         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37381         (DBL_MIN_EXP): Likewise.
37382         (LDBL_MIN_EXP): Likewise.
37383         (FLT_MAX_EXP): Use macro-int-constant.
37384         (DBL_MAX_EXP): Likewise.
37385         (LDBL_MAX_EXP): Likewise.
37386         (FLT_MAX_10_EXP): Likewise.
37387         (DBL_MAX_10_EXP): Likewise.
37388         (LDBL_MAX_10_EXP): Likewise.
37389         (FLT_MAX): Use macro-constant.
37390         (DBL_MAX): Likewise.
37391         (LDBL_MAX): Likewise.
37392         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37393         (DBL_EPSILON): Likewise.
37394         (LDBL_EPSILON): Likewise.
37395         (FLT_MIN): Likewise.
37396         (DBL_MIN): Likewise.
37397         (LDBL_MIN): Likewise.
37398         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37399         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37400         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37401         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37402         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37403         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37404         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37405         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37406         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37407         [ISO11] (FLT_TRUE_MIN): Likewise.
37408         [ISO11] (LDBL_TRUE_MIN): Likewise.
37409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37410         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37411         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37412         (SCHAR_MAX): Likewise.
37413         (UCHAR_MAX): Likewise.
37414         (CHAR_MIN): Likewise.
37415         (CHAR_MAX): Likewise.
37416         (MB_LEN_MAX): Use macro-int-constant.
37417         (SHRT_MIN): Use macro-int-constant.  Specify type.
37418         (SHRT_MAX): Likewise.
37419         (USHRT_MAX): Likewise.
37420         (INT_MAX): Likewise.
37421         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37422         bound negative.
37423         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37424         bound with "U".
37425         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37426         bound with "L".
37427         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37428         bound negative.  Suffix upper bound with "L".
37429         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37430         bound with "UL".
37431         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37432         Specify type.
37433         [C99-based standards] (LLONG_MAX): Likewise.
37434         [C99-based standards] (ULLONG_MAX): Likewise.
37435         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37436         == 0.
37437         [ISO11] (max_align_t): Require type.
37438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37440         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37441         from $CFLAGS, without defining away __attribute__ calls.
37442         (checknamespace): Use $CFLAGS_namespace.
37444         * conform/conformtest.pl (@keywords): Only include C99 keywords
37445         for standards based on C99 or C11.
37447         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37448         Disable tests.
37449         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37450         UNIX98]: Likewise.
37452         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37453         usability of symbols in #if.
37455         * conform/conformtest.pl: If macro or constant types start
37456         "promoted:", expect the symbol to be of the following type
37457         promoted by the integer promotions.
37459         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37460         in one place.  Also handle "macro-constant".
37462         * conform/conformtest.pl: Only accept expected macro values with
37463         "==".  Parse all "macro" lines in one place.
37464         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37466         * conform/conformtest.pl: Handle braced types on "constant" lines
37467         instead of handling "typed-constant".
37468         * conform/data/signal.h-data: Use "constant" instead of
37469         "typed-constant".
37471         * conform/conformtest.pl: Handle "optional-" at start of lines in
37472         one place rather than duplicating several cases.  Handle each
37473         format of "macro" line with initial "optional-".
37475         * conform/conformtest.pl: Only accept expected constant or
37476         optional-constant values with "==".  Parse all "constant" lines in
37477         one place.  Parse all "optional-constant" lines in one place.
37478         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37479         * conform/data/fmtmsg.h-data: Likewise.
37480         * conform/data/netinet/in.h-data: Likewise.
37481         * conform/data/tar.h-data: Likewise.
37482         * conform/data/limits.h-data: Use "==" form on "constant" and
37483         "optional-constant" lines.
37485         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37486         Use -std=c99 for XOPEN2K.
37487         (@knownproblems): Remove.
37488         (newtoken): Don't check %isknown.
37490         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37491         Do not expect macro.
37492         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37493         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37494         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37495         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37496         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37497         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37498         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37499         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37500         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37501         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37502         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37503         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37504         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37505         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37506         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37507         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37508         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37509         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37510         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37511         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37512         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37513         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37514         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37515         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37516         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37517         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37518         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37519         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37520         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37521         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37522         [XPG3] (acosh): Likewise.
37523         [XPG3] (asinh): Likewise.
37524         [XPG3] (atanh): Likewise.
37525         [XPG3] (cbrt): Likewise.
37526         [XPG3] (expm1): Likewise.
37527         [XPG3] (ilogb): Likewise.
37528         [XPG3] (log1p): Likewise.
37529         [XPG3] (logb): Likewise.
37530         [XPG3] (nextafter): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37532         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37533         [XPG3] (remainder): Likewise.
37534         [XPG3] (rint): Likewise.
37535         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37536         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37537         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37538         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37539         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37540         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37542         [UNIX98 || XOPEN2K] (scalb): Expect.
37543         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37544         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37545         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37546         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37547         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37548         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37549         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37550         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37552         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37553         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37554         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37555         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37556         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37557         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37558         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37559         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37560         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37562         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37563         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37564         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37566         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37567         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37681         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37682         _XOPEN_SOURCE_EXTENDED for XPG4.
37684         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37686         * Makeconfig (localtime): Remove variable.
37687         (inst_localtime-file): Likewise.
37689 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37692         Update.
37693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37694         Update.
37695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37696         Update.
37697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37698         Update.
37699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37700         Update.
37701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37702         Update.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37704         Update.
37705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37706         Update.
37707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37708         Update.
37710 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37712         [BZ #2550]
37713         [BZ #2570]
37714         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37715         comparisons to determine direction to adjust input.
37716         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37717         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37718         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37719         Likewise.
37720         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37721         Likewise.
37722         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37723         Likewise.
37724         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37725         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37726         Likewise.
37727         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37728         Likewise.
37729         * math/libm-test.inc (nexttoward_test): Add more tests.
37731 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37733         [BZ #14040]
37734         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37735         in version GLIBC_2.1, not GLIBC_2.0.
37736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37737         Likewise.
37739 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37741         [BZ #13942]
37742         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37743         (1 - x) * (1 + x).
37744         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37745         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37746         * math/libm-test.inc (acos_test): Add more tests.
37747         (asin_test): Likewise.
37748         * sysdeps/i386/fpu/libm-test-ulps: Update.
37749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37751         [BZ #14034]
37752         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37753         of square root.
37754         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37755         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37756         * math/libm-test.inc (acos_test_tonearest): New function.
37757         (acos_test_towardzero): Likewise.
37758         (acos_test_downward): Likewise.
37759         (acos_test_upward): Likewise.
37760         (asin_test_tonearest): Likewise.
37761         (asin_test_towardzero): Likewise.
37762         (asin_test_downward): Likewise.
37763         (asin_test_upward): Likewise.
37764         (main): Call the new functions.
37765         * sysdeps/i386/fpu/libm-test-ulps: Update.
37766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37768         [BZ #13884]
37769         [BZ #13924]
37770         * math/e_exp10.c: Include <float.h>.
37771         (__ieee754_exp10): Handle underflow here rather than multiplying
37772         large negative argument by M_LN10.
37773         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37774         of __ieee754_expf.
37775         * math/e_exp10l.c: Include <float.h>.
37776         (__ieee754_exp10l): Handle underflow here rather than multiplying
37777         large negative argument by M_LN10l.
37778         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37779         spurious overflow exception on underflow.
37781 2012-04-29  Marek Polacek  <polacek@redhat.com>
37783         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37784         (__fortify_function): New macro.
37785         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37786         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37787         __extern_always_inline.
37788         * libio/bits/stdio2.h: Likewise.
37789         * libio/bits/stdio.h: Likewise.
37790         * string/string.h: Likewise.
37791         * string/bits/string3.h: Likewise.
37792         * include/stdio.h: Likewise.
37793         * stdlib/bits/stdlib.h: Likewise.
37794         * stdlib/stdlib.h: Likewise.
37795         * rt/bits/mqueue2.h: Likewise.
37796         * rt/mqueue.h: Likewise.
37797         * posix/bits/unistd.h: Likewise.
37798         * posix/unistd.h: Likewise.
37799         * io/bits/poll2.h: Likewise.
37800         * io/bits/fcntl2.h: Likewise.
37801         * io/fcntl.h: Likewise.
37802         * io/sys/poll.h: Likewise.
37803         * misc/bits/syslog.h: Likewise.
37804         * misc/bits/syslog-ldbl.h: Likewise.
37805         * misc/sys/syslog.h: Likewise.
37806         * socket/bits/socket2.h: Likewise.
37807         * socket/sys/socket.h: Likewise.
37808         * debug/tst-chk1.c: Likewise.
37809         * wcsmbs/bits/wchar2.h: Likewise.
37810         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37811         * wcsmbs/wchar.h: Likewise.
37813 2012-04-29  Andreas Jaeger  <aj@suse.de>
37815         * Makerules (tests): Remove enable-check-abi protection.
37816         (check-abi-warn): Remove.
37817         (check-abi-%): Remove check-abi-warn usage.
37819         * configure.in: Remove check-abi configure option.
37820         * configure: Regenerated.
37821         * config.make.in (enable-check-abi): Remove.
37823 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37825         [BZ #14033]
37826         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37827         double functions to double *_finite functions.
37829         [BZ #13941]
37830         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37831         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37832         LDBL_MIN_EXP.
37833         * stdio-common/Makefile (tests): Add tst-sprintf3.
37834         * stdio-common/tst-sprintf3.c: New file.
37836         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37837         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37839 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37841         * conform/conformtest.pl: Remove duplicate typed-constant
37842         handling.
37844 2012-04-28  David S. Miller  <davem@davemloft.net>
37846         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37847         (check-abi-%): Remove AWK script prerequisite and explicit
37848         abilist directory.
37849         (check-abi): Rewrite to just diff the symlist with the abilist.
37850         (config-tls, config-abi-config): Delete, no longer used.
37851         (update-abi-%): Remove AWK script and explicit abilist directory.
37852         (update-abi): Rewrite to simply compare and conditionally copy the
37853         symlist and the sysdep abilist file.  Remove update-abi-config
37854         checks.
37855         * abilist/ld.abilist: Remove.
37856         * abilist/libBrokenLocale.abilist: Remove.
37857         * abilist/libanl.abilist: Remove.
37858         * abilist/libcrypt.abilist: Remove.
37859         * abilist/libdl.abilist: Remove.
37860         * abilist/librt.abilist: Remove.
37861         * abilist/libthread_db.abilist: Remove.
37862         * abilist/libutil.abilist: Remove.
37863         * scripts/extract-abilist.awk: Remove.
37864         * scripts/merge-abilist.awk: Remove.
37865         * sysdeps/generic/libcidn.abilist: New file.
37866         * sysdeps/generic/libnss_compat.abilist: New file.
37867         * sysdeps/generic/libnss_db.abilist: New file.
37868         * sysdeps/generic/libnss_dns.abilist: New file.
37869         * sysdeps/generic/libnss_files.abilist: New file.
37870         * sysdeps/generic/libnss_hesiod.abilist: New file.
37871         * sysdeps/generic/libnss_nis.abilist: New file.
37872         * sysdeps/generic/libnss_nisplus.abilist: New file.
37873         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37874         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37875         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37876         file.
37877         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37878         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37879         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37880         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37881         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37882         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37883         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37884         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37885         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37886         file.
37887         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37888         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37889         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37890         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37891         file.
37892         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37893         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37894         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37895         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37896         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37897         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37898         file.
37899         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37900         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37901         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37902         file.
37903         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37905         New file.
37906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37907         New file.
37908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37909         New file.
37910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37911         New file.
37912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37913         New file.
37914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37915         New file.
37916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37917         New file.
37918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37919         New file.
37920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37921         New file.
37922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37923         New file.
37924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37925         New file.
37926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37927         New file.
37928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37929         New file.
37930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37931         file.
37932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37933         New file.
37934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37935         New file.
37936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37937         file.
37938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37939         New file.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37941         New file.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37943         file.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37945         New file.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37947         New file.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37949         New file.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37951         New file.
37952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37953         New file.
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37955         New file.
37956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37958         file.
37959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37960         New file.
37961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37962         file.
37963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37964         file.
37965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37966         file.
37967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37968         file.
37969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37970         file.
37971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37972         New file.
37973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37974         file.
37975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37976         file.
37977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37978         New file.
37979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37980         file.
37981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37983         file.
37984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37985         New file.
37986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37987         file.
37988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37989         file.
37990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37991         file.
37992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37993         file.
37994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37995         file.
37996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37997         New file.
37998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37999         file.
38000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38001         file.
38002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38003         New file.
38004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38005         file.
38006         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38007         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38008         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38009         file.
38010         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38011         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38012         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38013         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38014         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38015         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38016         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38017         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38018         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38019         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38022         file.
38023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38024         New file.
38025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38026         file.
38027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38028         file.
38029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38030         file.
38031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38032         file.
38033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38034         file.
38035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38036         New file.
38037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38038         New file.
38039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38040         file.
38041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38042         New file.
38043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38044         file.
38045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38047         file.
38048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38049         New file.
38050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38051         file.
38052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38053         file.
38054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38055         file.
38056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38057         file.
38058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38059         file.
38060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38061         New file.
38062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38063         New file.
38064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38065         file.
38066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38067         New file.
38068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38069         file.
38071 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38073         * conform/conformtest.pl: Fix typo in handling typed-constant from
38074         allow-header.
38076 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38078         * README: Cut down references to pre-2.6 Linux kernels and
38079         Linuxthreads.  Update lists of configurations in libc and ports
38080         and sort alphabetically.  Say "or newer" with Linux kernel version
38081         requirements.
38083         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38085 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38087         [BZ #887]
38088         * math/libm-test.inc (logb_test_downward): New test to expose
38089         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38090         rounding mode.
38092 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38094         [BZ #14027]
38095         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38096         to be done.
38097         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38098         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38100 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38102         * sysdeps/unix/i386/brk.S: Remove file.
38103         * sysdeps/unix/i386/dl-brk.S: Likewise.
38104         * sysdeps/unix/i386/pipe.S: Likewise.
38105         * sysdeps/unix/i386/sigreturn.S: Likewise.
38106         * sysdeps/unix/i386/syscall.S: Likewise.
38107         * sysdeps/unix/i386/vfork.S: Likewise.
38108         * sysdeps/unix/i386/wait.S: Likewise.
38110         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38111         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38113         * configure.in (arm*-none*): Do not allow without
38114         --enable-hacker-mode.
38115         (netbsd*): Remove case setting base_os.
38116         (386bsd*): Likewise.
38117         (freebsd*): Likewise.
38118         (bsdi*): Likewise.
38119         (osf*): Likewise.
38120         (sunos*): Likewise.
38121         (ultrix*): Likewise.
38122         (newsos*): Likewise.
38123         (dynix*): Likewise.
38124         (*bsd*): Likewise.
38125         (sysv*): Likewise.
38126         (isc*): Likewise.
38127         (esix*): Likewise.
38128         (sco*): Likewise.
38129         (minix*): Likewise.
38130         (irix4*): Likewise.
38131         (irix6*): Likewise.
38132         (solaris[2-9]*): Likewise.
38133         (none): Likewise.
38134         * configure: Regenerated.
38136 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38138         [BZ #11521]
38139         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38140         overflow or cancellation in calculating denominator.
38141         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38142         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38143         down expression to avoid unexpected rounding in newer GCCs.
38144         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38146 2012-04-26  David S. Miller  <davem@davemloft.net>
38148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38149         long-double compat symbols.
38150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38164 2012-04-25  David S. Miller  <davem@davemloft.net>
38166         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38167         HWCAP_* values only after the memory barriers have been defined.
38168         (atomic_full_barrier): Define.
38169         (atomic_read_barrier): Define.
38170         (atomic_write_barrier): Define.
38172 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38174         * shlib-versions: Add libgcc_s version information.
38175         * sysdeps/generic/libgcc_s.h: Remove.
38176         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38177         libgcc_s.h.
38178         * sysdeps/gnu/unwind-resume.c: Likewise.
38179         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38181 2012-04-25  David S. Miller  <davem@davemloft.net>
38183         * sysdeps/unix/sparc/brk.S: Delete.
38184         * sysdeps/unix/sparc/dl-brk.S: Delete.
38185         * sysdeps/unix/sparc/pipe.S: Delete.
38186         * sysdeps/unix/sparc/sysdep.S: Delete.
38187         * sysdeps/unix/sparc/sysdep.h: Delete.
38188         * sysdeps/unix/sparc/vfork.S: Delete.
38189         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38190         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38191         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38192         (ret_ERRVAL, r0, r1, MOVE): Define.
38193         (JUMPTARGET): Remove.
38194         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38195         sysdeps/unix/sparc/sysdep.h
38196         (ENTRY, END): Remove.
38197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38199 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38201         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38202         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38203         -DIS_IN_build.
38205         * timezone/README: Update upstream location and email address for
38206         tzcode and tzdata.
38207         * timezone/zdump.c: Update from tzcode 2012b.
38208         * timezone/zic.c: Likewise.
38210         * configure.in (libc_cv_as_needed): Remove test.
38211         * configure: Regenerated.
38212         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38213         conditional definition.
38214         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38215         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38216         * config.make.in (have-as-needed): Remove variable.
38218 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38219             Paul Pluzhnikov  <ppluzhnikov@google.com>
38221         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38222         strings correctly.
38224 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38226         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38227         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38228         * sysdeps/sh/strlen.S: Likewise.
38230 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38232         * sysdeps/unix/fork.S: Remove file.
38233         * sysdeps/unix/i386/fork.S: Likewise.
38234         * sysdeps/unix/sparc/fork.S: Likewise.
38236         * sysdeps/unix/system.c: Remove file.
38237         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38239         * sysdeps/unix/getegid.S: Remove file.
38240         * sysdeps/unix/geteuid.S: Likewise.
38242 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38244         * scripts/check-localplt.awk: New file.
38245         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38246         of diff.
38247         * scripts/data/localplt-generic.data: Add a comment.
38249         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38250         NODE when __dir_mkfile failed.
38251         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38252         Reported by Ludovic Courtès <ludo@gnu.org>.
38254 2012-04-24  Andreas Jaeger  <aj@suse.de>
38256         * Makerules (common-clean): Also remove gen-as-const-headers
38257         files.
38259 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38261         * Makerules (native-compile): Do not change working directory for
38262         build.  Use $(OUTPUT_OPTION) in command.
38263         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38265 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38267         [BZ #13886]
38268         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38269         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38270         * math/libm-test.inc (floor_test): Add more tests.
38271         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38273 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38275         * sysdeps/unix/getdents.c: Remove file.
38276         * sysdeps/unix/sysv/getdents.c: Likewise.
38277         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38279         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38280         sysdeps/unix/mman/syscalls.list.
38281         (mmap): Likewise.
38282         (mprotect): Likewise.
38283         (msync): Likewise.
38284         (munmap): Likewise.
38285         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38286         * sysdeps/unix/mman/syscalls.list: Remove.
38287         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38289         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38290         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38291         * configure: Regenerated.
38292         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38293         $(libgcc_s_suffix).
38294         * config.make.in (libgcc_s_suffix): Remove variable.
38296 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38298         * sysdeps/unix/sysv/gethostname.c: Move to ...
38299         * sysdeps/posix/gethostname.c: ... here.
38301         * sysdeps/unix/execve.S: Remove file.
38303         * sysdeps/unix/_exit.S: Remove file.
38305 2012-04-23  Andreas Jaeger  <aj@suse.de>
38307         [BZ #13739]
38308         * manual/Makefile: Remove make dist support, there's no
38309         need for a stand-alone documentation tar ball.
38310         (TEXI2DVI): Define always, it's not in Makeconfig.
38311         (dist): Removed.
38312         (tar-it): Removed.
38313         (edition): Removed.
38314         (glibc-doc-$(edition).tar): Removed
38315         (%.Z): Removed.
38316         (%.gz): Removed.
38317         (%.uu): Removed.
38318         (ETAGS): Remove, it's in Makeconfig.
38319         (move-if-change): Remove, it's in Makeconfig.
38321 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38323         [BZ #13970]
38324         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38325         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38326         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38327         (strtod_l, strtof_l, strtold_l): Remove __wur.
38328         It is not necessarily an error to ignore strtol's return value.
38329         One can reliably look at the stored endptr to decide whether
38330         the number had valid syntax.
38332 2012-04-21  Andreas Jaeger  <aj@suse.de>
38334         [BZ #13739]
38335         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38337 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38339         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38340         * sysdeps/unix/sysv/Versions: Remove file.
38342 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38344         [BZ #13927]
38345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38347 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38349         [BZ #7064]
38350         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38351         version from __vm86.
38353 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38355         * sysdeps/unix/common/lxstat.c: Remove file.
38356         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38358         * sysdeps/unix/sysv/Makefile: Remove file.
38360         * sysdeps/unix/sysv/direct.h: Remove file.
38362         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38363         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38364         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38365         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38366         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38367         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38368         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38370         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38372         * sysdeps/unix/xmknod.c: Remove file.
38373         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38375         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38377         * sysdeps/unix/sysv/i386/time.S: Remove file.
38379         * sysdeps/unix/fxstat.c: Remove file.
38380         * sysdeps/unix/xstat.c: Likewise.
38381         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38383         * sysdeps/unix/sysv/sigaction.c: Remove file.
38385         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38386         (sysdep_headers): Remove variable.
38387         [termio.h not in sysdep_headers] (generated): Likewise.
38388         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38389         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38390         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38391         * sysdeps/unix/sysv/tcflow.c: Likewise.
38392         * sysdeps/unix/sysv/tcflush.c: Likewise.
38393         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38394         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38395         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38396         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38397         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38399         * sysdeps/unix/siglist.c: Remove file.
38401         * sysdeps/unix/getppid.S: Remove file.
38403         * sysdeps/unix/mkdir.c: Remove file.
38404         * sysdeps/unix/rmdir.c: Likewise.
38406 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38408         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38409         ERR_MAX value.
38410         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38411         errlist-compat value.
38413 2012-04-18  David S. Miller  <davem@davemloft.net>
38415         * sysdeps/generic/memcopy.h (reg_char): Delete.
38416         * debug/strcat_chk.c: Use char, not reg_char.
38417         * debug/strcpy_chk.c: Likewise.
38418         * debug/strncat_chk.c: Likewise.
38419         * debug/strncpy_chk.c: Likewise.
38420         * string/memchr.c: Likewise.
38421         * string/memrchr.c: Likewise.
38422         * string/rawmemchr.c: Likewise.
38423         * string/strcat.c: Likewise.
38424         * string/strchr.c: Likewise.
38425         * string/strchrnul.c: Likewise.
38426         * string/strcmp.c: Likewise.
38427         * string/strcpy.c: Likewise.
38428         * string/strncat.c: Likewise.
38429         * string/strncmp.c: Likewise.
38430         * string/strncpy.c: Likewise.
38432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38434         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38435         __builtin_memcopy is called when src and dest ranges are known to not
38436         overlap.
38438 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38440         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38441         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38442         fwd_align_merge macro call.
38443         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38444         bwd_align_merge macro call.
38445         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38447 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38449         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38450         bwd_align_merge macros.
38451         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38452         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38453         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38455 2012-04-18  David S. Miller  <davem@davemloft.net>
38457         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38459 2012-04-18  Andreas Jaeger  <aj@suse.de>
38461         [BZ# 6794]
38462         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38463         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38464         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38466         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38467         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38468         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38470         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38471         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38472         Adjust for changed ldbl-128 files.
38474         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38475         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38476         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38478 2012-04-17  David S. Miller  <davem@davemloft.net>
38480         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38482 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38484         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38485         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38486         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38487         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38488         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38489         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38491 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38493         [BZ #6794]
38494         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38495         * math/libm-test.inc: Add ilogb errno and exception tests.
38496         * math/w_ilogb.c: New file: ilogb wrapper.
38497         * math/w_ilogbf.c: New file: ilogbf wrapper.
38498         * math/w_ilogbl.c: New file: ilogbl wrapper.
38499         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38500         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38501         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38502         exception being thrown with 0.0 as argument.
38503         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38504         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38505         exception being thrown with 0.0 as argument.
38506         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38507         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38508         exception being thrown with 0.0 as argument.
38509         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38510         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38511         exception being thrown with 0.0 as argument.
38512         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38513         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38514         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38515         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38516         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38517         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38518         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38519         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38520         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38522 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38524         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38525         with altivec.
38527 2012-04-16  Marek Polacek  <polacek@redhat.com>
38529         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38531 2012-04-16  Marek Polacek  <polacek@redhat.com>
38533         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38534         operands of fdivp instruction.
38536 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38538         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38539         * elf/tst-auditmod3b.c: Likewise.
38540         * elf/tst-auditmod4b.c: Likewise.
38541         * elf/tst-auditmod5b.c: Likewise.
38542         * elf/tst-auditmod6b.c: Likewise.
38543         * elf/tst-auditmod6c.c: Likewise.
38544         * elf/tst-auditmod7b.c: Likewise.
38545         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38546         * sysdeps/x86_64/preconfigure.in: Likewise.
38547         * sysdeps/x86_64/preconfigure: Regenerated.
38549 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38551         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38552         __ILP32__.
38554 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38557         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38559 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38561         [BZ #13973]
38562         * locale/iso-639.def: Fix gl language name. Spotted by
38563         Yaron Shahrabani.
38565 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38567         [BZ #2074]
38568         * libio/libio.h (__io_write_fn): Update comment.
38570 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38572         [BZ #2074]
38573         * stdio.texi (Hook Functions): The user provided writer function
38574         is not allowed to return -1.
38576 2012-04-11  David S. Miller  <davem@davemloft.net>
38578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38580 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38582         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38583         Add a leading slash to rtkaio.
38585 2012-04-11  Jim Meyering  <meyering@redhat.com>
38587         [BZ #11959]
38588         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38589         It is not necessarily an error to ignore fwrite's return
38590         value.  One can reliably use ferror to test for errors after
38591         the fact.
38593 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38595         * bits/types.h (__snseconds_t): New type.
38596         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38598         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38600         (__SNSECONDS_T_TYPE): Likewise.
38601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38602         (__SNSECONDS_T_TYPE): Likewise.
38603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38604         (__SNSECONDS_T_TYPE): Likewise.
38606 2012-04-10  Andreas Jaeger  <aj@suse.de>
38608         [BZ #2636]
38609         * manual/time.texi (Processor Time): Return type of times is
38610         elapsed real time since an arbitrary point in the past.
38611         (CPU Time): Move CLK_TCK from here...
38612         (Processor Time): ...to here.  Correct description.
38613         * manual/conf.texi (Constants for Sysconf): Correct description of
38614         _SC_CLK_TCK.
38616 2012-04-10  David S. Miller  <davem@davemloft.net>
38618         [BZ #13967]
38619         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38620         where the is a gap between DT_REL(A) and DT_JMPREL.
38622 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38624         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38625         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38626         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38628 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38630         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38631         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38632         (dl_main): Handle --inhibit-cache.
38633         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38634         _dl_inhibit_cache.
38635         * elf/dl-load.c (_dl_map_object): Use it.
38636         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38638 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38640         [BZ #13872]
38641         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38642         (__ieee754_powl): Saturate large exponents rather than testing for
38643         overflow of y*log2(x).
38644         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38645         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38646         exceptions.
38648         [BZ #11521]
38649         * math/s_ctan.c: Include <float.h>.
38650         (__ctan): Avoid internal overflow or cancellation in calculating
38651         denominator.
38652         * math/s_ctanf.c: Likewise.
38653         * math/s_ctanl.c: Likewise.
38654         * math/s_ctanh.c: Likewise.
38655         * math/s_ctanhf.c: Likewise.
38656         * math/s_ctanhl.c: Likewise.
38657         * math/libm-test.inc (ctan_test): Add more tests.
38658         (ctanh_test): Likewise.
38659         * sysdeps/i386/fpu/libm-test-ulps: Update.
38660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38662 2012-04-09  Andreas Jaeger  <aj@suse.de>
38664         [BZ #6894]
38665         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38666         is an optional BSD extension.
38668         [BZ #10254]
38669         * manual/stdio.texi (Opening Streams): Document additional fopen
38670         parameters.
38672 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38674         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38675         %eax without telling the compiler.
38677 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38679         [BZ # 13963]
38680         * manual/install.texi: Use sourceware.org.
38682 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38684         [BZ #13873]
38685         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38686         (__ieee754_pow): Generate overflow and underflow using huge*huge
38687         and tiny*tiny rather than just returning constant infinity or zero
38688         for large exponents.
38689         * math/libm-test.inc (pow_test): Require overflow exceptions for
38690         applicable cases of large exponents.
38692         [BZ #706]
38693         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38694         (__ieee754_pow): Use iterative multiplication algorithm only for
38695         integer exponents with absolute value below 1024.  Check for odd
38696         integer exponents when using algorithm for real exponents.
38697         * math/libm-test.inc (pow_test): Add more tests.
38698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38700 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38702         [BZ #13705]
38703         * math/libm-test.inc (exp_test): Do not allow overflow exception
38704         on underflow test.
38706 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38708         [BZ #13705]
38709         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38710         instead of __kernel_standard_f.
38712 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38714         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38715         * sysdeps/x86_64/memset_chk.S: Likewise.
38717 2012-04-08  Andreas Jaeger  <aj@suse.de>
38719         [BZ #10153]
38720         * manual/startup.texi (Environment Access): Describe return value
38721         for putenv and setenv.
38723         [BZ #6895]
38724         * manual/filesys.texi (Directory Entries): Add description for
38725         DT_LNK.
38727         [BZ #6890]
38728         * manual/filesys.texi (Directory Entries): Clarify that it's file
38729         system not operating system in the description of DT_UNKNOWN.
38731         [BZ #6578]
38732         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38734 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38736         [BZ #6649]
38737         * manual/llio.texi (Opening and Closing Files): Add cross
38738         reference to explain mode argument.
38740 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38742         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38743         * sysdeps/x86_64/memset_chk.S: Likewise.
38745 2012-04-07  David S. Miller  <davem@davemloft.net>
38747         * elf/elf.h (R_SPARC_WDISP10): Define.
38748         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38749         R_SPARC_SIZE32.
38750         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38751         R_SPARC_SIZE64 and R_SPARC_H34.
38753 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38755         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38756         conditions and remove no longer applicable assertion.
38758 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38760         * bits/byteswap.h: Include <features.h>.
38761         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38762         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38764 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38766         * bits/byteswap.h (__bswap_16): Removed.
38767         Include <bits/byteswap-16.h> to get __bswap_16.
38768         * sysdeps/i386/bits/byteswap.h: Likewise.
38769         * sysdeps/s390/bits/byteswap.h: Likewise.
38770         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38771         * bits/byteswap-16.h: New file.
38772         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38773         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38774         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38775         * string/Makefile (headers): Add bits/byteswap-16.h.
38777 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38779         [BZ #13895]
38780         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38781         extra indirection.
38782         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38783         * nss/tst-nss-static.c: New.
38785 2012-04-06  Robert Millan  <rmh@gnu.org>
38787         [BZ #6486]
38788         * manual/llio.texi (File Position Primitive): lseek
38789         refers to WHENCE when it really means OFFSET.
38791 2012-04-06  Andreas Jaeger  <aj@suse.de>
38793         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38794         strncmp declarations.
38796         * abilist/libc.abilist: Add __poll and __ppoll.
38798 2012-04-05  David S. Miller  <davem@davemloft.net>
38800         * scripts/check-local-headers.sh: Accept a host triplet in the
38801         path matched by the exclude regexp.
38803         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38804         definition.
38805         * sysdeps/powerpc/powerpc32/dl-machine.h
38806         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38807         * sysdeps/s390/s390-32/dl-machine.h
38808         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38809         * sysdeps/sparc/sparc32/dl-machine.h
38810         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38811         * sysdeps/sparc/sparc64/dl-machine.h
38812         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38814         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38815         lazy binding.
38816         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38817         undefined symbol errors.
38819         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38820         DT_NEEDED entries.
38822 2012-04-05  Michael Matz  <matz@suse.de>
38824         [BZ #13592]
38825         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38827 2012-04-05  Andreas Jaeger  <aj@suse.de>
38829         [BZ #13908]
38830         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38831         comment.
38833 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38835         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38836         which ROUND is no valid rounding mode.
38838 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38840         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38841         read again.
38842         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38844 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38846         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38847         an exception using FPU order intentionally.
38849 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38851         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38852         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38853         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38854         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38856 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38858         [BZ #12340]
38859         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38860         EINVAL when BUFLEN is too smal.
38862 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38864         [BZ #13553]
38865         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38866         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38868 2012-04-03  Andreas Jaeger  <aj@suse.de>
38870         [BZ #13938]
38871         * manual/setjmp.texi (System V contexts): Fix sentence.
38873         [BZ #13926]
38874         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38875         New macro for this case.
38876         [!__GNUC__] (__bswap_64): New inline function for this case.
38877         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38878         * bits/byteswap.h: Likewise.
38879         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38880         ull, guard with __GLIBC_HAVE_LONG_LONG.
38882         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38883         __GLIBC_HAVE_LONG_LONG.
38885         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38886         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38888 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38890         [BZ #13691]
38891         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38892         inptr and inend, rather than using last_ch.
38894 2012-04-02  David S. Miller  <davem@davemloft.net>
38896         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38897         * stdio-common/printf-parse.h (read_int): Change return type to
38898         'int', return -1 on INT_MAX overflow.
38899         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38900         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38901         overflows INT_MAX.  Check for overflow of in-format-string precision
38902         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38903         SIZE_MAX not INT_MAX for integer overflow test.
38904         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38905         skip the construct in the format string but do not record anything.
38906         * stdio-common/bug22.c: Adjust to test both width/prevision
38907         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38908         explicitly for proper errno values.
38910 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38912         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38913         CHAR_MAX.
38914         * string/test-strcmp.c [! WIDE]: Likewise.
38915         * time/tst-mktime2.c: Likewise for INT_MAX.
38916         * string/test-string.h: #include <sys/param.h> for MIN.
38918         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38919         * sysdeps/i386/init-first.c (init): Likewise.
38920         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38921         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38922         * sysdeps/sh/init-first.c (init): Likewise.
38924 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38926         * po/ru.po: Update from translation team.
38927         * po/vi.po: Likewise.
38929 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38931         * resolv/nss_dns/dns-host.c: Merge copyright years.
38933 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38935         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38936         Optimize memcpy with prefetch if
38937         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38938         src, dst pointers have unequal 16 byte alignments.
38940 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38942         [BZ #13928]
38943         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38944         from a CNAME entry and return the minimum ttl for the query.
38945         (gaih_getanswer_slice): Likewise.
38947 2012-03-30  Jeff Law  <law@redhat.com>
38949         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38950         due to long keys.
38951         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38952         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38954         * resolv/nss_dns/dns-host.c: Update copyright year.
38956 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38958         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38959         requests to save a system call.  Fix check that all bytes are sent.
38961         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38962         comments for sendmmsg.
38964 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38966         [BZ #13691]
38967         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38968         with only 1 character between 0x0041 and 0x01b0.
38969         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38970         * wcsmbs/tst-mbsnrtowcs.c: New file.
38972 2012-03-29  David S. Miller  <davem@davemloft.net>
38974         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38975         small copies by hand.
38977 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38979         [BZ #13761]
38980         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38981         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38982         group memberships.
38984 2012-03-28  David S. Miller  <davem@davemloft.net>
38986         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38987         that branches into memcpy.
38988         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38989         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38990         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38991         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38992         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38993         bits.
38994         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38995         implementation too.
38996         * sysdeps/sparc/mempcpy.S: New file.
38998         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38999         the IFUNC routine in the libc case.
39000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39002         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39003         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39004         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39005         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39006         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39007         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39008         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39009         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39011         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39012         loop to 256 bytes instead of 64 bytes and fix test signedness.
39014         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39015         * sysdeps/sparc/sparc32/Makefile: rather than here...
39016         * sysdeps/sparc/sparc64/Makefile: and here.
39018 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39020         * malloc/mallocbug.c: Avoid warnings about unused variables.
39022 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39024         [BZ #13760]
39025         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39026         in the right place. Discard and retry query if response is
39027         larger than input buffer size.
39029 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39031         [BZ #369]
39032         [BZ #2678]
39033         [BZ #3866]
39034         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39035         x for large integer exponent.
39036         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39037         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39038         sign of result as needed afterwards.
39039         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39040         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39041         result for underflowing pow the same as for overflow.
39042         (__kernel_standard_l): Handle powl overflow and underflow here
39043         rather than calling __kernel_standard.
39044         * math/libm-test.inc (pow_test): Add more tests.
39046         [BZ #3868]
39047         [BZ #13879]
39048         [BZ #13910]
39049         [BZ #13911]
39050         [BZ #13912]
39051         [BZ #13913]
39052         [BZ #13915]
39053         [BZ #13916]
39054         [BZ #13917]
39055         [BZ #13918]
39056         [BZ #13919]
39057         [BZ #13920]
39058         [BZ #13921]
39059         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39060         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39061         (__kernel_standard_l): New function.
39062         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39063         __kernel_standard.
39064         * math/w_acosl.c (__acosl): Likewise.
39065         * math/w_asinl.c (__asinl): Likewise.
39066         * math/w_atan2l.c (__atan2l): Likewise.
39067         * math/w_atanhl.c (__atanhl): Likewise.
39068         * math/w_coshl.c (__coshl): Likewise.
39069         * math/w_exp10l.c (__exp10l): Likewise.
39070         * math/w_exp2l.c (__exp2l): Likewise.
39071         * math/w_fmodl.c (__fmodl): Likewise.
39072         * math/w_hypotl.c (__hypotl): Likewise.
39073         * math/w_j0l.c (__j0l, __y0l): Likewise.
39074         * math/w_j1l.c (__j1l, __y1l): Likewise.
39075         * math/w_jnl.c (__jnl, __ynl): Likewise.
39076         * math/w_lgammal.c (__lgammal): Likewise.
39077         * math/w_log10l.c (__log10l): Likewise.
39078         * math/w_log2l.c (__log2l): Likewise.
39079         * math/w_logl.c (__logl): Likewise.
39080         * math/w_powl.c (__powl): Likewise.
39081         * math/w_remainderl.c (__remainderl): Likewise.
39082         * math/w_scalbl.c (sysv_scalbl): Likewise.
39083         * math/w_sinhl.c (__sinhl): Likewise.
39084         * math/w_sqrtl.c (__sqrtl): Likewise.
39085         * math/w_tgammal.c (__tgammal): Likewise.
39086         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39087         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39088         * math/libm-test.inc (acos_test): Add more tests.
39089         (acosh_test): Likewise.
39090         (asin_test): Likewise.
39091         (atanh_test): Likewise.
39092         (exp_test): Likewise.
39093         (exp10_test): Likewise.
39094         (exp2_test): Likewise.
39095         (expm1_test): Likewise.
39096         (lgamma_test): Likewise.
39097         (log_test): Likewise.
39098         (log10_test): Likewise.
39099         (log1p_test): Likewise.
39100         (log2_test): Likewise.
39101         (pow_test): Do not allow some spurious overflow exceptions.
39102         (sqrt_test): Add more tests.
39103         (tgamma_test): Likewise.
39104         (y0_test): Likewise.
39105         (y1_test): Likewise.
39106         (yn_test): Likewise.
39108 2012-03-27  Anton Blanchard  <anton@samba.org>
39110         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39111         MAP_HUGETLB.
39112         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39113         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39114         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39116 2012-03-27  David S. Miller  <davem@davemloft.net>
39118         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39120         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39121         have-as-vis3 check.
39123 2012-03-27  Andreas Jaeger  <aj@suse.de>
39125         * sysdeps/x86_64/elf/configure.in: Moved to ...
39126         * sysdeps/x86_64/configure.in: ... here.
39127         * sysdeps/x86_64/elf/start.S: Moved to ...
39128         * sysdeps/x86_64/start.S: ... here.
39129         * sysdeps/x86_64/elf/configure: Delete.
39131         * sysdeps/x86_64/configure.in: Merge contents from
39132         sysdeps/i386/configure.in (without i686 check).
39134         * sysdeps/i386/elf/Versions: Merge into ...
39135         * sysdeps/i386/Versions: ... this.
39136         * sysdeps/i386/elf/Versions: Delete file.
39137         * sysdeps/i386/elf/start.S: Moved to ...
39138         * sysdeps/i386/start.S: ...here.
39139         * sysdeps/i386/elf/configure.in: Merge into...
39140         * sysdeps/i386/configure.in: ...here.
39141         * sysdeps/i386/elf/configure.in: Delete file.
39142         * sysdeps/i386/elf/configure: Delete file.
39144         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39145         * debug/backtracesyms.c: ... here.
39146         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39147         * debug/backtracesymsfd.c: ... here.
39148         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39149         * sysdeps/generic/ifunc-sel.h: ... here.
39151         * sysdeps/unix/i386/start.c: Delete file.
39152         * sysdeps/unix/sparc/start.c: Delete file.
39153         * sysdeps/unix/start.c: Delete file.
39155         * sysdeps/sh/elf/configure.in: Moved to ...
39156         * sysdeps/sh/configure.in: ... here.
39157         * sysdeps/sh/elf/start.S: Moved to ...
39158         * sysdeps/sh/start.S: ... here.
39159         * sysdeps/sh/elf/configure: Delete file.
39161         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39162         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39163         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39164         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39165         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39166         * sysdeps/powerpc/powerpc64/start.S: here.
39167         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39168         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39169         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39170         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39171         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39173         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39174         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39175         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39176         * sysdeps/powerpc/powerpc32/start.S: ... here.
39177         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39178         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39179         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39181         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39182         * sysdeps/powerpc/ifunc-sel.h: ... here.
39183         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39184         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39186         * sysdeps/sparc/elf/configure.in: Moved to ...
39187         * sysdeps/sparc/configure.in: ... here.
39188         * sysdeps/sparc/elf/configure: Delete file.
39189         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39190         * sysdeps/sparc/sparc32/start.S: ... here.
39191         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39192         * sysdeps/sparc/sparc64/start.S: ... here.
39193         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39194         * sysdeps/sparc/sparc32/Makefile: ... this.
39195         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39196         * sysdeps/sparc/sparc64/Makefile: ... this.
39198         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39199         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39200         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39201         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39202         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39203         * sysdeps/s390/s390-32/setjmp.S: ... here.
39204         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39205         * sysdeps/s390/s390-32/configure.in: ... here.
39206         * sysdeps/s390/s390-32/elf/configure: Delete file.
39207         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39208         * sysdeps/s390/s390-32/start.S: ... here.
39210         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39211         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39212         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39213         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39214         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39215         * sysdeps/s390/s390-64/setjmp.S: ... here.
39216         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39217         * sysdeps/s390/s390-64/configure.in: ... here
39218         * sysdeps/s390/s390-64/elf/configure: Delete file.
39219         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39220         * sysdeps/s390/s390-64/start.S: ... here.
39221         * sysdeps/s390/s390-64/elf/configure: Delete.
39223         * configure.in: Remove support for elf directories in sysdeps.
39225         * configure: Regenerated.
39226         * sysdeps/i386/configure: Regenerated.
39227         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39228         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39229         * sysdeps/s390/s390-32/configure: Regenerated.
39230         * sysdeps/s390/s390-64/configure: Regenerated.
39231         * sysdeps/sh/configure: Regenerated.
39232         * sysdeps/sparc/configure: Regenerated.
39233         * sysdeps/x86_64/configure: Regenerated.
39235 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39239         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39240         denormal result into account.
39242 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39244         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39245         Reported by Allan McRae <allan@archlinux.org>.
39247 2012-03-23  Jeff Law  <law@redhat.com>
39249         * nss/getnssent.c (__nss_getent): Fix typo.
39251 2012-03-23  David S. Miller  <davem@davemloft.net>
39253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39255 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39257         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39258         to pad to uint64_t for each field.
39259         (dl_tls_index): Replace unsigned long with uint64_t.
39261 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39262         Paul Pluzhnikov  <ppluzhnikov@google.com>
39264         [BZ #6528]
39265         * grp/Makefile (otherlibs): Don't set it.
39266         * inet/Makefile (otherlibs): Likewise.
39267         * login/Makefile (otherlibs): Likewise.
39268         * nscd/Makefile (otherlibs): Likewise.
39269         * posix/Makefile (otherlibs): Likewise.
39270         * pwd/Makefile (otherlibs): Likewise.
39271         * rt/Makefile (otherlibs): Likewise.
39272         * sunrpc/Makefile (otherlibs): Likewise.
39273         * nss/Makefile (otherlibs): Likewise.
39274         Add libnss_files to routines and static-only-routines.
39275         ($(objpfx)getent): Remove rule.
39276         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39277         static-only-routines.
39279 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39281         [BZ #13892]
39282         * math/s_cexp.c: Include <float.h>.
39283         (__cexp): Handle exp result overflowing not necessarily
39284         overflowing both real and imaginary parts of result.
39285         * math/s_cexpf.c: Likewise.
39286         * math/s_cexpl.c: Likewise.
39287         * math/libm-test.inc (cexp_test): Add more tests.
39288         * sysdeps/i386/fpu/libm-test-ulps: Update.
39289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39291 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39293         * include/link.h (ELFW): New macro.
39294         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39295         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39297 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39299         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39300         with uint64_t.
39302 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39304         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39305         declaration.
39306         (struct La_x32_retval): Likewise.
39308 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39310         * sysdeps/x86_64/preconfigure.in: New file.
39311         * sysdeps/x86_64/preconfigure: New generated file.
39313 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39315         [BZ #13824]
39316         * math/e_exp2l.c: Include <float.h>.
39317         (__ieee754_exp2l): Handle overflow and underflow cases
39318         separately.  Only pass fractional part of argument to
39319         __ieee754_expl.
39320         * math/libm-test.inc (exp2_test): Add more tests.
39322         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39323         negating x to take absolute value.
39324         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39325         Likewise.
39326         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39327         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39328         Likewise.
39329         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39330         computing low part if x was negated.
39331         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39333 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39335         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39336         la_x32_gnu_pltexit.
39337         (pltexit): Cast int_retval to ptrdiff_t.
39338         * elf/tst-auditmod3b.c: Likewise.
39339         * elf/tst-auditmod4b.c: Likewise.
39340         * elf/tst-auditmod5b.c: Likewise.
39341         * elf/tst-auditmod6b.c: Likewise.
39342         * elf/tst-auditmod6c.c: Likewise.
39343         * elf/tst-auditmod7b.c: Likewise.
39345         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39346         and x32_gnu_pltexit.
39348         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39349         __ELF_NATIVE_CLASS.
39350         (La_x32_regs): New macro.
39351         (La_x32_retval): Likewise.
39352         (la_x32_gnu_pltenter): New function prototype.
39353         (la_x32_gnu_pltexit): Likewise.
39355 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39357         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39358         exponent.
39360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39362         * configure.in (libc_cv_cc_nofma): Check for option to disable
39363         generation of FMA instructions.
39364         * configure: Regenerate.
39365         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39366         * sysdeps/ieee754/dbl-64/Makefile: New file.
39367         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39368         Remove brandred-fma4.
39369         (CFLAGS-brandred-fma4.c): Remove.
39370         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39371         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39372         define.
39373         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39374         define.
39376 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39378         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39379         LLONG_MAX != LONG_MAX.
39380         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39381         (_fitoa_word): Likewise.
39382         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39383         LLONG_MAX != LONG_MAX.
39384         * stdio-common/_itowa.h: Include <_itoa.h>.
39385         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39386         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39387         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39388         only if not defined.
39389         (_ITOA_WORD_TYPE): Likewise.
39390         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39391         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39393 2012-03-21  David S. Miller  <davem@davemloft.net>
39395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39397 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39399         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39400         of x86_64 when setting libc_cv_slibdir, libdir and
39401         libc_cv_localedir.
39402         * sysdeps/unix/sysv/linux/configure: Regenerated.
39404 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39406         * manual/lang.texi (Old Varargs): Remove section.
39407         (How Variadic): Update menu.
39408         (va_start): Do not mention varargs.h.
39410 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39411             Joseph Myers  <joseph@codesourcery.com>
39413         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39414         link test.
39415         * configure: Regenerated.
39417 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39419         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39420         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39421         conformtest.pl
39423 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39425         * NOTES: Remove.
39426         * Makefile (files-for-dist): Remove NOTES.
39427         (NOTES): Remove rule.
39428         * README: Don't refer to NOTES.
39429         * manual/creature.texi: Don't include macros.texi.
39430         * manual/intro.texi (creature.texi): Remove comment referring to
39431         NOTES.
39433         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39434         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39435         * configure: Regenerated.
39436         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39437         LIBC_TRY_CC_OPTION.
39438         (libc_cv_as_i686): Likewise.
39439         (libc_cv_cc_avx): Likewise.
39440         (libc_cv_cc_sse2avx): Likewise.
39441         (libc_cv_cc_fma4): Likewise.
39442         (libc_cv_cc_novzeroupper): Likewise.
39443         * sysdeps/i386/configure: Regenerated.
39445         [BZ #13883]
39446         * sysdeps/i386/fpu/s_cexp.S: Remove.
39447         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39448         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39449         * math/libm-test.inc (cexp_test): Add more tests.
39450         * sysdeps/i386/fpu/libm-test-ulps: Update.
39451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39453 2012-03-21  Allan McRae  <allan@archlinux.org>
39455         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39457 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39459         [BZ #13871]
39460         * math/w_exp2.c: Do not include <float.h>.
39461         (o_threshold, u_threshold): Remove.
39462         (__exp2): Calculate result before checking finiteness and calling
39463         __kernel_standard.
39464         * math/w_exp2f.c: Likewise.
39465         * math/w_exp2l.c: Likewise.
39466         * math/libm-test.inc (exp2_test): Require overflow exception for
39467         1e6 input.
39469         [BZ #3866]
39470         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39471         range of signed 64-bit integers before using fistpll.  Remove
39472         checks for whether integers fit in mantissa bits.
39473         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39474         the range of signed 32-bit integers before using fistpl.  Remove
39475         checks for whether integers fit in mantissa bits.
39476         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39477         (__ieee754_powl): Test for y outside the range of signed 64-bit
39478         integers before using fistpll.  Reduce 64-bit values to 63-bit
39479         ones as needed.
39480         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39481         divide-by-zero is raised for zero to large negative powers.
39482         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39483         (__ieee754_powl): Test for y outside the range of signed 64-bit
39484         integers before using fistpll.  Reduce 64-bit values to 63-bit
39485         ones as needed.
39486         * math/libm-test.inc (pow_test): Add more tests.
39488 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39490         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39491         <stdio-common/_itoa.h>.
39492         * debug/segfault.c: Likewise.
39493         * elf/dl-cache.c: Likewise.
39494         * elf/dl-minimal.c: Likewise.
39495         * elf/dl-misc.c: Likewise.
39496         * elf/dl-sysdep.c: Likewise.
39497         * elf/dl-version.c: Likewise.
39498         * elf/rtld.c: Likewise.
39499         * hurd/hurdsock.c: Likewise.
39500         * hurd/lookup-retry.c: Likewise.
39501         * malloc/malloc.c: Likewise.
39502         * malloc/mtrace.c: Likewise.
39503         * nscd/nscd_getgr_r.c: Likewise.
39504         * nscd/nscd_getpw_r.c: Likewise.
39505         * nscd/nscd_getserv_r.c: Likewise.
39506         * posix/getopt_init.c: Likewise.
39507         * posix/wordexp.c: Likewise.
39508         * stdio-common/_itoa.c: Likewise.
39509         * stdio-common/printf_fphex.c: Likewise.
39510         * stdio-common/vfprintf.c: Likewise.
39511         * string/_strerror.c: Likewise.
39512         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39513         * sysdeps/i386/i686/hp-timing.h: Likewise.
39514         * sysdeps/mach/_strerror.c: Likewise.
39515         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39516         * sysdeps/mach/hurd/sethostid.c: Likewise.
39517         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39518         * sysdeps/mach/xpg-strerror.c: Likewise.
39519         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39520         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39521         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39522         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39523         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39524         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39525         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39526         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39527         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39528         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39529         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39530         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39531         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39532         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39533         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39534         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39535         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39536         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39537         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39538         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39539         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39541         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39543         * stdio-common/_itoa.h: Moved to ...
39544         * sysdeps/generic/_itoa.h: Here.
39546         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39548         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39549         instead of "_itoa.h" and "_itowa.h".
39550         * stdio-common/vfprintf.: Likewise.
39552 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39554         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39555         <bits/wordsize.h>.
39556         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39557         (__signbit): Likwise.
39558         (llrintf): Likwise.
39559         (llrint): Likwise.
39561 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39563         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39564         __WORDSIZE != 64.
39566 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39568         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39569         OVERFLOW_EXCEPTION_OK.
39570         * math/libm-test.inc ("Philosophy"): Update comment about
39571         exception testing.
39572         (OVERFLOW_EXCEPTION): Define.
39573         (OVERFLOW_EXCEPTION_OK): Likewise.
39574         (INVALID_EXCEPTION_OK): Renumber.
39575         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39576         (IGNORE_ZERO_INF_SIGN): Likewise.
39577         (test_exceptions): Handle FE_OVERFLOW.
39578         (exp10_test): Expect overflow exceptions.
39579         (exp2_test): Likewise.
39580         (expm1_test): Likewise.
39581         (nextafter_test): Likewise.
39582         (pow_test): Likewise.
39583         (scalbn_test): Likewise.
39584         (scalbln_test): Likewise.
39586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39588         * sysdeps/x86_64/bits/atomic.h
39589         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39590         64bit integer.
39591         (atomic_exchange_acq): Likewise.
39592         (__arch_exchange_and_add_body): Likewise.
39593         (__arch_add_body): Likewise.
39594         (atomic_add_negative): Likewise.
39595         (atomic_add_zero): Likewise.
39597 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39599         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39600         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39602 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39604         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39605         Check __x86_64__ instead of __WORDSIZE.
39607 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39609         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39611 2012-03-19  David S. Miller  <davem@davemloft.net>
39613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39615         * sysdeps/sparc/fpu/fenv_private.h: New file.
39616         * sysdeps/sparc/fpu/math_private.h: Use it.
39617         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39618         Remove.
39619         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39620         (libc_feholdexcept_setroundl): Remove.
39621         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39622         Remove.
39623         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39624         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39628         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39629         int64_t instead of long int.
39630         (INSERT_WORDS64): Likwise.
39632 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39634         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39635         _Unwind_GetCFA return to _Unwind_Ptr first.
39637 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39639         [BZ #13629]
39640         * math/s_clog.c: Include <float.h>.
39641         (__clog): Scale large or subnormal inputs.
39642         * math/s_clogf.c: Likewise.
39643         * math/s_clogl.c: Likewise.
39644         * math/s_clog10.c: Include <float.h>.
39645         (M_LOG10_2): Define.
39646         (__clog10): Scale large or subnormal inputs.
39647         * math/s_clog10f.c: Likewise.
39648         * math/s_clog10l.c: Likewise.
39649         * math/libm-test.inc (clog_test): Add more tests.
39650         (clog10_test): Likewise.
39651         * sysdeps/i386/fpu/libm-test-ulps: Update.
39652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39654         [BZ #11451]
39655         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39656         x and y.
39657         * math/libm-test.inc (atan2_test): Add another test.
39659         * Makerules (common-objdir-compile): Remove.
39660         * sysdeps/unix/Makefile (config-generated): Do not add
39661         $(unix-generated) to variable.
39662         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39663         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39664         Remove rule.
39665         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39666         Likewise.
39667         [generic bits/local_lim.h] (before-compile): Do not append to
39668         variable.
39669         [generic bits/local_lim.h] (common-generated): Likewise.
39670         [generic sys/param.h] (before-compile): Do not append to variable.
39671         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39672         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39673         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39674         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39675         include.
39676         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39677         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39678         [generic sys/param.h] ($(addprefix
39679         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39680         [generic sys/param.h] (common-generated): Do not append to
39681         variable.
39682         [generic sys/param.h] (sysdep_headers): Likewise.
39683         [generic bits/errno.h] (before-compile): Do not append to
39684         variable.
39685         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39686         rule.
39687         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39688         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39689         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39690         [generic bits/errno.h] (common-generated): Do not append to
39691         variable.
39692         [generic bits/ioctls.h] (before-compile): Do not append to
39693         variable.
39694         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39695         rule.
39696         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39697         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39698         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39699         rule.
39700         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39701         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39702         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39703         [generic bits/ioctls.h] (common-generated): Do not append to
39704         variable.
39705         [generic sys/syscall.h] (syscall.h): Remove variable.
39706         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39707         rule.
39708         [generic sys/syscall.h] (before-compile): Do not append to
39709         variable.
39710         [generic sys/syscall.h] (common-generated): Likewise.
39711         * sysdeps/unix/errnos-tmpl.c: Remove file.
39712         * sysdeps/unix/errnos.awk: Likewise.
39713         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39714         * sysdeps/unix/ioctls.awk: Likewise.
39715         * sysdeps/unix/mk-local_lim.c: Likewise.
39716         * sysdeps/unix/snarf-ioctls: Likewise.
39718 2012-03-19  Richard Henderson  <rth@twiddle.net>
39720         * sysdeps/i386/fpu/fenv_private.h: New file.
39721         * sysdeps/i386/fpu/math_private.h: Use it.
39722         (math_opt_barrier, math_force_eval): Remove.
39723         (libc_feholdexcept_setround_53bit): Remove.
39724         (libc_feupdateenv_53bit): Remove.
39725         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39726         (math_opt_barrier, math_force_eval): Remove.
39727         (libc_feholdexcept): Remove.
39728         (libc_feholdexcept_setround): Remove.
39729         (libc_fetestexcept, libc_fesetenv): Remove.
39730         (libc_feupdateenv_test): Remove.
39731         (libc_feupdateenv, libc_feholdsetround): Remove.
39732         (libc_feresetround): Remove.
39734         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39735         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39737         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39738         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39739         (libc_feupdateenv_testl): New.
39740         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39741         (libc_feupdateenv_testf): New.
39742         (libc_feupdateenv): Use libc_feupdateenv_test.
39743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39744         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39746         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39747         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39748         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39749         (libc_feresetround_noex): New.
39750         (libc_feresetround_noexf): New.
39751         (libc_feresetround_noexl): New.
39752         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39753         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39754         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39755         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39756         SET_RESTORE_ROUND.
39757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39758         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39759         (__cos): Likewise.
39760         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39761         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39762         SET_RESTORE_ROUND_NOEX.
39763         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39764         SET_RESTORE_ROUND_NOEXF.
39765         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39766         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39767         (libc_feholdsetroundf): New.
39768         (libc_feresetround, libc_feresetroundf): New.
39770         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39771         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39772         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39774         * sysdeps/generic/math_private.h: Include <fenv.h>.
39775         (default_libc_feholdexcept): New.
39776         (default_libc_feholdexcept_setround): New.
39777         (default_libc_fesetenv, default_libc_feupdateenv): New.
39778         (libc_feholdexcept): Only define if undefined.
39779         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39780         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39781         (libc_feholdexcept_setroundl): Likewise.
39782         (libc_feholdexcept_setround_53bit): Likewise.
39783         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39784         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39785         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39786         (libc_feupdateenv_53bit): Likewise.
39787         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39788         (libc_feholdexcept): Convert from macro to inline function.
39789         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39790         (libc_fesetenv, libc_feupdateenv): Likewise.
39792         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39793         not previously defined.
39794         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39795         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39796         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39797         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39798         * sysdeps/ieee754/flt-32/math_private.h: New file.
39799         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39800         math_private.h below SET_FLOAT_WORD.
39801         (__isnan, __isinf_ns, __finite): Remove.
39802         (__isnanf, __isinf_nsf, __finitef): Remove.
39804 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39808 2012-03-17  David S. Miller  <davem@davemloft.net>
39810         [BZ #6471]
39811         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39812         for 2.16.
39814 2012-03-16  David S. Miller  <davem@davemloft.net>
39816         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39817         warnings.
39819         [BZ #6471]
39820         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39821         properly.
39822         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39823         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39824         sysdep_routines when subdir is sysvipc.
39825         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39826         __getshmlba helper.
39828         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39830 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39832         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39833         [__LP64__].
39835 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39837         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39838         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39839         (__lround): Renamed to ...
39840         (__llround): This.  Replace long int with long long int.
39841         Define lround functions as aliases of llround functions.
39842         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39844 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39846         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39847         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39848         adresses to uintptr_t.  Replace "long int" and "unsigned long
39849         int" with "greg_t" on va_arg.
39851 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39853         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39854         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39856         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39857         Move e_machine check before EI_CLASS check.  Handle x32
39858         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39859         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39860         SKIP_EM_IA_64 and include
39861         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39863         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39864         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39865         (add_system_dir): New macro.
39867         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39868         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39870 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39872         [BZ #2551]
39873         [BZ #2552]
39874         [BZ #2553]
39875         [BZ #2554]
39876         [BZ #2562]
39877         [BZ #2563]
39878         [BZ #2565]
39879         [BZ #2566]
39880         [BZ #2576]
39881         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39882         (y0): Likewise.
39883         * math/w_j0f.c (j0f): Likewise.
39884         (y0f): Likewise.
39885         * math/w_j0l.c (__j0l): Likewise.
39886         (__y0l): Likewise.
39887         * math/w_j1.c (j1): Likewise.
39888         (y1): Likewise.
39889         * math/w_j1f.c (j1f): Likewise.
39890         (y1f): Likewise.
39891         * math/w_j1l.c (__j1l): Likewise.
39892         (__y1l): Likewise.
39893         * math/w_jn.c (jn): Likewise.
39894         (yn): Likewise.
39895         * math/w_jnf.c (jnf): Likewise.
39896         (ynf): Likewise.
39897         * math/w_jnl.c (__jnl): Likewise.
39898         (__ynl): Likewise.
39899         * math/libm-test.inc (j0_test): Add more tests.
39900         (j1_test): Likewise.
39901         (jn_test): Likewise.  Add trailing semicolon to existing test.
39902         (y0_test): Likewise.
39903         (y1_test): Likewise.
39904         * sysdeps/i386/fpu/libm-test-ulps: Update.
39905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39907         [BZ #13851]
39908         [BZ #13854]
39909         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39910         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39911         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39912         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39913         (__tanl): Set errno for infinite argument.
39914         * sysdeps/i386/fpu/mptan.c: Remove.
39915         * sysdeps/i386/fpu/s_tan.S: Likewise.
39916         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39917         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39918         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39919         * math/libm-test.inc (tan_test): Add more tests and enable more
39920         tests for double and long double.
39921         * sysdeps/i386/fpu/libm-test-ulps: Update.
39922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39924 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39926         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39927         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39929 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39931         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39932         * configure.in: Use it for both main tree and add-ons.
39933         * configure: Regenerated.
39935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39937         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39939 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39941         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39942         in comment.
39944         [BZ #13851]
39945         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39946         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39947         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39948         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39949         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39950         infinite argument.
39951         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39952         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39953         != 0 for prec == 2.
39954         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39955         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39956         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39957         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39958         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39959         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39960         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39961         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39962         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39963         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39964         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39965         * math/libm-test.inc (cos_test): Add more tests and enable more
39966         tests for long double.
39967         (sin_test): Likewise.
39968         (sincos_test): Likewise.
39969         * sysdeps/i386/fpu/libm-test-ulps: Update.
39970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39972 2012-03-16  David S. Miller  <davem@davemloft.net>
39974         * sysdeps/sparc/fpu/math_private.h: New file.
39976 2012-03-15  David S. Miller  <davem@davemloft.net>
39978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39979         file.
39980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39982         file.
39983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39984         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39988         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39989         sysdep routines.
39990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39992         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39993         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39995         * sysdeps/sparc/sparc-ifunc.h: New file.
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39997         sparc-ifunc.h
39998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40000         Likewise.
40001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40002         Likewise.
40003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40007         Likewise.
40008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40013         Likewise.
40014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40015         Likewise.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40021         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40022         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40023         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40034         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40035         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40036         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40037         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40038         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40039         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40041 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40043         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40044         scaling.
40045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40047 2012-03-15  Andreas Jaeger  <aj@suse.de>
40049         [BZ #13852]
40050         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40051         ieee754/flt-32 implementation for sin, cos and sincos.
40052         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40053         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40054         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40055         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40056         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40057         ieee754/flt-32 implementation for tan.
40059         * math/libm-test.inc (cos_test): Enable some large input tests for
40060         float as well
40061         (sin_test): Likewise.
40062         (sincos_test): Likewise.
40063         (tan_test): Add tests for large input.
40065         * sysdeps/i386/fpu/libm-test-ulps: Update.
40067 2012-03-15  Andreas Jaeger  <aj@suse.de>
40069         [BZ #13658]
40070         * math/libm-test.inc (cos_test): Add more test cases.
40071         (sin_test): Likewise.
40072         (sincos_test): Likewise.
40074 2012-03-15  Andreas Jaeger  <aj@suse.de>
40076         [BZ #13837]
40077         * math/libm-test.inc (cos_test): Add a test case for large input
40078         value.
40079         (sin_test): Likewise.
40080         (sincos_test): Likewise.
40082 2012-03-15  Andreas Jaeger  <aj@suse.de>
40083             Joseph Myers  <joseph@codesourcery.com>
40085         [BZ #13658]
40086         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40087         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40088         * sysdeps/i386/fpu/branred.c: Likewise.
40089         * sysdeps/i386/fpu/dosincos.c: Likewise.
40090         * sysdeps/i386/fpu/mpa.c: Likewise.
40091         * sysdeps/i386/fpu/s_cos.S: Likewise.
40092         * sysdeps/i386/fpu/s_sin.S: Likewise.
40093         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40094         * sysdeps/i386/fpu/sincos32.c: Likewise.
40096         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40097         Define.
40098         (libc_feupdateenv_53bit): Define.
40099         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40100         Define.
40101         (libc_feupdateenv_53bit): Define.
40103         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40104         53 bit (without extend i386 double precision).
40106         * math/libm-test.inc (sincos_test): Add tests for large input.
40107         (sin): Likewise.
40108         (cos): Likewise.
40110         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40112 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40116 2012-03-15  David S. Miller  <davem@davemloft.net>
40118         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40119         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40120         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40121         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40134         file.
40135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40137         file.
40138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40140         file.
40141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40143         file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40145         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40146         fmin/fmax sysdep routines.
40147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40149 2012-03-14  David S. Miller  <davem@davemloft.net>
40151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40155         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40156         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40157         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40158         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40165         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40166         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40167         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40171         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40172         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40173         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40175         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40176         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40177         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40180         routines.
40181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40182         file.
40183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40185         file.
40186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40188         file.
40189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40191         file.
40192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40194         file.
40195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40197         file.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40199         file.
40200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40201         file.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40203         file.
40204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40205         New file.
40206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40207         file.
40208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40209         file.
40210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40212         file.
40213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40215         file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40218         file.
40219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40221         VIS3 routines.
40223         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40224         New file.
40226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40228         * sysdeps/sparc/configure.in: New file.
40229         * sysdeps/sparc/configure: Generate.
40230         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40231         * configure: Regenerate.
40232         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40233         * config.make.in (have-as-vis3): New.
40234         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40235         available use -Av9d instead of -Av9a.
40236         * sysdeps/sparc/sparc64/Makefile: Likewise.
40237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40239         New file.
40240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40241         file.
40242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40243         New file.
40244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40245         file.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40248         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40249         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40250         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40252         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40253         fzeros/fnegs to load 0x80000000 into a float register instead of
40254         using the stack.
40255         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40257 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40260         bits/syscall.h.
40261         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40262         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40263         ($(inst_includedir)/bits/syscall.h): Remove rule.
40264         ($(objpfx)bits/syscall.d): Include instead of
40265         $(objpfx)syscall-list.d.
40266         (generated): Change syscall-list.h and syscall-list.d to
40267         bits/syscall.h and bits/syscall.d.
40269 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40271         [BZ #13846]
40272         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40274 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40276         [BZ #13841]
40277         * math/s_csqrt.c: Include <float.h>.
40278         (__csqrt): Scale large or subnormal inputs.
40279         * math/s_csqrtf.c: Likewise.
40280         * math/s_csqrtl.c: Likewise.
40281         * math/libm-test.inc (csqrt_test): Add more tests.
40282         * sysdeps/i386/fpu/libm-test-ulps: Update.
40283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40285         [BZ #13840]
40286         * math/libm-test.inc (hypot_test): Add more tests.
40288 2012-03-13  David S. Miller  <davem@davemloft.net>
40290         [BZ #13840]
40291         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40292         double-precision for the calculation instead of scaling.
40294 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40296         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40297         manipulate bits before adding and subtracting TWO52[sx].
40298         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40299         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40300         Likewise.
40301         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40303 2012-03-13  David S. Miller  <davem@davemloft.net>
40305         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40306         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40308         rtld-global-offsets.h
40309         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40311         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40312         large parameters.
40314         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40316         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40317         'err' in the ifdef scope in which it is actually used.
40319         * nss/nss_db/db-init.c: Include string.h
40321 2012-03-12  David S. Miller  <davem@davemloft.net>
40323         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40324         masking out of the most significant byte of random value used.
40325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40326         Fix coding style in previous change.
40328         * sysdeps/unix/sysv/linux/kernel-features.h
40329         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40330         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40331         expression.
40332         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40333         later.
40335 2012-03-11  David S. Miller  <davem@davemloft.net>
40337         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40338         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40339         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40340         for 'resultvar' otherwise things get truncated on 64-bit.
40342         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40343         Fix masking out of the most significant byte of random value used.
40345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40347 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40351 2012-03-09  David S. Miller  <davem@davemloft.net>
40353         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40354         variables with appropriate CPP guards.
40355         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40356         from the frame pointer, not the stack pointer.  Correct layout
40357         comments.  Fix test on resulting framesize and the management of
40358         the outregs buffer for pltexit.  Preserve floating point return
40359         values across _dl_call_pltexit call.
40360         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40361         framesize and the management of the outregs buffer for pltexit.
40362         Preserve floating point return values across _dl_call_pltexit
40363         call.
40364         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40365         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40366         (la_sparc64_gnu_pltexit): New functions.
40367         (print_exit): Fix format string for return register value.
40369 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40371         * sunrpc/Makefile (others): Add rpcgen.
40372         ($(objpfx)rpcgen): Remove special build rule and dependency on
40373         libc.
40374         * sunrpc/rpcgen.c: New file.
40376 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40378         [BZ #13673]
40379         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40380         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40381         * sysdeps/i386/crti.S: Likewise.
40382         * sysdeps/i386/crtn.S: Likewise.
40383         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40384         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40385         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40386         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40387         * sysdeps/sh/crti.S: Likewise.
40388         * sysdeps/sh/crtn.S: Likewise.
40389         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40391         [BZ #13673]
40392         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40393         with URL.
40394         * locale/programs/locfile-kw.gperf: Likewise.
40395         * locale/programs/charmap-kw.h: Regenerated.
40396         * locale/programs/locfile-kw.h: Likewise.
40398         [BZ #13673]
40399         * intl/plural.y: Replace FSF snail mail address with URL.
40400         * intl/plural.c: Regenerated.
40402 2012-03-09  Richard Henderson  <rth@twiddle.net>
40404         * include/math_private.h: Remove file.
40405         * math/math_private.h: Move file ...
40406         * sysdeps/generic/math_private.h: ... here.
40408         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40409         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40410         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40412         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40413         and <math_private.h>.
40414         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40415         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40416         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40417         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40418         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40419         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40434         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40497         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40502         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40503         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40504         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40505         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40506         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40507         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40508         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40509         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40510         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40511         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40512         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40513         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40514         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40515         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40516         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40517         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40518         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40519         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40520         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40521         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40522         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40523         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40524         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40525         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40526         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40527         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40528         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40529         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40530         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40531         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40532         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40533         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40534         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40535         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40536         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40537         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40538         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40539         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40540         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40541         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40542         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40543         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40544         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40545         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40546         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40547         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40548         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40549         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40550         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40551         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40552         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40553         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40554         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40555         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40556         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40557         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40558         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40559         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40560         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40561         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40562         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40563         * sysdeps/ieee754/k_standard.c: Likewise.
40564         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40566         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40567         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40568         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40569         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40573         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40574         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40576         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40577         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40578         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40581         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40587         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40588         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40638         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40641         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40679         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40683         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40684         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40686         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40689         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40691         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40696         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40706         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40712         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40713         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40714         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40717         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40723         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40724         * sysdeps/ieee754/s_lib_version.c: Likewise.
40725         * sysdeps/ieee754/s_matherr.c: Likewise.
40726         * sysdeps/ieee754/s_signgam.c: Likewise.
40727         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40728         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40729         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40730         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40731         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40732         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40733         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40734         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40735         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40736         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40737         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40738         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40739         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40740         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40741         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40742         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40743         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40744         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40745         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40749 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40751         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40752         * sunrpc/rpc_main.c: Likewise.
40753         * sunrpc/rpc_svcout.c: Likewise.
40755 2012-03-09  David S. Miller  <davem@davemloft.net>
40757         * include/math_private.h: New file.
40759 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40761         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40762         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40763         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40764         from <bits/socket_type.h>.
40765         (enum __socket_type): Don't define here.
40766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40768         bits/socket_type.h.
40770         [BZ #13566]
40771         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40772         checking __USE_GNU.
40774         * Makerules ($(inst_includedir)/%.h): New rule.
40775         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40776         (install-others): Remove variable setting.
40777         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40779 2012-03-08  Richard Henderson  <rth@twiddle.net>
40781         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40782         from macro to inline function; merge with the
40783         !__LIBC_INTERNAL_MATH_INLINES version.
40784         (__ieee754_sqrtf): Likewise.
40786         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40787         to inline function.
40788         (__rintf, __floor, __floorf): Likewise.
40790         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40791         macro to inline function.
40792         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40794         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40795         not <math/math_private.h>.
40797 2012-03-08  David S. Miller  <davem@davemloft.net>
40799         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40800         copyright year.
40801         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40803 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40805         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40806         normalization.
40807         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40808         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40810 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40812         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40813         be defined individually, they must be defined as a block.  Define
40814         S for printing a string instead of hidint the different by using a
40815         macro for adding the 'l'.
40816         * stdio-common/tst-fphex-wide.c: Adjust.
40818 2012-03-07  Marek Polacek  <polacek@redhat.com>
40820         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40822 2012-03-08  Marek Polacek  <polacek@redhat.com>
40824         [BZ #13806]
40825         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40826         * stdio-common/tst-fphex.c: Define a few macros to make the
40827         test reusable.  Use them.
40828         * stdio-common/tst-fphex-wide.c: New file.
40830 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40832         [BZ #6911]
40833         * manual/macros.texi (gnusystems): New macro.
40834         (nongnusystems): Likewise.
40835         (gnulinuxhurdsystems): Likewise.
40836         (gnuhurdsystems): Likewise..
40837         (gnulinuxsystems): Likewise.
40838         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40839         variants of the GNU system, not "GNU system".
40840         * manual/conf.texi: Likewise.
40841         * manual/errno.texi: Likewise.  Update example of errno macro
40842         expansion.
40843         * manual/filesys.texi: Likewise.
40844         (getumask): Document as specific to GNU/Hurd.
40845         * manual/install.texi: Likewise.  Reword some references to
40846         GNU/Linux.
40847         * manual/intro.texi: Likewise.
40848         * manual/io.texi: Likewise.
40849         (File Name Portability): Detail which constraints are inapplicable
40850         to all GNU systems and which are only inapplicable to GNU/Hurd.
40851         * manual/job.texi: Likewise.
40852         * manual/llio.texi: Likewise.
40853         (O_NOCTTY): Document as present on GNU/Linux.
40854         * manual/maint.texi: Likewise.
40855         * manual/memory.texi: Likewise.
40856         * manual/pattern.texi: Likewise.
40857         * manual/pipe.texi: Likewise.
40858         * manual/process.texi: Likewise.
40859         * manual/resource.texi: Likewise.
40860         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40861         child on GNU/Hurd.
40862         * manual/setjmp.texi: Likewise.
40863         * manual/signal.texi: Likewise.
40864         * manual/startup.texi: Likewise.
40865         * manual/stdio.texi: Likewise.
40866         * manual/terminal.texi: Likewise.
40867         (ONLCR): Document as POSIX.
40868         (OXTABS): Document availability on GNU/Linux as XTABS.
40869         (ONOEOT): Document availability separately from other bits.
40870         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40871         * manual/time.texi: Likewise.
40872         * manual/users.texi: Likewise.
40873         * INSTALL: Regenerated.
40874         * sysdeps/gnu/errlist.c: Regenerated.
40876         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40877         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40878         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40879         puts.
40880         * configure: Regenerated.
40882 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40884         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40885         default includes instead of AC_HEADER_CHECK.
40886         * sysdeps/i386/configure: Regenerated.
40888         [BZ #10716]
40889         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40890         * math/s_cacoshf.c (__cacoshf): Likewise.
40891         * math/s_cacoshl.c (__cacoshl): Likewise.
40892         * math/s_casinh.c (__casinh): Set signs of result from argument.
40893         * math/s_casinhf.c (__casinhf): Likewise.
40894         * math/s_casinhl.c (__casinhl): Likewise.
40895         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40896         (casinh_test): Add more tests.
40897         * sysdeps/i386/fpu/libm-test-ulps: Update.
40898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40900 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40902         * po/zh_TW.po: Update from translation team.
40904         * login/Makefile (distribute): Remove variable.
40905         * catgets/Makefile: Likewise.
40906         * mach/Makefile: Likewise.
40907         * malloc/Makefile: Likewise.
40908         * misc/Makefile: Likewise.
40909         * iconv/Makefile: Likewise.
40910         * nscd/Makefile: Likewise.
40911         * hurd/Makefile: Likewise.
40912         * manual/Makefile: Likewise.
40913         * locale/Makefile: Likewise.
40914         * intl/Makefile: Likewise.
40915         * conform/Makefile: Likewise.
40916         * nss/Makefile: Likewise.
40917         * time/Makefile: Likewise.
40918         * soft-fp/Makefile: Likewise.
40919         * dirent/Makefile: Likewise.
40920         * gmon/Makefile: Likewise.
40921         * po/Makefile: Likewise.
40922         * rt/Makefile: Likewise.
40923         * socket/Makefile: Likewise.
40924         * math/Makefile: Likewise.
40925         * signal/Makefile: Likewise.
40926         * debug/Makefile: Likewise.
40927         * elf/Makefile: Likewise.
40928         * timezone/Makefile: Likewise.
40929         * stdlib/Makefile: Likewise.
40930         * iconvdata/Makefile: Likewise.
40931         * sunrpc/Makefile: Likewise.
40932         * io/Makefile: Likewise.
40933         * argp/Makefile: Likewise.
40934         * inet/Makefile: Likewise.
40935         * hesiod/Makefile: Likewise.
40936         * grp/Makefile: Likewise.
40937         * csu/Makefile: Likewise.
40938         * wctype/Makefile: Likewise.
40939         * crypt/Makefile: Likewise.
40940         * libio/Makefile: Likewise.
40941         * string/Makefile: Likewise.
40942         * nis/Makefile: Likewise.
40943         * resolv/Makefile: Likewise.
40944         * stdio-common/Makefile: Likewise.
40945         * wcsmbs/Makefile: Likewise.
40946         * dlfcn/Makefile: Likewise.
40947         * posix/Makefile: Likewise.
40949         [BZ #6959]
40950         * timezone/Makefile: Don't install timezone files, just the programs
40951         and scripts.
40953 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40955         * nss/databases.def: Add missing gshadow entry.
40957         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40959 2012-03-06  Marek Polacek  <polacek@redhat.com>
40961         [BZ #13726]
40962         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40963         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40964         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40965         * stdio-common/tst-long-dbl-fphex.c: New file.
40967 2012-03-06  David S. Miller  <davem@davemloft.net>
40969         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40970         (set_obp_int): New function.
40971         (get_obp_int): New function.
40972         (__get_clockfreq_via_dev_openprom): Likewise.
40973         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40974         Avoid unused variable warnings on 'val' and use builtin_expect.
40975         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40976         __builtin_expect.
40977         (INLINE_CLONE_SYSCALL): Likewise.
40979 2012-03-05  David S. Miller  <davem@davemloft.net>
40981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40983 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40987         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40988         only for |x| >= 40.
40989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40991 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40994         Replace gettimeofday with __vdso_gettimeofday.
40996         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40997         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40998         __vdso_clock_gettime and __vdso_getcpu.
41000         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41001         time with __vdso_time.
41003 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41005         * manual/lang.texi (size_t): Note types to which size_t may be
41006         equivalent with the GNU C Library, but do not describe when
41007         differences between them are significant.
41009 2012-03-05  Andreas Jaeger  <aj@suse.de>
41011         * sysdeps/i386/fpu/libm-test-ulps: Update.
41013 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41015         [BZ #3976]
41016         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41017         (__ieee754_pow): Save and restore rounding mode and use
41018         round-to-nearest for main computations.
41019         * math/libm-test.inc (pow_test_tonearest): New function.
41020         (pow_test_towardzero): Likewise.
41021         (pow_test_downward): Likewise.
41022         (pow_test_upward): Likewise.
41023         (main): Call the new functions.
41024         * sysdeps/i386/fpu/libm-test-ulps: Update.
41025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41027         [BZ #3976]
41028         * math/libm-test.inc (cosh_test_tonearest): New function.
41029         (cosh_test_towardzero): Likewise.
41030         (cosh_test_downward): Likewise.
41031         (cosh_test_upward): Likewise.
41032         (sinh_test_tonearest): Likewise.
41033         (sinh_test_towardzero): Likewise.
41034         (sinh_test_downward): Likewise.
41035         (sinh_test_upward): Likewise.
41036         (main): Call the new functions.
41037         * sysdeps/i386/fpu/libm-test-ulps: Update.
41038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41040 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41042         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41043         default stack guard is set in last bytes.
41044         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41046 2012-03-05  Kees Cook  <keescook@chromium.org>
41048         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41050         [BZ #13656]
41051         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41052         possibly allocate from heap instead of stack.
41053         * stdio-common/bug-vfprintf-nargs.c: New file.
41054         * stdio-common/Makefile (tests): Add nargs overflow test.
41056 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41060 2012-03-03  Marek Polacek  <polacek@redhat.com>
41062         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41063         * math/math_private.h: Likewise.
41064         * stdlib/tst-strtod.c: Likewise.
41065         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41066         * sysdeps/x86_64/bits/atomic.h: Likewise.
41068 2012-03-02  David S. Miller  <davem@davemloft.net>
41070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41074         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41075         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41076         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41077         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41079 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41081         [BZ #13792]
41082         * manual/examples/README: New file, says the example source files
41083         can be used under GPL>=2.
41084         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41085         line containing just "*/".
41086         * manual/examples/add.c: Add copyright header (GPL>=2).
41087         * manual/examples/argp-ex1.c: Likewise.
41088         * manual/examples/argp-ex2.c: Likewise.
41089         * manual/examples/argp-ex3.c: Likewise.
41090         * manual/examples/argp-ex4.c: Likewise.
41091         * manual/examples/atexit.c: Likewise.
41092         * manual/examples/db.c: Likewise.
41093         * manual/examples/dir.c: Likewise.
41094         * manual/examples/dir2.c: Likewise.
41095         * manual/examples/execinfo.c: Likewise.
41096         * manual/examples/filecli.c: Likewise.
41097         * manual/examples/filesrv.c: Likewise.
41098         * manual/examples/fmtmsgexpl.c: Likewise.
41099         * manual/examples/genpass.c: Likewise.
41100         * manual/examples/inetcli.c: Likewise.
41101         * manual/examples/inetsrv.c: Likewise.
41102         * manual/examples/isockad.c: Likewise.
41103         * manual/examples/longopt.c: Likewise.
41104         * manual/examples/memopen.c: Likewise.
41105         * manual/examples/memstrm.c: Likewise.
41106         * manual/examples/mkfsock.c: Likewise.
41107         * manual/examples/mkisock.c: Likewise.
41108         * manual/examples/mygetpass.c: Likewise.
41109         * manual/examples/pipe.c: Likewise.
41110         * manual/examples/popen.c: Likewise.
41111         * manual/examples/rprintf.c: Likewise.
41112         * manual/examples/search.c: Likewise.
41113         * manual/examples/select.c: Likewise.
41114         * manual/examples/setjmp.c: Likewise.
41115         * manual/examples/sigh1.c: Likewise.
41116         * manual/examples/sigusr.c: Likewise.
41117         * manual/examples/stpcpy.c: Likewise.
41118         * manual/examples/strdupa.c: Likewise.
41119         * manual/examples/strftim.c: Likewise.
41120         * manual/examples/strncat.c: Likewise.
41121         * manual/examples/subopt.c: Likewise.
41122         * manual/examples/swapcontext.c: Likewise.
41123         * manual/examples/termios.c: Likewise.
41124         * manual/examples/testopt.c: Likewise.
41125         * manual/examples/testpass.c: Likewise.
41126         * manual/examples/timeval_subtract.c: Likewise.
41128         [BZ #13792]
41129         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41130         function to ...
41131         * manual/timeval_subtract.c.texi: ... here, new file.
41133 2012-03-02  David S. Miller  <davem@davemloft.net>
41135         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41137 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41139         [BZ #3976]
41140         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41141         (__sin): Save and restore rounding mode and use round-to-nearest
41142         for all computations.
41143         (__cos): Save and restore rounding mode and use round-to-nearest
41144         for all computations.
41145         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41146         <fenv.h>.
41147         (tan): Save and restore rounding mode and use round-to-nearest for
41148         all computations.
41149         * math/libm-test.inc (cos_test_tonearest): New function.
41150         (cos_test_towardzero): Likewise.
41151         (cos_test_downward): Likewise.
41152         (cos_test_upward): Likewise.
41153         (sin_test_tonearest): Likewise.
41154         (sin_test_towardzero): Likewise.
41155         (sin_test_downward): Likewise.
41156         (sin_test_upward): Likewise.
41157         (tan_test_tonearest): Likewise.
41158         (tan_test_towardzero): Likewise.
41159         (tan_test_downward): Likewise.
41160         (tan_test_upward): Likewise.
41161         (main): Call the new functions.
41162         * sysdeps/i386/fpu/libm-test-ulps: Update.
41163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41165         [BZ #10135]
41166         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41167         small n, then large n, before computing and testing k+n.
41168         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41169         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41170         Likewise.
41171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41172         Likewise.
41173         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41174         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41175         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41176         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41177         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41178         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41179         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41180         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41181         * math/libm-test.inc (scalbn_test): Add more tests.
41182         (scalbln_test): Likewise.
41184         * manual/filesys.texi (mode_t): Describe constraints on size and
41185         signedness, not exact equivalence to a particular type.
41186         (ino_t): Likewise.
41187         (ino64_t): Likewise.
41188         (dev_t): Likewise.
41189         (nlink_t): Likewise.
41190         (blkcnt_t): Likewise.
41191         (blkcnt64_t): Likewise.
41192         * manual/llio.texi (off_t): Likewise.
41194         [BZ #3976]
41195         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41196         (__ieee754_exp): Save and restore rounding mode and use
41197         round-to-nearest for all computations.
41198         * math/libm-test.inc (exp_test_tonearest): New function.
41199         (exp_test_towardzero): Likewise.
41200         (exp_test_downward): Likewise.
41201         (exp_test_upward): Likewise.
41202         (main): Call the new functions.
41203         * sysdeps/i386/fpu/libm-test-ulps: Update.
41204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41206 2012-03-01  Chris Demetriou  <cgd@google.com>
41208         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41209         have predictable order.
41211 2012-03-01  David S. Miller  <davem@davemloft.net>
41213         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41215         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41216         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41217         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41218         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41220         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41221         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41222         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41224         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41225         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41226         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41227         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41228         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41232         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41233         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41234         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41236         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41237         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41238         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41239         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41240         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41241         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41242         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41243         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41244         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41245         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41246         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41247         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41249         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41250         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41252         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41253         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41254         * sysdeps/sparc/elf/configure: Regenerated.
41256 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41258         * configure.in (AS, LD): Require binutils 2.20 or later.
41259         * configure: Regenerated.
41260         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41261         as required minimum version.
41262         * INSTALL: Regenerated.
41264         [BZ #2541]
41265         [BZ #4108]
41266         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41267         before squaring exponent.
41268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41269         bottom long double and 27 bits of top long double before squaring
41270         exponent.
41271         * math/libm-test.inc (erfc_test): Add more tests.
41272         * sysdeps/i386/fpu/libm-test-ulps: Update.
41273         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41276 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41278         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41279         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41280         containing bit-fields.
41281         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41282         * soft-fp/single.h (_FP_UNION_S): Likewise.
41283         * soft-fp/double.h (_FP_UNION_D): Likewise.
41285 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41287         [BZ #13786]
41288         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41289         not include ../strcmp.S.
41290         [USE_AS_STRNCASECMP_L]: Likewise.
41291         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41292         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41293         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41294         (__strncasecmp_l_ia32): Define as alias to
41295         __strncasecmp_l_nonascii.
41297         [BZ #5794]
41298         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41299         * sysdeps/i386/fpu/libm-test-ulps: Update.
41300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41302         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41305 2012-02-29  Jeff Law  <law@redhat.com>
41307         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41308         out of bounds read.
41310 2012-02-29  Marek Polacek  <polacek@redhat.com>
41312         [BZ #13706]
41313         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41314         * elf/Makefile: Add rules to run tst-unused-dep.out.
41316 2012-02-28  David S. Miller  <davem@davemloft.net>
41318         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41319         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41320         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41321         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41322         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41323         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41325 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41327         * math/libm-test.inc (llround_test): Move one test from
41328         lround_test.  Use TEST_f_L in moved test.
41329         (lround_test): Move misplaced test to llround_test.  Add testcase
41330         from bug 2561.
41332 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41334         * sysdeps/x86_64/fpu/e_expf.S: New file.
41335         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41337 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41339         [BZ #13637]
41340         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41341         of remain_len that may cause incomplete multi-byte character and
41342         false match.
41343         * posix/bug-regex33.c: New file.
41344         * posix/Makefile (tests): Add bug-regex33.
41346 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41348         * manual/macros.texi: New file.
41349         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41350         * manual/libc.texinfo: Include macros.texi.
41351         * manual/creatute.texi: Likewise.
41352         * manual/install.texi: Likewise.
41353         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41354         @glibcadj{} in references to the GNU C Library.
41355         * manual/charset.texi: Likewise.
41356         * manual/conf.texi: Likewise.
41357         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41358         when not using those macros.
41359         * manual/creature.texi: Likewise.
41360         * manual/crypt.texi: Likewise.
41361         * manual/errno.texi: Likewise.
41362         * manual/filesys.texi: Likewise.
41363         * manual/header.texi: Likewise.
41364         * manual/install.texi: Likewise.
41365         * manual/intro.texi: Likewise.
41366         * manual/io.texi: Likewise.
41367         * manual/job.texi: Likewise.
41368         * manual/lang.texi: Likewise.
41369         * manual/libc.texiinfo: Likewise.
41370         * manual/llio.texi: Likewise.
41371         * manual/locale.texi: Likewise.
41372         * manual/maint.texi: Likewise.
41373         * manual/math.texi: Likewise.
41374         * manual/memory.texi: Likewise.
41375         * manual/message.texi: Likewise.
41376         * manual/nss.texi: Likewise.
41377         * manual/pattern.texi: Likewise.
41378         * manual/process.texi: Likewise.
41379         * manual/resource.texi: Likewise.
41380         * manual/search.texi: Likewise.
41381         * manual/setjmp.texi: Likewise.
41382         * manual/signal.texi: Likewise.
41383         * manual/socket.texi: Likewise.
41384         * manual/startup.texi: Likewise.
41385         * manual/stdio.texi: Likewise.
41386         * manual/string.texi: Likewise.
41387         * manual/sysinfo.texi: Likewise.
41388         * manual/syslog.texi: Likewise.
41389         * manual/terminal.texi: Likewise.
41390         * manual/time.texi: Likewise.
41391         * manual/users.texi: Likewise.
41392         * INSTALL: Regenerated.
41393         * NOTES: Regenerated.
41394         * sysdeps/gnu/errlist.c: Regenerated.
41396 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41398         * include/dirent.h: Include <dirstream.h> before
41399         <dirent/dirent.h>.
41401 2012-02-28  David S. Miller  <davem@davemloft.net>
41403         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41404         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41405         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41406         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41408 2012-02-27  David S. Miller  <davem@davemloft.net>
41410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41412         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41413         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41416         frame pointer instead of stack pointer relative arg slot.
41417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41418         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41419         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41421 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41423         [BZ #3992]
41424         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41426 2012-02-27  David S. Miller  <davem@davemloft.net>
41428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41432         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41433         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41434         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41435         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41437 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41439         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41440         later.  Allow versions 5-9.
41441         * configure: Regenerated.
41442         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41443         required minimum version and 4.6 as recommended version.  Do not
41444         mention bugs in GCC 2.7 and 2.8.
41445         * INSTALL: Regenerated.
41447 2012-02-27  David S. Miller  <davem@davemloft.net>
41449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41453         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41454         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41455         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41456         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41459         manipulate bits before adding and subtracting TWO112[sx].
41460         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41462 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41464         [BZ #13775]
41465         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41466         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41467         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41468         being in POSIX, because they are in 1003.1-2008.
41470         * rt/tst-aio.c: Include <fcntl.h>.
41471         * rt/tst-aio7.c: Likewise.
41472         * rt/tst-aio64.c: Likewise.
41474         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41476 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41478         * manual/install.texi (--with-headers): Describe headers as
41479         interface headers, not private headers.
41480         (Specific advice for GNU/Linux systems): Describe use of headers
41481         from "make headers_install", not private headers from older
41482         kernels.
41483         * INSTALL: Regenerated.
41484         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41485         Change to 2.6.19.
41486         * sysdeps/unix/sysv/linux/configure: Regenerated.
41488         * manual/llio.texi (fclean): Remove documentation.
41490         * manual/Makefile (libc-texi-generated): New variable.  Include
41491         version.texi.
41492         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41493         $(libc-texi-generated), not duplicated list of files.
41494         (version.texi, stamp-version): New rules.
41495         (realclean): Remove $(libc-texi-generated), not individual files
41496         from that list.  Do not remove dir-add.texinfo.
41497         * manual/libc.texinfo: Comment out uses of edition numbers and
41498         references to printed manual.  Remove last-updated dates.
41499         (EDITION): Comment out.
41500         (ISBN): Likewise.
41501         (VERSION, UPDATED): Remove.
41502         (version.texi): Include.
41504 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41506         * sysdeps/posix/spawni.c: Include <signal.h>.
41507         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41508         * sysdeps/pthread/aio_fsync.c: Likewise.
41510 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41512         * conform/Makefile (tests): Run only when not cross-compiling and
41513         when fast-check is not defined.
41515         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41516         * conform/data/limits.h-data: Fixes for POSIX2008.
41517         * conform/run-conformtest.sh: Run all tests.
41518         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41519         headers.
41520         * include/bits/dlfcn.h: Likewise.
41521         * include/langinfo.h: Likewise.
41522         * include/monetary.h: Likewise.
41523         * include/sys/poll.h: Likewise.
41525         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41526         for __USE_GNU.
41527         * posix/spawn.h: Define __need_sigset_t.
41528         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41529         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41530         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41531         to get sigevent_t only.
41532         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41533         only for __USE_GNU.
41534         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41535         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41536         process_vm_writev only for __USE_GNU.
41537         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41539         * conform/Makefile: For now ignore errors from run-conformtest.
41540         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41541         POSIX to avoid namespace pollution.  Don't prepend headers.
41542         * conform/data/aio.h-data: Fixes for POSIX testing.
41543         * conform/data/fcntl.h-data: Likewise.
41544         * conform/data/glob.h-data: Likewise.
41545         * conform/data/grp.h-data: Likewise.
41546         * conform/data/pthread.h-data: Likewise.
41547         * conform/data/pwd.h-data: Likewise.
41548         * conform/data/signal.h-data: Likewise.
41549         * conform/data/spawn.h-data: Likewise.
41550         * conform/data/stdio.h-data: Likewise.
41551         * conform/data/stdlib.h-data: Likewise.
41552         * conform/data/stropts.h-data: Likewise.
41553         * conform/data/sys/mman.h-data: Likewise.
41554         * conform/data/sys/stat.h-data: Likewise.
41555         * conform/data/sys/types.h-data: Likewise.
41556         * conform/data/sys/wait.h-data: Likewise.
41557         * conform/data/time.h-data: Likewise.
41558         * conform/data/unistd.h-data: Likewise.
41559         * conform/data/utime.h-data: Likewise.
41561         * io/sys/stat.h: fchmod was always in POSIX.
41562         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41563         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41564         * rt/aio.h: Define __need_timespec before including <time.h>.
41565         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41566         struct.  Add forward declaration of pthread_attr_t and use it in
41567         sigevent.
41568         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41569         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41570         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41571         always remove CLK_TCK definition.
41573 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41575         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41577 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41579         * conform/run-conformtest.sh: New file.
41580         * conform/Makefile: Run run-conformtest for tests.
41581         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41582         support.
41584         * conform/data/uchar.h-data: New file.
41585         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41586         * conform/data/arpa/inet.h-data: Likewise.
41587         * conform/data/assert.h-data: Likewise.
41588         * conform/data/complex.h-data: Likewise.
41589         * conform/data/cpio.h-data: Likewise.
41590         * conform/data/ctype.h-data: Likewise.
41591         * conform/data/dirent.h-data: Likewise.
41592         * conform/data/dlfcn.h-data: Likewise.
41593         * conform/data/errno.h-data: Likewise.
41594         * conform/data/fcntl.h-data: Likewise.
41595         * conform/data/float.h-data: Likewise.
41596         * conform/data/fmtmsg.h-data: Likewise.
41597         * conform/data/fnmatch.h-data: Likewise.
41598         * conform/data/ftw.h-data: Likewise.
41599         * conform/data/glob.h-data: Likewise.
41600         * conform/data/grp.h-data: Likewise.
41601         * conform/data/iconv.h-data: Likewise.
41602         * conform/data/inttypes.h-data: Likewise.
41603         * conform/data/langinfo.h-data: Likewise.
41604         * conform/data/libgen.h-data: Likewise.
41605         * conform/data/limits.h-data: Likewise.
41606         * conform/data/locale.h-data: Likewise.
41607         * conform/data/math.h-data: Likewise.
41608         * conform/data/monetary.h-data: Likewise.
41609         * conform/data/mqueue.h-data: Likewise.
41610         * conform/data/ndbm.h-data: Likewise.
41611         * conform/data/net/if.h-data: Likewise.
41612         * conform/data/netdb.h-data: Likewise.
41613         * conform/data/netinet/in.h-data: Likewise.
41614         * conform/data/nl_types.h-data: Likewise.
41615         * conform/data/poll.h-data: Likewise.
41616         * conform/data/pthread.h-data: Likewise.
41617         * conform/data/pwd.h-data: Likewise.
41618         * conform/data/regex.h-data: Likewise.
41619         * conform/data/sched.h-data: Likewise.
41620         * conform/data/search.h-data: Likewise.
41621         * conform/data/semaphore.h-data: Likewise.
41622         * conform/data/setjmp.h-data: Likewise.
41623         * conform/data/signal.h-data: Likewise.
41624         * conform/data/spawn.h-data: Likewise.
41625         * conform/data/stdarg.h-data: Likewise.
41626         * conform/data/stdio.h-data: Likewise.
41627         * conform/data/stdlib.h-data: Likewise.
41628         * conform/data/string.h-data: Likewise.
41629         * conform/data/strings.h-data: Likewise.
41630         * conform/data/stropts.h-data: Likewise.
41631         * conform/data/sys/ipc.h-data: Likewise.
41632         * conform/data/sys/mman.h-data: Likewise.
41633         * conform/data/sys/msg.h-data: Likewise.
41634         * conform/data/sys/resource.h-data: Likewise.
41635         * conform/data/sys/select.h-data: Likewise.
41636         * conform/data/sys/sem.h-data: Likewise.
41637         * conform/data/sys/shm.h-data: Likewise.
41638         * conform/data/sys/socket.h-data: Likewise.
41639         * conform/data/sys/stat.h-data: Likewise.
41640         * conform/data/sys/statvfs.h-data: Likewise.
41641         * conform/data/sys/time.h-data: Likewise.
41642         * conform/data/sys/timeb.h-data: Likewise.
41643         * conform/data/sys/times.h-data: Likewise.
41644         * conform/data/sys/types.h-data: Likewise.
41645         * conform/data/sys/uio.h-data: Likewise.
41646         * conform/data/sys/un.h-data: Likewise.
41647         * conform/data/sys/utsname.h-data: Likewise.
41648         * conform/data/sys/wait.h-data: Likewise.
41649         * conform/data/syslog.h-data: Likewise.
41650         * conform/data/tar.h-data: Likewise.
41651         * conform/data/termios.h-data: Likewise.
41652         * conform/data/utime.h-data: Likewise.
41653         * conform/data/utmpx.h-data: Likewise.
41654         * conform/data/varargs.h-data: Likewise.
41655         * conform/data/wchar.h-data: Likewise.
41656         * conform/data/wctype.h-data: Likewise.
41657         * conform/data/wordexp.h-data: Likewise.
41659         * include/stropts.h: New file.
41660         * include/uchar.h: New file.
41661         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41662         * include/assert.h: Likewise.
41663         * include/ctype.h: Likewise.
41664         * include/dirent.h: Likewise.
41665         * include/dlfcn.h: Likewise.
41666         * include/fcntl.h: Likewise.
41667         * include/fnmatch.h: Likewise.
41668         * include/glob.h: Likewise.
41669         * include/grp.h: Likewise.
41670         * include/libio.h: Likewise.
41671         * include/locale.h: Likewise.
41672         * include/math.h: Likewise.
41673         * include/net/if.h: Likewise.
41674         * include/netdb.h: Likewise.
41675         * include/netinet/in.h: Likewise.
41676         * include/pthread.h: Likewise.
41677         * include/pwd.h: Likewise.
41678         * include/regex.h: Likewise.
41679         * include/sched.h: Likewise.
41680         * include/search.h: Likewise.
41681         * include/setjmp.h: Likewise.
41682         * include/signal.h: Likewise.
41683         * include/stdio.h: Likewise.
41684         * include/stdlib.h: Likewise.
41685         * include/string.h: Likewise.
41686         * include/sys/cdefs.h: Likewise.
41687         * include/sys/mman.h: Likewise.
41688         * include/sys/msg.h: Likewise.
41689         * include/sys/resource.h: Likewise.
41690         * include/sys/select.h: Likewise.
41691         * include/sys/socket.h: Likewise.
41692         * include/sys/stat.h: Likewise.
41693         * include/sys/statvfs.h: Likewise.
41694         * include/sys/time.h: Likewise.
41695         * include/sys/times.h: Likewise.
41696         * include/sys/uio.h: Likewise.
41697         * include/sys/utsname.h: Likewise.
41698         * include/sys/wait.h: Likewise.
41699         * include/termios.h: Likewise.
41700         * include/time.h: Likewise.
41701         * include/ulimit.h: Likewise.
41702         * include/unistd.h: Likewise.
41703         * include/utime.h: Likewise.
41704         * include/wchar.h: Likewise.
41705         * include/wctype.h: Likewise.
41706         * include/wordexp.h: Likewise.
41708         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41710         * time/time.h: TIME_UTC must be a macro.
41711         Make timespec_get available for ISO C11 only as well.
41713 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41715         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41716         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41718 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41720         * configure.in: Use -o not -a in test for unsupported multi-arch.
41722 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41724         * manual/texinfo.tex: Update to version 2012-01-19.16.
41726 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41728         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41730 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41732         [BZ #13738]
41733         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41734         * manual/fdl-1.3.texi: New file.
41735         * manual/fdl-1.1.texi: File removed.
41737         [BZ #13738]
41738         * manual/libc.texinfo (FDL_VERSION): New @set.
41739         Use it for mention of FDL in cover text.
41740         (Documentation License): Use it in @include file name.
41742 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41743             Roland McGrath  <roland@hack.frob.com>
41745         [BZ #5461]
41746         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41747         (not LONG_LONG_MAX and LONG_LONG_MIN.
41748         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41749         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41750         name.
41751         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41753 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41755         [BZ #2547]
41756         [BZ #11365]
41757         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41758         manipulate bits before adding and subtracting TWO23[sx].
41759         * math/libm-test.inc (nearbyint_test): Add more tests.
41761 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41763         [BZ #2548]
41764         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41765         bits before adding and subtracting TWO23[sx].
41766         * math/libm-test.inc (rint_test): Add more tests.
41767         (rint_test_tonearest): Likewise.
41768         (rint_test_towardzero): Likewise.
41769         (rint_test_downward): Likewise.
41770         (rint_test_upward: Likewise.
41772 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41774         [BZ #10110]
41775         * include/stdc-predef.h: New file.  Extracted from features.h.
41776         * include/features.h: Include stdc-predef.h.
41777         * Makefile (headers): Add stdc-predef.h.
41778         * CONFORMANCE (Compiler limitations): Update.
41780 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41782         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41784 2012-02-21  David S. Miller  <davem@davemloft.net>
41786         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41787         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41789 2012-02-20  David S. Miller  <davem@davemloft.net>
41791         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41792         using a normal save/restore sequence, rather than allocating a
41793         dummy stack frame just to store a frame pointer and restore.
41794         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41796 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41798         * manual/install.texi: Fix stray word in line-wrapped comment.
41800 2012-02-20  David S. Miller  <davem@davemloft.net>
41802         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41803         both binutils and gcc support GOTDATA.
41805         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41806         "rd %pc" in the PIC register setup sequences.
41808         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41809         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41810         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41811         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41812         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41814         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41815         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41817         (SYSCALL_ERROR_HANDLER): Likewise.
41818         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41819         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41821         (SYSCALL_ERROR_HANDLER): Likewise.
41823         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41824         (HAVE_GCC_GOTDATA): New.
41825         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41826         relocation support in both binutils and gcc.
41827         * sysdeps/sparc/elf/configure: Regenerate.
41829         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41830         * sysdeps/sparc/sparc32/elf/configure: Delete.
41831         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41832         * sysdeps/sparc/sparc64/elf/configure: Delete.
41833         * sysdeps/sparc/elf/configure.in: New file.
41834         * sysdeps/sparc/elf/configure: Generate.
41836         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41837         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41838         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41839         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41840         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41842 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41844         * manual/install.texi: Do not mention specific glibc version
41845         numbers.
41846         * manual/libc.texinfo (VERSION, UPDATED): Update.
41847         (@copying): Use @copyright{} and range of years.
41849 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41851         [BZ #13695]
41852         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41853         [crti.S not in sysdirs] (generated): Do not append.
41854         [crti.S not in sysdirs] (omit-deps): Likewise.
41855         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41856         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41857         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41858         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41859         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41860         Likewise.
41861         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41862         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41863         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41864         * csu/defs.awk: Remove file.
41865         * sysdeps/generic/initfini.c: Likewise.
41866         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41867         variable.
41868         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41869         Likewise.
41871 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41873         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41874         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41875         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41876         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41877         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41878         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41879         <bits/epoll.h>.
41880         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41881         (__EPOLL_PACKED): Define to empty if not defined by
41882         <bits/epoll.h>.
41883         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41885         bits/epoll.h.
41887 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41889         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41890         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41891         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41892         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41893         <bits/timerfd.h>.
41894         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41896         bits/timerfd.h.
41898 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41900         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41901         in C locale.
41902         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41903         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41904         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41907 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41910         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41912 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41914         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41915         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41916         defined.
41917         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41918         Likewise.
41919         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41920         entry for 2.16.
41922 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41924         * math/w_acos.c: Use non-signaling floating-point comparisons.
41925         * math/w_acosf.c: Likewise.
41926         * math/w_acosh.c: Likewise.
41927         * math/w_acoshf.c: Likewise.
41928         * math/w_acoshl.c: Likewise.
41929         * math/w_acosl.c: Likewise.
41930         * math/w_asin.c: Likewise.
41931         * math/w_asinf.c: Likewise.
41932         * math/w_asinl.c: Likewise.
41933         * math/w_atanh.c: Likewise.
41934         * math/w_atanhf.c: Likewise.
41935         * math/w_atanhl.c: Likewise.
41936         * math/w_exp2.c: Likewise.
41937         * math/w_exp2f.c: Likewise.
41938         * math/w_exp2l.c: Likewise.
41939         * math/w_j0.c: Likewise.
41940         * math/w_j0f.c: Likewise.
41941         * math/w_j0l.c: Likewise.
41942         * math/w_j1.c: Likewise.
41943         * math/w_j1f.c: Likewise.
41944         * math/w_j1l.c: Likewise.
41945         * math/w_jn.c: Likewise.
41946         * math/w_jnf.c: Likewise.
41947         * math/w_log.c: Likewise.
41948         * math/w_log10.c: Likewise.
41949         * math/w_log10f.c: Likewise.
41950         * math/w_log10l.c: Likewise.
41951         * math/w_log2.c: Likewise.
41952         * math/w_log2f.c: Likewise.
41953         * math/w_log2l.c: Likewise.
41954         * math/w_logf.c: Likewise.
41955         * math/w_logl.c: Likewise.
41956         * math/w_sqrt.c: Likewise.
41957         * math/w_sqrtf.c: Likewise.
41958         * math/w_sqrtl.c: Likewise.
41959         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41960         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41961         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41962         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41963         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41965 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41967         [BZ #9739]
41968         * manual/string.texi (strnlen): Use correct parameter name in
41969         equivalent expression.
41971 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41973         [BZ #11174]
41974         * manual/users.texi (seteuid): Consistently use neweuid for
41975         argument name.
41977 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41979         [BZ #13704]
41980         * manual/nss.texi (Services in the NSS configuration): Correct
41981         list of services in example configuration file.
41983 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41985         [BZ #11322]
41986         * manual/arith.texi: Remove statements about negative zero
41987         behaving identically to zero.
41989 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41991         [BZ #5993]
41992         * manual/install.texi: Do not document upgrading from libc5.
41994 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41996         [BZ #4596]
41997         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41999 2012-02-18  David S. Miller  <davem@davemloft.net>
42001         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42002         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42003         %o7 across the call.
42004         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42005         instead.
42006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42007         SETUP_PIC_REG_LEAF.
42008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42009         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42010         * sysdeps/sparc/crtn.S: Likewise.
42012 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42014         * aout/Makefile: Remove.
42016 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42018         [BZ #13058]
42019         * manual/examples/argp-ex1.c (main): Format definition in GNU
42020         style.
42021         * manual/examples/argp-ex2.c (main): Likewise.
42022         * manual/examples/argp-ex3.c (main): Likewise.
42023         * manual/examples/argp-ex4.c (main): Likewise.
42024         * manual/examples/longopt.c (main): Use new-style prototype
42025         definition.
42026         * manual/examples/strncat.c (main): Specify return type and use
42027         (void) for arguments.
42028         * manual/examples/subopt.c (main): Use char **argv argument.
42030 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42032         [BZ #5077]
42033         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42034         rounding modes.
42036 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42038         [BZ #6907]
42039         * manual/string.texi (strchr): Change when strchrnul is
42040         recommended.
42042 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42044         [BZ #174]
42045         * manual/locale.texi (setlocale): Document LOCPATH.
42047 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42049         [BZ #10210]
42050         * manual/process.texi (execle): Move @dots{} before last argument.
42052 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42054         [BZ #12047]
42055         * manual/charset.texi (Generic Charset Conversion): Fix typo
42056         (LC_TYPE -> LC_CTYPE).
42058 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42060         [BZ #5805]
42061         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42062         (scalbnf): Likewise.
42063         (scalbnl): Likewise.
42064         (scalbln): Likewise.
42065         (scalblnf): Likewise.
42066         (scalblnl): Likewise.
42067         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42068         (vwarnx): Likewise.
42069         (verr): Likewise.
42070         (verrx): Likewise.
42071         * manual/filesys.texi (telldir): Use braces around return type.
42072         * manual/llio.texi (mmap): Add space after comma.
42073         (mmap64): Likewise.
42074         * manual/math.texi (jn): Use @var{} on parameter names.
42075         (jnf): Likewise.
42076         (jnl): Likewise.
42077         (yn): Likewise.
42078         (ynf): Likewise.
42079         (ynl): Likewise.
42080         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42081         line.
42082         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42083         "...".
42084         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42085         (sched_get_priority_max): Likewise.
42086         * manual/signal.texi (sigvec): Add space after comma.
42087         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42088         names.
42089         (if_indextoname): Likewise.
42090         (if_freenameindex): Likewise.
42091         (sendto): Use ',' instead of '.' in prototype.
42092         * manual/startup.texi (syscall): Use @dots{} instead of literal
42093         "...".
42094         * manual/stdio.texi (__fpending): Separate initial words of
42095         paragraph from @deftypefun line.
42096         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42097         "...".
42098         (vsyslog): Use @var{} on parameter names.
42099         * manual/terminal.texi (stty): Use @var{} on parameter names.
42100         * manual/users.texi (getutmp): Use @var{} on parameter names.
42101         (getutmpx): Likewise.
42103 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42105         [BZ #6884]
42106         * manual/stdio.texi (fopen): Fix typos in description of
42107         ",ccs=STRING".
42109 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42111         [BZ #4026]
42112         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42113         get clock_id definition.
42115 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42117         [BZ #4822]
42118         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42119         (madvise): Cast every argument to void on its own.
42121 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42123         [BZ #9902]
42124         * manual/startup.texi (Exit Status): Fix typo.
42126 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42128         [BZ #10140]
42129         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42130         * manual/examples/argp-ex2.c: Likewise.
42131         * manual/examples/argp-ex3.c: Likewise.
42133 2012-02-16  Richard Henderson  <rth@redhat.com>
42135         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42136         * sysdeps/s390/s390-32/initfini.c: Remove.
42137         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42138         * sysdeps/s390/s390-64/initfini.c: Remove.
42140 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42142         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42143         compiler output for sysdeps/generic/initfini.c.
42144         * sysdeps/sh/elf/initfini.c: Remove file.
42146 2012-02-16  David S. Miller  <davem@davemloft.net>
42148         [BZ #11494]
42149         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42151         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42152         * sysdeps/sparc/crti.S: New file.
42153         * sysdeps/sparc/crtn.S: New file.
42154         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42155         * sysdeps/sparc/sparc64/Makefile: Likewise.
42157 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42159         [BZ #3335]
42160         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42162 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42164         [BZ #4822]
42165         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42167         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42168         (write, read, close): Likewise.
42169         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42171 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42173         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42174         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42175         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42176         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42177         <bits/signalfd.h>.
42178         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42180         bits/signalfd.h.
42182 2012-02-14  Marek Polacek  <polacek@redhat.com>
42184         * sysdeps/x86_64/crti.S: New file.
42185         * sysdeps/x86_64/crtn.S: New file.
42186         * sysdeps/x86_64/elf/initfini.c: Remove file.
42188 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42190         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42191         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42192         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42193         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42194         <bits/inotify.h>.
42195         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42197         bits/inotify.h.
42199 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42201         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42202         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42203         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42204         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42205         <bits/eventfd.h>.
42206         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42208         bits/eventfd.h.
42210 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42212         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42213         __feraiseexcept instead of feraiseexcept.
42215         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42216         nanosleep invocations.
42217         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42218         strings, and add error checking for a nanosleep invocations.
42220 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42222         Replace FSF snail mail address with URLs, as per GNU coding standards.
42223         Most of the snail mail addresses were wrong anyway, and omitting
42224         them makes the source code easier to maintain.  Almost all of the
42225         changes are to license notices and to locale LC_IDENTIFICATION
42226         addresses, except for this one:
42227         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42228         not its snail mail address.
42230 2012-02-09  Richard Henderson  <rth@twiddle.net>
42232         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42233         of kernel-features.h.
42235         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42237 2012-02-08  Marek Polacek  <polacek@redhat.com>
42239         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42240         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42241         * sysdeps/gnu/_G_config.h: Likewise.
42242         * sysdeps/generic/_G_config.h: Likewise.
42244 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42246         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42247         tests.
42248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42250         * sysdeps/powerpc/powerpc32/crti.S: New file.
42251         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42252         * sysdeps/powerpc/powerpc64/crti.S: New file.
42253         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42255         * Makeconfig (have-initfini): Don't set.
42256         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42257         * configure.in (nopic_initfini): Don't substitute.
42258         * config.h.in (HAVE_INITFINI): Don't #undef.
42259         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42260         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42262 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42264         Support crti.S and crtn.S provided directly by architectures.
42265         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42266         [crti.S in sysdirs] (omit-deps): Likewise.
42267         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42268         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42269         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42270         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42271         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42272         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42273         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42274         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42275         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42276         compiler output for sysdeps/generic/initfini.c.
42277         * sysdeps/i386/elf/Makefile: Remove file.
42278         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42280 2012-02-07  Marek Polacek  <polacek@redhat.com>
42282         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42283         * sysdeps/gnu/_G_config.h: Likewise.
42284         * sysdeps/mach/hurd/_G_config.h: Likewise.
42286 2012-02-07  Marek Polacek  <polacek@redhat.com>
42288         * math/Makefile (tests): Add tst-CMPLX2.
42289         * math/tst-CMPLX2.c: New file.
42291 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42293         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42295         * math/libm-test.inc (jn_test): Add missing L suffix.
42297 2012-02-06  Marek Polacek  <polacek@redhat.com>
42299         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42300         * sysdeps/i386/fpu/e_powf.S: Likewise.
42301         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42302         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42303         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42304         * sysdeps/i386/fpu/e_pow.S: Likewise.
42305         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42306         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42307         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42308         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42309         * sysdeps/i386/fpu/e_log2.S: Likewise.
42310         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42311         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42312         * sysdeps/i386/fpu/e_powl.S: Likewise.
42313         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42314         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42315         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42316         * sysdeps/i386/fpu/e_logl.S: Likewise.
42317         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42318         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42319         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42320         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42321         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42322         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42323         * sysdeps/i386/fpu/e_log.S: Likewise.
42324         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42325         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42326         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42327         * sysdeps/i386/fpu/e_logf.S: Likewise.
42328         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42329         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42330         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42331         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42332         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42333         * sysdeps/i386/fpu/e_log10.S: Likewise.
42334         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42335         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42336         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42337         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42338         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42339         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42340         * sysdeps/i386/asm-syntax.h: Likewise.
42341         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42342         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42343         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42344         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42345         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42346         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42347         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42348         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42349         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42350         * sysdeps/powerpc/sysdep.h: Likewise.
42351         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42352         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42354 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42356         [BZ #411]
42357         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42359 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42361         * sysdeps/i386/sysdep.h: Include <features.h>.
42362         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42363         version.
42365 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42367         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42368         Define.
42369         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42370         LOAD_PIC_REG_STR.
42372 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42374         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42375         (SETUP_PIC_REG): Use GET_PC_THUNK.
42376         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42377         macro.
42379 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42381         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42382         for non-PIC compilation.
42383         (SETUP_PIC_REG): Add .p2align directive.
42384         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42385         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42386         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42387         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42388         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42389         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42390         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42391         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42392         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42393         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42394         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42395         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42396         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42397         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42398         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42399         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42400         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42401         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42402         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42403         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42404         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42405         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42406         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42407         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42408         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42410         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42411         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42412         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42413         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42414         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42415         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42416         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42417         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42418         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42419         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42420         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42421         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42422         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42423         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42424         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42426 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42428         * math/tst-CMPLX.c: Include <stdio.h>.
42430 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42432         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42433         float.
42434         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42435         * sysdeps/sparc/bits/mathdef.h: Likewise.
42437 2012-01-31  Marek Polacek  <polacek@redhat.com>
42439         * libio/libio.h: Don't define _PARAMS.
42440         * locale/programs/config.h: Don't define PARAMS.
42441         * stdlib/strtol_l.c: Likewise.
42442         (__strtol_l): Remove PARAMS from the prototype.
42444 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42446         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42447         names.  Just use the correct names.  Remove unnecessary wrapper
42448         functions.
42449         * malloc/arena.c: Likewise.
42450         * malloc/hooks.c: Likewise.
42452         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42453         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42454         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42456 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42458         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42459         into tail calls.
42460         (update_get_addr): New function.
42461         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42462         GET_ADDR_MODULE parameter.
42464 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42466         * crypt/cert.c: Remove __STDC__ conditionals.
42467         * crypt/crypt-entry.c: Likewise.
42468         * crypt/crypt_util.c: Likewise.
42469         * libio/filedoalloc.c: Likewise.
42470         * libio/fileops.c: Likewise.
42471         * libio/genops.c: Likewise.
42472         * libio/iofclose.c: Likewise.
42473         * libio/iofdopen.c: Likewise.
42474         * libio/iofopen.c: Likewise.
42475         * libio/iofopen64.c: Likewise.
42476         * libio/iogetdelim.c: Likewise.
42477         * libio/iopopen.c: Likewise.
42478         * libio/obprintf.c: Likewise.
42479         * libio/oldfileops.c: Likewise.
42480         * libio/oldiofclose.c: Likewise.
42481         * libio/oldiofdopen.c: Likewise.
42482         * libio/oldiofopen.c: Likewise.
42483         * libio/oldiopopen.c: Likewise.
42484         * libio/wfiledoalloc.c: Likewise.
42485         * libio/wgenops.c: Likewise.
42486         * locale/programs/xmalloc.c: Likewise.
42487         * misc/syslog.c: Likewise.
42488         * stdio-common/xbug.c: Likewise.
42489         * string/memchr.c: Likewise.
42490         * string/memcmp.c: Likewise.
42491         * string/memrchr.c: Likewise.
42492         * string/rawmemchr.c: Likewise.
42493         * sysdeps/posix/getcwd.c: Likewise.
42494         * time/strftime_l.c: Likewise.
42496 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42498         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42499         * config.make.in (config-cflags-sse2avx): Define.
42500         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42501         Fix typo.
42503 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42505         * scripts/config.guess: Update from upstream config git repository.
42506         * scripts/config.sub: Likewise.
42508 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42510         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42511         (EM_NUM): Update.
42512         (R_TILEPRO_*, R_TILEGX_*): New macros.
42514         * scripts/firstversions.awk: Fix bug in version range handling.
42516         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42518         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42520         * include/sys/epoll.h: New file.
42521         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42522         libc_hidden_def.
42524 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42526         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42527         Avoid unnecessary __WORDSIZE == 64 test.
42528         (fmaxf): Use VEX format if possible.
42529         (fmax): Likewise.
42530         (fminf): Likewise.
42531         (fmin): Likewise.
42533         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42534         * math/math_private.h: Remove libc_fegetround* and
42535         libc_fesetround*.
42536         * sysdeps/i386/configure.in: Check for -msse2avx.
42537         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42538         also if SSE2AVX is defined.
42539         Remove libc_fegetround* and libc_fesetround*.
42540         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42541         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42542         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42543         of HAS_YMM_USABLE.
42544         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42545         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42546         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42547         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42548         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42550         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42552 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42554         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42555         size is not set.
42556         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42558 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42560         [BZ #13618]
42561         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42562         relocation.
42563         * Makeconfig (libm): Define.
42564         * elf/Makefile: Add rules to build and run tst-relsort1.
42565         * elf/tst-relsort1.c: New file.
42566         * elf/tst-relsort1mod1.c: New file.
42567         * elf/tst-relsort1mod2.c: New file.
42569 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42571         * math/s_ldexp.c: Remove __STDC__ conditionals.
42572         * math/s_ldexpf.c: Likewise.
42573         * math/s_ldexpl.c: Likewise.
42574         * math/s_nextafter.c: Likewise.
42575         * math/s_nexttowardf.c: Likewise.
42576         * math/s_significand.c: Likewise.
42577         * math/s_significandf.c: Likewise.
42578         * math/s_significandl.c: Likewise.
42579         * math/w_jnl.c: Likewise.
42580         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42581         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42582         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42583         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42584         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42586         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42589         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42590         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42591         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42592         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42593         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42594         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42599         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42600         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42601         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42602         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42603         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42604         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42605         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42606         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42607         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42608         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42609         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42610         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42611         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42612         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42613         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42614         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42615         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42616         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42617         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42618         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42619         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42620         * sysdeps/ieee754/k_standard.c: Likewise.
42621         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42622         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42623         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42624         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42625         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42626         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42627         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42628         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42629         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42630         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42631         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42632         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42633         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42634         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42635         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42636         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42637         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42638         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42639         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42640         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42641         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42642         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42643         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42644         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42645         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42646         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42647         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42648         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42649         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42650         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42651         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42653         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42655         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42656         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42657         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42658         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42659         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42662         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42663         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42678         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42681         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42682         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42685         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42686         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42687         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42688         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42689         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42690         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42692         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42693         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42695         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42696         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42700         * sysdeps/ieee754/s_matherr.c: Likewise.
42701         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42702         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42706 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42708         * crypt/md5.h: Remove __STDC__ conditionals.
42709         * libio/libioP.h: Likewise.
42710         * locale/programs/config.h: Likewise.
42711         * sysdeps/generic/sysdep.h: Likewise.
42712         * sysdeps/i386/asm-syntax.h: Likewise.
42713         * sysdeps/s390/asm-syntax.h: Likewise.
42714         * sysdeps/unix/sysdep.h: Likewise.
42715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42718 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42720         * libio/libio.h: Remove __STDC__ conditionals.
42721         * malloc/obstack.h: Likewise.
42722         * math/complex.h: Likewise.
42723         * math/math.h: Likewise.
42724         * sysdeps/generic/_G_config.h: Likewise.
42725         * sysdeps/gnu/_G_config.h: Likewise.
42726         * sysdeps/mach/hurd/_G_config.h: Likewise.
42727         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42728         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42729         * sysdeps/sparc/bits/mathdef.h: Likewise.
42731 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42733         [BZ #13583]
42734         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42735         Clean up HAS_* macros.
42736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42737         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42738         possible.
42739         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42740         HAS_AVX.
42741         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42742         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42744         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42745         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42747 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42749         * elf/tst-unique3.cc (gets): Remove declaration.
42750         * elf/tst-unique3lib.cc (gets): Likewise.
42751         * elf/tst-unique3lib2.cc (gets): Likewise.
42752         * elf/tst-unique4.cc (gets): Likewise.
42754 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42756         * include/stdio.h: Add C++ protection.  Add gets declarations and
42757         definitions.
42758         * debug/tst-chk1.c: Don't declare gets here.
42759         * stdio-common/tst-gets.c: Likewise.
42761 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42763         * posix/glob: Remove directory.
42765 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42767         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42769 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42771         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42772         of the non-standard EPFNOSUPPORT.
42774 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42776         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42777         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42778         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42780 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42782         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42784 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42786         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42787         transient errors.
42788         * nscd/grpcache.c (cache_addgr): Likewise.
42789         * nscd/hstcache.c (cache_addhst): Likewise.
42790         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42791         * nscd/pwdcache.c (cache_addpw): Likewise.
42792         * nscd/servicescache.c (cache_addserv): Likewise.
42794 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42796         * malloc/malloc.c: Various cleanups.
42797         * malloc/hooks.c: Likewise.
42799         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42800         * stdlib/bug-fmtmsg1.c: New file.
42802         * stdlib/fmtmsg.c (init): Add missing unlock.
42803         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42805 2012-01-12  Marek Polacek  <polacek@redhat.com>
42807         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42808         and _GNU_SOURCE.
42810 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42812         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42813         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42814         macro to ensure uniqueness of label name.
42815         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42816         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42818 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42820         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42822         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42823         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42824         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42827 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42829         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42831         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42832         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42833         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42835         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42837         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42838         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42839         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42840         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42842         * math/bits/math-finite.h: Add ldexp support.
42844 2012-01-10  Marek Polacek  <polacek@redhat.com>
42846         * locale/programs/localedef.h (show_archive_content): Add noreturn
42847         attribute.
42849 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42851         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42853 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42855         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42857         * io/Makefile (headers): Add bits/poll2.h.
42859 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42862         typo #include statement.
42864 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42866         * include/sys/cdefs.h: Define __attribute_alloc_size.
42867         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42868         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42869         * elf/pldd.c: Likewise.
42870         * iconv/iconv_charmap.c: Likewise.
42871         * iconv/iconvconfig.c: Likewise.
42872         * iconv/strtab.c: Likewise.
42873         * locale/programs/locale.c: Likewise.
42874         * locale/programs/localedef.h: Likewise.
42875         * locale/programs/simple-hash.c: Likewise.
42876         * nscd/nscd.h: Likewise.
42877         * nss/makedb.c: Likewise.
42878         * sysdeps/generic/ldconfig.h: Likewise.
42879         * locale/programs/localedef.c: Remove xmalloc prototype.
42880         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42882 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42884         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42885         appropriate.
42887 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42889         * math/Makefile (tests): Add tst-CMPLX.
42890         * math/tst-CMPLX.c: New file.
42892         * math/complex.h (CMPLXL): Fix typo.
42894         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42895         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42896         GLIBC_2.16.
42897         * debug/tst-chk1.c: Add poll and ppoll tests.
42898         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42899         * include/sys/poll.h: Add hidden proto for ppoll.
42900         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42901         * sysdeps/mach/hurd/ppoll.c: Likewise.
42902         * io/ppoll.c: Likewise.
42903         * debug/poll_chk.c: New file.
42904         * debug/ppoll_chk.c: New file.
42905         * include/bits/poll2.h: New file.
42906         * io/bits/poll2.h: New file.
42908         [BZ #1350]
42909         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42911         * configure.in: static is always set to yes.  Remove.
42912         * config.make.in: Don't set build-static.
42913         * Makeconfig: Remove use of build-static.
42914         * dlfcn/Makefile: Likewise.
42915         * elf/Makefile: Likewise.
42916         * math/Makefile: Likewise.
42917         * misc/Makefile: Likewise.
42918         * nptl/Makefile: Likewise.
42919         * sysdeps/mach/hurd/Makefile: Likewise.
42921         * configure.in: PWD_P is not used anymore.
42922         * config.make.in: Remove PWD_P entry.
42924         * configure.in: Remove last remnants of RANLIB.
42925         No need to check for signed size_t anymore.
42926         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42927         and IA-64.
42928         Remove __builtin_expect test because we require at least gcc 3.4.
42929         * aclocal.m4: Likewise.
42931         * wcsmbs/mbrtoc16.c: Implement using towc function.
42932         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42933         * wcsmbs/wcsmbsload.c: Likewise.
42934         * iconv/gconv_simple.c: Likewise.
42935         * iconv/gconv_int.h: Likewise.
42936         * iconv/gconv_builtin.h: Likewise.
42937         * iconv/iconv_prog.c: Remove CHAR16 handling.
42939         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42941         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42943         * configure.in: Remove --with-elf and --enable-bounded options.
42944         Dont set base_machine for ia64.  More non-ELF conditions removed.
42945         Remove testing and setting of leading underscore information.
42946         * config.make.in (build-bounded): Set to no.
42947         * config.h.in: Remove NO_UNDERSCORES entry.
42948         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42949         them.
42950         * csu/start.c: Remove !NO_UNDERSCORE code.
42951         * locale/localeinfo.h: Likewise.
42952         * sysdeps/generic/machine-gmon.h: Likewise.
42953         * sysdeps/generic/sysdep.h: Likewise.
42954         * sysdeps/i386/sysdep.h: Likewise.
42955         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42956         * sysdeps/mach/sysdep.h: Likewise.
42957         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42958         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42959         * sysdeps/sh/sysdep.h: Likewise.
42960         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42961         * sysdeps/unix/i386/sysdep.S: Likewise.
42962         * sysdeps/unix/sparc/start.c: Likewise.
42963         * sysdeps/unix/sparc/sysdep.S: Likewise.
42964         * sysdeps/unix/sparc/sysdep.h: Likewise.
42965         * sysdeps/unix/start.c: Likewise.
42966         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42967         * sysdeps/x86_64/sysdep.h: Likewise.
42969 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42971         [BZ #13553]
42972         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42973         for non-gcc.
42974         * argp/argp-fmtstream.h: Use const instead __const.
42975         * argp/argp.h: Likewise.
42976         * assert/assert.h: Likewise.
42977         * bits/fenv.h: Likewise.
42978         * bits/sched.h: Likewise.
42979         * bits/sigset.h: Likewise.
42980         * bits/sigthread.h: Likewise.
42981         * catgets/nl_types.h: Likewise.
42982         * conform/data/pthread.h-data: Likewise.
42983         * crypt/crypt-private.h: Likewise.
42984         * crypt/crypt.h: Likewise.
42985         * crypt/crypt_util.c: Likewise.
42986         * ctype/ctype.h: Likewise.
42987         * debug/execinfo.h: Likewise.
42988         * debug/mbsnrtowcs_chk.c: Likewise.
42989         * debug/mbsrtowcs_chk.c: Likewise.
42990         * debug/wcsnrtombs_chk.c: Likewise.
42991         * debug/wcsrtombs_chk.c: Likewise.
42992         * debug/wcstombs_chk.c: Likewise.
42993         * dirent/dirent.h: Likewise.
42994         * dlfcn/dlfcn.h: Likewise.
42995         * elf/neededtest4.c: Likewise.
42996         * grp/grp.h: Likewise.
42997         * gshadow/gshadow.h: Likewise.
42998         * iconv/gconv.h: Likewise.
42999         * iconv/gconv_int.h: Likewise.
43000         * iconv/gconv_simple.c: Likewise.
43001         * iconv/iconv.h: Likewise.
43002         * iconv/loop.c: Likewise.
43003         * iconv/skeleton.c: Likewise.
43004         * include/aio.h: Likewise.
43005         * include/aliases.h: Likewise.
43006         * include/argz.h: Likewise.
43007         * include/arpa/inet.h: Likewise.
43008         * include/assert.h: Likewise.
43009         * include/dirent.h: Likewise.
43010         * include/dlfcn.h: Likewise.
43011         * include/execinfo.h: Likewise.
43012         * include/fcntl.h: Likewise.
43013         * include/fenv.h: Likewise.
43014         * include/glob.h: Likewise.
43015         * include/grp.h: Likewise.
43016         * include/libintl.h: Likewise.
43017         * include/mntent.h: Likewise.
43018         * include/netdb.h: Likewise.
43019         * include/pwd.h: Likewise.
43020         * include/rpc/netdb.h: Likewise.
43021         * include/sched.h: Likewise.
43022         * include/search.h: Likewise.
43023         * include/shadow.h: Likewise.
43024         * include/signal.h: Likewise.
43025         * include/stdio.h: Likewise.
43026         * include/stdlib.h: Likewise.
43027         * include/string.h: Likewise.
43028         * include/sys/socket.h: Likewise.
43029         * include/sys/stat.h: Likewise.
43030         * include/sys/statfs.h: Likewise.
43031         * include/sys/statvfs.h: Likewise.
43032         * include/sys/syslog.h: Likewise.
43033         * include/sys/time.h: Likewise.
43034         * include/sys/uio.h: Likewise.
43035         * include/time.h: Likewise.
43036         * include/unistd.h: Likewise.
43037         * include/utmp.h: Likewise.
43038         * include/wchar.h: Likewise.
43039         * include/wctype.h: Likewise.
43040         * inet/aliases.h: Likewise.
43041         * inet/arpa/inet.h: Likewise.
43042         * inet/netinet/ether.h: Likewise.
43043         * inet/netinet/in.h: Likewise.
43044         * intl/libintl.h: Likewise.
43045         * io/bits/fcntl2.h: Likewise.
43046         * io/fcntl.h: Likewise.
43047         * io/ftw.h: Likewise.
43048         * io/sys/poll.h: Likewise.
43049         * io/sys/stat.h: Likewise.
43050         * io/sys/statfs.h: Likewise.
43051         * io/sys/statvfs.h: Likewise.
43052         * io/utime.h: Likewise.
43053         * libio/bits/stdio.h: Likewise.
43054         * libio/bits/stdio2.h: Likewise.
43055         * libio/libio.h: Likewise.
43056         * libio/libioP.h: Likewise.
43057         * libio/stdio.h: Likewise.
43058         * locale/lc-ctype.c: Likewise.
43059         * locale/locale.h: Likewise.
43060         * login/utmp.h: Likewise.
43061         * malloc/arena.c: Likewise.
43062         * malloc/malloc.c: Likewise.
43063         * malloc/malloc.h: Likewise.
43064         * malloc/mcheck.c: Likewise.
43065         * malloc/mtrace.c: Likewise.
43066         * math/bits/mathcalls.h: Likewise.
43067         * math/fenv.h: Likewise.
43068         * math/math_private.h: Likewise.
43069         * misc/bits/error.h: Likewise.
43070         * misc/bits/syslog.h: Likewise.
43071         * misc/err.h: Likewise.
43072         * misc/error.h: Likewise.
43073         * misc/fstab.h: Likewise.
43074         * misc/mntent.h: Likewise.
43075         * misc/regexp.h: Likewise.
43076         * misc/search.h: Likewise.
43077         * misc/sgtty.h: Likewise.
43078         * misc/sys/mman.h: Likewise.
43079         * misc/sys/syslog.h: Likewise.
43080         * misc/sys/uio.h: Likewise.
43081         * misc/sys/xattr.h: Likewise.
43082         * misc/ttyent.h: Likewise.
43083         * nis/rpcsvc/ypclnt.h: Likewise.
43084         * nss/nss.h: Likewise.
43085         * posix/bits/unistd.h: Likewise.
43086         * posix/fnmatch.h: Likewise.
43087         * posix/glob.h: Likewise.
43088         * posix/sched.h: Likewise.
43089         * posix/spawn.h: Likewise.
43090         * posix/sys/wait.h: Likewise.
43091         * posix/unistd.h: Likewise.
43092         * posix/wordexp.h: Likewise.
43093         * pwd/pwd.h: Likewise.
43094         * resolv/netdb.h: Likewise.
43095         * resource/sys/resource.h: Likewise.
43096         * rt/aio.h: Likewise.
43097         * rt/bits/mqueue2.h: Likewise.
43098         * rt/mqueue.h: Likewise.
43099         * shadow/shadow.h: Likewise.
43100         * signal/signal.h: Likewise.
43101         * socket/send.c: Likewise.
43102         * socket/sendto.c: Likewise.
43103         * socket/sys/socket.h: Likewise.
43104         * stdio-common/printf.h: Likewise.
43105         * stdlib/bits/stdlib.h: Likewise.
43106         * stdlib/fmtmsg.h: Likewise.
43107         * stdlib/monetary.h: Likewise.
43108         * stdlib/stdlib.h: Likewise.
43109         * stdlib/ucontext.h: Likewise.
43110         * streams/stropts.h: Likewise.
43111         * string/argz.h: Likewise.
43112         * string/bits/string2.h: Likewise.
43113         * string/string.h: Likewise.
43114         * string/strings.h: Likewise.
43115         * sunrpc/rpc/auth.h: Likewise.
43116         * sunrpc/rpc/auth_des.h: Likewise.
43117         * sunrpc/rpc/clnt.h: Likewise.
43118         * sunrpc/rpc/netdb.h: Likewise.
43119         * sunrpc/rpc/pmap_clnt.h: Likewise.
43120         * sunrpc/rpc/xdr.h: Likewise.
43121         * sysdeps/generic/inttypes.h: Likewise.
43122         * sysdeps/generic/net/if.h: Likewise.
43123         * sysdeps/generic/sys/swap.h: Likewise.
43124         * sysdeps/gnu/net/if.h: Likewise.
43125         * sysdeps/gnu/utmpx.h: Likewise.
43126         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43127         * sysdeps/i386/i486/bits/string.h: Likewise.
43128         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43129         * sysdeps/s390/bits/string.h: Likewise.
43130         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43131         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43132         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43133         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43134         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43135         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43136         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43137         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43138         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43139         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43140         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43141         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43142         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43143         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43144         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43145         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43146         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43148         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43149         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43150         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43151         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43152         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43153         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43154         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43155         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43156         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43157         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43158         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43159         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43160         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43161         * sysvipc/sys/ipc.h: Likewise.
43162         * sysvipc/sys/msg.h: Likewise.
43163         * sysvipc/sys/sem.h: Likewise.
43164         * sysvipc/sys/shm.h: Likewise.
43165         * termios/termios.h: Likewise.
43166         * time/sys/time.h: Likewise.
43167         * time/time.h: Likewise.
43168         * wcsmbs/bits/wchar2.h: Likewise.
43169         * wcsmbs/uchar.h: Likewise.
43170         * wcsmbs/wchar.h: Likewise.
43171         * wctype/wctype.h: Likewise.
43173         [BZ #13551]
43174         * Makeconfig: Remove all but ELF support including AIX support.
43175         * Makerules: Likewise.
43176         * config.h.in: Likewise.
43177         * config.make.in: Likewise.
43178         * configure: Likewise.
43179         * configure.in: Likewise.
43180         * csu/Makefile: Likewise.
43181         * csu/version.c: Likewise.
43182         * debug/Makefile: Likewise.
43183         * dlfcn/Makefile: Likewise.
43184         * elf/Makefile: Likewise.
43185         * extra-lib.mk: Likewise.
43186         * iconv/Makefile: Likewise.
43187         * include/libc-symbols.h: Likewise.
43188         * include/shlib-compat.h: Likewise.
43189         * resolv/Makefile: Likewise.
43190         * resolv/res_libc.c: Likewise.
43191         * rt/Makefile: Likewise.
43192         * sysdeps/i386/asm-syntax.h: Likewise.
43193         * sysdeps/i386/sysdep.h: Likewise.
43194         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43195         * sysdeps/mach/sysdep.h: Likewise.
43196         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43197         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43198         * sysdeps/s390/asm-syntax.h: Likewise.
43199         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43200         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43201         * sysdeps/sh/sysdep.h: Likewise.
43202         * sysdeps/unix/sparc/sysdep.h: Likewise.
43203         * sysdeps/wordsize-32/divdi3.c: Likewise.
43204         * sysdeps/x86_64/sysdep.h: Likewise.
43206         * argp/Versions: Remove _argp_unlock_xxx.
43208         [BZ #13559]
43209         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43210         * abilist/libBrokenLocale.abilist: Likewise.
43211         * abilist/libanl.abilist: Likewise.
43212         * abilist/libc.abilist: Likewise.
43213         * abilist/libcrypt.abilist: Likewise.
43214         * abilist/libdl.abilist: Likewise.
43215         * abilist/libm.abilist: Likewise.
43216         * abilist/libnsl.abilist: Likewise.
43217         * abilist/libpthread.abilist: Likewise.
43218         * abilist/libresolv.abilist: Likewise.
43219         * abilist/librt.abilist: Likewise.
43220         * abilist/libthread_db.abilist: Likewise.
43221         * abilist/libutil.abilist: Likewise.
43222         * abilist/libnss_db.abilist: New file.
43224         * scripts/abilist.awk: Add support for indirect functions.
43226         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43228         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43230         * shlib-versions: Remove entries for ports architectures.
43232         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43233         files in ports.
43234         * elf/stackguard-macros.h: Remove support for IA-64.
43235         * elf/tst-auditmod1.c: Likewise.
43236         * sysdeps/generic/ldsodefs.h: Likewise.
43238         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43239         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43240         configure files.
43242         [BZ #13552]
43243         * configure.in: Remove --enable-omitfp support.
43244         * FAQ.in: Adjust.
43245         * config.make.in: Likewise.
43246         * Makeconfig: Likewise.
43247         * manual/install.texi: Likewise.
43249         In case anyone cares, the IA-64 architecture could move to ports.
43250         * sysdeps/ia64/*: Removed.
43251         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43252         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43254         [BZ #13555]
43255         * configure.in: Remove entries for unsupported architectures.
43257         [BZ #13533]
43258         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43259         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43260         routines.
43261         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43262         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43263         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43264         fall back to using wcrtomb.
43265         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43266         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43267         renaming.
43268         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43269         * wcsmbs/tst-c16c32-1.c: New file.
43271         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43272         local variable.
43274         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43276         * elf/tst-unique3.cc: Add explicit declaration of gets.
43277         * elf/tst-unique3lib.cc: Likewise.
43278         * elf/tst-unique3lib2.cc: Likewise.
43279         * elf/tst-unique4.cc: Likewise.
43281         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43283 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43285         [BZ #13566]
43286         * assert/assert.h (static_assert): Don't define for C++.
43287         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43288         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43290 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43292         * iconv/loop.c (single loop): Fix assertion in storing of
43293         remaining bytes.
43295         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43297 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43299         * posix/getconf.c: Update copyright year.
43300         * nss/getent.c: Likewise.
43301         * nss/makedb.c: Likewise.
43302         * iconv/iconvconfig.c: Likewise.
43303         * iconv/iconv_prog.c: Likewise.
43304         * elf/ldconfig.c: Likewise.
43305         * elf/pldd.c: Likewise.
43306         * elf/sotruss.ksh: Likewise.
43307         * catgets/gencat.c: Likewise.
43308         * csu/version.c: Likewise.
43309         * elf/ldd.bash.in: Likewise.
43310         * elf/sprof.c (print_version): Likewise.
43311         * locale/programs/locale.c: Likewise.
43312         * locale/programs/localedef.c: Likewise.
43313         * login/programs/pt_chown.c: Likewise.
43314         * nscd/nscd.c (print_version): Likewise.
43315         * debug/xtrace.sh: Likewise.
43316         * malloc/memusage.sh: Likewise.
43317         * malloc/mtrace.pl: Likewise.
43318         * debug/catchsegv.sh: Likewise.
43320 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43322         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43323         pure attribute.
43325 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43327         [BZ #13533]
43328         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43329         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43330         transformations.
43331         * iconv/gconv_int.h: Likewise.
43332         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43333         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43334         from libc for GLIBC_2.16.
43335         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43336         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43337         * wcsmbs/uchar.h: Really define mbstate_t.
43338         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43339         * wcsmbs/c16rtomb.c: New file.
43340         * wcsmbs/mbrtoc16.c: New file.
43341         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43342         for C/POSIX locale.
43343         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43344         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43346         * wcsmbs/wchar.h: Add missing __restrict.
43348 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43350         [BZ #13532]
43351         * time/Makefile (routines): Add timespec_get.
43352         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43353         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43354         timespec for ISO C11.
43355         * time/timespec_get.c: New file.
43356         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43357         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43359         [BZ #13531]
43360         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43361         * stdlib/stdlib.h: Declare aligned_alloc.
43362         * Versions.def: Add GLIBC_2.16 for libc.
43363         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43365         [BZ 13527]
43366         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43367         ISO C11.
43369         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43370         code.
43372         [BZ #13528]
43373         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43375         [BZ #13529]
43376         * assert/assert.h (static_assert): Define.
43378         * version.h: Update for 2.16 development version.
43380         [BZ #13526]
43381         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43382         _ISOC11_SOURCE.
43384         * version.h (RELEASE): Bump for 2.15 release.
43385         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43387         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43388         Patch by Marek Polacek <mpolacek@redhat.com>.
43390         * bits/byteswap.h: Protect long long constants with __extension__.
43391         * sysdeps/i386/bits/byteswap.h: Likewise.
43392         * sysdeps/ia64/bits/byteswap.h: Likewise.
43393         * sysdeps/s390/bits/byteswap.h: Likewise.
43394         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43396 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43398         [BZ #13540]
43399         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43400         destination buffer.
43401         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43403 2011-12-23  Marek Polacek  <polacek@redhat.com>
43405         * elf/dl-addr.c (determine_info): Add inline keyword.
43406         * elf/tst-auditmod4b.c (check_avx): Likewise.
43407         * elf/tst-auditmod6b.c (check_avx): Likewise.
43408         * elf/tst-auditmod6c.c (check_avx): Likewise.
43409         * elf/tst-auditmod7b.c (check_avx): Likewise.
43411 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43413         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43414         !__SSE_MATH__.
43416 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43418         [BZ #13540]
43419         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43420         processing for last bytes.
43422 2011-08-06  Bruno Haible  <bruno@clisp.org>
43424         [BZ #13061]
43425         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43426         U+0385, not to U+1FEE.
43428         [BZ #13062]
43429         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43430         entry for U+00A5 U+0301.
43432 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43434         [BZ #13166]
43435         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43436         buffer for the output is too small.
43438         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43439         optimization.
43441         [BZ #13185]
43442         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43443         SSE flags if possible.
43445 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43447         [BZ #13540]
43448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43449         processing for last bytes.
43451 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43453         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43454         (syscall-list-default-options, syscall-list-default-condition)
43455         (syscall-list-includes): Define.
43456         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43457         list of ABIs and options and #if conditions for each ABI.  Do not
43458         handle common syscalls between ABIs specially.
43459         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43460         Remove.
43461         (syscall-list-variants, syscall-list-32bit-options)
43462         (syscall-list-32bit-condition, syscall-list-64bit-options)
43463         (syscall-list-64bit-condition): Define.
43464         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43465         (syscall-list-variants, syscall-list-32bit-options)
43466         (syscall-list-32bit-condition, syscall-list-64bit-options)
43467         (syscall-list-64bit-condition): Define.
43468         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43469         Remove.
43470         (syscall-list-variants, syscall-list-32bit-options)
43471         (syscall-list-32bit-condition, syscall-list-64bit-options)
43472         (syscall-list-64bit-condition): Define.
43473         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43474         Remove.
43475         (syscall-list-variants, syscall-list-32bit-options)
43476         (syscall-list-32bit-condition, syscall-list-64bit-options)
43477         (syscall-list-64bit-condition): Define.
43479 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43481         * locale/iso-639.def: Add brx entry.
43483         [BZ #13328]
43484         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43485         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43487         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43488         __feraiseexcept_renamed.
43490 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43492         [BZ #13538]
43493         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43494         EPOLLET with unsigned values.
43495         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43496         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43498         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43499         to large cancellation.
43500         * math/s_cacoshf.c: Likewise.
43501         * math/s_cacoshl.c: Likewise.
43503 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43505         [BZ #13305]
43506         [BZ #12786]
43507         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43508         * math/s_cacoshf.c: Likewise.
43509         * math/s_cacoshl.c: Likewise.
43511 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43513         [BZ #13439]
43514         * iconv/gconv.h: Define __GCONV_SWAP.
43515         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43516         * iconvdata/utf-16.c: Likewise.
43517         * iconvdata/utf-32.c: Likewise.
43519 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43521         [BZ #13524]
43522         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43523         numerator after shifting it by one limb.
43525 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43527         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43528         under [__USE_EXTERN_INLINES].
43530 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43532         [BZ #13446]
43533         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43535 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43537         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43538         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43539         optimized code.
43540         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43541         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43542         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43543         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43544         for strncasecmp/strncasecmp_l compilation.
43545         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43546         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43548 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43550         [BZ #13484]
43551         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43552         of __asm__.
43554 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43556         [BZ #13506]
43557         * time/tzfile.c (__tzfile_read): Check values from file header.
43559 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43561         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43562         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43563         * powerpc/powerpc32/dl-start.S: Likewise.
43564         * powerpc/powerpc32/elf/start.S: Likewise.
43565         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43566         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43567         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43568         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43569         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43570         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43571         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43572         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43573         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43574         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43575         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43576         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43577         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43578         * powerpc/powerpc32/memset.S: Likewise.
43579         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43580         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43581         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43582         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43583         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43584         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43585         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43586         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43587         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43588         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43589         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43590         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43591         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43593 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43595         * math/libm-test.inc: Added more nearbyint tests.
43596         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43597         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43598         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43601 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43603         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43604         FD_CLOEXEC.
43606 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43608         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43609         Add wcscpy-ssse3 wcscpy-c.
43610         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43611         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43612         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43613         * sysdeps/x86_64/wcschr.S: New file.
43614         * sysdeps/x86_64/wcsrchr.S: New file.
43615         * string/test-strcmp.c: Remove checking of wcscmp function for
43616         wrong alignments.
43617         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43618         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43619         wcsrchr-sse2 wcsrchr-c.
43620         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43621         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43622         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43623         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43624         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43625         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43626         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43627         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43628         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43629         * wcsmbc/wcschr.c (WCSCHR): New macro.
43631 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43633         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43634         * wcsmbs/test-wcsrchr.c: New file.
43635         * string/test-strrchr.c: Add wcsrchr support.
43636         (WIDE): New macro.
43637         * wcsmbs/test-wcscpy.c: New file.
43638         * string/test-strcpy.c: Add wcscpy support.
43639         (WIDE): New macro.
43641 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43643         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43644         the inner loop.
43646 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43648         [BZ #13472]
43649         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43651 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43653         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43654         Minor optimizations.
43656         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43657         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43658         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43660 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43662         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43663         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43664         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43665         for gcc to avoid warnings.
43666         * inet/Makefile (tests): Add tst-checks.
43667         * inet/tst-checks.c: New file.
43669         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43670         warning.
43672         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43673         __wmemcmp_sse2.
43675         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43676         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43678         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43680 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43682         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43683         problem.
43685         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43687 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43689         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43690         conditional on GCC version.
43691         (__arch_compare_and_exchange_val_8_acq)
43692         (__arch_compare_and_exchange_val_16_acq)
43693         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43694         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43695         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43697 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43699         * sysdeps/sh/backtrace.c: New file.
43701 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43703         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43704         parenthesis.
43706 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43708         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43709         falling back to utime.
43711 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43713         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43714         expectations for float.
43716 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43718         * locale/weight.h (findidx): Add parameter len.
43719         * locale/weightwc.h (findidx): Likewise.
43720         * posix/fnmatch_loop.c (FCT): Adjust caller.
43721         * posix/regcomp.c (build_equiv_class): Likewise.
43722         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43723         * posix/regexec.c (check_node_accept_bytes): Likewise.
43724         * string/strcoll_l.c (STRCOLL): Likewise.
43725         * string/strxfrm_l.c (STRXFRM): Likewise.
43727 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43729         * Makefile.in: Remove CVSOPT handling.
43730         * configure.in: Remove use of AC_REVISION.
43731         * iconvdata/Makefile (distribute): No need to filter out CVS.
43732         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43733         handling.
43735 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43738         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43739         [USE_AS_STRNCASECMP_L]: Likewise.
43740         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43741         NO_TLS_DIRECT_SEG_REFS.
43742         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43743         Fix argument offsets for non-PIC.
43744         [USE_AS_STRNCASECMP_L]: Likewise.
43745         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43746         NO_TLS_DIRECT_SEG_REFS.
43748 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43750         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43751         O_CLOEXEC.
43752         * locale/loadlocale.c (_nl_load_locale): Likewise.
43754 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43756         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43757         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43758         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43759         (SYSCALL_GETTIME): Set errno on error.
43761         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43762         count references to noai6ai_cached.
43764 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43766         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43768         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43769         FD_CLOEXEC for /proc/self/maps.
43771         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43772         FD_CLOEXEC for /proc/meminfo.
43774         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43775         gai.conf.
43777         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43778         FD_CLOEXEC for given file.
43780         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43782         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43783         FD_CLOEXEC for /etc/hosts.
43784         (_gethtent): Likewise.
43786         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43788         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43789         cancellation and set FD_CLOEXEC for /etc/netgroup.
43791         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43792         reading /etc/publickey.
43794         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43795         allow cancellation when reading /etc/group.
43797         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43798         cancellation.
43799         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43801         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43802         when using data file.
43804         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43806         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43807         (write_nis_obj): Use "c" and "e" in fopen.
43809         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43811         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43813         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43815         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43817         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43818         locale.alias.
43820         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43822         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43824         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43826         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43827         file parsing and set FD_CLOEXEC.
43829 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43831         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43833 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43835         * malloc/arena.c (arena_get2): Don't call reused_arena when
43836         _int_new_arena failed.
43838 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43840         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43841         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43842         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43843         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43844         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43845         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43846         to compile strcasecmp and strncasecmp.
43847         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43848         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43852 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43854         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43855         locale-defines.sym to gen-as-const-headers.
43856         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43857         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43859         to compile strcasecmp and strncasecmp.
43860         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43861         strcasecmp_l and strncasecmp_l.
43862         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43863         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43864         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43865         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43866         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43867         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43868         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43869         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43870         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43871         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43872         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43874 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43876         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43877         result of SYSDEP_GETTIME_CPU to retval.
43878         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43879         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43881         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43882         variable.
43884         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43885         mantissa words.
43886         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43888         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43889         from unused variable.
43891         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43892         DWARF definitions.
43893         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43894         for assembling.
43896         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43897         over namespaces.
43899         * sunrpc/rpc_prot.c (rejected): Fix case value.
43901         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43902         unsigned long long int to avoid warnings in shift.
43904         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43905         of use of trans.
43906         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43907         variable tmp.
43909         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43910         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43911         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43913         * nis/nis_table.c (nis_list): Use variable of correct type for
43914         result of __follow_path call.
43916 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43918         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43919         of math functions ceil, trunc, floor, round, and sqrt, when
43920         avaliable on the platform.
43921         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43922         name clash.
43923         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43924         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43925         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43927 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43929         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43930         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43932 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43934         * include/unistd.h: Fix __readlink return type.
43935         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43937 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43939         * stdlib/ucontext.h: Undo last change for makecontext.
43941 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43943         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43945         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43946         * setjmp/setjmp.h: Mark functions as non-leaf.
43947         * setjmp/bits/setjmp2.h: Likewise.
43948         * stdlib/ucontext.h: Likewise.
43950 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43952         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43953         (reused_arena): Don't check arena limit.
43954         (arena_get2): Atomically check arena limit.
43956 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43958         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43959         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43961         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43962         instructions.
43964 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43966         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43967         handler when locking.
43969         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43970         Fix size of allocated buffer.
43972 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43974         [BZ #10103]
43975         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43976         declarations for long double functions.
43977         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43979         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43981 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43983         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43984         installed.
43986         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43987         is disabled.
43989 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43991         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43993 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43995         * include/alloca.h (stackinfo_alloca_round): Define.
43996         (extend_alloca): Use it.
43997         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43998         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43999         here.
44001         * scripts/check-local-headers.sh: Ignore libaudit.h.
44003         * nscd/Makefile (extra-objs): Make recursively expanded.
44005 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44007         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44008         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44010         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44011         * posix/tst-rfc3484-2.c: Likewise.
44012         * posix/tst-rfc3484-3.c: Likewise.
44014         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44015         process_vm_writev.
44016         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44017         process_vm_writev.
44018         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44019         process_vm_writev from libc using GLIBC_2.15 version.
44021         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44023 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44025         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44026         stack usage.
44028 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44030         [BZ #13367]
44031         * nss/getent.c (initgroups_keys): Show error message in case no group
44032         names are given.
44034         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44035         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44036         __bump_nl_timestamp.
44037         * nscd/connections (nscd_init): When host database is served open
44038         netlink socket and request notification about configuration changes.
44039         (main_loop_poll): Track netlink file descriptor and bump timestamp
44040         in case data becomes available.
44041         (main_loop_epoll): Likewise.
44042         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44043         (database_pers_head): Add extra_data fileds.
44044         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44045         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44046         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44047         Adjust caller.
44048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44049         in6ai data, call __free_in6ai.
44050         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44051         Add -DHAVE_NETLINK.
44052         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44053         interface information.  Reuse previous data if netlink timestamp
44054         is not changed.
44055         (__bump_nl_timestamp): New function.
44056         (__free_in6ai): New function.
44058 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44060         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44061         close_not_cancel_no_status here.
44062         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44064 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44066         [BZ #13276]
44067         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44068         return value.
44070         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44071         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44072         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44074 2011-07-03  Andreas Jaeger  <aj@suse.de>
44076         [BZ #10709]
44077         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44078         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44079         * math/libm-test.inc (sin_test): Add test case.
44081 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44083         [BZ #13337]
44084         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44085         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44087         * elf/chroot_canon.c (chroot_canon): Cleanups.
44089         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44091         [BZ #13335]
44092         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44093         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44095         * string/test-strchr.c: Make usable for strchrnul testing.
44096         * string/test-strchrnul.c: New file.
44097         * string/Makefile (strop-tests): Add strchrnul.
44099         * po/it.po: Update from translation team.
44100         * po/es.po: Likewise.
44102 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44104         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44105         the three constants needed as parameters.  Drop the others.
44106         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44107         __m128i_strloadu_tolower.
44108         Create and initialize variable zero and use it in all the places
44109         where _mm_setzero_si128 was used.
44111         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44112         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44113         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44114         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44115         anymore.
44116         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44117         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44118         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44119         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44120         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44121         __mpranred, __mptan.
44122         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44123         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44124         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44125         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44126         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44127         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44128         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44129         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44130         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44132 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44134         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44135         redefine if SHARED.
44136         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44139         wide char related routines to wcsmbs subdir.
44141 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44143         [BZ #13344]
44144         * misc/sys/cdefs.h (__THROWNL): Define.
44145         * posix/unistd.h: Use __THREADNL instead of __THREAD
44146         for memory synchronization functions.
44148 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44150         [BZ #13349]
44151         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44152         doesn't exist.
44153         * manual/stdio.texi (Obstack Streams): Node removed.
44155 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44157         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44158         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44159         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44161         * math/math_private.h (math_force_eval): Allow non-addressable
44162         arguments.
44163         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44165 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44167         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44168         file is not needed.
44170         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44171         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44172         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44173         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44174         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44175         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44176         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44177         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44178         Add AVX variants.
44179         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44180         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44181         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44182         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44183         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44184         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44185         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44186         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44187         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44188         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44189         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44190         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44192         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44193         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44194         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44195         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44196         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44197         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44199         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44200         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44202         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44203         place.  Use VEX encoding when compiling for AVX.
44205 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44207         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44208         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44210         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44212 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44214         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44215         useless if() expression.
44216         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44217         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44218         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44219         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44220         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44221         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44222         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44223         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44224         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44225         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44226         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44227         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44228         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44229         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44230         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44231         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44232         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44233         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44234         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44236         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44238 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44240         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44241         condition.
44242         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44244 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44246         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44247         .text section.  Avoid duplicate constants.
44248         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44249         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44250         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44251         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44252         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44253         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44254         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44255         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44256         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44257         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44258         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44259         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44260         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44261         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44263         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44265         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44266         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44268         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44269         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44270         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44271         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44272         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44273         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44274         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44275         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44276         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44277         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44278         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44279         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44280         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44281         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44282         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44283         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44284         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44285         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44286         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44287         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44288         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44289         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44290         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44291         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44292         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44294 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44296         * sysdeps/x86_64/dla.h: Move to ...
44297         * sysdeps/x86_64/fpu/dla.h: ...here.
44298         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44299         situations.  Use __builtin_fma only for gcc 4.6 and up.
44301         * config.make.in: Add have-mfma4 entry.
44302         * configure.in: Substitute libc_cv_cc_fma4.
44303         * math/Makefile (dbl-only-routines): Add sincostab.
44304         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44305         Use __sincostab not sincos.
44306         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44307         name is a macro.
44308         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44309         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44312         using __copysign.
44313         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44314         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44315         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44316         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44317         and __inv.
44318         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44319         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44320         __copysign.
44321         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44322         define aliases when function name is a macro.
44323         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44324         sysdeps/ieee754/dbl-64/sincos.tbl.
44325         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44326         fma4-enabled routines.
44327         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44328         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44329         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44330         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44331         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44332         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44333         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44334         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44336         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44337         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44338         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44339         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44340         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44341         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44342         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44343         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44344         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44345         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44346         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44347         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44348         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44349         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44350         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44351         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44352         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44353         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44354         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44355         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44356         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44358         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44359         rename.
44360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44361         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44363         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44364         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44366         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44369 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44371         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44373 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44375         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44377         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44378         prediction.
44379         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44381         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44382         Remove unused variable magic_bits.
44383         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44385         * string/strnlen.c: Define and use STRNLEN macro.
44386         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44387         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44388         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44389         * wcsmbs/wcslen.c: Define and use WCSLEN.
44390         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44391         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44392         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44393         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44394         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44395         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44396         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44398 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44401         strnlen-sse2-no-bsf.
44402         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44403         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44404         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44405         Add strnlen support.
44406         (USE_AS_STRNLEN): New macro.
44407         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44408         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44409         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44410         * sysdeps/x86_64/wcslen.S: New file.
44412 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44414         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44415         XMM-moves are used for copying on small sizes.
44417 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44419         * wcsmbs/Makefile (strop-tests): Add wcschr.
44420         * wcsmbs/test-wcschr.c: New file.
44421         * string/test-strchr.c: Update.
44422         Add wcschr support.
44423         (WIDE): New macro.
44425 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44427         * wcsmbs/Makefile (strop-tests): Add wcslen.
44428         * wcsmbs/test-wcslen.c: New file.
44429         * string/test-strlen.c: Update.
44430         Add wcslen support.
44431         (WIDE): New macro.
44433 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44435         * po/it.po: Update from translation team.
44437 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44439         * sysdeps/x86_64/wcscmp.S: Update.
44440         Fix wrong comparison semantics.
44441         wcscmp shall use signed comparison not unsigned.
44442         Don't use substraction to avoid overflow bug.
44443         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44444         * wcsmbc/wcscmp.c: Likewise.
44445         * string/test-strcmp.c: Likewise.
44446         Add new tests to check cases with negative values.
44448 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44450         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44451         * sysdeps/x86_64/dla.h: ...here.  New file.
44452         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44457         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44459         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44460         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44462 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44464         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44465         __ynl_finite aliases.
44467 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44471         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44472         define DLA_FMA.
44473         [DLA_FMA] (EMULV): Use DLA_FMA.
44474         [DLA_FMA] (MUL12): Use EMULV.
44475         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44476         that are not needed.
44477         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44478         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44482         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44483         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44485 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44487         * math/s_nan.c: Undef __nan.
44488         * math/s_nanf.c: Undef __nanf.
44489         * math/s_nanl.c: Undef __nanl.
44490         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44491         "math_private.h".
44493 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44495         * math/s_catan.c: Add branch predictions.
44496         * math/s_catanf.c: Likewise.
44497         * math/s_catanh.c: Likewise.
44498         * math/s_catanhf.c: Likewise.
44499         * math/s_catanhl.c: Likewise.
44500         * math/s_catanl.c: Likewise.
44501         * math/s_cexp.c: Likewise.
44502         * math/s_cexpf.c: Likewise.
44503         * math/s_cexpl.c: Likewise.
44504         * math/s_clog.c: Likewise.
44505         * math/s_clog10.c: Likewise.
44506         * math/s_clog10f.c: Likewise.
44507         * math/s_clog10l.c: Likewise.
44508         * math/s_clogf.c: Likewise.
44509         * math/s_clogl.c: Likewise.
44510         * math/s_csqrt.c: Likewise.
44511         * math/s_csqrtf.c: Likewise.
44512         * math/s_csqrtl.c: Likewise.
44513         * math/s_ctanf.c: Likewise.
44514         * math/s_ctanh.c: Likewise.
44515         * math/s_ctanhf.c: Likewise.
44516         * math/s_ctanhl.c: Likewise.
44517         * math/s_ctanl.c: Likewise.
44519         * math/math_private.h: Define __nan, __nanf, __nanl.
44520         * math/s_cacosh.c: Include <math_private.h>.
44521         * math/s_cacoshl.c: Likewise.
44522         * math/s_casinh.c: Likewise.
44523         * math/s_casinhf.c: Likewise.
44524         * math/s_casinhl.c: Likewise.
44525         * math/s_ccos.c: Rely entire on ccosh.
44526         * math/s_ccosf.c: Rely entire on ccoshf.
44527         * math/s_ccosl.c: Rely entirely on ccoshl.
44528         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44529         Remove tests for FE_INVALID.
44530         * math/s_ccoshf.c: Likewise.
44531         * math/s_ccoshl.c: Likewise.
44532         * math/s_csin.c: Likewise.
44533         * math/s_csinf.c: Likewise.
44534         * math/s_csinh.c Likewise.
44535         * math/s_csinhf.c: Likewise.
44536         * math/s_csinhl.c: Likewise.
44537         * math/s_csinl.c: Likewise.
44538         * math/s_ctan.c: Likewise.
44539         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44540         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44541         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44543 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44546         compilation problems.
44548         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44549         __builtin_expect.
44551 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44553         * sysdeps/i386/configure.in: Test for -mfma4 option.
44554         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44555         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44556         COMMON_CPUID_INDEX_80000001.
44557         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44558         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44559         use it if FMA3 is not supported.
44560         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44562         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44563         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44565 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44567         [BZ #12892]
44568         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44569         it would create a cycle with a link time dependency.
44571 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44573         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44574         instruction.
44575         * string/Makefile (strop-tests): Add rawmemchr.
44576         * string/test-rawmemchr.c: New file.
44578         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44579         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44580         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44581         when compiling str{,n}casecmp and when AVX is available.  Hook up
44582         new optimized code in initializers.
44584 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44586         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44587         __feraiseexcept instead of feraiseexcept.
44589 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44591         * math/math_private.h: Define defaults for libc_fetestexcept and
44592         libc_feupdateenv.
44593         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44594         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44595         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44596         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44597         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44598         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44599         libc_fetestexcept and libc_feupdateenv.
44601         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44602         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44603         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44604         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44605         libc_feholdexcept_setround.
44607         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44608         Add s_nearbyint-c and s_nearbyintf-c.
44609         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44610         nearbyintf inlines.
44611         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44612         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44613         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44614         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44616         * math/math_private.h: Define defaults for libc_fegetround,
44617         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44618         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44619         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44620         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44621         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44622         standard functions.
44623         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44624         Remove comments and hacks for old compiler versions.
44625         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44626         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44627         libc_feholdexceptl.
44629 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44631         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44632         (__feraiseexcept_renamed): Add __NTH.
44633         (feraiseexcept): Add __NTH.  Rename local variables to fix
44634         namespace violations.
44636 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44638         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44640         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44642         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44643         recently added interfaces.
44644         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44646         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44647         about macro parameter expansion.
44649         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44650         __NO_MATH_INLINES is defined.  Cleanups.
44652         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44653         and __floorf is target has SSE4.1.
44654         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44655         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44656         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44657         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44659         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44660         name.
44661         (floorf): Likewise.
44663         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44665 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44667         * misc/sys/cdefs.h: Fix last change.
44669         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44670         database lookup.
44672 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44674         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44676         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44677         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44678         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44679         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44680         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44682         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44683         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44684         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44685         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44686         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44687         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44688         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44689         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44690         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44691         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44692         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44693         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44694         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44695         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44696         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44697         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44699         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44700         ceil, ceilf, floor, floorf.
44702         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44703         Perform IRELATIVE relocations last.
44705         * elf/do-rel.h: Add another parameter nrelative, replacing the
44706         local variable with the same name.  Change name of the function
44707         to end in Rel or Rela (uppercase).
44708         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44709         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44710         elf_dynamic_do_##reloc function.
44712 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44714         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44715         is sufficient, at least on modern CPUs.
44717         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44719         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44720         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44722         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44723         __expl_finite.
44724         * math/bits/math-finite.h: Add entries for exp.
44725         * math/e_expl.c: Add __*_finite alias.
44726         * sysdeps/i386/fpu/e_exp.S: Likewise.
44727         * sysdeps/i386/fpu/e_expf.S: Likewise.
44728         * sysdeps/i386/fpu/e_expl.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44730         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44731         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44733         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44734         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44735         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44737         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44738         is sufficient, at least on modern CPUs.
44740         * ctype/ctype-info.c (__ctype_init): Define.
44741         * include/ctype.h (__ctype_init): Declare.
44742         (__ctype_b_loc): The variable is always initialized.
44743         (__ctype_toupper_loc): Likewise.
44744         (__ctype_tolower_loc): Likewise.
44745         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44746         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44748 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44750         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44752         * configure.in: Also look in $cxxmachine/include for C++ system
44753         headers.
44755 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44757         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44758         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44759         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44760         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44761         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44762         (USE_AS_WMEMCMP): New macro.
44763         Fixing indents.
44764         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44765         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44766         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44767         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44768         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44769         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44770         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44771         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44772         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44773         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44774         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44775         (USE_AS_WMEMCMP): New macro.
44776         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44777         * sysdeps/string/test-memcmp.c: Update.
44778         Fix simple_wmemcmp.
44779         Add new tests.
44780         * wcsmbs/wmemcmp.c: Update.
44781         (WMEMCMP): New macro.
44782         Fix overflow bug.
44784 2011-10-12  Andreas Jaeger  <aj@suse.de>
44786         [BZ #13268]
44787         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44789 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44791         * libio/iofwide.c (do_length): Avoid warning.
44793         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44795 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44797         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44799         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44800         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44801         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44802         * sysdeps/i386/i686/fpu/e_log.S: New file.
44803         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44804         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44806         * ctype/ctype.h: Add support for inlined isXXX functions when
44807         compiling C++ code.
44809 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44811         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44813         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44815 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44817         [BZ #13291]
44818         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44820 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44822         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44823         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44824         feraiseexcept.
44826         * sysdeps/x86_64/memrchr.S: Check for zero size.
44828         * string/stratcliff.c: Add memrchr tests.
44830 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44832         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44833         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44834         rawmemchr-sse2 rawmemchr-sse2-bsf.
44835         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44836         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44837         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44838         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44839         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44840         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44841         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44842         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44843         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44844         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44845         * string/memrchr.c (MEMRCHR): New macro.
44847 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44849         Add integration with gcc's -ffinite-math-only and optimize wrapper
44850         functions in libm.
44851         * Versions.def: Define GLIBC_2.15 version for libm.
44852         * math/Makefile (headers): Add bits/math-finite.h.
44853         * math/bits/math-finite.h: New file.
44854         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44855         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44856         * math/e_acoshl.c: Add __*_finite alias.
44857         * math/e_acosl.c: Likewise.
44858         * math/e_asinl.c: Likewise.
44859         * math/e_atan2l.c: Likewise.
44860         * math/e_atanhl.c: Likewise.
44861         * math/e_coshl.c: Likewise.
44862         * math/e_exp10.c: Likewise.
44863         * math/e_exp10f.c: Likewise.
44864         * math/e_exp10l.c: Likewise.
44865         * math/e_exp2l.c: Likewise.
44866         * math/e_fmodl.c: Likewise.
44867         * math/e_gammal_r.c: Likewise.
44868         * math/e_hypotl.c: Likewise.
44869         * math/e_j0l.c: Likewise.
44870         * math/e_j1l.c: Likewise.
44871         * math/e_jnl.c: Likewise.
44872         * math/e_lgammal_r.c: Likewise.
44873         * math/e_log10l.c: Likewise.
44874         * math/e_log2l.c: Likewise.
44875         * math/e_logl.c: Likewise.
44876         * math/e_powl.c: Likewise.
44877         * math/e_sinhl.c: Likewise.
44878         * math/e_sqrtl.c: Likewise.
44879         * math/e_scalb.c: Completely rewritten and optimized.
44880         * math/e_scalbf.c: Likewise.
44881         * math/e_scalbl.c: Likewise.
44882         * math/w_acos.c: Likewise.
44883         * math/w_acosf.c: Likewise.
44884         * math/w_acosl.c: Likewise.
44885         * math/w_acosh.c: Likewise.
44886         * math/w_acoshf.c: Likewise.
44887         * math/w_acoshl.c: Likewise.
44888         * math/w_asin.c: Likewise.
44889         * math/w_asinf.c: Likewise.
44890         * math/w_asinl.c: Likewise.
44891         * math/w_atan2.c: Likewise.
44892         * math/w_atan2f.c: Likewise.
44893         * math/w_atan2l.c: Likewise.
44894         * math/w_atanh.c: Likewise.
44895         * math/w_atanhf.c: Likewise.
44896         * math/w_atanhl.c: Likewise.
44897         * math/w_exp10.c: Likewise.
44898         * math/w_exp10f.c: Likewise.
44899         * math/w_exp10l.c: Likewise.
44900         * math/w_fmod.c: Likewise.
44901         * math/w_fmodf.c: Likewise.
44902         * math/w_fmodl.c: Likewise.
44903         * math/w_j0.c: Likewise.
44904         * math/w_j0f.c: Likewise.
44905         * math/w_j0l.c: Likewise.
44906         * math/w_j1.c: Likewise.
44907         * math/w_j1f.c: Likewise.
44908         * math/w_j1l.c: Likewise.
44909         * math/w_jn.c: Likewise.
44910         * math/w_jnf.c: Likewise.
44911         * math/w_log.c: Likewise.
44912         * math/w_logf.c: Likewise.
44913         * math/w_logl.c: Likewise.
44914         * math/w_log10.c: Likewise.
44915         * math/w_log10f.c: Likewise.
44916         * math/w_log10l.c: Likewise.
44917         * math/w_log2.c: Likewise.
44918         * math/w_log2f.c: Likewise.
44919         * math/w_log2l.c: Likewise.
44920         * math/w_pow.c: Likewise.
44921         * math/w_powf.c: Likewise.
44922         * math/w_powl.c: Likewise.
44923         * math/w_remainder.c: Likewise.
44924         * math/w_remainderf.c: Likewise.
44925         * math/w_remainderl.c: Likewise.
44926         * math/w_scalb.c: Likewise.
44927         * math/w_scalbf.c: Likewise.
44928         * math/w_scalbl.c: Likewise.
44929         * math/w_sqrt.c: Likewise.
44930         * math/w_sqrtf.c: Likewise.
44931         * math/w_sqrtl.c: Likewise.
44932         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44933         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44934         used.
44935         * math/math_private.h: Declare __kernel_standard_f.
44936         * math/w_cosh.c: Remove cruft and optimize a bit.
44937         * math/w_coshf.c: Likewise.
44938         * math/w_coshl.c: Likewise.
44939         * math/w_exp2.c: Likewise.
44940         * math/w_exp2f.c: Likewise.
44941         * math/w_exp2l.c: Likewise.
44942         * math/w_hypot.c: Likewise.
44943         * math/w_hypotf.c: Likewise.
44944         * math/w_hypotl.c: Likewise.
44945         * math/w_lgamma.c: Likewise.
44946         * math/w_lgamma_r.c: Likewise.
44947         * math/w_lgammaf.c: Likewise.
44948         * math/w_lgammaf_r.c: Likewise.
44949         * math/w_lgammal.c: Likewise.
44950         * math/w_lgammal_r.c: Likewise.
44951         * math/w_sinh.c: Likewise.
44952         * math/w_sinhf.c: Likewise.
44953         * math/w_sinhl.c: Likewise.
44954         * math/w_tgamma.c: Likewise.
44955         * math/w_tgammaf.c: Likewise.
44956         * math/w_tgammal.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44958         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44959         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44960         Minor optimizations.  Pretty printing.  Remove cruft.
44961         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44962         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44963         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44964         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44965         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44966         * sysdeps/i386/fpu/e_asin.S: Likewise.
44967         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44968         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44969         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44970         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44971         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44972         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44973         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44974         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44975         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44976         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44977         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44978         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44979         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44980         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44981         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44982         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44983         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44984         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44985         * sysdeps/i386/fpu/e_log.S: Likewise.
44986         * sysdeps/i386/fpu/e_log10.S: Likewise.
44987         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44988         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44989         * sysdeps/i386/fpu/e_log2.S: Likewise.
44990         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44991         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44992         * sysdeps/i386/fpu/e_logf.S: Likewise.
44993         * sysdeps/i386/fpu/e_logl.S: Likewise.
44994         * sysdeps/i386/fpu/e_pow.S: Likewise.
44995         * sysdeps/i386/fpu/e_powf.S: Likewise.
44996         * sysdeps/i386/fpu/e_powl.S: Likewise.
44997         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44998         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44999         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45000         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45001         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45002         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45003         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45004         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45005         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45006         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45007         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45009         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45010         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45011         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45012         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45013         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45014         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45015         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45016         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45017         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45018         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45019         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45020         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45022         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45023         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45024         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45026         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45027         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45028         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45029         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45030         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45031         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45032         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45033         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45034         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45035         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45036         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45037         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45038         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45039         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45040         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45041         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45042         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45043         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45044         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45045         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45046         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45047         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45048         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45050         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45052         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45053         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45054         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45055         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45056         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45057         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45058         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45059         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45060         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45061         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45062         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45063         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45064         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45065         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45066         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45067         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45071         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45072         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45078         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45079         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45085         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45086         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45089         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45091         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45092         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45094         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45095         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45097         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45098         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45099         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45100         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45101         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45102         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45103         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45104         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45105         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45106         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45107         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45108         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45109         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45110         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45111         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45112         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45113         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45114         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45115         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45116         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45117         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45118         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45119         (__isnanf): Likewise.
45120         (__isinf_ns): Likewise.
45121         (__isinf_nsf): Likewise.
45122         (__finite): Likewise.
45123         (__finitef): Likewise.
45124         (__ieee754_sqrt): Define as macro.
45125         (__ieee754_sqrtf): Define as macro.
45126         (__ieee754_sqrtl): Define as macro.
45127         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45128         inlined copy.
45129         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45130         __FINITE_MATH_ONLY__ consistent.
45131         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45133 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45135         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45136         of rawmemchr.
45138         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45140 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45142         * po/ja.po: Update from translation team.
45144 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45146         * locale/programs/locarchive.c (prepare_address_space): New function.
45147         (create_archive, enlarge_archive, open_archive): Use it.
45149         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45150         inside [SHARED], where it is used.
45152         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45154         * nss/getent.c (netgroup_keys): Remove unused variable.
45155         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45157 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45159         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45160         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45161         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45162         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45163         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45164         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45165         * math/Makefile (libm-calls): Add s_isinf_ns.
45166         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45167         * math/multc3.c: Likewise.
45168         * math/s_casin.c: Likewise.
45169         * math/s_casinf.c: Likewise.
45170         * math/s_casinl.c: Likewise.
45171         * math/s_ccos.c: Likewise.
45172         * math/s_ccosf.c: Likewise.
45173         * math/s_ccosl.c: Likewise.
45174         * math/s_ctan.c: Likewise.
45175         * math/s_ctanf.c: Likewise.
45176         * math/s_ctanh.c: Likewise.
45177         * math/s_ctanhf.c: Likewise.
45178         * math/s_ctanhl.c: Likewise.
45179         * math/s_ctanl.c: Likewise.
45180         * math/w_fmod.c: Likewise.
45181         * math/w_fmodf.c: Likewise.
45182         * math/w_fmodl.c: Likewise.
45183         * math/w_remainder.c: Likewise.
45184         * math/w_remainderf.c: Likewise.
45185         * math/w_remainderl.c: Likewise.
45186         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45187         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45188         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45190         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45191         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45192         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45193         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45195         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45196         of the number.
45197         * stdio-common/printf_fphex.c: Likewise.
45198         * stdio-common/printf_size.c: Likewise.
45200         * math/e_exp10.c: Include math_private.h using <...> not "...".
45201         * math/e_exp10f.c: Likewise.
45202         * math/e_exp10l.c: Likewise.
45203         * math/e_exp2l.c: Likewise.
45204         * math/e_j0l.c: Likewise.
45205         * math/e_j1l.c: Likewise.
45206         * math/e_jnl.c: Likewise.
45207         * math/e_lgammal_r.c: Likewise.
45208         * math/e_rem_pio2l.c: Likewise.
45209         * math/e_scalb.c: Likewise.
45210         * math/e_scalbf.c: Likewise.
45211         * math/e_scalbl.c: Likewise.
45212         * math/k_cosl.c: Likewise.
45213         * math/k_sinl.c: Likewise.
45214         * math/k_tanl.c: Likewise.
45215         * math/s_cacoshf.c: Likewise.
45216         * math/s_catan.c: Likewise.
45217         * math/s_catanf.c: Likewise.
45218         * math/s_catanh.c: Likewise.
45219         * math/s_catanhf.c: Likewise.
45220         * math/s_catanhl.c: Likewise.
45221         * math/s_catanl.c: Likewise.
45222         * math/s_ccosh.c: Likewise.
45223         * math/s_ccoshf.c: Likewise.
45224         * math/s_ccoshl.c: Likewise.
45225         * math/s_cexp.c: Likewise.
45226         * math/s_cexpf.c: Likewise.
45227         * math/s_cexpl.c: Likewise.
45228         * math/s_clog.c: Likewise.
45229         * math/s_clog10.c: Likewise.
45230         * math/s_clog10f.c: Likewise.
45231         * math/s_clog10l.c: Likewise.
45232         * math/s_clogf.c: Likewise.
45233         * math/s_clogl.c: Likewise.
45234         * math/s_csin.c: Likewise.
45235         * math/s_csinf.c: Likewise.
45236         * math/s_csinh.c: Likewise.
45237         * math/s_csinhf.c: Likewise.
45238         * math/s_csinhl.c: Likewise.
45239         * math/s_csinl.c: Likewise.
45240         * math/s_csqrt.c: Likewise.
45241         * math/s_csqrtf.c: Likewise.
45242         * math/s_csqrtl.c: Likewise.
45243         * math/s_ctan.c: Likewise.
45244         * math/s_ctanf.c: Likewise.
45245         * math/s_ctanh.c: Likewise.
45246         * math/s_ctanhf.c: Likewise.
45247         * math/s_ctanhl.c: Likewise.
45248         * math/s_ctanl.c: Likewise.
45249         * math/s_ldexp.c: Likewise.
45250         * math/s_ldexpf.c: Likewise.
45251         * math/s_ldexpl.c: Likewise.
45252         * math/s_significand.c: Likewise.
45253         * math/s_significandf.c: Likewise.
45254         * math/s_significandl.c: Likewise.
45255         * math/w_acos.c: Likewise.
45256         * math/w_acosf.c: Likewise.
45257         * math/w_acosh.c: Likewise.
45258         * math/w_acoshf.c: Likewise.
45259         * math/w_acoshl.c: Likewise.
45260         * math/w_acosl.c: Likewise.
45261         * math/w_asin.c: Likewise.
45262         * math/w_asinf.c: Likewise.
45263         * math/w_asinl.c: Likewise.
45264         * math/w_atan2.c: Likewise.
45265         * math/w_atan2f.c: Likewise.
45266         * math/w_atan2l.c: Likewise.
45267         * math/w_atanh.c: Likewise.
45268         * math/w_atanhf.c: Likewise.
45269         * math/w_atanhl.c: Likewise.
45270         * math/w_cosh.c: Likewise.
45271         * math/w_coshf.c: Likewise.
45272         * math/w_coshl.c: Likewise.
45273         * math/w_dremf.c: Likewise.
45274         * math/w_exp10.c: Likewise.
45275         * math/w_exp10f.c: Likewise.
45276         * math/w_exp10l.c: Likewise.
45277         * math/w_exp2.c: Likewise.
45278         * math/w_exp2f.c: Likewise.
45279         * math/w_fmod.c: Likewise.
45280         * math/w_fmodf.c: Likewise.
45281         * math/w_fmodl.c: Likewise.
45282         * math/w_hypot.c: Likewise.
45283         * math/w_hypotf.c: Likewise.
45284         * math/w_hypotl.c: Likewise.
45285         * math/w_j0.c: Likewise.
45286         * math/w_j0f.c: Likewise.
45287         * math/w_j0l.c: Likewise.
45288         * math/w_j1.c: Likewise.
45289         * math/w_j1f.c: Likewise.
45290         * math/w_j1l.c: Likewise.
45291         * math/w_jn.c: Likewise.
45292         * math/w_jnf.c: Likewise.
45293         * math/w_jnl.c: Likewise.
45294         * math/w_lgamma.c: Likewise.
45295         * math/w_lgamma_r.c: Likewise.
45296         * math/w_lgammaf.c: Likewise.
45297         * math/w_lgammaf_r.c: Likewise.
45298         * math/w_lgammal.c: Likewise.
45299         * math/w_lgammal_r.c: Likewise.
45300         * math/w_log.c: Likewise.
45301         * math/w_log10.c: Likewise.
45302         * math/w_log10f.c: Likewise.
45303         * math/w_log10l.c: Likewise.
45304         * math/w_log2.c: Likewise.
45305         * math/w_log2f.c: Likewise.
45306         * math/w_log2l.c: Likewise.
45307         * math/w_logf.c: Likewise.
45308         * math/w_logl.c: Likewise.
45309         * math/w_pow.c: Likewise.
45310         * math/w_powf.c: Likewise.
45311         * math/w_powl.c: Likewise.
45312         * math/w_remainder.c: Likewise.
45313         * math/w_remainderf.c: Likewise.
45314         * math/w_remainderl.c: Likewise.
45315         * math/w_scalb.c: Likewise.
45316         * math/w_scalbf.c: Likewise.
45317         * math/w_scalbl.c: Likewise.
45318         * math/w_sinh.c: Likewise.
45319         * math/w_sinhf.c: Likewise.
45320         * math/w_sinhl.c: Likewise.
45321         * math/w_sqrt.c: Likewise.
45322         * math/w_sqrtf.c: Likewise.
45323         * math/w_sqrtl.c: Likewise.
45324         * math/w_tgamma.c: Likewise.
45325         * math/w_tgammaf.c: Likewise.
45326         * math/w_tgammal.c: Likewise.
45328         * po/ja.po: Update from translation team.
45330 2011-09-29  Andreas Jaeger  <aj@suse.de>
45332         [BZ #13179]
45333         * sunrpc/netname.c (netname2host): Fix logic.
45335         [BZ #6779]
45336         [BZ #6783]
45337         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45338         correctly.
45339         * math/w_remainder.c (__remainder): Likewise.
45340         * math/w_remainderf.c (__remainderf): Likewise.
45341         * math/libm-test.inc (remainder_test): Add test cases.
45343 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45345         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45346         sdiv_qrnnd.
45348 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45350         * string/test-memcmp.c: Avoid unncessary #defines.
45351         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45353 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45355         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45356         Use new sse2 version for core i3 - i7 as it's faster
45357         than sse42 version.
45358         (bit_Prefer_PMINUB_for_stringop): New.
45359         * sysdeps/x86_64/rawmemchr.S: Update.
45360         Replace with faster SSE2 version.
45361         * sysdeps/x86_64/memrchr.S: New file.
45362         * sysdeps/x86_64/memchr.S: Update.
45363         Replace with faster SSE2 version.
45365 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45367         * elf/dl-load.c (lose): Add cast to avoid warning.
45369 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45371         * po/ca.po: Update from translation team.
45373         * inet/getnetgrent_r.c: Hook up nscd.
45374         * nscd/Makefile (routines): Add nscd_netgroup.
45375         (nscd-modules): Add netgroupcache.
45376         (CFLAGS-netgroupcache.c): Define.
45377         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45378         (cache_search): Add const to second parameter.
45379         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45380         INNETGR.
45381         (dbs): Add netgrdb entry.
45382         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45383         (verify_persistent_db): Handle netgrdb.
45384         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45385         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45386         GETFDNETGR.
45387         (netgroup_response_header): Define.
45388         (innetgroup_response_header): Define.
45389         (datahead): Add netgroup_response_header and innetgroup_response_header
45390         elements.
45391         * nscd/nscd.conf: Add entries for netgroup cache.
45392         * nscd/nscd.h (dbtype): Add netgrdb.
45393         (_PATH_NSCD_NETGROUP_DB): Define.
45394         (netgroup_iov_disabled): Declare.
45395         (xmalloc, xcalloc, xrealloc): Move declarations here.
45396         (cache_search): Adjust prototype.
45397         Add netgroup-related prototypes.
45398         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45399         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45400         (__nscd_innetgr): Declare.
45401         * nscd/selinux.c (perms): Use access_vector_t as element type and
45402         add netgroup-related initializers.
45403         * nscd/netgroupcache.c: New file.
45404         * nscd/nscd_netgroup.c: New file.
45405         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45406         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45407         For four parameters use innetgr.
45408         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45409         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45410         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45411         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45413         * nscd/connections.c (register_traced_file): Don't register file
45414         for disabled databases.
45416 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45418         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45420         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45421         from tree and freeing node.
45423 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45425         * nss/nsswitch.c (__nss_database_lookup): Handle
45426         nss_parse_service_list out of memory case.
45428 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45430         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45431         out of memory case.
45433 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45435         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45436         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45437         pass it down.
45438         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45439         elf_machine_rela, elf_machine_lazy_rel.
45440         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45441         (ELF_DYNAMIC_DO_REL): Likewise.
45442         (ELF_DYNAMIC_DO_RELA): Likewise.
45443         (ELF_DYNAMIC_RELOCATE): Likewise.
45444         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45445         to ELF_DYNAMIC_DO_REL.
45446         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45447         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45448         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45449         elf_machine_rela.
45450         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45451         skip_ifunc, don't call ifunc function if non-zero.
45452         (elf_machine_rela): Likewise.
45453         (elf_machine_lazy_rel): Likewise.
45454         (elf_machine_lazy_rela): Likewise.
45455         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45456         (elf_machine_lazy_rel): Likewise.
45457         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45458         Likewise.
45459         (elf_machine_lazy_rel): Likewise.
45460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45461         Likewise.
45462         (elf_machine_lazy_rel): Likewise.
45463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45464         (elf_machine_lazy_rel): Likewise.
45465         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45466         (elf_machine_lazy_rel): Likewise.
45467         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45468         (elf_machine_lazy_rel): Likewise.
45469         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45470         (elf_machine_lazy_rel): Likewise.
45471         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45472         (elf_machine_lazy_rel): Likewise.
45473         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45474         (elf_machine_lazy_rel): Likewise.
45476 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45478         * nss/nss_files/files-init.c (_nss_files_init): Use static
45479         initialization for all the *_traced_file variables.
45481 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45483         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45485 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45487         [BZ #13226]
45488         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45490 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45492         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45493         Reread the line before reparsing it.
45495 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45497         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45499 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45500             Maxim Kuvyrkov  <maxim@codesourcery.com>
45501             Joseph Myers  <joseph@codesourcery.com>
45503         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45504         if needed for __stack_chk_guard.
45506 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45508         * sysdeps/posix/spawni.c (script_execute): Always define it.
45509         It will be optimized away if unused.
45510         (maybe_script_execute): New function.
45511         (__spawni): Call it.
45513         * Makerules: Don't include tls.make.
45514         (config-tls): Always set to thread.
45515         * tls.make.c: File removed.
45517 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45519         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45520         * config.make.in (CPPFLAGS-config): New substituted variable.
45522 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45524         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45526         [BZ #13192]
45527         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45528         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45530 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45532         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45533         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45534         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45535         (CALL_FAIL): Likewise.
45536         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45537         (CALL_FAIL): Macro removed.
45538         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45540 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45542         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45543         for __FINITE_MATH_ONLY__ == 1.
45545 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45547         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45548         __ieee754_sqrt instead of sqrt.
45549         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45550         __ieee754_sqrtf instead of sqrtf.
45551         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45552         __floorf instead of floorf.
45553         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45554         __floorf, __truncf instead of floorf, truncf.
45556 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45558         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45560         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45561         __extern_always_inline.
45562         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45563         32-bit.
45565 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45567         * elf/rtld.c (dl_main): Also relocate in dependency order when
45568         doing symbol dependency testing.
45570 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45572         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45573         Always define `refsym'.
45575 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45577         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45578         (__FD_ELT): Renamed from __FDELT.
45579         * misc/bits/select2.h (__FD_ELT): Likewise.
45580         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45581         __FD_MASK instead of __FDELT, __FDMASK.
45582         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45583         Likewise.
45584         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45585         Likewise.
45587         * elf/Makefile (gen-ldd): Fix pattern.
45589         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45590         (init_tls): Likewise.
45592 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45594         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45596 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45598         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45599         `struct cmsghdr *' instead of `void *'.
45600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45601         Likewise.
45603 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45605         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45606         if non-absolute.
45607         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45608         ldd_rewrite_script.
45610 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45612         * configure.in: Remove --with-tls option.
45613         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45614         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45615         out in case it is missing.
45616         * sysdeps/ia64/elf/configure.in: Likewise.
45617         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45618         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45619         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45620         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45621         * sysdeps/sh/elf/configure.in: Likewise.
45622         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45623         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45624         * sysdeps/x86_64/elf/configure.in: Likewise.
45625         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45626         * sysdeps/mach/hurd/tls.h: Likewise.
45628         [BZ #13067]
45629         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45631         [BZ #13090]
45632         * configure.in: Fix use of AC_INIT.
45634         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45636 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45638         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45639         __set_errno.
45640         * malloc/hooks.c: Likewise.
45642         [BZ #11929]
45643         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45644         variables statically.
45645         (narenas): Initialize.
45646         (list_lock): Initialize.
45647         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45648         initializtion of main_arena and list_lock.  Small cleanups.
45649         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45650         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45651         Add initializers to main_arena and mp_.
45652         (malloc_state): Remove pagesize member.  Change all users to use
45653         GLRO(dl_pagesize).
45655         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45656         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45657         is always initialized.
45659         * malloc/malloc.c: Removed unused configurations and dead code.
45660         * malloc/arena.c: Likewise.
45661         * malloc/hooks.c: Likewise.
45662         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45664         * include/tls.h: Removed.  USE___THREAD must always be defined.
45665         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45666         * elf/dl-libc.c: Likewise.
45667         * elf/dl-tsd.c: Likewise.
45668         * include/errno.h: Likewise.
45669         * include/netdb.h: Likewise.
45670         * include/resolv.h: Likewise.
45671         * inet/herrno-loc.c: Likewise.
45672         * inet/herrno.c: Likewise.
45673         * malloc/arena.c: Likewise.
45674         * malloc/hooks.c: Likewise.
45675         * malloc/malloc.c: Likewise.
45676         * resolv/res-state.c: Likewise.
45677         * resolv/res_libc.c: Likewise.
45678         * sysdeps/i386/dl-machine.h: Likewise.
45679         * sysdeps/ia64/dl-machine.h: Likewise.
45680         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45681         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45682         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45683         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45684         * sysdeps/sh/dl-machine.h: Likewise.
45685         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45686         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45687         * sysdeps/unix/i386/sysdep.S: Likewise.
45688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45689         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45692         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45694         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45698         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45699         * sysdeps/x86_64/dl-machine.h: Likewise.
45700         * tls.make.c: Likewise.
45702         * configure.in: Remove --with-__thread option.  Make tests for
45703         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45704         tls_model attribute fail if no support is available.  Remove
45705         USE_IN_LIBIO.
45706         * Makeconfig: Adjust for dropped configure option.  All features are
45707         now mandatory.
45708         * Makerules: Likewise.
45709         * Versions.def: Likewise.
45710         * argp/argp-fmtstream.c: Likewise.
45711         * argp/argp-fmtstream.h: Likewise.
45712         * argp/argp-help.c: Likewise.
45713         * assert/assert.c: Likewise.
45714         * config.h.in: Likewise.
45715         * config.make.in: Likewise.
45716         * configure: Likewise.
45717         * configure.in: Likewise.
45718         * csu/Versions: Likewise.
45719         * csu/init.c: Likewise.
45720         * elf/tst-audit2.c: Likewise.
45721         * elf/tst-tls10.c: Likewise.
45722         * elf/tst-tls10.h: Likewise.
45723         * elf/tst-tls11.c: Likewise.
45724         * elf/tst-tls12.c: Likewise.
45725         * elf/tst-tls14.c: Likewise.
45726         * elf/tst-tlsmod11.c: Likewise.
45727         * elf/tst-tlsmod12.c: Likewise.
45728         * elf/tst-tlsmod13.c: Likewise.
45729         * elf/tst-tlsmod13a.c: Likewise.
45730         * elf/tst-tlsmod14a.c: Likewise.
45731         * elf/tst-tlsmod15b.c: Likewise.
45732         * elf/tst-tlsmod16a.c: Likewise.
45733         * elf/tst-tlsmod16b.c: Likewise.
45734         * elf/tst-tlsmod7.c: Likewise.
45735         * elf/tst-tlsmod8.c: Likewise.
45736         * elf/tst-tlsmod9.c: Likewise.
45737         * gmon/gmon.c: Likewise.
45738         * grp/fgetgrent_r.c: Likewise.
45739         * grp/putgrent.c: Likewise.
45740         * hurd/fopenport.c: Likewise.
45741         * include/libc-symbols.h: Likewise.
45742         * include/tls.h: Likewise.
45743         * intl/gettextP.h: Likewise.
45744         * intl/loadinfo.h: Likewise.
45745         * locale/global-locale.c: Likewise.
45746         * locale/localeinfo.h: Likewise.
45747         * mach/devstream.c: Likewise.
45748         * malloc/arena.c: Likewise.
45749         * malloc/set-freeres.c: Likewise.
45750         * misc/err.c: Likewise.
45751         * misc/getttyent.c: Likewise.
45752         * misc/mntent_r.c: Likewise.
45753         * posix/getopt.c: Likewise.
45754         * posix/wordexp.c: Likewise.
45755         * pwd/fgetpwent_r.c: Likewise.
45756         * resolv/Versions: Likewise.
45757         * resolv/res_hconf.c: Likewise.
45758         * shadow/fgetspent_r.c: Likewise.
45759         * shadow/putspent.c: Likewise.
45760         * stdio-common/printf_fphex.c: Likewise.
45761         * stdio-common/tmpfile.c: Likewise.
45762         * stdlib/abort.c: Likewise.
45763         * stdlib/fmtmsg.c: Likewise.
45764         * sunrpc/auth_unix.c: Likewise.
45765         * sunrpc/clnt_perr.c: Likewise.
45766         * sunrpc/clnt_tcp.c: Likewise.
45767         * sunrpc/clnt_udp.c: Likewise.
45768         * sunrpc/clnt_unix.c: Likewise.
45769         * sunrpc/openchild.c: Likewise.
45770         * sunrpc/svc_simple.c: Likewise.
45771         * sunrpc/svc_tcp.c: Likewise.
45772         * sunrpc/svc_udp.c: Likewise.
45773         * sunrpc/svc_unix.c: Likewise.
45774         * sunrpc/xdr.c: Likewise.
45775         * sunrpc/xdr_array.c: Likewise.
45776         * sunrpc/xdr_rec.c: Likewise.
45777         * sunrpc/xdr_ref.c: Likewise.
45778         * sunrpc/xdr_stdio.c: Likewise.
45780 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45782         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45784 2011-07-03  Andreas Jaeger  <aj@suse.de>
45786         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45787         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45788         regenerate with gen-libm-tests.pl.
45790 2010-05-12  Petr Baudis  <pasky@suse.cz>
45792         [BZ #11589]
45793         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45794         around j0() zero points by switching to j1().
45795         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45796         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45798         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45800 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45802         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45803         instead of 0.
45804         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45805         instead of 0.
45806         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45807         Patch in part by Pavel Roskin <proski@gnu.org>.
45809         [BZ #13138]
45810         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45811         realloc.
45812         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45813         Free memory block if necessary.
45815         [BZ #12847]
45816         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45817         be NULL.  Don't lock in this case.
45819 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45821         * elf/elf.h (ELFOSABI_GNU): New macro.
45822         (ELFOSABI_LINUX): Define to that.
45824 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45826         * string/strncat.c (strncat): Undef the symbol in case it has been
45827         defined in bits/string.h.
45829 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45831         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45833         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45834         link map.
45836 2011-08-17  Andreas Jaeger  <aj@suse.de>
45838         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45840 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45841             Ian Lance Taylor  <iant@google.com>
45843         * math/libm-test.inc (lround_test): New testcase.
45844         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45846 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45848         * Makefile: Remove support for automatic cvs check-ins.
45849         * Makerules: Likewise.
45850         * config.make.in: Likewise.
45851         * configure.in: Likewise.
45852         * intl/Makefile: Likewise.
45853         * locale/Makefile: Likewise.
45854         * po/Makefile: Likewise.
45855         * posix/Makefile: Likewise.
45856         * sysdeps/gnu/Makefile: Likewise.
45857         * sysdeps/mach/hurd/Makefile: Likewise.
45858         * sysdeps/sparc/sparc32/Makefile: Likewise.
45860         [BZ #13118]
45861         * posix/Makefile (bug-regex32-ENV): Define.
45862         Patch by John Stanley <jpsinthemix@verizon.net>.
45864         * misc/Makefile (headers): Add bits/select2.h.
45865         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45866         * misc/bits/select2.h: New file.
45867         * include/bits/select2.h: New file.
45868         * debug/Makefile (routines): Add fdelt_chk.
45869         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45870         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45871         FD_ISSET.
45872         * debug/fdelt_chk.c: New file.
45874         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45875         * wcsmbs/test-wmemcmp.c: Likewise.
45876         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45877         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45879 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45881         * string/Makefile (strop-tests): Add memcmp.
45882         * string/test-wmemcmp.c: New file.
45883         * string/test-memcmp.c: Add wmemcmp support.
45885 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45887         [BZ #13153]
45888         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45889         2011-07-19 change.
45891         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45892         garbage value in a __mach_port_mod_refs call in the cases of the
45893         task-self and thread-self ports.
45895 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45897         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45899 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45901         * elf/dl-load.c (lose): Check for non-null L.
45903 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45905         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45907         * elf/dl-libc.c (dlerror_run): Pass back error code from
45908         dl_catch_error.
45910         [BZ #13123]
45911         * elf/dl-load.c (lose): Free l_origin if it is valid.
45913         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45914         names.
45915         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45916         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45917         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45918         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45919         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45920         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45922 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45924         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45925         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45926         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45927         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45928         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45929         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45930         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45931         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45932         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45933         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45935 2011-08-15  Alan Modra  <amodra@gmail.com>
45937         [BZ #13092]
45938         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45939         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45940         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45941         ppc_mcount to static-only-routines.
45942         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45943         __mcount_internal.
45944         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45945         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45947 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45949         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45950         for finite and infinity parameters.
45952 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45954         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45955         and add nop instructions for throughput optimization.
45956         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45958 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45960         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45961         aligned copy for power7 with vector-scalar instructions.
45962         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45964 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45966         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45967         AVX check.
45969 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45971         [BZ #13144]
45972         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45973         last change.
45975 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45977         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45978         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45979         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45980         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45981         clock_gettime.
45983 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45985         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45986         Forgot to demangle the pointer.
45988         * sysdeps/i386/sysdep.h: Define atom_text_section.
45989         * sysdeps/x86_64/sysdep.h: Likewise.
45990         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45991         section with atom_text_section.
45992         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45993         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45994         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45995         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45996         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45998         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45999         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46000         already be defined.  Change to take two parameters and don't assign
46001         result to variable.  Adjust all users.
46002         Define INTERNAL_GETTIME if not already defined.
46003         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46004         call.
46005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46006         HAVE_CLOCK_GETTIME_VSYSCALL.
46007         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46010         gettimeofday vsyscall, just use time.
46012 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46014         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46015         <errno.h>.
46017 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46019         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46020         syscall on x86-64.
46021         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46022         syscall.
46023         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46024         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46025         syscall if possible.
46027 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46029         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46030         e_ident.  Don't pass to find_mapsXX.
46031         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46033 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46036         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46037         * sysdeps/x86_64/multiarch/strchr.S: Update.
46038         Check bit_slow_BSF bit.
46039         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46040         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46043 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46045         [BZ #13134]
46046         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46047         before glibc 2.15.
46048         (tryshell): Define.
46049         (__spawni): Change last parameter to be flag.  Test
46050         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46051         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46052         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46053         * posix/spawni.c: Likewise.
46054         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46055         * posix/spawnp.c: Likewise.  Change normal version to use
46056         SPAWN_XFLAGS_USE_PATH.
46057         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46058         SPAWN_XFLAGS_TRY_SHELL.
46060         [BZ #13150]
46061         * posix/glob.h: Remove gcc 1.x support.
46063         [BZ #13068]
46064         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46066 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46069         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46070         strrchr-sse2-bsf
46071         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46072         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46073         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46074         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46075         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46076         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46078 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46080         * sysdeps/x86_64/wcscmp.S: New file.
46082         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46083         wcscmp-c wcscmp-sse2
46084         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46085         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46086         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46087         * wcsmbs/wcscmp.c: Allow renaming.
46089 2011-09-05  David S. Miller  <davem@davemloft.net>
46091         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46092         stack slot, rather than the struct return pointer slot.
46093         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46094         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46096         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46098 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46100         * po/ja.po: Update from translation team.
46102         [BZ #13144]
46103         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46104         kernel in 64-bit binaries.
46106 2011-09-01  David S. Miller  <davem@davemloft.net>
46108         * elf/elf.h (HWCAP_SPARC_*): Move to..
46109         * sysdeps/sparc/sysdep.h: this new file and add new values.
46110         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46111         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46112         _DL_HWCAP_COUNT to 24.
46113         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46114         entries.
46115         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46116         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46117         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46119         instead of magic constants.
46120         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46122 2011-08-31  David S. Miller  <davem@davemloft.net>
46124         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46126         Reimplement to do errno handling inline.
46127         (SYSCALL_ERROR_HANDLER): New macro.
46128         (__SYSCALL_STRING): Do not do errno handling in asm.
46129         (__CLONE_SYSCALL_STRING): Delete.
46130         (__INTERNAL_SYSCALL_STRING): Delete.
46131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46132         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46133         (PSEUDO): Reimplement to do errno handling inline.
46134         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46135         (SYSCALL_ERROR_HANDLER): New macro.
46136         (__SYSCALL_STRING): Do not do errno handling in asm.
46137         (__CLONE_SYSCALL_STRING): Delete.
46138         (__INTERNAL_SYSCALL_STRING): Delete.
46139         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46140         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46141         i386.
46142         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46143         (inline_syscall*): Add 'err' argument.
46144         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46145         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46146         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46147         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46149         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46150         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46152 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46154         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46156 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46158         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46159         directive.
46161 2011-08-24  David S. Miller  <davem@davemloft.net>
46163         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46165 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46167         * elf/Makefile: Add rules to build and run unload8 test.
46168         * elf/unload8.c: New file.
46169         * elf/unload8mod1.c: New file.
46170         * elf/unload8mod1x.c: New file.
46171         * elf/unload8mod2.c: New file.
46172         * elf/unload8mod3.c: New file.
46174         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46175         it wasn't used.
46177 2011-08-23  David S. Miller  <davem@davemloft.net>
46179         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46180         subtract stack bias.
46181         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46182         %sp not %fp in calculations.
46183         (_JMPBUF_UNWINDS_ADJ): Likewise.
46185         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46186         (aio_suspend): Call it to force an exception region around the
46187         AIO_MISC_WAIT() invocation.
46189 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46191         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46192         backslash.
46194 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46196         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46197         protection macro.
46198         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46199         and <dl-machine.h>.
46200         (Elf64_FuncDesc): Remove.
46202 2011-08-22  David S. Miller  <davem@davemloft.net>
46204         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46205         sigaltstack check, add missing cfi directives.
46206         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46207         missing cfi directives, and sigaltstack handling.
46209 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46211         [BZ #11724]
46212         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46213         object is seen twice.
46214         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46216         * elf/Makefile (distribute): Add tst-initorder2.c.
46217         (tests): Add tst-initorder2.
46218         (modules-names): Add tst-initorder2a tst-initorder2b
46219         tst-initorder2c tst-initorder2d.  Add rules to build them.
46220         ($(objpfx)tst-initorder2.out): New rule.
46221         * elf/tst-initorder2.c: New file.
46222         * elf/tst-initorder2.exp: New file.
46224 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46226         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46228         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46229         dependencies back to end of function.
46231         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46232         $(elfobjdir)/ld.so.
46234 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46237         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46238         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46239         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46240         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46241         of __vdso_gettimeofday.
46242         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46243         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46244         attribute_hidden.
46245         (_libc_vdso_platform_setup): Remove initialization of
46246         __vdso_gettimeofday and __vdso_time.
46248 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46250         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46251         and fgetc_unlocked.
46252         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46253         getc_unlocked.
46255         * elf/dl-open.c (add_to_global): Report additions to the global scope
46256         for LD_DEBUG=scopes.
46257         (dl_open_worker): Also print scope of newly loaded dependencies.
46258         (_dl_show_scope): Indicate if there is no scope.
46260         [BZ #13114]
46261         * stdio-common/Makefile (tests): Add bug24.
46262         * stdio-common/bug24.c: New file.
46264 2011-08-19  Andreas Jaeger  <aj@suse.de>
46266         [BZ #13114]
46267         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46268         non-existant file when using close-on-exec mode.
46270 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46273         the very first instruction.
46275         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46276         the CFI state in the end.
46277         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46278         inclusion of dl-trampoline.h.
46279         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46281 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46283         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46284         expectations for long double.
46286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46287         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46289 2011-08-14  David S. Miller  <davem@davemloft.net>
46291         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46292         artificual limit depends upon the system page size.
46294 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46296         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46297         * resolv/Makefile: Define CFLAGS-libresolv.
46299 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46301         * nss/makedb.c (compute_tables): Make variables used in nested
46302         function static.
46304 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46306         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46307         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46308         if buffer was too small.
46310         * elf/pldd.c (main): Attach to all threads in the process.
46311         Rewrite /proc handling to use *at functions.
46313 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46315         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46316         specifies first scope to show.
46317         (dl_open_worker): Update callers.  Move printing scope of new
46318         object to before the relocation.
46319         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46320         * sysdeps/generic/ldsodefs.h: Update declaration.
46322         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46323         string for the scope number.
46325 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46327         * nscd/servicescache.c (cache_addserv): Make sure written is always
46328         initialized.
46330 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46332         * sysdeps/i386/i486/bits/atomic.h
46333         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46334         statement expression, so as to suppress "set but not used" warning.
46335         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46337         * string/strncat.c (STRNCAT): Use prototype definition.
46339         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46340         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46341         -Iprograms here.
46342         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46343         (localedef-modules): Add localedef.
46344         (locale-modules): Add locale.
46346         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46347         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46348         to avoid a warning.
46350 2011-08-14  David S. Miller  <davem@davemloft.net>
46352         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46353         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46355 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46357         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46358         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46359         * elf/rtld.c (dl_main): Set l_name of vDSO.
46360         Call _dl_show_scope when DL_DEBUG_SCOPES.
46361         (process_dl_debug): Recognize scopes flag and also set it for all.
46362         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46363         Declare _dl_show_scope.
46365         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46366         (do_dlopen): Pass caller_dlopen to dl_open.
46367         (__libc_dlopen_mode): Initialize caller_dlopen.
46369         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46370         of libc.  Make tolower call locale-independent.  Optimize a bit by
46371         using isdigit instead of isalnum.
46372         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46374 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46376         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46377         was a dependency or dynamically loaded.
46379 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46381         * intl/l10nflist.c: Allow architecture-specific pop function.
46382         * sysdeps/x86_64/l10nflist.c: New file.
46384         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46385         classification.
46387 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46389         * include/dirent.h: Add libc_hidden_proto for scandirat and
46390         scandirat64.  Don't declare __scandirat64.
46391         * dirent/scandirat.c: Add libc_hidden_def.
46392         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46393         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46395 2011-08-10  David S. Miller  <davem@davemloft.net>
46397         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46398         enum.
46399         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46400         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46401         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46403 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46405         * Versions.def [libc]: Add GLIBC_2.15.
46406         * dirent/Makefile (routines): Add scandirat and scandirat64.
46407         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46408         GLIBC_2.15.
46409         * dirent/dirent.h: Declare scandirat and scandirat64.
46410         * dirent/scandirat.c: New file.
46411         * dirent/scandirat64.c: New file.
46412         * sysdeps/wordsize-64/scandirat.c: New file.
46413         * sysdeps/wordsize-64/scandirat64.c: New file.
46414         * dirent/opendir.c: Define opendirat.
46415         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46416         using scandirat.
46417         * dirent/scandir64.c: Adjust for scandir.c change.
46418         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46419         __scandirat64, and __scandir_cancel_handler.
46420         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46421         additional parameter and use openat instead of open (outside of ld.so).
46422         Add new __opendir as wrapper around __opendirat.
46423         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46424         here without requiring old scandirat implementation.
46426 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46428         * dirent/scandir.c (cancel_handler): Renamed to
46429         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46430         defined.  Adjust users.
46431         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46432         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46434 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46436         * string/test-string.h (IMPL): Use __STRING to expand name and then
46437         stringify it.
46439         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46440         of cleanups.
46442 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46444         * string/Makefile: Update.
46445         (strop-tests): Append strncat.
46446         * string/test-wcscmp.c: New file.
46447         New comprehensive test for wcscmp.
46448         * string/test-strcmp.c: Update.
46449         (WIDE): New define.
46451 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46453         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46454         line.
46456 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46459         encoding to ACE if AI_IDN.
46461 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46463         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46464         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46466 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46468         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46469         Fix overflow bug in strncat.
46470         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46472         * string/test-strncat.c: Update.
46473         Add new tests for checking overflow bugs.
46475 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46478         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46479         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46480         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46481         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46482         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46483         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46484         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46485         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46487         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46488         (USE_AS_STRCAT): Define.
46489         Add strcat and strncat support.
46490         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46492 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46494         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46495         __n bigger than INT_MAX+1.
46496         (__strncmp_g): Likewise.
46498 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46500         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46501         * libio/stido.h: Likewise.
46503         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46504         (AF_NFC): Define.
46505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46506         (AF_NFC): Define.
46508         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46509         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46510         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46511         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46512         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46514         [BZ #13021]
46515         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46516         installed.
46518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46519         typo.
46520         (_dl_x86_64_save_sse): Likewise.
46522 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46524         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46525         OSXSAVE.
46526         (_dl_x86_64_save_sse): Likewise.
46528         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46530         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46532 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46535         change.
46536         (_dl_x86_64_save_sse): Use correct AVX check.
46538 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46540         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46541         bug in strncpy/strncat.
46542         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46544 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46546         * string/tester.c (test_strcat): Add tests for different alignments
46547         of source and destination.
46548         (test_strncat): Likewise.
46550 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46552         [BZ #12852]
46553         * posix/glob.c (glob): Check passed in values before using them in
46554         expressions to avoid some overflows.
46555         (glob_in_dir): Likewise.
46557         [BZ #13007]
46558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46559         check for AVX enablement so that we don't crash with old kernels and
46560         new hardware.
46561         * elf/tst-audit4.c: Add same checks here.
46562         * elf/tst-audit6.c: Likewise.
46564         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46566 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46568         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46570 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46572         * po/cs.po: Update from translation team.
46573         * po/bg.po: Likewise.
46575 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46577         * misc/sys/cdefs.h: Add support for const attribute.
46578         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46579         to gnu_dev_{major,minor,makedev} functions.
46581 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46583         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46585 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46587         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46588         strlen results.
46590 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46593         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46594         register in order to avoid conflicts with the soft frame pointer
46595         being held in r11 when necessary.
46596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46597         (INTERNAL_VSYSCALL_NCS): Likewise.
46599 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46601         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46602         * elf/dl-fini.c (_dl_fini): Adjust caller.
46603         * elf/dl-close.c (_dl_close_worker): Likewise.
46604         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46606 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46608         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46609         "aux_cache->nlibs < 0".
46611         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46612         in the reload-count case.
46614 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46617         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46618         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46619         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46620         * sysdeps/x86_64/multiarch/strcat.S: New file.
46621         * sysdeps/x86_64/multiarch/strncat.S: New file.
46622         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46623         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46624         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46625         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46626         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46627         (USE_AS_STRCAT): Define.
46628         Add strcat and strncat support.
46629         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46630         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46631         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46632         * string/strncat.c: Update.
46633         (USE_AS_STRNCAT): Define.
46634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46635         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46636         and i7.
46637         * sysdeps/x86_64/multiarch/init-arch.h
46638         (bit_Prefer_PMINUB_for_stringop): New.
46639         (index_Prefer_PMINUB_for_stringop): Likewise.
46640         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46641         bit_Prefer_PMINUB_for_stringop.
46643 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46645         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46646         buffer64.
46647         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46648         of casting of buffer.
46649         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46650         buffer32 and buffer64.
46651         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46652         writes instead of casting of buffer.
46653         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46654         buffer32.
46655         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46656         casting of buffer.
46658 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46660         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46662 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46664         * nscd/nscd.c (termination_handler): Don't do anything for a database
46665         if it has not yet been initialized.
46667 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46669         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46671 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46673         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46675 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46677         * po/nl.po: Update from translation team.
46678         * po/sv.po: Likewise.
46680 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46682         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46683         now disallowed by GCC.
46685         * configure.in (use-default-link): Default to yes if a test -shared
46686         link meets our qualifications.
46687         * configure: Regenerated.
46689         * config.make.in (output-format): New variable.
46690         * configure.in: Check for ld --print-output-format support.
46691         * configure: Regenerated.
46692         * Makerules ($(common-objpfx)format.lds)
46693         [$(output-format) != unknown]: Just use $(output-format),
46694         instead of the linker-script munging.
46696 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46698         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46699         of $(common-objpfx)shlib.lds.
46700         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46702         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46703         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46705         * configure.in (-z relro check): Adjust test code to add a large
46706         writable data section after it.
46707         * configure: Regenerated.
46709 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46711         * configure.in (-z relro check): Fix test code to make the variable
46712         truly const.
46713         * configure: Regenerated.
46715 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46717         * nscd/nscd.h (struct traced_file): Define.
46718         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46719         elements.  Add traced_files.
46720         (inotify_fd): Declare.
46721         (register_traced_file): Declare.
46722         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46723         (inotify_fd): Export.
46724         (resolv_conf_descr): Remove.
46725         (nscd_init): Move inotify descriptor creation to main.
46726         Don't register files for notification here.
46727         (register_traced_file): New function.
46728         (invalidate_cache): Don't use reset_res to determine whether to call
46729         res_init, go through the list of registered files.
46730         (main_loop_poll): The inotify descriptors are now stored in the
46731         structures for the traced files.
46732         (main_loop_epoll): Likewise
46733         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46734         to __nss_disable_nscd.
46735         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46736         for a database anymore.  Check the records for all the registered
46737         files instead.
46738         * nss/Makefile (libnss_files-routines): Add files-init.
46739         (libnss_db-routines): Add db-init.
46740         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46741         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46742         * nss/nss_db/db-init.c: New file.
46743         * nss/nss_files/files-init.c: New file.
46744         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46745         __nss_lookup_function.
46746         (__nss_lookup_function): Call nss_load_library.
46747         (nss_load_all_libraries): New function.
46748         (__nss_disable_nscd): Take parameter with callback function for files
46749         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46750         used for the cached services.
46751         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46752         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46753         options for features to all the files in nscd.
46755         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46757 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46759         * csu/elf-init.c (__libc_csu_init): Comment typo.
46761 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46763         * po/pl.po: Update from translation team.
46764         * po/ja.po: Likewise.
46765         * po/ru.po: Likewise.
46766         * po/ko.po: Likewise.
46767         * po/fr.po: Likewise.
46769 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46771         * configure.in (.ctors/.dtors header and trailer check):
46772         Use an empirical test on a built program.
46773         * configure: Regenerated.
46775         * configure.in (-z relro check): Use an empirical test on a built DSO.
46776         Detect, but do not require, on ia64.
46777         * configure: Regenerated.
46779         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46780         Update tests that use readelf to use $READELF instead.
46781         * configure: Regenerated.
46783 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46785         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46786         if the result is not used.
46788 2011-07-05  Andreas Jaeger  <aj@suse.de>
46790         [BZ#9696]
46791         * stdlib/tst-strtod.c: Add testcase.
46793 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46795         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46796         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46797         The latter has a higher limit.  Take additional parameter to pass to
46798         the new function.
46799         (__pathconf): Pass file to __statfs_link_max.
46800         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46801         __statfs_link_max.
46802         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46803         __statfs_link_max.
46805         [BZ #12868]
46806         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46807         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46808         Handle Lustre.
46809         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46810         (__statfs_filesize_max): Likewise.
46811         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46813 2011-07-05  Andreas Jaeger  <aj@suse.de>
46815         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46817 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46819         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46820         `status' variable.
46821         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46822         Likewise.
46824 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46826         * Makefile (strop-tests): Add strncat.
46827         * string/test-strncat.c: New file.
46829 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46831         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46833 2011-06-21  Andreas Jaeger  <aj@suse.de>
46835         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46836         Copy rule from iconvdata/Makefile.
46838 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46840         [BZ #12922]
46841         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46842         but no long options are defined, just return 'W'.
46844 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46846         [BZ #9696]
46847         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46849 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46851         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46852         netgroups to read.
46853         (innetgr): Likewise.
46855 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46857         * config.make.in (install_root): Default to $(DESTDIR).
46859 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46861         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46863 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46865         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46867         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46868         containing directory rather than embedding absolute directory names.
46870         * scripts/check-local-headers.sh: Rewritten using awk.
46871         Match by word, not by line.  Print error messages for matches.
46872         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46874         * Makerules [shlib-lds-flags empty]:
46875         ($(common-objpfx)libc_pic.opts): New target.
46876         ($(common-objpfx)libc_pic.os.clean): New target.
46877         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46879         * config.make.in (OBJCOPY): New variable.
46880         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46881         * configure: Regenerated.
46883         * config.make.in (use-default-link): New variable.
46884         * configure.in (use_default_link): Grok --with-default-link to set it.
46885         * configure: Regenerated.
46886         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46887         (shlib-lds, shlib-lds-flags): Define to empty.
46889         * Makerules (shlib-lds): New variable.
46890         (shlib-lds-flags): New variable.
46891         (build-shlib, build-moduile, build-module-asneeded): Use it.
46892         ($(common-objpfx)libc.so): Use $(shlib-lds).
46893         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46894         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46896         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46897         DT_FLAGS/DT_FLAGS_1 with zero flags.
46899         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46900         linker script munging.
46902 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46904         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46905         as 128-bit value.
46906         * crypt/sha512.c (sha512_process_block): Perform total addition using
46907         128-bit if possible.
46908         (__sha512_finish_ctx): Likewise.
46909         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46910         as 64-bit value.
46911         * crypt/sha256.c (SWAP64): Define.
46912         (sha256_process_block): Perform total addition using 64-bit if
46913         possible.
46914         (__sha256_finish_ctx): Likewise.
46916 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46918         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46919         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46920         * nscd/hstcache.c (cache_addhst): Likewise.
46921         * nscd/grpcache.c (cache_addgr): Likewise.
46922         * nscd/aicache.c (addhstaiX): Likewise
46923         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46925 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46927         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46928         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46929         * nscd/hstcache.c (cache_addhst): Likewise.
46930         * nscd/grpcache.c (cache_addgr): Likewise.
46931         * nscd/aicache.c (addhstaiX): Likewise
46933 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46935         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46936         domain only when needed.
46938 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46941         is always restored.
46943 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46945         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46946         are re-adding the entry.
46947         * nscd/servicescache.c (cache_addserv): Likewise.
46949 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46951         * sysdeps/generic/dl-irel.h: fix protection against multiple
46952         inclusions.
46953         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46955 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46957         [BZ #12935]
46958         * malloc/memusage.sh: Fix quoting in message.
46959         * debug/xtrace.sh: Likewise.
46961         * configure.in: Remove support for --experimental-malloc option, make
46962         it the default.
46963         * config.make.in: Likewise.
46964         * malloc/Makefile: Likewise.
46966 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46968         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46969         two-byte characters.
46971 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46973         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46974         AC_CACHE_CHECK invocation.
46975         * configure: Regenerated.
46977         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46979 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46981         [BZ #12350]
46982         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46983         bit from old_res_options.
46985         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46987         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46988         value type for setfct.
46990 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46992         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46993         __gettimeofday instead of gettimeofday.
46995 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46997         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46999 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47001         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47003         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47004         info.
47006 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47009         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47010         strcpy-sse2-unaligned strncpy-sse2-unaligned
47011         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47012         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47013         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47014         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47015         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47016         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47017         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47018         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47019         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47020         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47021         (STRCPY): Support SSE2 and SSSE3 versions.
47023 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47025         [BZ #12874]
47026         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47027         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47028         kernels which artificially limit size of requests.
47030 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47033         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47034         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47035         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47036         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47037         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47038         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47039         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47040         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47041         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47042         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47043         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47044         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47045         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47046         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47048         Enable unaligned load optimization for Intel Core i3, i5 and i7
47049         processors.
47050         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47051         Define.
47052         (index_Fast_Unaligned_Load): Define.
47053         (HAS_FAST_UNALIGNED_LOAD): Define.
47055 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47057         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47059 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47061         [BZ #12907]
47062         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47063         until it is clear that the information is realy needed.
47064         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47066 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47070 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47073         /sys/devices/system/cpu/online if it is usable.
47075         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47076         reading the information from the /proc filesystem to once a second.
47078 2011-06-21  Andreas Jaeger  <aj@suse.de>
47080         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47081         NULL after inclusion of kernel headers.
47083 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47085         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47086         calls to internal_setent.
47088         [BZ #12885]
47089         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47090         addresses using gethostbyname4_r ignore IPv4 addresses.
47092         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47093         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47095         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47097 2011-06-20  David S. Miller  <davem@davemloft.net>
47099         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47100         inclusions.
47101         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47103         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47104         (elf_irel): Use it.
47105         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47106         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47107         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47108         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47109         * sysdeps/x86_64/dl-irel.h: Likewise.
47111         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47112         * elf/dl-sym.c: Likewise.
47114 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47116         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47117         need to dereference resplen2.
47119 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47121         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47123 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47125         * Makeconfig: Define vardbdir and inst_vardbdir.
47126         * nss/Makefile: Add rules to install db-Makefile.
47128         * nss/nss_db/db-XXX.c: Cleanup.
47130         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47131         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47132         GLIBC_PRIVATE.
47133         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47134         * nss/makedb.c: Implement -g option to specify that value strings
47135         are generated and should not be added to table iterated over for
47136         get*ent calls.
47137         * nss/nss_db/db-initgroups.c: New file.
47139         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47140         interface.
47142         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47143         (internal_getgrouplist): Adjust to name change.
47144         Update use_initgroups_entry if this is not the first call.
47145         * nss/databases.def: Add initgroups entry.
47147         * nss/makedb.c (compute_tables): Check result of multiple hash table
47148         sizes to minimize maximum chain length.
47150 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47152         * Versions.def: Add entry for libnss_db.
47153         * shlib-versions: Likewise.
47154         * nss/Makefile: Add rules to build libnss_db.
47155         * nss/Versions: Add libnss_db information.  Organize libnss_files
47156         entries better.
47157         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47158         makedb progra.  Some minor improvements to generate smaller files.
47159         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47160         here from...
47161         * nss/makedb.c: ...here.
47162         Improve database format to be smaller and require less memory at
47163         runtime.
47164         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47165         db anymore.
47166         * nss/nss_db/db-netgrp.c: Likewise.
47167         * nss/nss_db/db-open.c: Likewise.
47168         * nss/nss_files/flies-XXX.x: Adjust comments.
47169         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47170         * nss/nss_files/files-grp.c: Likewise.
47171         * nss/nss_files/files-hosts.c: Likewise.
47172         * nss/nss_files/files-network.c: Likewise.
47173         * nss/nss_files/files-proto.c: Likewise.
47174         * nss/nss_files/files-pwd.c: Likewise.
47175         * nss/nss_files/files-rpc.c: Likewise.
47176         * nss/nss_files/files-service.c: Likewise.
47177         * nss/nss_files/files-sgrp.c: Likewise.
47178         * nss/nss_files/files-spwd.c: Likewise.
47179         * nss/nss_db/db-alias.c: Removed.
47180         * nss/nss_db/dummy-db.h: Removed.
47182 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47184         * nss/makedb.c: Rewritten to not use database library.
47185         * nss/Makefile: Update to build new makedb program.
47187 2011-06-14  Andreas Jaeger  <aj@suse.de>
47189         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47190         memset declaration.
47192 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47195         tmpbuf.
47197 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47199         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47200         * elf/Makefile ($(objpfx)ld.so): Likewise.
47202         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47203         Don't list ld.so twice in dependencies.
47205         * posix/bug-regex31.c: Include <stdlib.h>.
47207         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47209         * nis/nss_compat/compat-spwd.c
47210         (getspent_next_nss_netgr): Remove unused variable.
47211         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47213         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47214         nonmembers" output to use the right array.
47216         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47218         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47220         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47221         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47222         * catgets/gencat.c (read_input_file): Likewise.
47223         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47225         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47226         variable definition inside #if's controlling its use.
47228         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47230         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47232         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47234         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47235         unreachable code.
47237         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47239         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47240         * configure: Regenerated.
47242         * Makerules: Revert last change.
47243         * elf/Makefile: Likewise.
47245 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47247         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47248         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47249         (reloc-link): Likewise.
47251 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47253         * elf/Makefile: Add rules to build pldd.
47254         * elf/pldd.c: New file.
47255         * elf/pldd-xx.c: New file.
47257 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47259         * version.h: Update for 2.15 development version.
47261 2011-06-07  David S. Miller  <davem@davemloft.net>
47263         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47264         ifuncs.
47265         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47266         elf_machine_lazy_rel): Likewise.
47267         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47269         elf_machine_lazy_rel): Likewise.
47270         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47271         dl_hwcap via passed in argument.
47272         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47273         Likewise.
47275 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47277         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47279 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47281         [BZ #12849]
47282         * manual/fdl-1.1.texi: New file, verbatim from:
47283         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47284         * manual/lgpl-2.1.texi: New file, verbatim from:
47285         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47286         * manual/Makefile (licenses): New variable, list those new file names.
47287         (texis): Use it.
47288         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47290         * manual/fdl.texi: File removed.
47291         * manual/lesser.texi: File removed.
47292         * manual/libc.texinfo (Copying, Documentation License):
47293         Use new @include file names, put @appendix directive before @include.
47295 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47297         [BZ #12841]
47298         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47299         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47300         (mq_open): Add __NTH.
47302 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47305         Assume Intel Core i3/i5/i7 processor if AVX is available.
47307 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47309         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47310         typo.
47312 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47314         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47315         memory.  Use alloca_account.  Fix memory leak when retrying.
47317 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47319         * version.h (RELEASE): Bump for 2.14 release.
47320         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47322         * config.make.in (RANLIB): Remove entry.
47324 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47326         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47327         (libc.pot): Work around missing support for .ksh extension in xgettext.
47329         [BZ #12684]
47330         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47331         if both request failed.
47332         (send_dg): In case of server errors clear resplen or *resplen2.
47334         [BZ #12454]
47335         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47336         when there are multiple maps.
47337         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47338         (_dl_fini): Remove test here.
47340         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47342 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47344         [BZ #12350]
47345         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47346         bit from old_res_options.
47347         (gaih_inet): Likewise.
47349         [BZ #11099]
47350         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47351         as signed.
47353         * resolv/res_init.c (res_setoptions): Make the code more compact.
47355         [BZ #11558]
47356         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47357         set RES_USEVC.
47359         [BZ #11634]
47360         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47362         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47364         [BZ #11781]
47365         * malloc/malloc.h: Declare malloc hook variables as volatile.
47367         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47368         in last patch.
47370         [BZ #11799]
47371         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47372         raise in the comment.
47373         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47375         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47377 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47379         [BZ #12811]
47380         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47381         grow the buffers more if it already has to be sufficient.
47382         (build_wcs_upper_buffer): Likewise.
47383         * posix/regexec.c (check_matching): Likewise.
47384         (clean_state_log_if_needed): Likewise.
47385         (extend_buffers): Don't enlarge buffers beyond size of the input
47386         buffer.
47387         Patches mostly by Emil Wojak <emil@wojak.eu>.
47388         * posix/bug-regex32.c: New file.
47389         * posix/Makefile (tests): Add bug-regex32.
47391         * locale/findlocale.c (_nl_find_locale): Return right away if
47392         _nl_explode_name failed.
47393         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47395         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47397         * debug/xtrace.sh: Unify messages.
47398         * malloc/memusage.sh: Likewise.
47400         [BZ #12813]
47401         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47402         time symbol from vDSO.  Substitute with vsyscall if not available.
47403         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47404         __vdso_time.
47406         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47407         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47408         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47409         Add sendmmsg and internal_sendmmsg.
47410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47411         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47412         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47414         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47415         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47416         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47418 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47420         [BZ #12813]
47421         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47422         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47423         available.
47424         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47425         __vdso_getcpu.
47427         [BZ #12814]
47428         * iconvdata/Makefile (tests): Add bug-iconv9.
47429         * iconvdata/bug-iconv9.c: New file.
47431 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47433         [BZ #12814]
47434         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47436 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47438         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47439         (struct user_regs_struct): Change intcs field back to cs.
47441 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47443         * po/ja.po: Update from translation team.
47445 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47447         [BZ #12795]
47448         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47449         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47451 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47453         * stdlib/longlong.h: Update from GCC.
47455 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47457         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47458         parameter name.
47459         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47460         Add parameter name.
47461         (__sysconf): Pass it down.
47463 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47465         [BZ #12671]
47466         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47467         some situations.
47468         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47469         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47470         add in in __libc_use_alloca calls.  Adjust callers.
47471         (glob): Use malloc in some situations.
47473         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47474         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47475         pltexit.
47477 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47479         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47480         and CLOCK_BOOTTIME_ALARM.
47482         [BZ #12782]
47483         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47484         is returned.
47486         * string/_strerror.c (__strerror_r): Print negative errors as signed
47487         numbers.
47489         [BZ #12777]
47490         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47491         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47492         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47494         * configure.in: Fix typo in redirection and correct removal of test
47495         files in two cases.
47497         [BZ #12788]
47498         * locale/setlocale.c (new_composite_name): Fix test to check for
47499         identical name of all categories.
47501         [BZ #12792]
47502         * libio/filedoalloc.c (local_isatty): New function.
47503         (_IO_file_doallocate): Use local_isatty.
47504         * stdio-common/perror.c (perror): In case a new stream is used
47505         forward the stream error.
47506         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47507         error flag.
47509 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47511         [BZ #11869]
47512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47513         alloca.
47514         * include/alloca.h (extend_alloca_account): Define.
47516         [BZ #11857]
47517         * posix/regex.h: Fix comments with documentation of user-accessible
47518         fields after compilation and describe correct free'ing of pattern
47519         after re_compile_pattern.
47520         Patch by Reuben Thomas <rrt@sc3d.org>.
47522 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47524         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47525         and -mno-altivec to prevent the compiler from using Altivec and/or
47526         VSX instructions when the corresponding registers are not available.
47528 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47530         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47532 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47534         * libio/freopen.c (freopen): Use __dup2, not dup2.
47535         * libio/freopen64.c (freopen64): Likewise.
47537 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47539         [BZ #12775]
47540         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47541         * math/Makefile (tests): Add test-powl.
47542         (CFLAGS-test-powl.c): Define.
47543         * math/test-powl.c: New file.
47545 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47547         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47549 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47551         [BZ #11837]
47552         * iconvdata/gb18030.c: Update to GB18020-2005.
47554 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47556         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47557         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47558         Patch by Aharon Robbins <arnold@skeeve.com>.
47560         [BZ #11892]
47561         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47562         on the stack.
47564         [BZ #11895]
47565         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47566         through underflows.
47568         [BZ #12766]
47569         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47570         point to strings before performing equality test for error_one_per_line
47571         mode.
47573         [BZ #11697]
47574         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47576         [BZ #11820]
47577         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47578         (struct user_fpregs_struct): Avoid __uint*_t types.
47580         [BZ #6420]
47581         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47582         symbol info.  Use it instead of calling _dl_addr locally.
47583         (lock_and_info): New function.
47584         (tr_freehook): Call lock_and_info and pass symbol info as additional
47585         parameter to tr_where.
47586         (tr_mallochook): Likewise.
47587         (tr_reallochook): Likewise.
47588         (tr_memalignhook): Likewise.
47590         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47591         used and couldn't be at all thread-safe.
47593 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47595         * libio/freopen.c (freopen): Don't close old file descriptor
47596         before the new one is opened.  Instead dup the new file descriptor
47597         to the old one after the new stream is created.
47598         * libio/freopen64.c (freopen64): Likewise.
47599         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47600         * libio/fileops.c (_IO_new_file_close_it): Handle new
47601         _IO_FLAGS2_NOCLOSE flag.
47602         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47603         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47604         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47605         _IO_FLAGS2_NOCLOSE flag.
47606         * include/unistd.h: Add hidden_proto for dup3.
47607         Define __have_dup3.
47608         * io/dup3.c: Define hidden symbol.
47609         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47611         [BZ #7101]
47612         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47613         when an incomplete long option is used.
47614         * posix/tst-getopt_long1.c: New file.
47615         * posix/Makefile (tests): Add tst-getopt_long1.
47617         [BZ #10138]
47618         * scripts/config.guess: Update from autoconf-2.68.
47619         * scripts/config.sub: Likewise.
47621         [BZ #10157]
47622         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47623         tests into ...
47624         (has_cpuclock): ...this.  New function.
47625         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47626         macro here based on has_cpuclock code.
47628         [BZ #10149]
47629         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47630         First byte (not low byte) is now always NUL.
47631         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47634         Use non-cancelable interfaces.
47636         [BZ #9809]
47637         * locale/iso-639.def: Add entry for Sorani.
47639         [BZ #11901]
47640         * include/stdlib.h: Move include protection to the right place.
47641         Define abort_msg_s.  Declare __abort_msg with it.
47642         * stdlib/abort.c (__abort_msg): Adjust type.
47643         * assert/assert.c (__assert_fail_base): New function.  Majority
47644         of code from __assert_fail.  Allocate memory for __abort_msg with
47645         mmap.
47646         (__assert_fail): Now call __assert_fail_base.
47647         * assert/assert-perr.c: Remove bulk of implementation.  Use
47648         __assert_fail_base.
47649         * include/assert.hL Declare __assert_fail_base.
47650         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47651         mmap.
47652         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47654 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47656         [BZ #11952]
47657         [BZ #12453]
47658         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47659         until all modules are registered in the DTV.
47660         * elf/Makefile: Add rules to build and run tst-tls19.
47661         * elf/tst-tls19.c: New file.
47662         * elf/tst-tls19mod1.c: New file.
47663         * elf/tst-tls19mod2.c: New file.
47664         * elf/tst-tls19mod3.c: New file.
47665         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47667         [BZ #12083]
47668         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47669         correctly.
47671         [BZ #12601]
47672         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47673         two-byte sequence errors.
47674         * iconvdata/Makefile (tests): Add bug-iconv8.
47675         * iconvdata/bug-iconv8.c: New file.
47677         [BZ #12626]
47678         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47679         buf2 definition.
47681         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47683         [BZ #12432]
47684         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47685         (dummy_getcfa): New function.
47686         (init): Get _Unwind_GetCFA address, use dummy if not found.
47687         (backtrace_helper): In recursion check, also check whether CFA changes.
47688         (__backtrace): Completely initialize arg.
47690         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47691         storing incomplete byte sequence in state object.  Avoid testing for
47692         guaranteed too small input if we know there is enough data available.
47694 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47696         * Makeconfig (+link-pie): Indent.
47697         * Rules (binaries-pie): Define if $(have-fpie) and
47698         $(build-shared).
47699         (binaries-shared): Also filter out $(binaries-pie).
47700         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47701         * nscd/Makefile (others-pie): Add nscd.
47702         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47703         ($(objpfx)nscd): Remove command override.
47704         * login/Makefile (others-pie): Add pt_chown.
47705         ($(objpfx)pt_chown): Remove command override.
47706         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47707         remove command overrides.
47709 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47711         * libio/tst_putwc.c: Fix error messages.
47713         [BZ #12724]
47714         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47715         currently writing and seek to current position when not.
47716         * libio/Makefile (tests): Add bug-fclose1.
47717         * libio/bug-fclose1.c: New file.
47719 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47721         [BZ #12511]
47722         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47723         don't set DF_1_NODELETE here.
47724         (do_lookup_x): When entering new entry test for copy relocation
47725         and if necessary set DF_1_NODELETE flag.
47726         * elf/tst-unique4.cc: New file.
47727         * elf/tst-unique4.h: New file.
47728         * elf/tst-unique4lib.cc: New file.
47729         * elf/Makefile: Add rules to build and run tst-unique4.
47730         Patch by Piotr Bury <pbury@goahead.com>.
47732 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47734         [BZ #12052]
47735         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47737         [BZ #12625]
47738         * misc/mntent_r.c (addmntent): Flush the stream after the output
47740         [BZ #12393]
47741         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47742         (is_trusted_path_normalize): Skip initial colon.  Append slash
47743         to empty buffer.  Duplicate is_trusted_path code but allow
47744         constructed patch to be prefix.
47745         (is_dst): Allow $ORIGIN followed by /.
47746         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47747         Correct testing of result of is_trusted_path_normalize
47748         (decompose_rpath): Fix warning.
47750 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47752         [BZ #11257]
47753         * grp/initgroups.c (internal_getgrouplist): When we found the service
47754         list through the initgroups entry in nsswitch.conf do not always
47755         continue on a successful lookup.  Don't always use the
47756         __nss_group_database value if it is set.
47757         * nss/nsswitch.conf (initgroups): Change action for successful db
47758         lookup to continue for compatibility.
47760 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47762         [BZ #11532]
47763         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47764         and CP774 modules.
47765         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47766         and CP774 modules.
47767         * iconvdata/tst-tables.sh: Likewise.
47768         * iconvdata/cp770.c: New file.
47769         * iconvdata/cp771.c: New file.
47770         * iconvdata/cp772.c: New file.
47771         * iconvdata/cp773.c: New file.
47772         * iconvdata/cp774.c: New file.
47773         * iconvdata/testdata/CP770: New file.
47774         * iconvdata/testdata/CP770..UTF8: New file.
47775         * iconvdata/testdata/CP771: New file.
47776         * iconvdata/testdata/CP771..UTF8: New file.
47777         * iconvdata/testdata/CP772: New file.
47778         * iconvdata/testdata/CP772..UTF8: New file.
47779         * iconvdata/testdata/CP773: New file.
47780         * iconvdata/testdata/CP773..UTF8: New file.
47781         * iconvdata/testdata/CP774: New file.
47782         * iconvdata/testdata/CP774..UTF8: New file.
47784         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47785         END CHARMAP line.
47786         * iconvdata/gen-8bit-gap.sh: Likewise.
47787         * iconvdata/gen-8bit.sh: Likewise.
47789         * locale/iso-639.def: Add ary entry.
47791         [BZ #11258]
47792         * locale/C-translit.h.in: Add U20A1 transliteration.
47794         [BZ #12178]
47795         * locale/iso-639.def: Add wae entry.
47796         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47798         [BZ #12545]
47799         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47800         for n.
47802         [BZ #12711]
47803         * locale/C-translit.h.in: Add entry for U20B9.
47804         Patch by pravin.d.s@gmail.com.
47806 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47808         [BZ #12713]
47809         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47810         ENAMETOOLONG use generic getcwd.
47811         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47812         in rtld.  Use *stat64.
47813         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47814         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47815         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47816         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47817         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47818         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47819         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47820         __fstatat64 macros.
47821         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47822         * dirent/rewinddir.c: Add libc_hidden_def.
47823         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47824         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47826         * include/dirent.h (__alloc_dir): Add flags parameter.
47827         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47828         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47829         __alloc_dir.
47830         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47831         from fdopendir if O_CLOEXEC is already set.
47833 2011-03-15  Alan Modra  <amodra@gmail.com>
47835         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47836         l_tls_firstbyte_offset non-zero.  Save padding offset in
47837         l_tls_firstbyte_offset for later use.
47838         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47839         freeing static tls block.
47841 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47843         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47844         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47845         being defined by the kernel headers.
47847 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47849         [BZ #12734]
47850         * resolv/resolv.h: Define RES_NOTLDQUERY.
47851         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47852         no-tld-query and set RES_NOTLDQUERY.
47853         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47854         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47855         modern BIND to search name as TLD unless forbidden.
47857 2011-05-07  Petr Baudis  <pasky@suse.cz>
47858             Ulrich Drepper  <drepper@gmail.com>
47860         [BZ #12393]
47861         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47862         (is_trusted_path): ...to here.
47863         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47864         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47865         using is_trusted_path_normalize() in setuid scripts.
47867 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47869         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47870         __BEGIN/__END_DECLS.
47872 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47874         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47875         NSS_STATUS_NOTFOUND if no record was found.
47877 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47879         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47880         (headers-not-in-tirpc): Remove rpc/netdb.h
47881         * resolv/netdb.h: Revert last change.
47883 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47885         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47886         circular dependency between libgcc.a and libc.a.
47888 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47890         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47891         * nis/Makefile: Don't install rpcsvc/*.
47892         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47893         instead of <rpc/types.h>.
47894         (MAXHOSTNAMELEN): Define.
47896 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47898         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47900 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47902         [BZ #12714]
47903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47904         gethostbyname4_r when IPv6 results are possible.
47906 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47908         [BZ #12723]
47909         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47910         _PC_PIPE_BUF handling.
47912 2011-04-30  Bruno Haible  <bruno@clisp.org>
47914         [BZ #12717]
47915         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47916         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47917         to 'int'.
47918         * inet/getnameinfo.c (getnameinfo): Likewise.
47920 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47922         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47923         to groups setting in database lookup.
47924         * nss/nsswitch.conf: Add initgroups entry.
47926 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47928         [BZ #12685]
47929         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47930         mode string.
47931         Patch by Eric Blake <eblake@redhat.com>.
47933 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47935         * sunrpc/Makefile (need-export-routines): Add svc_run.
47936         (routines): Remove svc_run.
47937         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47938         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47939         * sunrpc/svc_run.c (svc_run): Likewise.
47940         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47942 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47944         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47945         problem in reallocation in last patch.
47947 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47949         * sunrpc/Makefile: Move inclusion of Rules.
47951 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47953         * nss/nss_files/files-initgroups.c: New file.
47954         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47955         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47956         _nss_files_initgroups_dyn.
47958 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47960         * elf/elf.h (R_ARM_IRELATIVE): Define.
47962 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47964         * po/ru.po: Update from translation team.
47966 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47968         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47969         dependencies.
47971 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47973         [BZ #12653]
47974         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47975         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47976         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47977         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47978         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47980 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47982         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47983         differing bytes.
47984         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47985         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47986         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47988 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47990         [BZ #12420]
47991         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47992         storing it.
47993         * stdlib/bug-getcontext.c: New file.
47994         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47996 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47998         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47999         instructions into .machine "z9-109".
48000         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48001         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48003 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48005         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48006         between environment variables and auxiliary vector.
48008 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48010         * Makefile: Add rules to build linkobj/libc.so.
48011         * include/libc-symbols.h: Define libc_hidden_nolink.
48012         * include/rpc/auth.h: Mark functions which are to be hidden.
48013         * include/rpc/auth_des.h: Likewise.
48014         * include/rpc/auth_unix.h: Likewise.
48015         * include/rpc/clnt.h: Likewise.
48016         * include/rpc/des_crypt.h: Likewise.
48017         * include/rpc/key_prot.h: Likewise.
48018         * include/rpc/pmap_clnt.h: Likewise.
48019         * include/rpc/pmap_prot.h: Likewise.
48020         * include/rpc/pmap_rmt.h: Likewise.
48021         * include/rpc/rpc_msg.h: Likewise.
48022         * include/rpc/svc.h: Likewise.
48023         * include/rpc/svc_auth.h: Likewise.
48024         * include/rpc/xdr.h: Likewise.
48025         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48026         * nss/Makefile: Likewise.
48027         * sunrpc/Makefile: Don't install headers.  Build library with normal
48028         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48029         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48030         for the compat linking library.  Remove use of INTDEF/INTUSE.
48031         * sunrpc/auth_none.c: Likewise.
48032         * sunrpc/auth_unix.c: Likewise.
48033         * sunrpc/authdes_prot.c: Likewise.
48034         * sunrpc/authuxprot.c: Likewise.
48035         * sunrpc/clnt_gen.c: Likewise.
48036         * sunrpc/clnt_perr.c: Likewise.
48037         * sunrpc/clnt_raw.c: Likewise.
48038         * sunrpc/clnt_simp.c: Likewise.
48039         * sunrpc/clnt_tcp.c: Likewise.
48040         * sunrpc/clnt_udp.c: Likewise.
48041         * sunrpc/clnt_unix.c: Likewise.
48042         * sunrpc/des_crypt.c: Likewise.
48043         * sunrpc/des_soft.c: Likewise.
48044         * sunrpc/get_myaddr.c: Likewise.
48045         * sunrpc/key_call.c: Likewise.
48046         * sunrpc/key_prot.c: Likewise.
48047         * sunrpc/netname.c: Likewise.
48048         * sunrpc/pm_getmaps.c: Likewise.
48049         * sunrpc/pm_getport.c: Likewise.
48050         * sunrpc/pmap_clnt.c: Likewise.
48051         * sunrpc/pmap_prot.c: Likewise.
48052         * sunrpc/pmap_prot2.c: Likewise.
48053         * sunrpc/pmap_rmt.c: Likewise.
48054         * sunrpc/publickey.c: Likewise.
48055         * sunrpc/rpc_cmsg.c: Likewise.
48056         * sunrpc/rpc_common.c: Likewise.
48057         * sunrpc/rpc_dtable.c: Likewise.
48058         * sunrpc/rpc_prot.c: Likewise.
48059         * sunrpc/rpc_thread.c: Likewise.
48060         * sunrpc/rtime.c: Likewise.
48061         * sunrpc/svc.c: Likewise.
48062         * sunrpc/svc_auth.c: Likewise.
48063         * sunrpc/svc_authux.c: Likewise.
48064         * sunrpc/svc_raw.c: Likewise.
48065         * sunrpc/svc_run.c: Likewise.
48066         * sunrpc/svc_simple.c: Likewise.
48067         * sunrpc/svc_tcp.c: Likewise.
48068         * sunrpc/svc_udp.c: Likewise.
48069         * sunrpc/svc_unix.c: Likewise.
48070         * sunrpc/svcauth_des.c: Likewise.
48071         * sunrpc/xcrypt.c: Likewise.
48072         * sunrpc/xdr.c: Likewise.
48073         * sunrpc/xdr_array.c: Likewise.
48074         * sunrpc/xdr_float.c: Likewise.
48075         * sunrpc/xdr_intXX_t.c: Likewise.
48076         * sunrpc/xdr_mem.c: Likewise.
48077         * sunrpc/xdr_rec.c: Likewise.
48078         * sunrpc/xdr_ref.c: Likewise.
48079         * sunrpc/xdr_sizeof.c: Likewise.
48080         * sunrpc/xdr_stdio.c: Likewise.
48082 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48084         [BZ #12650]
48085         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48086         * sysdeps/ia64/dl-tls.h: Likewise.
48087         * sysdeps/powerpc/dl-tls.h: Likewise.
48088         * sysdeps/s390/dl-tls.h: Likewise.
48089         * sysdeps/sh/dl-tls.h: Likewise.
48090         * sysdeps/sparc/dl-tls.h: Likewise.
48091         * sysdeps/x86_64/dl-tls.h: Likewise.
48092         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48094 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48096         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48097         rpath element also skip the following colon.
48098         (expand_dynamic_string_token): Add is_path parameter and pass
48099         down to DL_DST_REQUIRED and _dl_dst_substitute.
48100         (decompose_rpath): Call expand_dynamic_string_token with
48101         non-zero is_path.  Ignore empty rpaths.
48102         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48103         with zero is_path.
48105 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48108         Make cancelable.
48110 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48112         [BZ #12655]
48113         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48114         Patch by Filipe David Manana <fdmanana@apache.org>.
48116 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48118         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48119         Maintain aligned stack.
48120         (CHECK_RSP): Remove unused macro.
48122 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48124         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48125         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48127 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48129         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48131         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48133 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48135         [BZ #12518]
48136         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48137         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48138         * sysdeps/x86_64/memmove.c: New file.
48139         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48140         (memcpy): Renamed to ...
48141         (__new_memcpy): This.
48142         (memcpy): Provide GLIBC_2_14 memcpy.
48143         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48144         (memcpy): Provide GLIBC_2_2_5 memcpy.
48146 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48148         [BZ #12631]
48149         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48151 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48153         * misc/syncfs.c: New file.
48154         * misc/Makefile (routines): Add syncfs.
48155         * posix/unistd.h: Declare syncfs.
48156         * sysdeps/unix/syscalls.list: Add syncfs.
48158 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48160         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48161         open_by_handle_at.
48162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48163         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48165         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48167         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48168         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48170 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48172         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48173         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48174         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48176         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48178         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48180         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48181         sync_file_range.c with -fexceptions.
48182         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48183         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48184         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48185         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48186         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48187         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48189         sync_file_range as cancellation point
48190         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48191         now a wrapper around __call_sync_file_range with cancellation handling.
48192         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48193         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48194         function name to __call_sync_file_range.
48195         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48196         Add call_sync_file_range.
48198 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48201         bits/timex.h.
48203 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48205         * iconv/iconv.h: Fix typo in comment.
48206         * io/fcntl.h: Likewise.
48207         * libio/stdio.h: Likewise.
48208         * posix/spawn.h: Likewise.
48209         * posix/unistd.h: Likewise.
48210         * stdlib/stdlib.h: Likewise.
48211         * time/time.h: Likewise.
48212         * wcsmbs/wchar.h: Likewise.
48214         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48215         open_by_handle): Add.
48216         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48217         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48218         Augment a few comments.
48219         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48221         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48223         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48224         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48225         open_by_handle.
48227         * io/fcntl.h (AT_EMPTY_PATH): Define.
48229 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48231         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48232         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48233         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48234         to...
48235         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48236         * Versions.def: Add GLIBC_2.14.
48237         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48238         Export.
48240 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48242         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48243         round counter.
48244         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48246 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48248         [BZ #12597]
48249         * string/test-strncmp.c (do_page_test): New function.
48250         (check2): Likewise.
48251         (test_main): Call check2.
48252         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48254 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48256         [BZ #12587]
48257         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48258         Handle cache information in CPU leaf 4.
48259         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48261 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48263         [BZ #12583]
48264         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48265         character representation.
48266         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48268 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48270         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48271         END(__isnan) to END(__isnanf) to match function entry point/label
48272         EALIGN(__isnanf,...).
48274 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48276         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48278 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48280         [BZ #12510]
48281         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48282         copy from the symbol referenced in the relocation to initialize the
48283         used variable.
48284         Patch by Piotr Bury <pbury@goahead.com>.
48285         * elf/Makefile: Add rules to build and tst-unique3.
48286         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48287         * elf/tst-unique3.cc: New file.
48288         * elf/tst-unique3.h: New file.
48289         * elf/tst-unique3lib.cc: New file.
48290         * elf/tst-unique3lib2.cc: New file.
48292         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48294 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48296         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48297         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48298         to _start.
48300 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48302         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48303         to-be-loaded object along a path to loader is ld.so.
48305 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48306             Ulrich Drepper  <drepper@gmail.com>
48308         * sysdeps/x86_64/memset.S: After aligning destination, code
48309         branches to different locations depending on the value of
48310         misalignment, when multiarch is enabled. Fix this.
48312 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48314         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48315         Set _x86_64_preferred_memory_instruction for AMD processsors.
48316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48317         Set bit_Prefer_SSE_for_memop for AMD processors.
48319 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48321         * libio/fmemopen.c (fmemopen): Optimize a bit.
48323 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48325         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48327 2011-03-03  Roland McGrath  <roland@redhat.com>
48329         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48331 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48333         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48334         __bzero_ultra1 instead of __memset_ultra1.
48336 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48337             Ulrich Drepper  <drepper@gmail.com>
48339         [BZ #12509]
48340         * include/link.h (struct link_map): Add l_orig_initfini.
48341         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48342         returning unsuccessfully.
48343         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48344         close of a file loaded at startup, restore the original l_initfini
48345         list.
48346         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48347         list, store the pointer.
48348         * elf/Makefile ($(objpfx)noload-mem): New rule.
48349         (noload-ENV): Define.
48350         (tests): Add $(objpfx)noload-mem.
48351         * elf/noload.c: Include <memcheck.h>.
48352         (main): Call mtrace.  Close all opened handles.
48354 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48356         [BZ #12454]
48357         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48358         dependencies are missing.
48360 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48362         Fix __if_freereq crash: Unlike the generic version which uses free,
48363         Hurd needs munmap.
48364         * sysdeps/mach/hurd/ifreq.h: New file.
48366 2011-01-27  Petr Baudis  <pasky@suse.cz>
48367             Ulrich Drepper  <drepper@gmail.com>
48369         [BZ 12445]#
48370         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48371         to extend_alloca().
48372         * stdio-common/bug23.c: New file.
48373         * stdio-common/Makefile (tests): Add bug23.
48375 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48376             Ulrich Drepper  <drepper@gmail.com>
48378         [BZ #12489]
48379         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48380         before performing relro protection.  At old place add assertion
48381         to make sure nothing changed.
48383 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48384             Glauber de Oliveira Costa  <glommer@gmail.com>
48386         * elf/elf.h: Add new ARM TLS relocs.
48388 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48391         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48392         cast from r3.
48393         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48394         'tests' variable.
48395         * sysdeps/wordsize-64/tst-writev.c: New file.
48397 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48399         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48400         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48401         insns in _dl_start to prevent a TOC reference before relocs are
48402         resolved.
48404 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48406         [BZ #12469]
48407         * Makeconfig: Remove RANLIB definition.
48408         * Makerules: Don't use RANLIB.
48409         * aclocal.m4: Remove ranlib test.
48410         * configure.in: No need to check for ranlib.
48411         * elf/rtld-Rules: Don't use RANLIB.
48413 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48415         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48416         protection macro.
48417         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48418         inclusion protection macro.
48420         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48421         SIGRTMIN and SIGRTMAX and print information in that case only when
48422         SIGRTMIN is defined.
48424 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48426         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48427         arginfo fn returning -1.
48429         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48430         and thousands string is zero terminated.
48432 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48434         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48435         sysdeps/unix/sysv/linux/bits/socket.h.
48437 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48439         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48440         (__CPU_COUNT): Remove old macros.
48441         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48442         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48443         (__CPU_ALLOC, __CPU_FREE): Add macros.
48444         (__sched_cpualloc, __sched_cpufree): Add declarations.
48446 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48448         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48449         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48450         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48451         (readdhstai): Return value of addhstaiX call.
48452         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48453         (addgrbyX): Return value returned by cache_addgr.
48454         (readdgrbyname): Return value returned by addgrbyX.
48455         (readdgrbygid): Likewise.
48456         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48457         (addpwbyX): Return value returned by cache_addpw.
48458         (readdpwbyname): Return value returned by addhstbyX.
48459         (readdpwbyuid): Likewise.
48460         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48461         (addservbyX): Return value returned by cache_addserv.
48462         (readdservbyname): Return value returned by addservbyX:
48463         (readdservbyport): Likewise.
48464         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48465         (addhstbyX): Return value returned by cache_addhst.
48466         (readdhstbyname): Return value returned by addhstbyX.
48467         (readdhstbyaddr): Likewise.
48468         (readdhstbynamev6): Likewise.
48469         (readdhstbyaddrv6): Likewise.
48470         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48471         (readdinitgroups): Return value returned by addinitgroupsX.
48472         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48473         (prune_cache): Keep track of timeout value of re-added entries.
48474         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48475         * nscd/nscd.h: Adjust prototypes of readd* functions.
48477 2011-02-04  Roland McGrath  <roland@redhat.com>
48479         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48480         (nis_stats): Likewise.
48481         * nis/nis_modify.c (nis_modify): Likewise.
48482         * nis/nis_remove.c (nis_remove): Likewise.
48483         * nis/nis_add.c (nis_add): Likewise.
48485         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48487         * posix/fnmatch_loop.c: Add some consts.
48489         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48491 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48493         [BZ #12460]
48494         * config.make.in (config-cflags-novzeroupper): Define.
48495         * configure.in: Substitute libc_cv_cc_novzeroupper.
48496         * elf/Makefile (AVX-CFLAGS): Define.
48497         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48498         (CFLAGS-tst-auditmod4a.c): Likewise.
48499         (CFLAGS-tst-auditmod4b.c): Likewise.
48500         (CFLAGS-tst-auditmod6b.c): Likewise.
48501         (CFLAGS-tst-auditmod6c.c): Likewise.
48502         (CFLAGS-tst-auditmod7b.c): Likewise.
48503         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48505 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48507         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48508         function to the callback.
48509         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48511 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48513         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48514         of errno.
48516 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48518         [BZ #11724]
48519         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48520         of constructors.
48521         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48522         of destructors.
48523         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48525         [BZ #11724]
48526         * elf/Makefile: Add rules to build and run new test.
48527         * elf/tst-initorder.c: New file.
48528         * elf/tst-initorder.exp: New file.
48529         * elf/tst-initordera1.c: New file.
48530         * elf/tst-initordera2.c: New file.
48531         * elf/tst-initordera3.c: New file.
48532         * elf/tst-initordera4.c: New file.
48533         * elf/tst-initorderb1.c: New file.
48534         * elf/tst-initorderb2.c: New file.
48535         * elf/tst-order-a1.c: New file.
48536         * elf/tst-order-a2.c: New file.
48537         * elf/tst-order-a3.c: New file.
48538         * elf/tst-order-a4.c: New file.
48539         * elf/tst-order-b1.c: New file.
48540         * elf/tst-order-b2.c: New file.
48541         * elf/tst-order-main.c: New file.
48542         New test case by George Gensure <werkt0@gmail.com>.
48544 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48547         decoding ACE if AI_CANONIDN.
48549 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48551         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48553 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48555         * version.h (RELEASE): Bump for 2.13 release.
48556         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48558         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48560         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48561         MADV_NOHUGEPAGE.
48562         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48563         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48564         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48565         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48566         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48567         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48569         * posix/getconf.c: Update copyright year.
48570         * catgets/gencat.c: Likewise.
48571         * csu/version.c: Likewise.
48572         * debug/catchsegv.sh: Likewise.
48573         * debug/xtrace.sh: Likewise.
48574         * elf/ldconfig.c: Likewise.
48575         * elf/ldd.bash.in: Likewise.
48576         * elf/sprof.c (print_version): Likewise.
48577         * iconv/iconv_prog.c: Likewise.
48578         * iconv/iconvconfig.c: Likewise.
48579         * locale/programs/locale.c: Likewise.
48580         * locale/programs/localedef.c: Likewise.
48581         * malloc/memusage.sh: Likewise.
48582         * malloc/mtrace.pl: Likewise.
48583         * nscd/nscd.c (print_version): Likewise.
48584         * nss/getent.c: Likewise.
48586         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48587         PF_CAIF, and PF_ALG.
48588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48590 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48592         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48593         (modules-names): Use them.
48594         (ifunc-test-modules, ifunc-pie-tests): Define.
48595         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48596         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48597         (test-extras): Likewise.
48598         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48599         $(compile-command.c).
48600         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48601         (all-built-dso): Define.
48602         (check-textrel.out, check-execstack.out): Depend on it.
48604         * configure.in: Don't override --enable-multi-arch.
48606 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48608         [BZ #6812]
48609         * nscd/hstcache.c (tryagain): Define.
48610         (cache_addhst): Return tryagain not notfound for temporary errors.
48611         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48612         failed.
48614 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48616         [BZ #10563]
48617         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48618         to make the syscall.
48619         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48621         [BZ #12378]
48622         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48623         and fall back to matching as normal character if the string ends before
48624         the matching ']' is found.  This is what POSIX requires.
48625         * posix/testfnm.c: Adjust test result.
48626         * posix/globtest.sh: Adjust test result.  Add new test.
48627         * posix/tst-fnmatch.input: Likewise.
48628         * posix/tst-fnmatch2.c: Add new test.
48630 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48632         * elf/Makefile (check-execstack): Revert last change.  Depend on
48633         check-execstack.h.
48634         (check-execstack.h): New target.
48635         (generated): Add check-execstack.h.
48636         * elf/check-execstack.c: Include "check-execstack.h".
48637         (main): Revert last change.
48638         (handle_file): Return zero if GNU_STACK is absent and
48639         DEFAULT_STACK_PERMS doesn't include PF_X.
48641 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48643         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48644         in child fails because the descriptor is already closed.
48645         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48646         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48647         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48649         [BZ #12397]
48650         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48651         syscall.
48653         [BZ #10484]
48654         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48655         temporary buffer used to handle multi lookups locally.
48656         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48658 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48660         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48661         loader is ld.so.
48663 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48665         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48666         alignment for SSE2.
48668 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48670         [BZ #12394]
48671         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48672         characters.  When rounding increased number of integer digits recompute
48673         number of groups.
48674         * stdio-common/tst-grouping.c: New file.
48675         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48677 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48679         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48680         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48682         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48683         void.
48684         * bits/select.h: Likewise.
48686 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48688         * po/ja.po: Update from translation team.
48690 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48692         [BZ #11155]
48693         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48694         implementation just like for lxstat, fxstatat, et al.
48696 2010-12-27  Jim Meyering  <meyering@redhat.com>
48698         [BZ #12348]
48699         * posix/regexec.c (build_trtable): Return failure indication upon
48700         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48702 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48704         [BZ #12201]
48705         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48706         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48707         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48708         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48710         [BZ #12207]
48711         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48713         [BZ #12204]
48714         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48715         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48717 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48719         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48720         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48721         script has SORT_BY_INIT_PRIORITY.
48722         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48723         NO_CTORS_DTORS_SECTIONS is defined.
48724         * elf/soinit.c: Likewise.
48725         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48726         NO_CTORS_DTORS_SECTIONS is defined.
48727         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48728         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48729         * sysdeps/sh/init-first.c: Likewise.
48730         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48732 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48734         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48735         always use the slow path.
48737 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48739         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48740         similar rule which adds the sysdep directories to the header search in
48741         order to pick up the correct platform stackinfo.h.
48742         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48743         perform test if it is, otherwise return successfully without testing.
48744         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48745         DEFAULT_STACK_PERMS define in stackinfo.h.
48746         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48747         defined in stackinfo.h.
48748         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48749         DEFAULT_STACK_PERMS defined in stackinfo.h.
48750         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48751         * sysdeps/ia64/stackinfo.h: Likewise.
48752         * sysdeps/s390/stackinfo.h: Likewise.
48753         * sysdeps/sh/stackinfo.h: Likewise.
48754         * sysdeps/sparc/stackinfo.h: Likewise.
48755         * sysdeps/x86_64/stackinfo.h: Likewise.
48756         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48757         PF_X for powerpc64.  Retain PF_X for powerpc32.
48759 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48761         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48762         accurately.
48763         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48764         GETDENTS_64BIT_ALIGNED.
48766 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48768         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48770 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48772         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48773         _GNU_SOURCE.
48775         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48776         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48777         Remove __restrict.
48778         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48779         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48781 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48783         [BZ #11655]
48784         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48785         are initialized.
48787 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48789         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48791 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48793         * po/it.po: Update from translation team.
48795 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48798         unused codes.
48800 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48802         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48804 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48806         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48807         specially.
48808         (gaih_getanswer_slice): Likewise.
48810 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48814 2010-05-31  Petr Baudis  <pasky@suse.cz>
48816         [BZ #11149]
48817         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48818         silently even in the chroot mode.
48820 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48822         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48823         last patch a bit.  Pretty printing
48825 2010-05-31  Petr Baudis <pasky@suse.cz>
48827         [BZ #10085]
48828         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48829         initialization of skip_initgroups_dyn.
48831 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48833         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48834         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48836 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48838         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48840 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48842         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48843         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48844         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48845         ($(objpfx)tst-fnmatch-mem): New rule.
48846         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48847         * posix/tst-fnmatch.c (main): Call mtrace.
48849 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48852         Support Intel processor model 6 and model 0x2c.
48854 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48856         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48857           signed comparison.
48859 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48861         [BZ #12205]
48862         * string/test-strncasecmp.c (check_result): New function.
48863         (do_one_test): Use it.
48864         (check1): New function.
48865         (test_main): Use it.
48866         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48867         Support strcasecmp and strncasecmp.
48869 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48871         [BZ #12194]
48872         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48873         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48875 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48877         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48878         IFUNC support.
48879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48880         memset-x86-64.
48881         * sysdeps/x86_64/multiarch/bzero.S: New file.
48882         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48883         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48884         * sysdeps/x86_64/multiarch/memset.S: New file.
48885         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48887         Set bit_Prefer_SSE_for_memop for Intel processors.
48888         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48889         Define.
48890         (index_Prefer_SSE_for_memop): Define.
48891         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48893 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48895         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48896         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48898 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48900         [BZ #12191]
48901         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48902         (__x86_64_raw_data_cache_size_half): Likewise.
48903         (__x86_64_raw_shared_cache_size): Likewise.
48904         (__x86_64_raw_shared_cache_size_half): Likewise.
48906         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48907         (__x86_64_raw_data_cache_size_half): Likewise.
48908         (__x86_64_raw_shared_cache_size): Likewise.
48909         (__x86_64_raw_shared_cache_size_half): Likewise.
48910         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48911         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48912         and __x86_64_raw_shared_cache_size_half.  Round
48913         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48914         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48915         to multiple of 256 bytes.
48917 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48919         [BZ #12167]
48920         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48921         of inacessible symlinks.  Verify result of symlink before returning it.
48922         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48923         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48925 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48927         * math/math.h (isinf): Fix typo in comment.
48929 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48931         * po/da.po: Update from translation team.
48933 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48935         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48936         is added to the list.
48938 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48939             Ulrich Drepper  <drepper@gmail.com>
48941         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48942         the global list here.  Move code to...
48943         (_dl_add_to_namespace_list): ...here.  New function.
48944         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48945         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48946         * elf/dl-load.c (lose): Don't remove the element from the list.
48947         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48948         (_dl_map_object): Likewise.
48950 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48952         [BZ #12159]
48953         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48954         into all bytes of SSE register.
48955         Patch by Richard Li <richardpku@gmail.com>.
48957 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48959         [BZ #12140]
48960         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48961         perturbing.
48963 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48965         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48966         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48967         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48968         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48970         submachine.
48971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48973 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48975         * include/dlfcn.h (__RTLD_SECURE): Define.
48976         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48977         mode & __RTLD_SECURE instead.
48978         (open_path): Rename preloaded parameter to secure.
48979         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48980         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48981         * elf/dl-deps.c (openaux): Likewise.
48982         * elf/rtld.c (struct map_args): Remove is_preloaded.
48983         (map_doit): Don't use it.
48984         (dl_main): Likewise.
48985         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48986         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48988 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48990         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48991         (sysd-rules-targets): Remove duplicates.
48992         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48993         rtld-%.$o dependency.
48995 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48997         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48998         _dl_map_object do it.
49000 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49002         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49003         fast fma builtins, define the macros in the C99 standard.
49004         (FP_FAST_FMAF): Likewise.
49005         (FP_FAST_FMAL): Likewise.
49006         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49008         * bits/mathdef.h: Update copyright year.
49009         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49011 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49013         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49014         builtins, define the macros in the C99 standard.
49015         (FP_FAST_FMAF): Likewise.
49016         (FP_FAST_FMAL): Likewise.
49017         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49018         multiply/add.
49019         (FP_FAST_FMAF): Likewise.
49021 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49023         [BZ #3268]
49024         * math/libm-test.inc (fma_test): Some new testcases.
49025         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49026         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49027         y and infinite z.  Do multiplication by C already in long double.
49028         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49030         y and infinite z.  Do bitwise or of inexact bit into u.d.
49031         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49032         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49033         * sysdeps/i386/fpu/s_fma.S: Removed.
49034         * sysdeps/i386/fpu/s_fmal.S: Removed.
49036 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49038         [BZ #3268]
49039         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49041         computation is not scheduled after fetestexcept.  Fix value
49042         of minimum denormal long double.
49044 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49046         [BZ #3268]
49047         * math/libm-test.inc (fma_test): Add some more tests.
49048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49049         correctly.
49051 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49053         * scripts/data/localplt-s390-linux-gnu.data: New file.
49054         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49056 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49058         [BZ #3268]
49059         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49060         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49061         instead of dbl-64.
49062         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49063         inlines.
49064         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49065         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49066         if one of x and y is very large and the other is subnormal.
49067         * sysdeps/s390/fpu/s_fmaf.c: New file.
49068         * sysdeps/s390/fpu/s_fma.c: New file.
49069         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49070         * sysdeps/powerpc/fpu/s_fma.S: New file.
49071         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49072         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49073         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49075 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49077         [BZ #3268]
49078         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49079         fma tests.
49080         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49081         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49082         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49083         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49084         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49085         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49086         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49088 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49090         [BZ #12078]
49091         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49092         * posix/bug-regex31.input: Add test case.
49094 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49096         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49097         * posix/bug-regex31.input: New file.
49099         [BZ #12078]
49100         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49101         (parse_sub_exp): Fix last change, use postorder.
49103         * posix/bug-regex31.c: New file.
49104         * posix/Makefile: Add rules to build and run bug-regex31.
49106         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49108         [BZ #12078]
49109         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49111         [BZ #12108]
49112         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49113         to have entries in sys_siglist.
49115         [BZ #12093]
49116         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49117         be NULL.
49119 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49121         [BZ #3268]
49122         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49123         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49124         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49125         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49126         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49127         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49128         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49129         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49130         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49131         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49132         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49133         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49134         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49135         * math/ftestexcept.c (fetestexcept): Likewise.
49136         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49137         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49138         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49139         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49140         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49141         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49142         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49144 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49146         [BZ #12107]
49147         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49148         newline.
49150 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49152         * string/bug-strstr1.c: New file.
49153         * string/Makefile: Add rules to build and run bug-strstr1.
49155 2010-10-05  Eric Blake  <eblake@redhat.com>
49157         [BZ #12092]
49158         * string/str-two-way.h (two_way_long_needle): Always clear memory
49159         when skipping input due to the shift table.
49161 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49163         [BZ #12005]
49164         * malloc/mcheck.c: Handle large requests.
49166         [BZ #12077]
49167         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49168         for strncmp and strncasecmp.
49169         * string/stratcliff.c: Add tests for strcmp and strncmp.
49170         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49172 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49174         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49175         __set_fpscr.
49177 2010-09-30  Andreas Jaeger  <aj@suse.de>
49179         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49180         (CGROUP_SUPER_MAGIC): Define.
49181         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49182         Handle btrfs and cgroup file systems.
49183         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49184         Likewise.
49186 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49188         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49189         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49191 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49193         [BZ #12067]
49194         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49195         trying to locate the ELF header.
49197 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49199         [BZ #11611]
49200         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49201         Mask out sign-bit copies when constructing f_fsid.
49203 2010-09-24  Petr Baudis <pasky@suse.cz>
49205         * debug/stack_chk_fail_local.c: Add missing licence exception.
49206         * debug/warning-nop.c: Likewise.
49208 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49210         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49211         implementing getdents64 using getdents syscall, set d_type if
49212         __ASSUME_GETDENTS32_D_TYPE.
49214 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49216         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49217         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49219 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49221         [BZ #12037]
49222         * posix/unistd.h: Undo change of feature selection for ftruncate from
49223         2010-01-11.
49225 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49227         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49228         detection.
49230 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49232         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49233         fanotify_mark.
49234         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49236 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49238         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49239         variables after CHECK_SP call.
49240         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49242 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49243             Ulrich Drepper  <drepper@redhat.com>
49245         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49246         re-relocationg ld.so.
49247         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49248         _dl_init_paths call.
49249         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49250         here anymore.
49252 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49254         * resolv/res_init.c (__res_vinit): Count the default server we added.
49256 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49257             Ulrich Drepper  <drepper@redhat.com>
49259         [BZ #11968]
49260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49261         (____longjmp_chk): Use %ebx for saving value across system call.
49262         Add unwind info.
49264 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49266         * manual/Makefile: Don't mix pattern rules with normal rules.
49268 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49270         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49271         operation.
49272         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49273         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49274         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49275         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49277         Likewise.
49279 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49281         [BZ #11979]
49282         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49283         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49285 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49287         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49288         * sysdeps/x86_64/addmul_1.S: Likewise.
49289         * sysdeps/x86_64/lshift.S: Likewise.
49290         * sysdeps/x86_64/mul_1.S: Likewise.
49291         * sysdeps/x86_64/rshift.S: Likewise.
49292         * sysdeps/x86_64/sub_n.S: Likewise.
49293         * sysdeps/x86_64/submul_1.S: Likewise.
49295 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49297         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49298         Define __sched_param instead of SCHED_* and sched_param when
49299         <bits/sched.h> is included with __need_schedparam defined.
49300         * bits/sched.h [__need_schedparam]
49301         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49302         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49303         (__defined_schedparam): Define to 1.
49304         (__sched_param): New structure, identical to sched_param.
49305         (__need_schedparam): Undefine.
49307 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49309         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49310         (epoll_create1): Declare.
49312         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49314 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49316         [BZ #7066]
49317         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49318         shifting retval into place.
49320 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49322         * nis/rpcsvc/nis.h: Update copyright notice.
49323         * nis/rpcsvc/nis.x: Likewise.
49324         * nis/rpcsvc/nis_callback.h: Likewise.
49325         * nis/rpcsvc/nis_callback.x: Likewise.
49326         * nis/rpcsvc/nis_object.x: Likewise.
49327         * nis/rpcsvc/nis_tags.h: Likewise.
49328         * nis/rpcsvc/yp.h: Likewise.
49329         * nis/rpcsvc/yp.x: Likewise.
49330         * nis/rpcsvc/ypupd.h: Likewise.
49331         * nis/yp_xdr.c: Likewise.
49332         * nis/ypupdate_xdr.c: Likewise.
49334         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49335         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49336         (pmap_getport): Use __libc_rpc_getport.
49337         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49338         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49339         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49341 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49344         fanotify_mark.
49346 2010-08-27  Roland McGrath  <roland@redhat.com>
49348         * sysdeps/i386/i686/multiarch/Makefile
49349         (CFLAGS-varshift.c): New variable.
49351 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49353         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49354         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49356         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49358         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49360 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49362         * sysdeps/x86_64/strlen.S: Unroll the loop.
49363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49364         strlen-sse2 strlen-sse2-bsf.
49365         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49366         __strlen_no_bsf if bit_Slow_BSF is set.
49367         (__strlen_sse42): Removed.
49368         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49369         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49371 2010-08-25  Roland McGrath  <roland@redhat.com>
49373         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49374         * sysdeps/x86_64/multiarch/varshift.c: New file.
49375         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49376         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49377         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49378         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49380 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49383         strlen-sse2 strlen-sse2-bsf.
49384         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49385         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49386         (__strlen_sse2): Removed.
49387         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49388         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49390         bit_Slow_BSF for Atom.
49391         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49392         (index_Slow_BSF): Define.
49393         (HAS_SLOW_BSF): Define.
49395 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49397         [BZ #10851]
49398         * resolv/res_init.c (__res_vinit): When no server address at all
49399         is given default to loopback.
49401 2010-08-24  Roland McGrath  <roland@redhat.com>
49403         * configure.in: Remove config-name.h generation.
49404         * configure: Regenerated.
49405         * config-name.in: File removed.
49406         * scripts/config-uname.sh: New file.
49407         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49408         ($(objdir)config-name.h): New target.
49410         * sunrpc/rpc_parse.h: Avoid nested comment.
49412 2010-08-24  Richard Henderson  <rth@redhat.com>
49413             Ulrich Drepper  <drepper@redhat.com>
49414             H.J. Lu  <hongjiu.lu@intel.com>
49416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49418         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49419         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49420         _mm_alignr_epi8 with _mm_loadu_si128.
49421         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49422         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49423         (__m128i_shift_right): Removed.
49424         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49425         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49426         * sysdeps/x86_64/multiarch/varshift.h: New file.
49427         * sysdeps/x86_64/multiarch/varshift.S: New file.
49429 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49431         * configure.in: Move assembler checks to before sysdep dir checking.
49433 2010-08-20  Petr Baudis  <pasky@suse.cz>
49435         * LICENSES: Sync the sunrpc license.
49437 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49439         * sunrpc/auth_des.c: Update copyright notice once again.
49440         * sunrpc/auth_none.c: Likewise.
49441         * sunrpc/auth_unix.c: Likewise.
49442         * sunrpc/authdes_prot.c: Likewise.
49443         * sunrpc/authuxprot.c: Likewise.
49444         * sunrpc/bindrsvprt.c: Likewise.
49445         * sunrpc/clnt_gen.c: Likewise.
49446         * sunrpc/clnt_perr.c: Likewise.
49447         * sunrpc/clnt_raw.c: Likewise.
49448         * sunrpc/clnt_simp.c: Likewise.
49449         * sunrpc/clnt_tcp.c: Likewise.
49450         * sunrpc/clnt_udp.c: Likewise.
49451         * sunrpc/clnt_unix.c: Likewise.
49452         * sunrpc/des_crypt.c: Likewise.
49453         * sunrpc/des_soft.c: Likewise.
49454         * sunrpc/get_myaddr.c: Likewise.
49455         * sunrpc/getrpcport.c: Likewise.
49456         * sunrpc/key_call.c: Likewise.
49457         * sunrpc/key_prot.c: Likewise.
49458         * sunrpc/openchild.c: Likewise.
49459         * sunrpc/pm_getmaps.c: Likewise.
49460         * sunrpc/pm_getport.c: Likewise.
49461         * sunrpc/pmap_clnt.c: Likewise.
49462         * sunrpc/pmap_prot.c: Likewise.
49463         * sunrpc/pmap_prot2.c: Likewise.
49464         * sunrpc/pmap_rmt.c: Likewise.
49465         * sunrpc/rpc/auth.h: Likewise.
49466         * sunrpc/rpc/auth_unix.h: Likewise.
49467         * sunrpc/rpc/clnt.h: Likewise.
49468         * sunrpc/rpc/des_crypt.h: Likewise.
49469         * sunrpc/rpc/key_prot.h: Likewise.
49470         * sunrpc/rpc/netdb.h: Likewise.
49471         * sunrpc/rpc/pmap_clnt.h: Likewise.
49472         * sunrpc/rpc/pmap_prot.h: Likewise.
49473         * sunrpc/rpc/pmap_rmt.h: Likewise.
49474         * sunrpc/rpc/rpc.h: Likewise.
49475         * sunrpc/rpc/rpc_des.h: Likewise.
49476         * sunrpc/rpc/rpc_msg.h: Likewise.
49477         * sunrpc/rpc/svc.h: Likewise.
49478         * sunrpc/rpc/svc_auth.h: Likewise.
49479         * sunrpc/rpc/types.h: Likewise.
49480         * sunrpc/rpc/xdr.h: Likewise.
49481         * sunrpc/rpc_clntout.c: Likewise.
49482         * sunrpc/rpc_cmsg.c: Likewise.
49483         * sunrpc/rpc_common.c: Likewise.
49484         * sunrpc/rpc_cout.c: Likewise.
49485         * sunrpc/rpc_dtable.c: Likewise.
49486         * sunrpc/rpc_hout.c: Likewise.
49487         * sunrpc/rpc_main.c: Likewise.
49488         * sunrpc/rpc_parse.c: Likewise.
49489         * sunrpc/rpc_parse.h: Likewise.
49490         * sunrpc/rpc_prot.c: Likewise.
49491         * sunrpc/rpc_sample.c: Likewise.
49492         * sunrpc/rpc_scan.c: Likewise.
49493         * sunrpc/rpc_scan.h: Likewise.
49494         * sunrpc/rpc_svcout.c: Likewise.
49495         * sunrpc/rpc_tblout.c: Likewise.
49496         * sunrpc/rpc_util.c: Likewise.
49497         * sunrpc/rpc_util.h: Likewise.
49498         * sunrpc/rpcinfo.c: Likewise.
49499         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49500         * sunrpc/rpcsvc/key_prot.x: Likewise.
49501         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49502         * sunrpc/rpcsvc/mount.x: Likewise.
49503         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49504         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49505         * sunrpc/rpcsvc/rex.x: Likewise.
49506         * sunrpc/rpcsvc/rstat.x: Likewise.
49507         * sunrpc/rpcsvc/rusers.x: Likewise.
49508         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49509         * sunrpc/rpcsvc/spray.x: Likewise.
49510         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49511         * sunrpc/rtime.c: Likewise.
49512         * sunrpc/svc.c: Likewise.
49513         * sunrpc/svc_auth.c: Likewise.
49514         * sunrpc/svc_authux.c: Likewise.
49515         * sunrpc/svc_raw.c: Likewise.
49516         * sunrpc/svc_run.c: Likewise.
49517         * sunrpc/svc_simple.c: Likewise.
49518         * sunrpc/svc_tcp.c: Likewise.
49519         * sunrpc/svc_udp.c: Likewise.
49520         * sunrpc/svc_unix.c: Likewise.
49521         * sunrpc/svcauth_des.c: Likewise.
49522         * sunrpc/xcrypt.c: Likewise.
49523         * sunrpc/xdr.c: Likewise.
49524         * sunrpc/xdr_array.c: Likewise.
49525         * sunrpc/xdr_float.c: Likewise.
49526         * sunrpc/xdr_mem.c: Likewise.
49527         * sunrpc/xdr_rec.c: Likewise.
49528         * sunrpc/xdr_ref.c: Likewise.
49529         * sunrpc/xdr_sizeof.c: Likewise.
49530         * sunrpc/xdr_stdio.c: Likewise.
49532         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49533         handling.
49535 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49537         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49539 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49541         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49542         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49543         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49544         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49545         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49546         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49547         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49548         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49549         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49550         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49551         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49552         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49553         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49554         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49556 2010-07-26  Anton Blanchard  <anton@samba.org>
49558         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49559         * malloc/arena.c (heap_trim): Likewise.
49561 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49563         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49564         here.  Not...
49565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49566         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49568 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49570         * sysdeps/i386/elf/Makefile: New file.
49572 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49574         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49575         from fanotify_init.
49576         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49577         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49579 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49581         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49582         of strncasecmp_l.
49583         * sysdeps/multiarch/strcmp.S: Likewise.
49585 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49587         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49588         strncase_l-nonascii.
49589         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49590         Add strncase_l-ssse3.
49591         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49592         * sysdeps/x86_64/strcmp.S: Likewise.
49593         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49594         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49595         * sysdeps/x86_64/strncase.S: New file.
49596         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49597         * sysdeps/x86_64/strncase_l.S: New file.
49598         * string/Makefile (strop-tests): Add strncasecmp.
49599         * string/test-strncasecmp.c: New file.
49601         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49602         warning.
49604         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49605         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49607 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49609         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49611 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49613         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49614         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49615         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49617 2010-05-01  Alan Modra  <amodra@gmail.com>
49619         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49620         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49621         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49622         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49623         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49624         tidying.  Don't tail-call __sigjmp_save for static lib.
49625         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49626         save location.
49627         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49628         (CALL_MCOUNT): Add eh info, and nop after bl.
49629         (TAIL_CALL_SYSCALL_ERROR): New macro.
49630         (PSEUDO_RET): Use it.
49631         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49632         Correct save location of integer regs and cr.
49633         (_dl_profile_resolve): Correct cr save location.  Delete nops
49634         after bl when SHARED.  Reduce cfi size a little by better
49635         placement of cfi directives.
49636         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49637         make a stack frame.  Instead use parm save area as a temp.
49638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49639         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49641         Don't make a stack frame for parent, use parm save area.
49642         Increase child stack frame to 112 bytes.  Don't save unused reg,
49643         and adjust reg usage.  Set up cfi on error recovery and
49644         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49646         (__makecontext): Add dummy nop after jump to exit.
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49648         Use correct parm save area and cr save, reduce stack frame.
49649         Correct cfi for possible PSEUDO_RET frame setup.
49650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49651         Branch to local label emitted by PSEUDO_RET rather than
49652         __syscall_error.
49654 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49656         [BZ #11904]
49657         * locale/programs/locale.c (print_assignment): New function.
49658         (show_locale_vars): Use it.
49660 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49662         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49663         field.
49664         (struct statfs64): Likewise.
49665         (_STATFS_F_FLAGS): Define.
49666         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49667         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49668         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49669         (ST_VALID): Define locally.
49670         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49671         __statvfs_getflags, use the provided value.
49672         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49673         __ASSUME_STATFS_F_FLAGS.
49675         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49677         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49678         Add sys/fanotify.h.
49679         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49680         fanotify_mask for GLIBC_2.13.
49681         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49682         fanotify_init and fanotify_mark.
49683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49684         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49686         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49687         Add prlimit.
49688         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49689         prlimit64 for GLIBC_2.13.
49690         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49691         prlimit64.
49692         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49693         syscall.
49694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49696         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49697         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49699         add prlimit alias.
49700         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49702         [BZ #11903]
49703         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49704         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49706         * nss/Makefile: Add rules to build and run tst-nss-test1.
49707         * shlib-versions: Add entry for libnss_test1.
49708         * nss/nss_test1.c: New file.
49709         * nss/tst-nss-test1.c: New file.
49711         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49712         (__nss_configure_lookup): Set appropriate entry in
49713         __nss_configure_lookup to true.
49714         * nss/nsswitch.h: Define enum with indeces of databases in
49715         databases and __nss_database_custom arrays.  Declare
49716         __nss_database_custom.
49717         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49718         to avoid using nscd when custom rules are installed.
49719         * nss/getXXbyYY_r.c: Likewise.
49720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49722         * nss/nss_files/files-parse.c: Whitespace fixes.
49724 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49726         [BZ #11883]
49727         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49728         * posix/fnmatch_loop.c: Likewise.
49730 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49732         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49733         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49734         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49735         * Versions.def [GLIBC_2.13]: Add.
49737 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49739         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49740         Also fail if tpwd after pwuid call is NULL.
49742 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49744         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49745         when converting to ms.
49747 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49749         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49750         EOPNOTSUPP errors with ENOTTY.
49751         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49752         EOPNOTSUPP errors with ENOTTY.
49754 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49756         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49757         Add strcasecmp_l-ssse3.
49758         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49759         strcasecmp.
49760         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49761         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49762         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49764 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49766         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49768         * string/Makefile (strop-tests): Add strcasecmp.
49769         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49770         strcasecmp_l-nonascii.
49771         (gen-as-const-headers): Add locale-defines.sym.
49772         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49773         * sysdeps/x86_64/strcasecmp.S: New file.
49774         * sysdeps/x86_64/strcasecmp_l.S: New file.
49775         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49776         * sysdeps/x86_64/locale-defines.sym: New file.
49777         * string/test-strcasecmp.c: New file.
49779         * string/test-strcasestr.c: Test both ends of the range of characters.
49780         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49782 2010-07-29  Roland McGrath  <roland@redhat.com>
49784         [BZ #11856]
49785         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49787 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49789         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49790         for ld.so.
49792 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49794         * manual/memory.texi (Malloc Tunable Parameters): Document
49795         M_PERTURB.
49797 2010-07-26  Roland McGrath  <roland@redhat.com>
49799         [BZ #11840]
49800         * configure.in (-fgnu89-inline check): Set and substitute
49801         gnu89_inline, not libc_cv_gnu89_inline.
49802         * configure: Regenerated.
49803         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49805 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49807         * string/test-strnlen.c: New file.
49808         * string/Makefile (strop-tests): Add strnlen.
49809         * string/tester.c (test_strnlen): Add a few more test cases.
49810         * string/tst-strlen.c: Better error reporting.
49812         * sysdeps/x86_64/strnlen.S: New file.
49814 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49817         lower-latency instructions.
49819 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49821         * string/test-strcasestr.c: New file.
49822         * string/test-strstr.c: New file.
49823         * string/Makefile (strop-tests): Add strstr and strcasestr.
49824         * string/str-two-way.h: Don't undefine MAX.
49825         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49827 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49830         strcasestr-nonascii.
49831         (CFLAGS-strcasestr-nonascii.c): Define.
49832         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49834         Remove unused attribute.
49836 2010-07-20  Roland McGrath  <roland@redhat.com>
49838         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49839         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49840         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49841         like LD_HWCAP_MASK can disable hwcaps.
49843 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49845         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49847 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49849         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49850         call in strcasestr.
49851         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49852         __strcasestr_sse42_nonascii.
49853         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49854         strcasestr-nonascii.c.
49855         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49857 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49859         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49860         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49861         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49864 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49866         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49867         fcntl.
49869 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49871         [BZ #11577]
49872         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49873         dl_signal_cerror.
49875 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49877         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49878         _PC_PIPE_BUF using F_GETPIPE_SZ.
49880 2010-07-05  Roland McGrath  <roland@redhat.com>
49882         * manual/arith.texi (Rounding Functions): Fix rint description
49883         implicit in round description.
49885 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49887         * elf/Makefile: Fix linking for a few tests to make recent linker
49888         happy.
49890 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49892         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49893         $(common-objpfx)libc_nonshared.a.
49895 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49897         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49898         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49899         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49900         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49901         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49902         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49903         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49904         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49919         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49920         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49921         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49922         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49923         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49924         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49925         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49926         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49927         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49928         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49929         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49930         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49946 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49948         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49949         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49950         * string/memmove.c (memmove): Renamed to ...
49951         (MEMMOVE): ...this.  Default to memmove.
49952         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49953         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49954         (END_CHK): Define.
49955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49956         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49957         mempcpy-ssse3-back memmove-ssse3-back.
49958         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49959         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49960         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49961         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49962         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49963         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49964         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49965         * sysdeps/x86_64/multiarch/memmove.c: New file.
49966         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49967         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49968         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49969         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49970         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49971         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49972         Define.
49973         (index_Fast_Copy_Backward): Define.
49974         (HAS_ARCH_FEATURE): Define.
49975         (HAS_FAST_REP_STRING): Define.
49976         (HAS_FAST_COPY_BACKWARD): Define.
49978 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49980         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49981         Restore proper fallback handling.
49983 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49985         [BZ #11701]
49986         * posix/group_member.c (__group_member): Correct checking loop.
49988         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49989         OOM in getpwuid_r correctly.  Return error number when the caller
49990         should return, otherwise -1.
49991         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49992         call returning > 0 value.
49993         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49995 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49997         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49998         libc_nonshared.a from targets in modules-names.
50000 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50002         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50003         requires it.
50005 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50007         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50008         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50009         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50010         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50012 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50014         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50016 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50018         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50019         and F_GETPIPE_SZ.
50020         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50021         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50022         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50024         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50025         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50027 2010-06-14  Roland McGrath  <roland@redhat.com>
50029         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50031 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50033         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50034         __REDIRECT followed by __THROW.
50035         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50036         * posix/getopt.h (getopt): Likewise.
50038 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50040         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50041         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50042         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50043         in AT_FLAGS.
50044         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50045         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50047 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50049         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50051 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50053         [BZ #11640]
50054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50055         Properly check family and model.
50057 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50059         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50061 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50063         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50065 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50067         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50068         symbol reference.
50070 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50072         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50073         symbol reference.
50075 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50077         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50078         and internal_recvmmsg.
50079         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50080         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50081         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50082         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50084         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50085         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50086         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50088 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50090         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50092 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50094         POWER7 optimizations.
50095         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50096         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50098 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50100         * version.h: Update for 2.13 development version.
50102 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50104         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50105         exceptions.  Return 0.
50107 2010-05-07  Roland McGrath  <roland@redhat.com>
50109         * elf/ldconfig.c (main): Add a const.
50111 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50113         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50114         (args_options): Add no-idn option.
50115         (ahosts_keys_int): Add idn_flags to ai_flags.
50116         (parse_option): Handle 'i' option to clear idn_flags.
50118         * malloc/malloc.c (_int_free): Possible race in the most recently
50119         added check.  Only act on the data if no current modification
50120         happened.
50122 See ChangeLog.17 for earlier changes.