stdlib/tst-strtod-round.c: Fix build on ARM
[glibc.git] / ChangeLog
blobd7580c1489a68086c5883ac0450eb3acf0e280d2
1 2014-09-30  Will Newton  <will.newton@linaro.org>
3         * math/math.h: Define long double math functions if
4         _LIBC_TEST is defined.
5         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7         * localedata/Makefile: Move assignment to tests-special
8         into an ifdef testing run-built-tests.
9         * timezone/Makefile: Likewise.
11 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14         with $(BASH) not $(SHELL).
16 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
17             Matthew LeGendre  <legendre1@llnl.gov>
19         [BZ #17411]
20         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21         l_reloc_result.
23 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25         * stdio-common/printf_fp.c
26         (hack_digit): New function, broken out of ...
27         (__printf_fp): ... local function here.  Update call sites.
28         hack_digit now takes an additional parameter that is a pointer
29         to a struct of the referenced locals.  Those locals moved inside
30         the struct and references updated.
32 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34         * aclocal.m4: Require autoconf 2.69.
35         * configure: Regenerated.
36         * sysdeps/aarch64/configure: Likewise.
37         * sysdeps/alpha/configure: Likewise.
38         * sysdeps/arm/armv7/configure: Likewise.
39         * sysdeps/arm/configure: Likewise.
40         * sysdeps/ia64/configure: Likewise.
41         * sysdeps/mach/configure: Likewise.
42         * sysdeps/mips/configure: Likewise.
43         * sysdeps/s390/configure: Likewise.
44         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
47         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
48         file.
49         * sysdeps/ia64/configure.ac: Likewise.
51 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
53         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
54         specify symbol version for ld.so.  Do not include entry for
55         libpthread.
56         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
57         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
58         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
60         [BZ #14171]
61         * Makeconfig [$(build-shared) = yes]
62         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
63         makefiles.
64         [$(build-shared) = yes && $(soversions.mk-done) = t]
65         ($(common-objpfx)gnu/lib-names.h): Remove rule.
66         [$(build-shared) = yes && $(soversions.mk-done) = t]
67         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
68         to Makerules.
69         [$(build-shared) = yes && $(soversions.mk-done) = t]
70         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
71         here.
72         [$(build-shared) = yes && $(soversions.mk-done) = t]
73         (common-generated): Don't append gnu/lib-names.h and
74         gnu/lib-names.stmp here.
75         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
76         (lib-names-h-abi): New variable.
77         [$(build-shared) = yes && $(soversions.mk-done) = t]
78         (lib-names-stmp-abi): Likewise.
79         [$(build-shared) = yes && $(soversions.mk-done) = t &&
80         abi-variants] (before-compile): Append
81         $(common-objpfx)$(lib-names-h-abi).
82         [$(build-shared) = yes && $(soversions.mk-done) = t &&
83         abi-variants] (common-generated): Append gnu/lib-names.h.
84         [$(build-shared) = yes && $(soversions.mk-done) = t &&
85         abi-variants] (install-others-nosubdir): Depend on
86         $(inst_includedir)/$(lib-names-h-abi).
87         [$(build-shared) = yes && $(soversions.mk-done) = t &&
88         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
89         [$(build-shared) = yes && $(soversions.mk-done) = t]
90         ($(common-objpfx)$(lib-names-h-abi)): New rule.
91         [$(build-shared) = yes && $(soversions.mk-done) = t]
92         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
93         [$(build-shared) = yes && $(soversions.mk-done) = t]
94         (common-generated): Append $(lib-names-h-abi) and
95         $(lib-names-stmp-abi).
96         * scripts/lib-names.awk: Do not handle multi being set.
97         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
98         Remove variable.
99         (abi-lp64_be-ld-soname): Likewise.
100         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
101         Likewise.
102         (abi-hard-ld-soname): Likewise.
103         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
104         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
105         Remove variable.
106         (abi-o32_hard-ld-soname): Likewise.
107         (abi-o32_soft_2008-ld-soname): Likewise.
108         (abi-o32_hard_2008-ld-soname): Likewise.
109         (abi-n32_soft-ld-soname): Likewise.
110         (abi-n32_hard-ld-soname): Likewise.
111         (abi-n32_soft_2008-ld-soname): Likewise.
112         (abi-n32_hard_2008-ld-soname): Likewise.
113         (abi-n64_soft-ld-soname): Likewise.
114         (abi-n64_hard-ld-soname): Likewise.
115         (abi-n64_soft_2008-ld-soname): Likewise.
116         (abi-n64_hard_2008-ld-soname): Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
118         Likewise.
119         (abi-64-v2-ld-soname): Likewise.
120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
121         ld.so entries.
122         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
123         variable.
124         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
125         entry.
126         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
127         variable.
128         (abi-64-ld-soname): Likewise.
129         (abi-x32-ld-soname): Likewise.
130         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
131         entry.
132         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
134 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
136         [BZ #14138]
137         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
138         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
139         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
140         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
141         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
142         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
143         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
144         syscall entry for GLIBC_2.2 symbol version.
145         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
146         Likewise.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
148         (setrlimit): Likewise.
149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
150         Likewise.
152 2014-09-23  Will Newton  <will.newton@linaro.org>
154         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
155         _LINUX_ARM_SYSDEP_H include guard too.
156         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
157         define.
159 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
161         * sysdeps/unix/sysv/linux/eventfd.c:
162         Make first argument unsigned.
163         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
164         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
166 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
168         * socket/recvmmsg.c (recvmmsg): Drop const argument.
169         * socket/sys/socket.h: Likewise
170         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
172 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
174         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
176 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
178         * time/tst-ftime.c: New test.
179         * time/Makefile (tests): Add tst-ftime.
181 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
183         * soft-fp/extended.h: Fix comment formatting.
184         * soft-fp/op-1.h: Likewise.
185         * soft-fp/op-2.h: Likewise.
186         * soft-fp/op-4.h: Likewise.
187         * soft-fp/op-8.h: Likewise.
188         * soft-fp/op-common.h: Likewise.
189         * soft-fp/soft-fp.h: Likewise.
191         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
193 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
195         [BZ #6652]
196         * Makeconfig (soversions-default-setname): Remove variable.
197         ($(common-objpfx)soversions.i): Don't pass default_setname to
198         soversions.awk.
199         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
200         oldest_abi to abi-versions.awk.
201         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
202         * config.make.in (oldest-abi): Remove variable.
203         * configure.ac (--enable-oldest-abi): Remove configure option.
204         * configure: Regenerated.
205         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
206         text.
207         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
208         * scripts/soversions.awk: Do not handle default_setname variable.
209         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
210         variable.
211         * sysdeps/mach/hurd/configure: Regenerated.
212         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
213         variable.
214         * sysdeps/unix/sysv/linux/configure: Regenerated.
216 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
218         * elf/Makefile (CFLAGS-interp.c): Remove.
219         ($(elf-objpfx)runtime-linker.h): Generate header with linker
220         path string.
221         * elf/interp.c: Include generated runtime-linker.h
223         * Makerules (lib%.so): Don't include $(+interp) in
224         prerequisites.
225         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
226         * dlfcn/eval.c: Remove file.
228         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
229         macros.
231         [BZ #17266]
232         * misc/sys/cdefs.h: Define __extern_always_inline for clang
233         4.2 and newer.
235         [BZ #17370]
236         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
238 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
239             Jakub Jelinek  <jakub@redhat.com>
241         [BZ #17266]
242         * libio/stdio.h: Check definition of __fortify_function
243         instead of __extern_always_inline to include bits/stdio2.h.
244         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
245         check if __extern_always_inline is defined.
246         [__USE_MISC || __USE_XOPEN]: Likewise.
247         [__USE_ISOC99] Likewise.
248         * misc/sys/cdefs.h (__fortify_function): Define only if
249         __extern_always_inline is defined.
250         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
251         __extern_always_inline and __extern_inline only for g++-4.3
252         and newer or a compatible gcc.
254 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
256         [BZ #17371]
257         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
258         last change to handle zero prefix length.
260 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
262         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
263         _SC_REGEX_VERSION.
265         * posix/getconf.c (vars): Add _POSIX_IPV6 and
266         _POSIX_RAW_SOCKETS.
268 2014-09-13  Allan McRae  <allan@archlinux.org>
270         * po/ru.po: Update Russian translation from translation project.
272 2014-09-12  Roland McGrath  <roland@hack.frob.com>
274         * locale/programs/locale.c (show_locale_vars): Inline local function
275         into its sole call site.  Clean up some style nits.
276         (print_item): New function, broken out of ...
277         (show_info): ... local function here.  Clean up style nits.
279         * locale/programs/ld-ctype.c (set_one_default): New function, broken
280         out of ...
281         (set_class_defaults): ... local function set_default here.
282         Define set_default as a macro locally to pass constant parameters.
283         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
284         rather than a shared local.
286         * stdlib/rpmatch.c (try): New function, broken out of ...
287         (rpmatch): ... local function here.  Also, prototypify definition.
289 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
291         * scripts/soversions.awk: Do not handle configuration names.
292         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
293         vendor and os variables to soversions.awk.
294         * configure.ac: Do not modify gnu-* host_os.
295         * configure: Regenerated
296         * shlib-versions: Remove first column with configuration names.
297         * nptl/shlib-versions: Likewise.
298         * nptl_db/shlib-versions: Likewise.
299         * sysdeps/hppa/shlib-versions: Likewise.
300         * sysdeps/m68k/shlib-versions: Likewise.
301         * sysdeps/mach/hurd/shlib-versions: Likewise.
302         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
303         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
304         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
305         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
306         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
307         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
308         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
309         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
311         Likewise.
312         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
313         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
314         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
315         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
316         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
317         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
318         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
319         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
322         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
324         Regenerated.
325         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
327         Condition symbol version definitions on [HAVE_ELFV2_ABI].
329         * shlib-versions: Remove OS-specific entries.  Moved to files in
330         sysdeps.
331         * sysdeps/mach/hurd/shlib-versions: New file.
332         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
334         * nptl/shlib-versions: Remove architecture-specific entries.
335         Moved to files in sysdeps.
336         * shlib-versions: Likewise.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
338         file.
339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
340         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
341         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
342         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
344         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
345         (UDP_NO_CHECK6_RX): Likewise.
347 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
349         * sysdeps/posix/sysconf.c (__sysconf): Spell
350         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
352 2014-08-12  Florian Weimer  <fweimer@redhat.com>
354         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
355         loading.
356         * iconv/Versions (__gconv_transliterate): Export for use from
357         gconv modules.
358         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
359         (struct __gconv_trans_data, __gconv_trans_fct,
360         __gconv_trans_context_fct, __gconv_trans_query_fct,
361         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
362         definitions.
363         (struct __gconv_step_data): Remove __trans member.
364         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
365         longer hidden.  Remove unused trans_data argument.
366         * iconv/gconv_int.h (struct trans_struct): Remove definition.
367         (__gconv_translit_find): Remove declaration.
368         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
369         prototype.
370         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
371         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
372         trans_data argument.  Add hidden definition.
373         (__gconv_translit_find): Remove.
374         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
375         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
376         * iconv/skeleton.c: Remove transliteration initialization.
377         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
378         __gconv_step_data initialization.
379         * libio/iofwide.c (__libio_translit_): Remove.
380         (_IO_fwide): Adjust struct __gconv_step_data initialization.
381         * wcsmbs/btowc.c (__btowc): Likewise.
382         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
383         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
384         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
385         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
386         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
387         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
388         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
389         * wcsmbs/wctob.c (wctob): Likewise.
391 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
393         [BZ #16194]
394         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
395         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
396         register usage.
397         * sysdeps/x86/Makefile: Adjust.
399 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
400             Roland McGrath  <roland@hack.frob.com>
402         * locale/weight.h: Add include guard.
403         (findidx): Make static rather than auto; take new parameters
404         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
405         * locale/weightwc.h: Likewise.
406         * posix/fnmatch_loop.c
407         (FCT): Change type of EXTRA from int32_t to wint_t.
408         Don't include either header inside the function.
409         Call FINDIDX rather than findidx, and pass new arguments.
410         #undef FINDIDX at the end of the file.
411         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
412         FINDIDX before including fnmatch_loop.c for the non-wide version.
413         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
414         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
415         for the wide version.
416         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
417         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
418         Pass new arguments to findidx.
419         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
420         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
421         Don't #include it inside the function.  Pass new arguments to findidx.
422         * posix/regex_internal.h
423         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
424         (re_string_elem_size_at): Don't #include it inside the function.
425         Pass new arguments to findidx.
426         * string/strcoll_l.c: #include WEIGHT_H at top level.
427         (get_next_seq): Don't #include it inside the function.
428         Pass new arguments to findidx.
429         (get_next_seq_nocache): Likewise.
430         * string/strxfrm_l.c: #include WEIGHT_H at top level.
431         (STRXFRM): Don't #include it inside the function.
432         Pass new arguments to findidx.
434 2014-09-11  Florian Weimer  <fweimer@redhat.com>
436         [BZ #17344]
437         * malloc/malloc.c (unlink): Turn asserts into a call to
438         malloc_printerr.
440 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
442         [BZ #17370]
443         * libio/wfileops (do_ftell_wide): Free OUT.
445 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
447         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
449 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
451         [BZ #17363]
452         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
453         group if the current group is empty.
455 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
457         * benchtests/bench-memset.c (test_main): Add more test from size
458         from 32 to 512 bytes.
459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
460         Add POWER8 memset object.
461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
462         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
463         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
464         implementation.
465         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
466         Likewise.
467         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
468         multiarch POWER8 memset optimization.
469         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
470         POWER8 memset optimization.
472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
473         Remove bzero multiarch objects.
474         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
475         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
476         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
477         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
478         Remove define.
479         [__bzero]: Redefine to specific name.
480         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
481         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
482         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
483         define.
484         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
485         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
487 2014-09-10  Florian Weimer  <fweimer@redhat.com>
489         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
490         warnings into errors.
492         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
493         __cxa_thread_atexit_impl prototype.
495 2014-09-09  Steve Ellcey  <sellcey@mips.com>
497         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
498         Fix capitalization of error message.
500 2014-09-09  Steve Ellcey  <sellcey@mips.com>
502         * sysdeps/mips/preconfigure: Modify ABI tests.
504 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
506         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
508 2014-09-07  Roland McGrath  <roland@hack.frob.com>
509             Carlos O'Donell  <carlos@systemhalted.org>
511         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
512         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
513         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
514         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
515         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
516         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
517         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
518         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
519         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
520         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
522         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
524         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
526         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
532         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
533         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
534         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
535         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
536         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
537         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
538         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
539         Deconditionalize the code that was previously under [RESET_PID].
540         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
541         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
542         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
543         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
544         include sysdep.h.
546 2014-09-08  Allan McRae  <allan@archlinux.org>
548         * version.h (RELEASE): Set to "development".
549         (VERSION): Set to "2.20.90"
551 2014-09-07  Allan McRae  <allan@archlinux.org
553         * version.h (RELEASE): Set to "stable".
554         (VERSION): Set to "2.20"
555         * include/features.h (__GLIBC_MINOR__): Set to 20.
557         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
558         Liebler.
560         * po/ko.po: Update Korean translation from translation project.
562 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
564         [BZ #17354]
565         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
566         macro for handling signed relocations.
568 2014-09-03  Florian Weimer  <fweimer@redhat.com>
570         [BZ #17325]
571         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
572         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
573         assert.
574         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
575         * iconvdata/ibm935.c (BODY): Likewise.
576         * iconvdata/ibm937.c (BODY): Likewise.
577         * iconvdata/ibm939.c (BODY): Likewise.
578         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
579         assert.
580         * iconvdata/Makefile (iconv-test.out): Pass module list to test
581         script.
582         * iconvdata/run-iconv-test.sh: New test loop for checking for
583         decoder crashers.
585 2014-09-02  Khem Raj  <raj.khem@gmail.com>
587         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
588         libm_hidden_ver.
590 2014-09-01  Allan McRae  <allan@archlinux.org>
592         * po/eo.po: Update Esperanto translation from translation project.
594         * po/ca.po: Update Catalan translation from translation project.
596 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
598         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
599         __proc_dostop call.
601 2014-08-27  Mark Wielaard  <mjw@redhat.com>
603         [BZ #17319]
604         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
605         to call set_thread_area instead of hand written asm.
606         (__NR_set_thread_area): Removed define.
607         (TLS_FLAG_WRITABLE): Likewise.
608         (__ASSUME_SET_THREAD_AREA): Remove check.
609         (TLS_EBX_ARG): Remove define.
610         (TLS_LOAD_EBX): Likewise.
612 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
614         Simplify atomicity of socket creation in bind.
616         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
617         looking up the name after linking the file.
619 2014-08-27  Allan McRae  <allan@archlinux.org>
621         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
623 2014-08-26  Florian Weimer  <fweimer@redhat.com>
625         [BZ #17187]
626         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
627         trans_compare, open_translit, __gconv_translit_find):
628         Remove module loading code.
630 2014-08-26  Allan McRae  <allan@archlinux.org>
632         * po/vi.po: Update Vietnamese translation from translation project.
634         * po/uk.po: Update Ukrainian translation from translation project.
636         * po/fr.po: Update French translation from translation project.
638         * po/ru.po: Update Russian translation from translation project.
640         * po/pl.po: Update Polish translation from translation project.
642         * po/cs.po: Update Czech translation from translation project.
644         * po/de.po: Update German translation from translation project.
646         * po/bg.po: Update Bulgarian translation from translation project.
648         * po/sv.po: Update Sweedish translation from translation project.
650         * po/nl.po: Update Dutch translation from translation project.
652         * po/es.po: Update Spanish translation from translation project.
654 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
656         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
658         * catgets/Makefile (CPPFLAGS-gencat): Remove.
659         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
660         (CPPFLAGS-iconvconfig): Likewise.
661         * timezone/Makefile (CPPFLAGS-zic): Likewise.
663         * include/libc-symbols.h: Remove unnecessary check for
664         NOT_IN_libc.
665         * nptl/pthreadP.h: Likewise.
666         * sysdeps/aarch64/setjmp.S: Likewise.
667         * sysdeps/alpha/setjmp.S: Likewise.
668         * sysdeps/arm/sysdep.h: Likewise.
669         * sysdeps/i386/setjmp.S: Likewise.
670         * sysdeps/m68k/setjmp.c: Likewise.
671         * sysdeps/posix/getcwd.c: Likewise.
672         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
673         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
674         * sysdeps/s390/s390-32/setjmp.S: Likewise.
675         * sysdeps/s390/s390-64/setjmp.S: Likewise.
676         * sysdeps/sh/sh3/setjmp.S: Likewise.
677         * sysdeps/sh/sh4/setjmp.S: Likewise.
678         * sysdeps/unix/alpha/sysdep.h: Likewise.
679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
681         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
687         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
690         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
692         * sysdeps/x86_64/setjmp.S: Likewise.
694 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
696         [BZ #17263]
697         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
698         <stdint.h>.
699         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
700         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
702 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
704         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
706         [BZ #17262]
707         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
708         and __x86_64__ when disabling x87 inline functions.
710 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
712         [BZ #17259]
713         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
714         asm statement with __cpuid_count.
716 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
718         * configure.ac: Change __ehdr_start code to dereference the struct.
719         Run readelf on the output to look for relocations.
720         * configure: Regenerated.
722 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
724         [BZ #17261]
725         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
726         value to 0.
727         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
729 2014-08-12  Roland McGrath  <roland@hack.frob.com>
731         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
733 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
735         [BZ #16892]
736         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
737         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
739 2014-08-12  Sean Anderson  <seanga2@gmail.com>
741         * malloc/malloc.c: Fix typo in comment.
743 2014-08-09  Allan McRae  <allan@archlinux.org>
745         * Regenerate libc.po.
747 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
749         * intl/tst-gettext2.sh: Check every lang file for creation.
751 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
753         * sysdeps/aarch64/fpu/math_private.h
754         (libc_feholdsetround_noex_aarch64_ctx): New function.
756 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
758         * sysdeps/arm/armv6/strcpy.S (strcpy):
759         Fix performance issue in misaligned cases.
761 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
763         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
764         Move definition from termios.h.
765         (struct termio): Likewise.
766         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
767         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
768         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
769         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
770         Likewise.
771         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
772         Move definition to ioctl-types.h
773         (struct termio): Likewise.
774         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
775         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
776         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
777         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
778         Likewise.
780 2014-08-05  Richard Henderson  <rth@redhat.com>
782         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
783         exceptions.
784         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
785         Add fraiseexcpt.
786         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
787         Use __feraiseexcept.
788         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
789         Protect libm symbols with IS_IN_libm.
791         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
793 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
795         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
797 2014-08-04  Will Newton  <will.newton@linaro.org>
799         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
800         file.
802 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
804         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
805         variants for each function.
807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
809         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
810         appended ...
811         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
812         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
813         appended ...
814         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
815         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
816         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
817         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
818         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
819         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
820         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
821         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
822         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
823         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
825         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
827         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
828         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
829         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
830         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
831         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
832         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
833         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
834         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
835         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
837         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
838         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
839         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
840         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
841         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
842         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
843         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
844         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
845         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
846         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
847         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
848         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
849         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
850         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
851         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
852         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
853         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
854         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
855         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
856         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
857         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
858         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
860         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
862         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
864         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
865         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
866         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
867         Update #include.
868         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
869         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
871 2014-08-04  Roland McGrath  <roland@hack.frob.com>
873         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
874         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
875         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
876         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
877         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
878         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
880 2014-08-04  Roland McGrath  <roland@hack.frob.com>
882         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
883         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
884         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
885         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
887 2014-08-04  Roland McGrath  <roland@hack.frob.com>
889         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
890         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
891         (__libc_vfork): Define function under this name.
892         (__vfork): Define as an alias.
893         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
894         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
896 2014-08-04  Roland McGrath  <roland@hack.frob.com>
898         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
899         that was previously under [RESET_PID].
900         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
902 2014-08-04  Andreas Schwab  <schwab@suse.de>
904         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
906 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
908         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
909         (main): Likewise.
911 2014-08-01  Roland McGrath  <roland@hack.frob.com>
913         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
915 2014-08-01  Richard Henderon  <rth@redhat.com>
917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
918         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
919         typo in exact zero test.
920         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
924 2014-08-01  Roland McGrath  <roland@hack.frob.com>
926         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
927         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
928         * sysdeps/arm/sysdep.h: ... here.
929         [!__ASSEMBLER__]: Include <stdint.h>.
931 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
933         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
934         (HAVE_WCTYPE_H): Likewise.
935         (HAVE_ISWCTYPE): Likewise.
936         (ENABLE_NLS): Likewise.
937         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
938         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
940         * posix/regex_internal.c: Check if DEBUG is defined and is
941         set.
943         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
944         (HAVE_MBSRTOWCS): Likewise.
945         * posix/fnmatch.c: Include string.h unconditionally.
947 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
949         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
950         reversal.
952 2014-07-31  Roland McGrath  <roland@hack.frob.com>
954         * sysdeps/generic/safe-fatal.h: New file.
955         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
956         * nptl/forward.c: Include it.
957         (__pthread_unwind): Use __safe_fatal as default action, rather
958         than a bogus use of INTERNAL_SYSCALL that could never work.
960         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
961         * configure.ac (libc_cv_builtin_trap): New test.
962         * configure: Regenerated.
963         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
964         (ABORT_INSTRUCTION): Define using __builtin_trap.
966         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
967         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
968         * sysdeps/nptl/nptl-signals.h: New file.
969         * nptl/pthreadP.h: Include <nptl-signals.h>.
971 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
973         * sysdeps/s390/s390-64/utf16-utf32-z9.c
974         (ONE_DIRECTION): Define.
975         * sysdeps/s390/s390-64/utf8-utf16-z9.c
976         (ONE_DIRECTION): Define.
977         * sysdeps/s390/s390-64/utf8-utf32-z9.c
978         (ONE_DIRECTION): Define.
980 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
982         * sysdeps/s390/Makefile: Delete file.
983         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
984         * sysdeps/s390/__longjmp.c: Delete file.
985         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
986         Remove fields __flags and __reserved.
987         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
988         and add versioning.
989         * sysdeps/s390/rtld-__longjmp.c: Delete file.
990         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
991         * sysdeps/s390/rtld-setjmp.S: Likewise.
992         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
993         * sysdeps/s390/s390-32/__longjmp.c: ... here.
994         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
995         * sysdeps/s390/s390-32/setjmp.S: ... here.
996         Add versioning.
997         (__sigsetjmp): Remove setting __flags field.
998         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
999         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1000         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1001         * sysdeps/s390/s390-64/setjmp.S: ... here.
1002         Add versioning.
1003         (__sigsetjmp): Remove setting __flags field.
1004         * sysdeps/s390/setjmp.S: Delete file.
1005         * sysdeps/s390/sigjmp.c: Likewise.
1006         * sysdeps/s390/v1-longjmp.c: Likewise.
1007         * sysdeps/s390/v1-setjmp.h: Likewise.
1008         * sysdeps/s390/v1-sigjmp.c: Likewise.
1009         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1010         Remove v1-longjmp_chk.
1011         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1012         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1013         Include debug/longjmp_chk.c and add versioning.
1014         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1015         Include nptl/pt-longjmp.c and add versioning.
1016         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1017         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1018         Include __longjmp.c.
1019         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1020         Move to ...
1021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1022         (__getcontext): Remove setting __flags field.
1023         Add versioning.
1024         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1025         Don't restore upper high grps.
1026         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1027         Likewise.
1028         (__swapcontext): Remove setting uc_flags field.
1029         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1030         Delete file.
1031         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1032         Include __longjmp.c.
1033         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1034         Move to ...
1035         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1036         (__getcontext): Remove setting __flags field.
1037         Add versioning.
1038         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1039         (__swapcontext): Remove setting uc_flags field.
1040         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1041         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1042         Remove fields uc_high_gprs and __reserved.
1043         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1044         New file with reverted content.
1045         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1046         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1047         Regenerated.
1048         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1049         Regenerated.
1051 2014-07-31  Andreas Schwab  <schwab@suse.de>
1053         * config.h.in (HAVE_IFUNC): Define to 0.
1054         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1055         definedness.
1057 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1060         memmove-avx-unaligned, memcpy-avx-unaligned and
1061         mempcpy-avx-unaligned.
1062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1063         Add tests for AVX memcpy functions.
1064         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1065         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1066         memcpy_chk.
1067         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1068         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1069         memmove_chk.
1070         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1071         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1072         mempcpy_chk.
1073         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1074         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1075         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1077 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1079         [BZ #17213]
1080         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1081         powerpc64le.
1083 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1085         [BZ #16839]
1086         * manual/llio.texi: Add section about open file description locks.
1087         * manual/examples/ofdlocks.c: Example of open file description
1088         lock usage.
1089         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1090         F_OFD_SETLK, and F_OFD_SETLKW.
1092 2014-07-23  Allan McRae  <allan@archlinux.org>
1094         * po/es.po: Update Spanish translation from translation project.
1096 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1098         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1100 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1102         [BZ #17078]
1103         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1104         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1105         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1107 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1109         [BZ #17088]
1110         * math/fesetenv.c (__fesetenv)
1111         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1112         * math/feupdateenv.c (__feupdateenv)
1113         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1115         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1116         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1117         (__ASSUME_SOCKETCALL): Do not define.
1119         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1120         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1121         (__ASSUME_SOCKETCALL): Do not define.
1122         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1123         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1124         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1125         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1126         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1127         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1129         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1131         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1132         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1133         (__ASSUME_SOCKETCALL): Do not define.
1134         (__ASSUME_IPC64): Define unconditionally.
1135         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1136         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1137         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1138         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1139         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1141         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1142         Likewise.
1144         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1145         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1146         (__ASSUME_SOCKETCALL): Do not define.
1147         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1148         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1149         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1150         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1151         (__ASSUME_REQUEUE_PI): Define unconditionally.
1152         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1153         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1154         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1155         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1157         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1159         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1160         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1161         (__ASSUME_SOCKETCALL): Do not define.
1162         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1164         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1165         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1167         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1169         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1170         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1171         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1172         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1173         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1174         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1175         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1176         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1177         (__ASSUME_GETCPU_SYSCALL): Likewise.
1179         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1180         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1181         cases for individual architectures.
1182         * sysdeps/gnu/configure: Regenerated.
1183         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1184         LIBC_SLIBDIR_RTLDDIR.
1185         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1186         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1187         LIBC_SLIBDIR_RTLDDIR.
1188         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1190         LIBC_SLIBDIR_RTLDDIR.
1191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1192         Regenerated.
1193         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1194         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1195         file.
1196         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1197         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1198         file.
1199         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1200         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1201         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1202         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1204         * sysdeps/aarch64/shlib-versions: Move to ...
1205         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1206         * sysdeps/alpha/shlib-versions: Move to ...
1207         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1208         * sysdeps/arm/shlib-versions: Move to ...
1209         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1210         * sysdeps/hppa/shlib-versions: Move all contents except for
1211         libgcc_s entry to ...
1212         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1213         entry from ...
1214         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1215         * sysdeps/ia64/shlib-versions: Move to ...
1216         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1217         entry from ...
1218         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1219         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1220         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1221         * sysdeps/microblaze/shlib-versions: Move to ...
1222         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1223         * sysdeps/mips/shlib-versions: Move to ...
1224         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1225         entry from ...
1226         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1227         * sysdeps/tile/shlib-versions: Move to ...
1228         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1229         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1230         from ...
1231         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1233         entry from ...
1234         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1236 2014-07-17  Will Newton  <will.newton@linaro.org>
1238         * sysdeps/arm/bits/atomic.h
1239         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1240         (__arch_compare_and_exchange_bool_16_int): Likewise.
1241         (__arch_compare_and_exchange_bool_64_int): Likewise.
1243         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1244         into an #else block.
1246 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1248         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1249         just Linux configurations.  Test empirically that the compiler sets
1250         __ARM_EABI__, rather than using the tuple to decide.
1251         * sysdeps/arm/preconfigure: Regenerated.
1252         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1253         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1254         contents appended ...
1255         * sysdeps/arm/configure.ac: ... here.
1256         * sysdeps/arm/configure: Regenerated.
1258 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1260         * nptl/pthread_kill.c: New file.
1261         * nptl/pthread_sigmask.c: New file.
1262         * nptl/pthread_sigqueue.c: New file.
1264         * sysdeps/nptl/lowlevellock.h: New file.
1265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1266         * sysdeps/nptl/lowlevellock-futex.h: New file.
1268         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1269         Remove dead declarations.
1271 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1273         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1274         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1275         config-cflags-avx2.
1276         * sysdeps/x86_64/configure.ac: Likewise.
1277         * sysdeps/i386/configure: Regenerated.
1278         * sysdeps/x86_64/configure: Likewise.
1279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1280         memset-avx2 only if config-cflags-avx2 is yes.
1281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1282         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1283         defined.
1284         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1285         only if HAVE_AVX2_SUPPORT is defined.
1286         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1288 2014-07-14  Alan Modra  <amodra@gmail.com>
1290         [BZ #17153]
1291         * elf/elf.h (DT_PPC64_NUM): Correct value.
1292         * NEWS: Add to fixed bug list.
1294 2014-07-13  Jim Meyering  <meyering@fb.com>
1296         [BZ 17150]
1297         regex: don't deref NULL upon heap allocation failure
1298         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1299         failure in one more place.
1300         To trigger the segfault, configure grep -with-included-regex,
1301         build it, and run these commands:
1302         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1304 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1306         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1308 2014-07-11  Richard Henderson  <rth@redhat.com>
1310         * sysdeps/aarch64/libm-test-ulps: Update.
1312 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1314         [BZ #17135]
1315         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1316         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1317         (__nptl_setxid): Initialize error member.  Call
1318         __nptl_setxid_error.
1319         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1320         * nptl/descr.h (struct xid_command): Add error member.
1321         * nptl/tst-setuid3.c: New file.
1322         * nptl/Makefile (tests): Add it.
1324 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1326         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1327         New define.
1328         (__lll_trylock): Use __lll_base_trylock.
1329         (__lll_cond_trylock): Likewise.
1331 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1333         * nptl/pthread_create.c (start_thread): Use atomic_or and
1334         lll_futex_wake directly rather than lll_robust_dead.
1335         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1336         (lll_robust_dead): Macro removed.
1337         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1338         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1339         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1340         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1341         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1342         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1343         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1344         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1345         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1348         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1349         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1350         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1353         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1354         Use atomic_compare_and_exchange_val_acq directly rather than
1355         lll_robust_trylock.
1356         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1357         (__lll_robust_trylock, lll_robust_trylock): Removed.
1358         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1359         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1360         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1361         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1362         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1363         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1365         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1367         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1370         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1373 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1375         * manual/locale.texi (Locale Names): New section documenting
1376         locale name syntax.  Adjust menu and node chaining accordingly.
1377         (Choosing Locale): Reference Locale Names, Locale Categories.
1378         Mention setting LC_ALL=C.  Reflect that name syntax is now
1379         documented.
1380         (Locale Categories): New section title.  Reference Locale Names.
1381         LC_ALL is an environment variable, but not a category.
1382         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1383         description, now in Locale Name.  Reference that section.  Locale
1384         name syntax is now documented.
1386 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1388         [BZ #17137]
1389         * locale/findlocale.c (name_present, valid_locale_name): New
1390         functions.
1391         (_nl_find_locale): Use the loc_name variable to store name
1392         candidates.  Call name_present and valid_locale_name to check and
1393         validate locale names.  Return an error if the locale is invalid.
1395 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1397         * locale/setlocale.c (setlocale): Use strdup for allocating
1398         composite name copy.
1400 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1402         Sync up with gnulib.
1403         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1404         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1405         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1406         and _GL_ARG_NONNULL.
1407         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1408         [!_LIBC]: Include code for Windows and Cygwin.
1409         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1410         Include prototype for int strerror_r.
1411         [!_LIBC] (is_open): New function.
1412         (flush_stdout): New function.
1413         (print_errno_message): Use it.
1414         (error): Likewise.
1415         (error_at_line): Likewise.
1416         (error_tail) Add function attribute macros.  Use
1417         __builtin_expect.
1419         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1421         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1423         * io/ftw.c: Include sys/param.h unconditionally.
1425         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1427         [BZ #17125]
1428         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1429         libc_freeres_ptr.
1430         (freecache): New function to free CACHE on exit.
1432         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1433         initialization.
1435 2014-07-09  David S. Miller  <davem@davemloft.net>
1437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1439         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1440         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1441         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1442         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1443         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1444         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1445         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1446         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1447         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1448         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1449         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1450         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1451         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1453 2014-07-09  Andreas Schwab  <schwab@suse.de>
1455         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1456         output.
1457         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1458         (do_test): Likewise.
1460         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1462 2014-07-09  Will Newton  <will.newton@linaro.org>
1464         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1465         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1466         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1467         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1468         * sysdeps/hppa/start.S (_start): Likewise.
1470 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1472         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1474         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1475         defined.
1477 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1479         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1480         after checking that it is non-NULL.
1482         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1484 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1486         * sysdeps/powerpc/memmove.c: Remove file.
1487         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1488         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1490         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1492         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1493         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1494         string memmove instead of removed powerpc one.
1496         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1497         [weak_alias]: Fix compiler warning due trailing data.
1498         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1499         [weak_alias]: Likewise.
1500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1501         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1504         (__libc_ifunc_impl_list): Add memmove functions.
1506 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1508         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1509         Remove code.
1510         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1511         Likewise
1512         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1513         Likewise
1514         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1515         Likewise
1516         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1517         Likewise
1518         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1519         Likewise
1520         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1521         Likewise
1522         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1523         Likewise
1524         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1525         Likewise
1526         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1527         Likewise
1528         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1529         Likewise
1530         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1531         Likewise
1532         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1533         Likewise
1534         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1535         Likewise
1536         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1537         Likewise
1538         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1539         Likewise
1540         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1541         Likewise
1543 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1546         to avoid alignment traps in non-cacheable memory.
1547         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1550         multiarch objects.
1551         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1552         file: multiarch power7 memmove.
1553         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1554         multiarch default memmove.
1555         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1556         multiarch memove for powerpc32/power4.
1558         * string/bcopy.c: Use full path to include memmove.c.
1559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1560         multiarch objects.
1561         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1562         bcopy for powerpc64.
1563         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1564         bcopy for powerpc64.
1565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1566         and memmove implementations.
1567         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1568         optimized multiarch memmove for POWER7/powerpc64.
1569         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1570         default multiarch memmove for powerpc64.
1571         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1572         multiarch for powerpc64.
1573         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1574         for POWER7/powerpc64.
1575         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1576         memmove for POWER7/powerpc64.
1578         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1579         glibc default one.
1581         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1582         __ELF_NATIVE_CLASS equal to 64.
1584 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1586         * sysdeps/nptl/lowlevellock.h: File removed.
1588         * NEWS: NPTL is no longer an add-on!
1589         * nptl/internaltypes.h: Moved ...
1590         * sysdeps/nptl/internaltypes.h: ... here.
1591         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1592         * sysdeps/nptl/fork.c: Likewise.
1593         * sysdeps/nptl/gai_misc.h: Likewise.
1594         * sysdeps/nptl/librt-cancellation.c: Likewise.
1595         * sysdeps/nptl/jmp-unwind.c: Likewise.
1596         * sysdeps/nptl/setxid.h: Likewise.
1597         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1598         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1599         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1600         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1601         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1602         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1603         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1604         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1605         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1606         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1607         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1608         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1609         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1610         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1611         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1612         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1613         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1614         * nptl/Makeconfig: Moved ...
1615         * sysdeps/nptl/Makeconfig: ... here.
1616         * nptl/configure: File removed.
1617         * nptl/ANNOUNCE: File removed.
1618         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1619         * sysdeps/unix/sysv/linux/configure: Regenerated.
1621         * nptl/Makefile (routines): Add libc_pthread_init,
1622         libc_multiple_threads, register-atfork and unregister-atfork.
1623         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1624         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1625         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1626         pthread-pi-defines.sym, structsem.sym.
1627         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1628         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1629         [$(subdir) = nptl] (tests): Add tst-setgetname.
1630         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1631         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1632         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1633         [!LIBC_SIGACTION]: Remove aliases.
1634         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1635         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1636         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1637         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1638         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1639         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1640         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1641         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1643         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1644         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1645         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1646         __libc_allocate_rtsig_private.
1647         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1648         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1649         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1650         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1651         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1652         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1653         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1654         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1655         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1656         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1657         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1658         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1659         * nptl/internaltypes.h: ... here.
1660         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1661         * sysdeps/nptl/jmp-unwind.c: ... here.
1662         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1663         * nptl/libc-lowlevellock.c: ... here.
1664         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1665         * nptl/libc_multiple_threads.c: ... here.
1666         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1667         * nptl/libc_pthread_init.c: ... here.
1668         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1669         * nptl/lowlevelbarrier.sym: ... here.
1670         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1671         * nptl/lowlevelcond.sym: ... here.
1672         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1673         * nptl/lowlevellock.c: ... here.
1674         * nptl/lowlevellock.h: Moved ...
1675         * sysdeps/nptl/lowlevellock.h: ... here.
1676         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1677         * nptl/lowlevelrobustlock.c: ... here.
1678         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1679         * nptl/lowlevelrobustlock.sym: ... here.
1680         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1681         * nptl/lowlevelrwlock.sym: ... here.
1682         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1683         * nptl/pt-fork.c: ... here.
1684         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1685         * nptl/pthread-pi-defines.sym: ... here.
1686         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1687         * nptl/pthread_attr_getaffinity.c: ... here.
1688         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1689         * nptl/pthread_attr_setaffinity.c: ... here.
1690         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1691         * nptl/pthread_mutex_cond_lock.c: ... here.
1692         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1693         Update #include.
1694         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1695         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1696         * nptl/pthread_once.c: ... here, replacing old file.
1697         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1698         * nptl/pthread_yield.c: ... here.
1699         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1700         * nptl/register-atfork.c: ... here.
1701         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1702         * nptl/sem_post.c: ... here.
1703         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1704         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1705         * nptl/sem_timedwait.c: ... here.
1706         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1707         * nptl/sem_trywait.c: ... here.
1708         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1709         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1710         * nptl/sem_wait.c: ... here.
1711         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1712         * nptl/structsem.sym: ... here.
1713         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1714         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1715         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1716         * nptl/unregister-atfork.c: ... here.
1717         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1718         * nptl/unwindbuf.sym: ... here.
1719         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1720         * sysdeps/nptl/fork.c: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1722         * sysdeps/nptl/fork.h: ... here.
1723         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1724         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1725         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1726         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1727         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1728         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1729         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1730         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1731         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1732         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1733         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1734         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1735         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1737         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1739         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1740         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1741         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1742         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1743         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1744         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1745         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1747         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1749         * sysdeps/unix/sysv/linux/raise.c: ... here.
1750         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1751         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1752         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1753         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1754         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1755         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1756         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1757         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1758         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1759         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1760         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1761         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1762         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1763         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1764         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1766 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1768         * sysdeps/generic/memcopy.h: Add comment for
1769         MEMCPY_OK_FOR_FWD_MEMMOVE.
1771 2014-07-04  Will Newton  <will.newton@linaro.org>
1773         * string/memchr.c: Merge from gnulib.
1774         [_LIBC]: Remove conditionals.
1775         (__ptr_t): Remove define.
1776         (LONG_MAX_32_BITS): Likewise.
1777         (LONG_MAX): Likewise.
1778         (MEMCHR): Use ANSI prototype and optimize algorithm.
1780         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1782 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1784         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1785         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1787         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1788         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1789         in a bare environment with no <stdlib.h> installed.
1790         * sysdeps/nptl/configure: Regenerated.
1792         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1794         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1795         AC_EGREP_CPP for kernel header checks, so they only succeed if
1796         including <linux/version.h> actually works right.
1797         * sysdeps/unix/sysv/linux/configure: Regenerated.
1799         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1800         value so it's not diagnosed as unused.
1802         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1803         thing) with "ifeq ($(subdir),rt)".
1805 2014-07-03  Richard Henderson  <rth@redhat.com>
1807         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1808         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1809         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1811         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1812         (math_force_eval): New.
1814         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1815         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1817         * sysdeps/alpha/fpu/s_round.c: Remove file.
1818         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1820         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1821         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1822         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1823         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1824         (_dl_start, print_statistics): Likewise.
1825         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1826         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1828         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1829         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1830         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1831         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1833         (HP_SMALL_TIMING_AVAIL): Define.
1834         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1836         (HP_SMALL_TIMING_AVAIL): Define.
1837         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1838         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1840         * sysdeps/aarch64/hp-timing.h: New file.
1842         * sysdeps/generic/hp-timing.h: Remove dead comment.
1843         * sysdeps/generic/hp-timing-common.h: New file.
1844         * sysdeps/alpha/hp-timing.h: Include it.
1845         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1846         * sysdeps/i386/i686/hp-timing.h: Likewise.
1847         * sysdeps/ia64/hp-timing.h: Likewise.
1848         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1849         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1850         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1851         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1852         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1853         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1854         (hp_timing_t): New.
1856         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1857         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1858         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1859         * elf/rtld.c (_dl_start_final): Likewise.
1860         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1861         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1862         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1863         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1864         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1866         (HP_TIMING_DIFF_INIT): Remove.
1867         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1868         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1869         (HP_TIMING_DIFF_INIT): Remove.
1870         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1871         * sysdeps/i386/i686/hp-timing.c: Remove file.
1872         * sysdeps/x86_64/hp-timing.c: Remove file.
1873         * sysdeps/ia64/hp-timing.c: Remove file.
1874         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1875         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1877         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1879         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1880         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1881         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1882         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1883         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1884         (HP_TIMING_ACCUM): Remove.
1885         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1886         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1887         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1889         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1890         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1891         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1892         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1893         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1894         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1896         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1898         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1900 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1902         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1904 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1906         Sync up with gettext.
1907         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1908         [_MSC_VER]: Include malloc.h
1909         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1910         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1911         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1912         TEMP_FAILURE_RETRY.  Cast return of alloca.
1913         [!_LIBC] Call gl_rwlock_init.
1914         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1916 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1918         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1919         before checking its value.
1921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1923         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1925         * debug/memcpy_chk.c: Don't include pagecopy.h.
1926         * debug/mempcpy_chk.c: Likewise.
1927         * string/memcpy.c: Likewise.
1928         * string/memmove.c: Likewise.
1929         * sysdeps/powerpc/memmove.c: Likewise.
1930         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1931         definition of PAGE_COPY_FWD_MAYBE here...
1932         * sysdeps/generic/pagecopy.h: ... from here.
1933         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1935 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1938         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1940         optimizations.
1941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1942         (__libc_ifunc_impl_list): Likewise.
1943         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1944         multiarch strcat for PPC64.
1945         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1946         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1948 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1950         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1952 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1954         * intl/loadmsgcat.c: Remove declaration of
1955         get_sysdep_segment_value.
1956         (get_sysdep_segment_value): Use ISO C style.
1957         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1958         semicolon.  Fix typo and formatting in comment.
1959         (_nl_unload_domain): Use ISO C style.
1961         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1963 2014-07-02  Will Newton  <will.newton@linaro.org>
1965         * malloc/obstack.c: Merge from gnulib master.
1966         [HAVE_CONFIG_H]: Remove conditional code.
1967         [!_LIBC]: Include config.h.
1968         [!ELIDE_CODE]: Don't include inttypes.h, include
1969         stdint.h unconditionally.
1970         (print_and_abort): Mark as _Noreturn.
1971         (_obstack_allocated_p): Mark as __attribute_pure__.
1972         (obstack_free): Rename to __obstack_free.
1973         [!__attribute__]: Remove conditional code.
1974         * malloc/obstack.h: Merge from gnulib master.
1975         [__cplusplus]: Move conditional down.
1976         [!__attribute_pure__]: Define __attribute_pure__ here
1977         if it is not already defined.
1978         (_obstack_memory_used): Mark as __attribute_pure__.
1979         [!__obstack_free]: Define as obstack_free.
1980         [__GNUC__]: Remove check for ancient NeXT gcc.
1982 2014-07-02  Will Newton  <will.newton@linaro.org>
1983             Paul Eggert  <eggert@cs.ucla.edu>
1985         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1987 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1989         * resolv/gethnamaddr.c: Add comment warning that the file is
1990         not maintained.
1992 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1994         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1995         entries.
1997         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1998         entry for aio_cancel and aio_cancel64.
1999         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2000         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2001         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2002         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2003         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2004         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2005         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2006         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2007         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2008         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2009         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2010         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2011         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2013 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2015         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2016         * nptl/pthread_mutex_lock.c: Likewise.
2017         * nptl/pthread_mutex_timedlock.c: Likewise.
2018         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2020 2014-07-01  Richard henderson  <rth@redhat.com>
2022         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2023         (__isnan, __isnanl): Remove.
2024         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2026         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2028 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2030         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2032 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2034         * resolv/nss_dns/dns-host.c (getanswer_r)
2035         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2037 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2040         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2041         undefine.
2042         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2043         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2045 2014-07-01  Roland McGrath <roland@hack.frob.com>
2047         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2048         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2050         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2051         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2053         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2054         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2055         ... here.
2056         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2057         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2059         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2060         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2061         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2062         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2064         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2065         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2066         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2067         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2068         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2069         Moved ...
2070         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2071         ... here.
2072         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2073         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2074         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2075         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2077         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2078         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2079         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2080         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2081         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2082         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2083         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2084         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2085         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2086         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2087         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2088         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2089         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2090         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2091         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2092         ... here.
2093         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2094         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2095         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2096         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2097         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2098         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2099         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2100         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2102 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2104         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2105         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2106         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2107         Add sysdep.
2109 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2113 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2115         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2116         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2120         * sysdeps/arm/libm-test-ulps: Regenerated.
2122 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2123             Roland McGrath <roland@hack.frob.com>
2125         * test-skeleton.c (signal_handler): Kill the whole process group
2126         before killing the child individually.
2127         (main): Report any failure on `setpgid'.
2129 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2131         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2132         from _TLS_H to _ARM_NPTL_TLS_H.
2133         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2134         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2136 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2138         [BZ #16539]
2139         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2140         (__expm1l): Return argument unchanged when small but not
2141         subnormal.
2143         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2144         include macro name.
2145         (_FP_UNPACK_RAW_1_P): Likewise.
2146         (_FP_PACK_RAW_1): Likewise.
2147         (_FP_PACK_RAW_1_P): Likewise.
2148         (_FP_MUL_MEAT_1_wide): Likewise.
2149         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2150         (_FP_MUL_MEAT_1_hard): Likewise.
2151         (_FP_DIV_MEAT_1_imm): Likewise.
2152         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2153         (_FP_DIV_MEAT_1_udiv): Likewise.
2154         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2155         (_FP_UNPACK_RAW_2): Likewise.
2156         (_FP_UNPACK_RAW_2_P): Likewise.
2157         (_FP_PACK_RAW_2): Likewise.
2158         (_FP_PACK_RAW_2_P): Likewise.
2159         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2160         (_FP_MUL_MEAT_2_wide): Likewise.
2161         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2162         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2163         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2164         (_FP_MUL_MEAT_2_gmp): Likewise.
2165         (_FP_DIV_MEAT_2_udiv): Likewise.
2166         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2167         (_FP_FRAC_SRL_4): Likewise.
2168         (_FP_FRAC_SRST_4): Likewise.
2169         (_FP_FRAC_SRS_4): Likewise.
2170         (_FP_UNPACK_RAW_4): Likewise.
2171         (_FP_UNPACK_RAW_4_P): Likewise.
2172         (_FP_PACK_RAW_4): Likewise.
2173         (_FP_PACK_RAW_4_P): Likewise.
2174         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2175         (_FP_MUL_MEAT_4_wide): Likewise.
2176         (_FP_MUL_MEAT_4_gmp): Likewise.
2177         (umul_ppppmnnn): Likewise.
2178         (_FP_DIV_MEAT_4_udiv): Likewise.
2179         (__FP_FRAC_ADD_4): Likewise.
2180         (__FP_FRAC_SUB_3): Likewise.
2181         (__FP_FRAC_SUB_4): Likewise.
2182         (__FP_FRAC_DEC_3): Likewise.
2183         (__FP_FRAC_DEC_4): Likewise.
2184         (__FP_FRAC_ADDI_4): Likewise.
2185         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2186         (_FP_FRAC_SRL_8): Likewise.
2187         (_FP_FRAC_SRS_8): Likewise.
2189         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2190         include macro name.
2191         (FP_UNPACK_RAW_EP): Likewise.
2192         (FP_PACK_RAW_E): Likewise.
2193         (FP_PACK_RAW_EP): Likewise.
2194         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2195         (_FP_ISSIGNAN): Likewise.
2196         (_FP_ADD_INTERNAL): Likewise.
2197         (_FP_FMA): Likewise.
2198         (_FP_CMP): Likewise.
2199         (_FP_SQRT): Likewise.
2200         (_FP_TO_INT): Likewise.
2201         (_FP_FROM_INT): Likewise.
2202         (FP_EXTEND): Likewise.
2203         (_FP_DIV_MEAT_N_loop): Likewise.
2205 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2207         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2208         throughout.
2210 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2212         [BZ #17097]
2213         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2214         result with correct sign in case of exponents that produce
2215         overflow except for X very close to 1.
2217 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2219         mktime: merge #if/#ifdef usage from glibc
2220         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2221         as that works with both Glibc's and Gnulib's style.
2222         See thread starting at Siddhesh Poyarekar's bug report at:
2223         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2225 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2227         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2228         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2229         * sysdeps/tile/tilegx/memmove.c: Remove file.
2231 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2233         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2234         abi-name definition.
2235         * scripts/soversions.awk: Do not handle or generate ABI lines.
2236         * shlib-versions: Remove ABI entries.
2237         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2238         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2240 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2243         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2244         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2247         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2249         Moved ...
2250         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2251         ... here.
2252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2253         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2255         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2257         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2259         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2261         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2263         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2265         Moved ...
2266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2270         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2272         Moved ...
2273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2275         Moved ...
2276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2278         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2280         Moved ...
2281         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2283         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2285         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2287         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2289         Moved ...
2290         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2292         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2294         Moved ...
2295         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2297         Moved ...
2298         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2299         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2300         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2302         Moved ...
2303         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2304         ... here.
2305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2306         Identical file removed.
2307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2308         Moved ...
2309         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2311         Identical file removed.
2312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2318         Identical file removed.
2319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2322         Identical file removed.
2323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2326         Identical file removed.
2327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2330         Identical file removed.
2331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2332         Moved ...
2333         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2335         Identical file removed.
2336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2337         Moved ...
2338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2342         Identical file removed.
2343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2344         Moved ...
2345         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2346         ... here.
2347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2348         Identical file removed.
2349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2350         Moved ...
2351         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2353         Identical file removed.
2354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2355         Moved ...
2356         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2358         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2360         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2362         Moved ...
2363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2365         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2367         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2368         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2369         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2370         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2371         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2373 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2375         [BZ #17092]
2376         * nscd/nscd.c (monitor_child): Return exit status of child
2377         instead of return value from wait syscall.
2379 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2381         * configure.ac (libc_commonpagesize): Remove variable.
2382         (libc_relro_required): Likewise.
2383         (libc_cv_z_relro): Remove configure test.
2384         * configure: Regenerated.
2385         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2386         variable.
2387         (libc_relro_required): Likewise.
2388         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2389         (libc_relro_required): Likewise.
2390         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2391         (libc_relro_required): Likewise.
2392         * sysdeps/arm/preconfigure: Regenerated.
2393         * sysdeps/ia64/preconfigure: Remove file.
2394         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2395         variable.
2396         (libc_relro_required): Likewise.
2398         [BZ #16561]
2399         [BZ #16562]
2400         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2401         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2402         recompute overflowing results in original rounding mode.
2403         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2404         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2405         recompute overflowing results in original rounding mode.
2406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2407         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2408         recompute overflowing results in original rounding mode.
2409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2410         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2411         recompute overflowing results in original rounding mode.
2412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2413         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2414         recompute overflowing results in original rounding mode.
2415         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2416         (libc_feholdsetround_ctx): New macro.
2417         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2418         * sysdeps/i386/fpu/libm-test-ulps: Update.
2419         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2421 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2423         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2424         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2425         corresponding .cpsetup call.
2427 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2429         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2430         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2431         * sysdeps/arm/Makefile [$(subdir) = csu]
2432         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2433         (static-only-routines): Add aeabi_read_tp here.
2434         (shared-only-routines): Add libc-aeabi_read_tp here.
2435         (CFLAGS-libc-start.c): Add -fexceptions here.
2436         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2437         (sysdep_routines, static-only-routines, shared-only-routines):
2438         Don't add to these here.
2439         (CFLAGS-libc-start.c): Likewise.
2441         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2442         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2443         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2444         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2445         * sysdeps/arm/Makefile [$(subdir) = rt]
2446         (librt-sysdep_routines, librt-shared-only-routines):
2447         Append rt-aeabi_unwind_cpp_pr1 here.
2448         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2449         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2450         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2451         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2452         Append nptl-aeabi_unwind_cpp_pr1 here.
2453         (tests): Filter out tst-cleanupx4 here.
2454         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2455         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2456         Don't do those here.
2458 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2460         * scripts/list-sources.sh: Do not handle ports specially.
2462 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2464         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2465         * sysdeps/arm/feupdateenv.c: Likewise.
2467         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2469 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2471         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2472         trailing whitespace removed.
2473         * scripts/config.guess: Update to version 2014-03-23.
2474         * scripts/config.sub: Update to version 2014-05-01
2475         * scripts/install-sh: Update to version 2013-12-25.23.
2476         * scripts/move-if-change: Update from gnulib.
2478 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2480         * debug/memmove_chk.c: Remove pagecopy.h include.
2482 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2484         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2485         identical to gnulib mktime.
2487 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2489         * configure.ac: Do not test for machine being rs6000.  Do not test
2490         for powerpc*-*soft.
2491         * configure: Regenerated.
2493         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2494         test.
2495         * configure: Regenerated.
2496         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2497         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2498         Remove configure test.
2499         * sysdeps/arm/configure: Regenerated.
2500         * sysdeps/nptl/configure.ac: Do not check
2501         libc_cv_asm_cfi_directives.
2502         * sysdeps/nptl/configure: Regenerated.
2503         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2504         * sysdeps/x86_64/nptl/configure: Remove generated file.
2505         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2506         unconditional.
2507         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2509 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2511         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2512         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2513         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2514         it is defined.
2516         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2517         instead of whether it is defined.
2518         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2519         * sysdeps/hppa/dl-machine.h: Likewise.
2520         * sysdeps/ia64/dl-machine.h: Likewise.
2521         * sysdeps/m68k/dl-machine.h: Likewise.
2522         * sysdeps/microblaze/dl-machine.h: Likewise.
2523         * sysdeps/mips/dl-machine.: Likewise.
2524         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2525         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2526         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2527         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2528         * sysdeps/sh/dl-machine.h: Likewise.
2529         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2530         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2531         * sysdeps/tile/dl-machine.h: Likewise.
2532         * sysdeps/x86_64/dl-machine.h: Likewise.
2534         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2535         code.
2536         (verify_persistent_db): Likewise.
2538 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2541         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2543         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2545         Moved ...
2546         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2547         ... here.
2548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2549         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2551         Identical file removed.
2552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2553         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2555         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2557         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2559         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2561         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2563         Moved ...
2564         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2566         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2568         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2570         Moved ...
2571         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2573         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2575         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2577         Identical file removed.
2578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2579         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2581         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2583         Moved ...
2584         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2585         ... here.
2586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2587         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2589         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2591         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2593         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2595         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2597         Moved ...
2598         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2600         Moved ...
2601         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2603         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2605         Moved ...
2606         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2608         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2610         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2611         folded into ...
2612         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2613         * sysdeps/unix/sysv/linux/s390/Versions
2614         (libpthread: GLIBC_2.19): New version set.
2615         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2616         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2617         (librt: GLIBC_2.3.3): New version set.
2618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2619         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2620         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2622         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2623         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2624         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2625         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2626         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2627         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2628         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2629         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2630         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2631         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2632         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2633         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2634         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2635         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2636         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2637         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2638         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2640         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2642         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2644         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2646         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2648         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2649         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2654         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2656         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2658         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2660         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2662         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2664         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2665         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2666         (__libc_vfork): Define the function under this name.
2667         [!NOT_IN_libc] (__vfork): Make this an alias.
2668         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2670         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2671         (__libc_vfork): Define the function under this name.
2672         [!NOT_IN_libc] (__vfork): Make this an alias.
2673         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2674         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2675         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2677         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2678         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2680         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2681         code that was previously under [RESET_PID].
2682         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2683         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2686         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2687         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2688         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2689         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2690         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2691         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2692         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2693         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2694         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2695         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2697         Moved ...
2698         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2699         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2700         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2701         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2702         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2704         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2705         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2706         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2707         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2708         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2709         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2710         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2711         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2712         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2714         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2718         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2719         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2720         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2721         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2722         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2723         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2724         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2725         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2726         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2728 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2730         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2731         that was previously under [RESET_PID].
2732         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2734 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2736         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2737         not undefine and redefine.
2738         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2739         [O_CLOEXEC]: Make code unconditional.
2740         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2741         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2742         <kernel-features.h>.
2743         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2744         conditional variable definition.
2745         (shm_open) [O_CLOEXEC]: Make code unconditional.
2746         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2747         code.
2749         * configure.ac (USE_REGPARMS): Don't define here.
2750         * configure: Regenerated.
2751         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2752         * sysdeps/i386/configure: Regenerated.
2754         * nptl/createthread.c: Don't include kernel-features.h.
2755         * nptl/pthread_cancel.c: Likewise.
2756         * nptl/pthread_condattr_setclock.c: Likewise.
2757         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2758         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2759         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2760         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2761         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2762         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2764         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2766         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2767         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2768         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2769         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2770         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2771         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2772         * nscd/gai.c: Likewise.
2773         * nss/nss_db/db-open.c: Likewise.
2774         * sysdeps/generic/ldsodefs.h: Likewise.
2775         * sysdeps/sh/nptl/tls.h: Likewise.
2776         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2777         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2778         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2779         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2780         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2781         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2782         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2783         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2784         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2785         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2786         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2787         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2788         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2789         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2790         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2791         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2792         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2793         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2794         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2795         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2798         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2799         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2804         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2805         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2806         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2807         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2808         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2809         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2811         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2812         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2813         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2814         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2815         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2816         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2817         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2818         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2819         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2820         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2821         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2822         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2823         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2824         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2825         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2826         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2827         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2828         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2829         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2830         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2831         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2832         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2833         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2856         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2857         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2858         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2859         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2860         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2861         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2863         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2864         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2865         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2866         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2867         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2868         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2869         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2870         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2871         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2872         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2873         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2874         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2875         * sysdeps/unix/sysv/linux/system.c: Likewise.
2876         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2877         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2878         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2879         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2880         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2881         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2882         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2884         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2885         * configure: Regenerated.
2886         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2888         * configure.ac (base_machine): Do not set specially for particular
2889         machines here.
2890         * configure: Regenerated.
2891         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2892         settings from configure.ac.
2893         * sysdeps/i386/preconfigure: New file.
2894         * sysdeps/s390/preconfigure: Likewise.
2895         * sysdeps/sh/preconfigure: Likewise.
2896         * sysdeps/sparc/preconfigure: Likewise.
2898 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2900         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2901         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2902         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2903         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2904         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2905         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2906         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2907         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2908         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2909         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2910         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2911         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2912         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2913         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2914         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2916         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2917         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2918         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2920         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2921         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2922         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2923         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2924         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2925         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2926         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2927         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2928         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2929         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2930         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2931         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2932         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2933         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2934         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2935         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2936         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2937         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2938         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2939         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2940         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2941         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2943         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2944         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2945         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2946         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2947         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2948         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2949         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2950         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2951         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2952         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2953         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2954         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2955         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2956         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2957         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2960         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2962         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2964         Moved ...
2965         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2966         ... here.
2967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2968         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2970         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2972         Moved ...
2973         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2981         Moved ...
2982         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2984         Moved ...
2985         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2989         Moved ...
2990         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2992         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2994         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2996         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2998         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3000         Moved ...
3001         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3002         ... here.
3003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3004         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3006         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3008         Moved ...
3009         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3011         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3013         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3015         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3017         Moved ...
3018         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3020         Moved ...
3021         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3023         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3025         Moved ...
3026         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3028         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3030         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3032 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3034         * timezone/checktab.awk: Update from tzcode 2014e.
3035         * timezone/private.h: Likewise.
3036         * timezone/tzfile.h: Likewise.
3037         * timezone/zdump.c: Likewise.
3038         * timezone/zic.c: Likewise.
3040         * sysdeps/unix/sysv/linux/kernel-features.h
3041         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3042         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3043         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3044         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3045         Remove conditional code.
3047 2014-06-25  Will Newton  <will.newton@linaro.org>
3049         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3050         (_dl_arm_cap_flags): Add HWCAP2 values.
3051         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3052         (_DL_HWCAP_COUNT): Increase to 37.
3053         (_DL_HWCAP_LAST): New define.
3054         (_DL_HWCAP2_LAST): New define.
3055         (_dl_procinfo): Add support for printing
3056         AT_HWCAP2 entries.
3057         (_dl_string_hwcap): Use _dl_hwcap_string.
3059 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3063 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3065         * README: Do not mention ports directory.
3067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3068         Remove macro.
3069         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3070         <kernel-features.h>.
3071         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3072         conditional variable definition.
3073         (__futimes): Update comment.
3074         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3075         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3077         [BZ #16560]
3078         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3079         arguments close to 0.
3080         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3081         Likewise.
3082         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3083         Likewise.
3084         * math/auto-libm-test-in: Add more tests of exp10.
3085         * math/auto-libm-test-out: Regenerated.
3086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3088         * sysdeps/unix/sysv/linux/kernel-features.h
3089         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3090         * sysdeps/unix/sysv/linux/readv.c: Do not include
3091         <kernel-features.h>.
3092         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3093         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3094         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3095         unconditional.
3096         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3097         conditional code.
3098         * sysdeps/unix/sysv/linux/writev.c: Do not include
3099         <kernel-features.h>.
3100         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3101         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3102         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3103         unconditional.
3104         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3105         conditional code.
3107 2014-06-25  Will Newton  <will.newton@linaro.org>
3109         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3110         comment changes throughout the file.  Remove checks
3111         for HAVE_*_H definitions that are not required.
3112         (__gen_tempname): Call abort if an unknown kind value is
3113         passed.
3115 2014-06-25  Andreas Schwab  <schwab@suse.de>
3117         [BZ #17086]
3118         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3119         scalbln, scalblnf, scalblnl in libc.
3121 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3123         [BZ #17086]
3124         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3125         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3126         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3128 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3130         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3131         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3132         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3133         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3134         Update #include.
3135         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3136         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3137         Update #include.
3138         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3139         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3140         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3141         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3142         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3143         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3144         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3145         * sysdeps/x86/bits/semaphore.h: ... here.
3146         * sysdeps/x86/nptl/elide.h: Moved ...
3147         * sysdeps/x86/elide.h: ... here.
3148         * sysdeps/x86_64/nptl/Implies: File removed.
3149         * sysdeps/i386/nptl/Implies: File removed.
3151 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3153         [BZ #16539]
3154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3155         return the argument for normal arguments with exponent below -64.
3156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3157         Likewise.
3158         * math/auto-libm-test-in: Add another test of expm1.
3159         * math/auto-libm-test-out: Regenerated.
3161         [BZ #16287]
3162         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3163         calling __erfcl for arguments at least 16.
3164         * math/auto-libm-test-in: Add more tests of erf.
3165         * math/auto-libm-test-out: Regenerated.
3167         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3168         individual architectures.
3169         * sysdeps/unix/sysv/linux/configure: Regenerated.
3170         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3171         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3172         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3173         (ldd_rewrite_script): Define variable.
3174         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3176         file.
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3178         generated file.
3179         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3180         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3181         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3182         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3183         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3184         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3185         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3186         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3188 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3190         [BZ #17084]
3191         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3192         Rename member __data.d to __data.__elision_data.
3194 2014-06-24  Wilco  <wdijkstr@arm.com>
3196         * NEWS: Add 16918 to fixed bug list.
3198 2014-06-24  Wilco  <wdijkstr@arm.com>
3200         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3202 2014-06-24  Wilco  <wdijkstr@arm.com>
3204         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3205         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3206         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3207         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3208         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3209         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3210         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3211         Use _FPU_MASK_RM.
3213 2014-06-24  Wilco  <wdijkstr@arm.com>
3215         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3217 2014-06-24  Wilco  <wdijkstr@arm.com>
3219         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3220         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3221         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3222         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3224 2014-06-24  Wilco  <wdijkstr@arm.com>
3226         [BZ #16918]
3227         * sysdeps/arm/feupdateenv.c (feupdateenv):
3228         Rewrite to reduce FPSCR accesses and fix return value.
3230 2014-06-24  Wilco  <wdijkstr@arm.com>
3232         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3233         Optimize to avoid unnecessary FPSCR writes.
3234         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3235         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3236         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3237         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3239 2014-06-24  Wilco  <wdijkstr@arm.com>
3241         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3242         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3243         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3244         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3245         Call libc_fetestexcept_vfp.
3246         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3247         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3248         __SOFTFP__ ifdef so that they can be built for softfp.
3250 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3252         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3253         argument type signed char.
3255         * Makerules (check-abi): Dump diff of symlist if the test
3256         fails.
3258 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3260         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3261         using abort.
3263         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3264         Remove unused variable ST.
3266 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3268         [BZ #16354]
3269         [BZ #17061]
3270         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3271         small arguments before calling __expm1.
3272         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3273         small arguments before calling __expm1f.
3274         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3275         small arguments before calling __expm1l.
3276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3277         Likewise.
3278         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3279         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3280         spurious underflow for some cosh tests.
3281         * math/auto-libm-test-out: Regenerated.
3282         * sysdeps/i386/fpu/libm-test-ulps: Update.
3284         [BZ #17050]
3285         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3286         (__ieee754_y1): Set errno if return value overflows.
3287         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3288         (__ieee754_y1f): Set errno if return value overflows.
3289         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3290         (__ieee754_y1l): Set errno if return value overflows.
3291         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3292         (__ieee754_y1l): Set errno if return value overflows.
3293         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3294         * math/auto-libm-test-out: Regenerated.
3296         * math/gen-auto-libm-tests.c: Document use of
3297         ignore-zero-inf-sign.
3298         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3299         (input_flags): Add ignore-zero-inf-sign.
3300         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3301         * math/gen-libm-test.pl (generate_testfile): Handle
3302         ignore-zero-inf-sign.
3303         * math/auto-libm-test-in: Mark some cpow tests with
3304         ignore-zero-inf-sign and some with xfail-rounding.
3305         * math/auto-libm-test-out: Regenerated.
3306         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3307         * sysdeps/i386/fpu/libm-test-ulps: Update.
3308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3310         [BZ #16315]
3311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3312         overflowing or underflowing operations take place with sign of
3313         result.
3314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3315         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3316         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3317         (__ieee754_pow): Recompute overflowing and underflowing results in
3318         original rounding mode.
3319         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3320         (__powl_helper): Allow negative argument X and scale negated value
3321         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3322         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3323         overflowing or underflowing operations take place with sign of
3324         result.
3325         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3326         Include <math.h>.
3327         * math/auto-libm-test-in: Add more tests of pow.
3328         * math/auto-libm-test-out: Regenerated.
3329         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3330         (pow_tonearest_test_data): Remove.
3331         (pow_test_tonearest): Likewise.
3332         (pow_towardzero_test_data): Likewise.
3333         (pow_test_towardzero): Likewise.
3334         (pow_downward_test_data): Likewise.
3335         (pow_test_downward): Likewise.
3336         (pow_upward_test_data): Likewise.
3337         (pow_test_upward): Likewise.
3338         (main): Don't call removed functions.
3339         * sysdeps/i386/fpu/libm-test-ulps: Update.
3340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3342 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3345         Moved ...
3346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3348         Moved ...
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3351         Moved ...
3352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3354         Moved ...
3355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3357         File removed.
3358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3359         File removed.
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3361         File removed.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3363         File removed.
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3365         File removed.
3366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3367         File removed.
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3369         File removed.
3370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3371         File removed.
3372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3373         File removed.
3374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3375         File removed.
3376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3377         File removed.
3378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3379         File removed.
3380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3381         Moved ...
3382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3384         Moved ...
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3386         ... here.
3387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3388         Moved ...
3389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3391         Moved ...
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3394         Moved ...
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3397         Moved ...
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3400         Moved ...
3401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3403         Moved ...
3404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3406         Moved ...
3407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3410         ... here.
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3412         Moved ...
3413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3415         Moved ...
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3417         ... here.
3418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3419         Moved ...
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3421         ... here.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3423         Moved ...
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3425         ... here.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3427         Moved ...
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3430         Moved ...
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3435         Moved ...
3436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3437         ... here.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3439         Moved ...
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3441         ... here.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3443         Moved ...
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3446         Moved ...
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3449         Moved ...
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3452         Moved ...
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3455         Moved ...
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3457         ... here.
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3462         Moved ...
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3465         Moved ...
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3468         Moved ...
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3473         Moved ...
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3476         Moved ...
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3479         Moved ...
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3481         ... here.
3482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3483         Moved ...
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3485         ... here.
3486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3487         Moved ...
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3489         ... here.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3491         Moved ...
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3494         Moved ...
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3500         Moved ...
3501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3502         ... here.
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3504         Moved ...
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3506         ... here.
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3508         Moved ...
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3510         ... here.
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3512         Moved ...
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3518 2014-06-23  Will Newton  <will.newton@linaro.org>
3519             Wilco  <wdijkstr@arm.com>
3521         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3522         implementation.  Include get-rounding-mode.h.
3523         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3524         [!libc_feholdsetround_noex_ctx]: Define
3525         libc_feholdsetround_noex_ctx.
3526         [!libc_feholdsetround_noexf_ctx]: Define
3527         libc_feholdsetround_noexf_ctx.
3528         [!libc_feholdsetround_noexl_ctx]: Define
3529         libc_feholdsetround_noexl_ctx.
3530         (libc_feholdsetround_ctx): New function.
3531         (libc_feresetround_ctx): New function.
3532         (libc_feholdsetround_noex_ctx): New function.
3533         (libc_feresetround_noex_ctx): New function.
3535 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3537         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3538         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3539         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3540         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3541         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3542         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3544         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3545         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3546         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3547         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3548         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3549         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3551         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3553         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3555         Moved ...
3556         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3557         ... here.
3558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3559         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3560         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3561         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3563         Moved ...
3564         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3566         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3568         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3570         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3571         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3572         Moved ...
3573         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3575         Moved ...
3576         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3578         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3579         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3580         Moved ...
3581         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3583         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3585         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3586         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3587         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3589         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3591         Moved ...
3592         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3593         ... here.
3594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3607         Moved ...
3608         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3610         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3612         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3614         Moved ...
3615         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3619         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3621         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3622         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3623         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3624         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3625         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3626         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3627         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3628         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3630         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3631         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3632         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3633         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3634         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3635         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3636         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3637         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3638         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3640         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3642         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3650 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3653         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3654         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3655         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3656         (IPV6_PMTUDISC_INTERFACE): Likewise.
3657         (IPV6_PMTUDISC_OMIT): Likewise.
3659 2014-06-23  Andreas Schwab  <schwab@suse.de>
3661         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3662         Remove unused errout label.
3664 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3666         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3667         macro: hardware supports Vector Crypto instructions.
3669 2014-06-23  Will Newton  <will.newton@linaro.org>
3671         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3672         rather than __builtin_expect.
3674         * elf/dl-lookup.c (undefined_msg): Remove variable.
3675         (_dl_lookup_symbol_x): Replace undefined_msg with string
3676         literal.
3678         * elf/dl-lookup.c (do_lookup_unique): New function.
3679         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3680         to a separate function.
3682 2014-06-23  Andreas Schwab  <schwab@suse.de>
3684         [BZ #17079]
3685         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3686         before reading the next line.
3688 2014-06-23  Will Newton  <will.newton@linaro.org>
3690         * test-skeleton.c (signal_handler): Use printf and %m
3691         rather than perror.  Use printf rather than fprintf to
3692         stderr.  Use puts rather than fputs to stderr.
3693         (main): Likewise.
3695 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3697         * nscd/nscd.c (thread_info_t): Remove typedef.
3698         (thread_info): Remove variable.
3700 2014-06-21  Allan McRae  <allan@archlinux.org>
3702         * NEWS: Mention CVE-2014-4043.
3704 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3706         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3707         * nptl/smp.h: ... here.
3709         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3711         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3712         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3713         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3714         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3716         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3717         * nptl/stack-aliasing.h: New file.
3718         * sysdeps/i386/i686/stack-aliasing.h: New file.
3719         * sysdeps/i386/i686/nptl/Makefile: File removed.
3720         * sysdeps/x86_64/stack-aliasing.h: New file.
3721         * sysdeps/x86_64/nptl/Makefile
3722         (CFLAGS-pthread_create.c): Variable removed.
3724         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3725         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3726         old file.
3727         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3728         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3729         old file.
3731 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3734         (__ASSUME_SIGFRAME_V2): Remove macro.
3735         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3736         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3737         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3738         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3739         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3740         Declare as function.  Remove conditional macro definitions.
3741         (__default_rt_sa_restorer): Likewise.
3742         (__default_sa_restorer_v1): Remove declaration.
3743         (__default_sa_restorer_v2): Likewise.
3744         (__default_rt_sa_restorer_v1): Likewise.
3745         (__default_rt_sa_restorer_v2): Likewise.
3746         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3747         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3748         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3750 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3752         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3753         (libpthread-routines): Add sysdep.
3754         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3755         * sysdeps/unix/sysv/linux/sparc/Versions
3756         (libpthread: GLIBC_2.3.3): New version set.
3757         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3758         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3759         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3760         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3761         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3762         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3763         Moved ...
3764         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3766         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3767         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3768         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3769         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3770         * sysdeps/sparc/nptl/sem_init.c: ... here.
3771         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3772         * sysdeps/sparc/nptl/sem_post.c: ... here.
3773         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3774         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3775         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3776         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3777         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3778         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3779         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3780         (libpthread-routines): Add cpu_relax.
3781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3782         File removed.
3783         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3784         (librt: GLIBC_2.3.3): New version set.
3785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3786         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3787         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3788         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3791         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3793         Moved ...
3794         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3796         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3798         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3800         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3802         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3804         Moved ...
3805         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3806         Update #include.
3807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3808         Moved ...
3809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3810         Update #include.
3811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3812         Moved ...
3813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3814         Update #include.
3815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3816         Moved ...
3817         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3818         Update #include.
3819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3820         Moved ...
3821         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3822         Update #include.
3823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3824         Moved ...
3825         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3826         Update #include.
3827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3828         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3834         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3836         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3838         Moved ...
3839         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3841         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3843         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3845 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3847         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3848         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3849         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3850         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3851         * nscd/nscd.c: Likewise.
3852         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3853         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3854         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3855         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3857         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3858         <kernel-features.h>.
3859         (init_mq_netlink): Remove conditional have_sock_cloexec
3860         definitions.  Remove code conditional on have_sock_cloexec < 0.
3861         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3862         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3863         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3864         <kernel-features.h>.
3865         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3866         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3868 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3871         Add tests for memset_chk and memset.
3873         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3874         with AVX2_Usable.
3876 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3878         [BZ #16046]
3879         * elf/tst-dl-iter-static.c: New file.
3880         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3882         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3883         error.
3885 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3887         * sysdeps/unix/sysv/linux/kernel-features.h
3888         (__ASSUME_F_GETOWN_EX): Remove macro.
3889         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3890         <kernel-features.h>.
3891         (miss_F_GETOWN_EX): Remove variable or macro.
3892         (do_fcntl): Do not check miss_F_GETOWN_EX.
3893         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3895         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3896         Remove macro.
3897         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3898         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3899         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3901         * sysdeps/unix/sysv/linux/kernel-features.h
3902         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3903         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3904         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3905         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3907 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3909         [BZ #17075]
3910         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3911         Fix calculation of the symbol's value.
3912         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3913         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3914         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3915         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3916         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3917         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3918         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3919         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3920         (modules-names): Add `tst-armtlsdescmod',
3921         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3922         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3923         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3924         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3925         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3926         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3927         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3928         ($(objpfx)tst-armtlsdescloc): New dependency.
3929         ($(objpfx)tst-armtlsdescextnow): Likewise.
3930         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3931         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3932         TLS scheme support.
3933         * sysdeps/arm/configure: Regenerate.
3935 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3937         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3938         (__atfct_seterrno_2): Likewise.
3939         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3940         <kernel-features.h>.
3941         (__ASSUME_ATFCTS): Do not undefine and redefine.
3942         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3943         (__have_atfcts): Remove conditional definition.
3944         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3945         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3946         unreachable if [__ASSUME_ATFCTS].
3947         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3948         not undefine and redefine.
3949         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3950         <kernel-features.h>.
3951         (faccessat) [__NR_faccessat]: Make code unconditional.
3952         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3953         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3954         <kernel-features.h>.
3955         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3956         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3957         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3958         <kernel-features.h>.
3959         (fchownat) [__NR_fchownat]: Make code unconditional.
3960         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3961         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3962         <kernel-features.h>.
3963         (futimesat) [__NR_futimesat]: Make code unconditional.
3964         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3965         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3966         <kernel-features.h>.
3967         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3968         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3969         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3970         <kernel-features.h>.
3971         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3972         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3973         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3974         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3975         <kernel-features.h>.
3976         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3977         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3978         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3979         <kernel-features.h>.
3980         (linkat) [__NR_linkat]: Make code unconditional.
3981         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3982         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3983         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3984         <kernel-features.h>.
3985         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3986         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3987         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3988         <kernel-features.h>.
3989         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3990         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3991         * sysdeps/unix/sysv/linux/openat.c: Do not include
3992         <kernel-features.h>.
3993         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3994         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3995         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3996         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3997         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3998         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3999         <kernel-features.h>.
4000         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4001         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4002         result of INLINE_SYSCALL directly, not via int variable.
4003         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4004         <kernel-features.h>.
4005         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4006         (renameat) [__NR_renameat]: Make code unconditional.
4007         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4008         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4009         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4010         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4011         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4012         (__ASSUME_ATFCTS): Do not undefine and redefine.
4013         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4014         <kernel-features.h>.
4015         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4016         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4017         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4018         <kernel-features.h>.
4019         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4020         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4021         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4022         (__ASSUME_ATFCTS): Do not undefine and redefine.
4023         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4024         <kernel-features.h>.
4025         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4026         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4027         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4028         <kernel-features.h>.
4029         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4030         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4032 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4034         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4036 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4038         [BZ #17069]
4039         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4040         constructed tree before returning error.
4041         * posix/bug-regexp36.c: Expand test case.
4043 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4045         [BZ #6803]
4046         * math/libm-test.inc (scalbln_test_date):
4047         Add errno expectations.
4048         * math/w_scalblnf.c: New File.
4049         Add wrapper which checks for setting errno to ERANGE.
4050         Add weak_alias for corresponding scalbln function.
4051         * math/w_scalbln.c: Likewise.
4052         * math/w_scalblnl.c: Likewise.
4053         * math/Makefile (libm-calls): Add w_scalbln.
4054         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4055         Remove weak_alias for corresponding scalbln function.
4056         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4057         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4058         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4059         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4060         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4061         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4062         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4063         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4064         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4065         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4066         Remove long_double_symbol for scalblnl function in libm, libc.
4067         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4068         Add wrapper which checks for setting errno to ERANGE.
4069         Add long_double_symbol for scalblnl function in libm, libc.
4070         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4071         Remove long_double_symbol for scalblnl in libm.
4072         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4073         Add wrapper which checks for setting errno to ERANGE.
4074         Add long_double_symbol for scalblnl function in libm.
4075         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4076         Do not use wrapper because of own implementation.
4078 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4080         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4081         3 bytes for __pad1 for x32.
4082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4084 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4085             H.J. Lu  <hongjiu.lu@intel.com>
4087         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4088         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4089         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4090         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4091         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4093 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4095         [BZ #17069]
4096         * posix/regcomp.c (parse_expression): Deallocate partially
4097         constructed tree before returning error.
4098         * posix/Makefile.c (tests): Add bug-regex36.
4099         (generated): Add bug-regex36.mtrace.
4100         (tests-special): Add $(objpfx)bug-regex36-mem.out
4101         (bug-regex36-ENV): New variable.
4102         ($(objpfx)bug-regex36-mem.out): New rule.
4103         * posix/bug-regex36.c: New file.
4105 2014-06-19  Will Newton  <will.newton@linaro.org>
4107         * malloc/malloc.c (systrim): If extra is zero then return
4108         early.
4110 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4112         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4114 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4116         * sysdeps/aarch64/strchr.S: New file.
4118 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4120         [BZ #17022]
4121         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4122         from arguments -2 or below.
4123         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4124         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4126 2014-06-18  Andreas Schwab  <schwab@suse.de>
4128         [BZ #17062]
4129         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4130         of a bracket expr not to run off the end of the string.
4131         * posix/Makefile (tests): Add tst-fnmatch3.
4132         * posix/tst-fnmatch3.c: New file.
4134 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4136         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4137         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4138         [$(cross-compiling) = no]: Likewise.
4139         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4140         [$(cross-compiling) = no]: Likewise.
4142 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4144         [BZ #17031]
4145         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4146         double, adjusted for any remainder from the high double.
4147         * math/libm-test.inc (nearbyint): Add tests.
4148         (rint): Likewise.
4150 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4152         * nptl/sysdeps/powerpc/Makefile: Moved ...
4153         * sysdeps/powerpc/nptl/Makefile: ... here.
4154         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4155         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4156         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4157         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4158         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4159         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4160         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4161         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4162         * nptl/sysdeps/powerpc/tls.h: Moved ...
4163         * sysdeps/powerpc/nptl/tls.h: ... here.
4165 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4167         [BZ #16681]
4168         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4169         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4170         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4171         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4172         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4173         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4174         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4175         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4176         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4178 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4180         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4182 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4184         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4185         defined operator.
4187         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4188         $TIMEOUTFACTOR.
4190 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4192         [BZ #17058]
4193         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4194         non-executed part of the test.
4196 2014-06-16  Andreas Schwab  <schwab@suse.de>
4198         * string/bits/string2.h (strdup, strndup): Update feature guard.
4200 2014-06-14  David S. Miller  <davem@davemloft.net>
4202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4204 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4206         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4207         that was previously under [RESET_PID].
4208         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4210         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4211         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4212         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4213         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4214         (__libc_vfork): New strong alias.
4215         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4217 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4219         * sysdeps/generic/elide.h: New file.
4221 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4223         * Makefile (installed-headers): Adjust path of pthread.h header.
4225 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4227         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4228         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4230         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4232         * nptl/sysdeps/s390/Makefile: Moved ...
4233         * sysdeps/s390/nptl/Makefile: ... here.
4234         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4235         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4236         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4237         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4238         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4239         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4240         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4241         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4242         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4243         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4244         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4245         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4246         * nptl/sysdeps/s390/tls.h: Moved ...
4247         * sysdeps/s390/nptl/tls.h: ... here.
4249         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4250         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4252 2014-06-13  David S. Miller  <davem@davemloft.net>
4254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4257         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4261         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4262         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4263         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4264         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4265         Remove RESET_PID cpp guards.
4266         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4267         Remove RESET_PID cpp guards.
4268         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4270 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4272         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4273         __sp to uintptr_t.
4275 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4277         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4279         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4283         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4284         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4286         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4293         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4298         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4299         (pthread_rwlock_rdlock): Add elision.
4300         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4301         (pthread_rwlock_wrlock): Add elision.
4302         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4303         (pthread_rwlock_trywrlock): Add elision.
4304         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4305         (pthread_rwlock_tryrdlock): Add elision.
4306         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4307         (pthread_rwlock_tryrdlock): Add elision unlock.
4308         * nptl/sysdeps/pthread/pthread.h:
4309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4310         (PTHREAD_RWLOCK_INITIALIZER,
4311         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4312         Handle new elision field.
4313         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4314         * sysdeps/arm/nptl/bits/pthreadtypes.h
4315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4316         * sysdeps/sh/nptl/bits/pthreadtypes.h
4317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4318         * sysdeps/tile/nptl/bits/pthreadtypes.h
4319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4320         * sysdeps/a/nptl/bits/pthreadtypes.h
4321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4322         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4324         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4326         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4328         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4330         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4332         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4334         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4336         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4338         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4339         (elision_init): Set try_xbegin to zero when no RTM.
4340         * sysdeps/x86/nptl/bits/pthreadtypes.h
4341         (pthread_rwlock_t): Change __pad1 to __rwelision.
4342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4344 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4346         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4347         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4348         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4349         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4351 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4353         [BZ #16996]
4354         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4355         that the cached result has been set before returning it.
4357 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4359         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4360         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4362         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4364         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4366         * nptl/sysdeps/sparc/Makefile: Moved ...
4367         * sysdeps/sparc/nptl/Makefile: ... here.
4368         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4369         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4370         * nptl/sysdeps/sparc/tls.h: Moved ...
4371         * sysdeps/sparc/nptl/tls.h: ... here.
4372         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4373         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4374         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4375         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4376         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4377         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4378         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4379         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4380         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4381         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4382         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4383         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4384         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4385         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4386         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4387         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4388         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4389         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4390         Update #include.
4391         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4392         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4393         Update #include.
4394         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4395         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4396         Update #include.
4397         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4399         Update #include.
4401         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4403         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4404         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4406         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4407         (struct list_links): Type removed.
4408         (struct thread_node, struct timer_node): Replace struct list_links
4409         with struct list_head.
4410         (list_unlink_ip): Likewise.
4411         * sysdeps/pthread/timer_routines.c
4412         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4413         (list_append, list_insbefore): Likewise.
4414         (list_init): Function removed.
4415         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4416         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4417         * sysdeps/pthread/Makefile: ... here, new file.
4419         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4420         * sysdeps/nptl/Implies: ... here.
4421         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4422         * nptl/sysdeps/pthread/list.h: Moved ...
4423         * include/list.h: ... here.
4424         * nptl/sysdeps/pthread/createthread.c: Moved ...
4425         * nptl/createthread.c: ... here.
4426         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4427         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4428         * nptl/pt-longjmp.c: ... here.
4429         * nptl/sysdeps/pthread/Makefile: Moved ...
4430         * sysdeps/nptl/Makefile: ... here.
4431         * nptl/sysdeps/pthread/Subdirs: Moved ...
4432         * sysdeps/nptl/Subdirs: ... here.
4433         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4434         * sysdeps/nptl/aio_misc.h: ... here.
4435         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4436         * sysdeps/nptl/bits/libc-lock.h: ... here.
4437         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4438         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4439         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4440         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4441         * nptl/sysdeps/pthread/configure: Moved ...
4442         * sysdeps/nptl/configure: ... here.
4443         * nptl/sysdeps/pthread/configure.ac: Moved ...
4444         * sysdeps/nptl/configure.ac: ... here.
4445         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4446         * sysdeps/nptl/gai_misc.h: ... here.
4447         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4448         * sysdeps/nptl/librt-cancellation.c: ... here.
4449         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4450         * sysdeps/nptl/malloc-machine.h: ... here.
4451         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4452         * sysdeps/nptl/pthread-functions.h: ... here.
4453         * nptl/sysdeps/pthread/pthread.h: Moved ...
4454         * sysdeps/nptl/pthread.h: ... here.
4455         * nptl/sysdeps/pthread/setxid.h: Moved ...
4456         * sysdeps/nptl/setxid.h: ... here.
4457         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4458         * sysdeps/nptl/sigfillset.c: ... here.
4459         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4460         * sysdeps/nptl/tcb-offsets.h: ... here.
4461         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4462         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4463         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4464         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4465         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4466         * sysdeps/pthread/allocalim.h: ... here.
4467         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4468         * sysdeps/pthread/bits/sigthread.h: ... here.
4469         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4470         * sysdeps/pthread/flockfile.c: ... here.
4471         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4472         * sysdeps/pthread/ftrylockfile.c: ... here.
4473         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4474         * sysdeps/pthread/funlockfile.c: ... here.
4475         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4476         * sysdeps/pthread/posix-timer.h: ... here.
4477         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4478         * sysdeps/pthread/timer_create.c: ... here.
4479         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4480         * sysdeps/pthread/timer_delete.c: ... here.
4481         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4482         * sysdeps/pthread/timer_getoverr.c: ... here.
4483         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4484         * sysdeps/pthread/timer_gettime.c: ... here.
4485         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4486         * sysdeps/pthread/timer_routines.c: ... here.
4487         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4488         * sysdeps/pthread/timer_settime.c: ... here.
4489         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4490         * sysdeps/pthread/tst-timer.c: ... here.
4491         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4492         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4494         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4495         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4497         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4498         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4499         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4500         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4501         Update #include target.
4502         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4503         * sysdeps/i386/i686/nptl/Makefile: ... here.
4504         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4505         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4506         Update #include target.
4507         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4508         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4509         * nptl/sysdeps/i386/Makefile: Moved ...
4510         * sysdeps/i386/nptl/Makefile: ... here.
4511         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4512         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4513         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4514         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4515         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4516         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4517         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4518         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4519         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4520         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4521         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4522         * nptl/sysdeps/i386/tls.h: Moved ...
4523         * sysdeps/i386/nptl/tls.h: ... here.
4525         * sysdeps/sh/Makefile [$(subdir) = csu]
4526         (gen-as-const-headers): Add tcb-offsets.sym.
4527         * nptl/sysdeps/sh/Makefile: File removed.
4528         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4529         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4530         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4531         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4532         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4533         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4534         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4535         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4536         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4537         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4538         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4539         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4540         * nptl/sysdeps/sh/tls.h: Moved ...
4541         * sysdeps/sh/nptl/tls.h: ... here.
4542         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4543         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4544         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4545         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4546         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4547         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4548         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4549         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4550         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4551         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4552         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4553         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4555         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4556         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4557         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4559         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4561         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4563         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4564         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4565         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4566         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4567         Moved ...
4568         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4570         Moved ...
4571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4573         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4574         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4575         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4576         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4577         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4578         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4579         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4580         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4581         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4582         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4583         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4584         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4585         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4586         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4587         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4588         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4589         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4591 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4593         * posix/spawn_faction_addopen.c: Include string.h.
4595 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4597         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4598         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4599         * nptl/sysdeps/x86_64/Makefile: Moved ...
4600         * sysdeps/x86_64/nptl/Makefile: ... here.
4601         * nptl/sysdeps/x86_64/configure: Moved ...
4602         * sysdeps/x86_64/nptl/configure: ... here.
4603         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4604         * sysdeps/x86_64/nptl/configure.ac: ... here.
4605         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4606         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4607         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4608         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4609         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4610         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4611         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4612         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4613         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4614         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4615         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4616         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4617         * nptl/sysdeps/x86_64/tls.h: Moved ...
4618         * sysdeps/x86_64/nptl/tls.h: ... here.
4619         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4620         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4621         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4622         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4624         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4626 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4630 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4632         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4633         type.
4634         [POSIX] (off_t): Likewise.
4635         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4636         [POSIX] (S_ISBLK): Require macro.
4637         [POSIX] (S_ISCHR): Likewise.
4638         [POSIX] (S_ISDIR): Likewise.
4639         [POSIX] (S_ISFIFO): Likewise.
4640         [POSIX] (S_ISREG): Likewise.
4641         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4642         optional-macro.
4643         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4644         type.
4645         [POSIX] (time_t): Likewise.
4646         [POSIX] (timer_t): Likewise.
4648 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4650         [BZ #17048]
4651         * posix/spawn_int.h (struct __spawn_action): Make the path string
4652         non-const to support deallocation.
4653         * posix/spawn_faction_addopen.c
4654         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4655         * posix/spawn_faction_destroy.c
4656         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4657         path in all spawn_do_open actions.
4658         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4659         posix_spawn_file_actions_addopen.
4661 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4663         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4664         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4665         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4666         conditional code always true.
4667         (__libc_vfork): New alias.
4669 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4671         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4672         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4674         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4676         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4677         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4679         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4680         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4682         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4683         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4685 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4687         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4688         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4689         multiarch strcmp for PPC64.
4690         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4691         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4693         multiarch optimizations.
4694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4695         (__libc_ifunc_impl_list): Likewise.
4697 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4699         * benchtests/scripts/validate_benchout.py: New script.
4700         * benchtests/Makefile (bench-func): Call it.
4701         * benchtests/scripts/benchout.schema.json: New file.
4703 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4705         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4706         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4707         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4708         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4709         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4710         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4711         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4712         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4713         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4714         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4715         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4716         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4717         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4718         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4719         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4720         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4722         Moved ...
4723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4724         ... here.
4725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4726         Moved ...
4727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4729         Moved ...
4730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4731         ... here.
4732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4733         Moved ...
4734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4735         ... here.
4736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4737         Moved ...
4738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4740         Moved ...
4741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4742         ... here.
4743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4744         Moved ...
4745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4746         ... here.
4747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4748         Moved ...
4749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4751         Moved ...
4752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4753         ... here.
4754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4755         Moved ...
4756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4757         ... here.
4758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4759         Moved ...
4760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4761         ... here.
4762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4763         Moved ...
4764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4766         Moved ...
4767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4768         ... here.
4769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4770         Moved ...
4771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4772         ... here.
4773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4774         Moved ...
4775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4776         ... here.
4777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4778         Moved ...
4779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4781         Moved ...
4782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4783         ... here.
4784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4785         Moved ...
4786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4787         ... here.
4788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4789         Moved ...
4790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4792         Moved ...
4793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4794         ... here.
4795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4796         Moved ...
4797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4799         Moved ...
4800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4802         Moved ...
4803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4804         ... here.
4805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4806         Moved ...
4807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4808         ... here.
4809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4810         Moved ...
4811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4812         ... here.
4813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4814         Moved ...
4815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4817         Moved ...
4818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4819         ... here.
4820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4821         Moved ...
4822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4823         ... here.
4824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4825         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4827         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4829         Moved ...
4830         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4831         ... here.
4832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4833         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4835         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4837         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4839         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4841         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4842         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4843         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4845         Moved ...
4846         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4848         Moved ...
4849         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4851         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4852         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4853         Moved ...
4854         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4856         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4857         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4858         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4859         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4860         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4862 2014-06-10  Wilco  <wdijkstr@arm.com>
4864         * math/test-fenv-return.c: New file.
4865         * math/Makefile: Add new test test-fenv-return.
4867 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4869         [BZ #17042]
4870         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4871         when x - 1 is zero.
4872         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4873         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4874         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4875         0.0L for an argument of 1.0L.
4876         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4877         Likewise.
4878         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4879         value when x - 1 is zero.
4880         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4881         * sysdeps/i386/fpu/libm-test-ulps: Update.
4882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4884 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4886         [BZ #15119]
4887         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4889 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4891         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4892         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4894 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4896         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4897         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4899         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4900         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4902         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4903         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4905         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4906         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4908         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4909         if not already defined.
4910         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4911         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4912         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4913         (TLS_INIT_TP): Use it.
4914         (TLS_DEFINE_INIT_TP): New macro.
4915         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4917 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4919         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4920         constant.
4921         [POSIX] (IXANY): Likewise.
4922         [POSIX] (OLCUC): Likewise.
4923         [POSIX || POSIX2008] (CBAUD): Do not allow.
4924         [POSIX || POSIX2008] (DEFECHO): Likewise.
4925         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4926         [POSIX || POSIX2008] (ECHOKE): Likewise.
4927         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4928         [POSIX || POSIX2008] (EXTA): Likewise.
4929         [POSIX || POSIX2008] (EXTB): Likewise.
4930         [POSIX || POSIX2008] (FLUSHO): Likewise.
4931         [POSIX || POSIX2008] (LOBLK): Likewise.
4932         [POSIX || POSIX2008] (PENDIN): Likewise.
4933         [POSIX || POSIX2008] (SWTCH): Likewise.
4934         [POSIX || POSIX2008] (VDISCARD): Likewise.
4935         [POSIX || POSIX2008] (VDSUSP): Likewise.
4936         [POSIX || POSIX2008] (VLNEXT): Likewise.
4937         [POSIX || POSIX2008] (VREPRINT): Likewise.
4938         [POSIX || POSIX2008] (VSTATUS): Likewise.
4939         [POSIX || POSIX2008] (VWERASE): Likewise.
4940         (B*): Change to B[0123456789]*.
4941         * conform/data/time.h-data [POSIX || UNIX98]
4942         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4943         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4944         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4945         [POSIX] (tm_*): Do not allow.
4947 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4949         * Makefile (install): Don't set LANGUAGE.
4950         * Makefile.in (install): Likewise.
4951         * assert/Makefile (test-assert-ENV): Remove variable.
4952         (test-assert-perr-ENV): Likewise.
4953         * elf/Makefile (neededtest4-ENV): Likewise.
4954         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4955         [$(cross-compiling) = no]: Don't set LANGUAGE.
4956         * io/ftwtest-sh (LANG): Remove variable.
4957         * libio/Makefile (tst-widetext-ENV): Likewise.
4958         * manual/install.texi (Running make install): Don't refer to
4959         environment settings for make install.
4960         * INSTALL: Regenerated.
4961         * nptl/tst-tls6.sh: Don't set LANG.
4962         * posix/globtest.sh (LANG): Remove variable.
4963         * string/Makefile (tester-ENV): Likewise.
4964         (inl-tester-ENV): Likewise.
4965         (noinl-tester-ENV): Likewise.
4966         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4967         [$(cross-compiling) = no]: Don't set LANGUAGE.
4968         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4969         without explicit environment settings.
4971 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4973         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4974         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4975         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4976         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4978 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4980         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4981         other files in the crypt directory.
4982         * crypt/crypt.c: Remove duplicate includes.
4983         * crypt/crypt-entry.c: Likewise.
4984         * crypt/crypt_util.c: Likewise.
4986 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4988         * Makeconfig (run-program-env): New variable.
4989         (run-program-prefix-before-env): Likewise.
4990         (run-program-prefix-after-env): Likewise.
4991         (run-program-prefix): Define in terms of new variables.
4992         (built-program-cmd-before-env): New variable.
4993         (built-program-cmd-after-env): Likewise.
4994         (built-program-cmd): Define in terms of new variables.
4995         (test-program-prefix-before-env): New variable.
4996         (test-program-prefix-after-env): Likewise.
4997         (test-program-prefix): Define in terms of new variables.
4998         (test-program-cmd-before-env): New variable.
4999         (test-program-cmd-after-env): Likewise.
5000         (test-program-cmd): Define in terms of new variables.
5001         * Rules (make-test-out): Use $(run-program-env).
5002         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5003         (help): Do not mention environment variables.  Mention
5004         --timeoutfactor option.
5005         (timeoutfactor): New variable.
5006         (blacklist_exports): Remove function.
5007         (exports): Remove variable.
5008         (command): Do not include ${exports}.
5009         * manual/install.texi (Configuring and compiling): Do not mention
5010         test wrappers preserving environment variables.  Mention that last
5011         assignment to a variable must take precedence.
5012         * INSTALL: Regenerated.
5013         * benchtests/Makefile (run-bench): Use $(run-program-env).
5014         * catgets/Makefile ($(objpfx)test1.cat): Use
5015         $(built-program-cmd-before-env), $(run-program-env) and
5016         $(built-program-cmd-after-env).
5017         ($(objpfx)test2.cat): Do not specify environment variables
5018         explicitly.
5019         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5020         $(run-program-env) and $(built-program-cmd-after-env).
5021         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5022         $(run-program-env) and $(test-program-cmd-after-env).
5023         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5024         explicitly.
5025         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5026         run_program_env and test_program_cmd_after_env arguments.
5027         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5028         * elf/tst-pathopt.sh: Use run_program_env argument.
5029         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5030         $(test-wrapper-env) and $(run-program-env).
5031         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5032         run_program_env arguments.
5033         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5034         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5035         $(test-program-prefix-before-env), $(run-program-env) and
5036         $(test-program-prefix-after-env).
5037         ($(objpfx)tst-gettext2.out): Likewise.
5038         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5039         run_program_env and test_program_prefix_after_env arguments.
5040         * intl/tst-gettext2.sh: Likewise.
5041         * intl/tst-gettext4.sh: Do not set environment variables
5042         explicitly.
5043         * intl/tst-gettext6.sh: Likewise.
5044         * intl/tst-translit.sh: Likewise.
5045         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5046         $(test-program-prefix-before-env), $(run-program-env) and
5047         $(test-program-prefix-after-env).
5048         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5049         run_program_env and test_program_prefix_after_env arguments.
5050         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5051         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5052         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5053         explicitly with each use of ${test_wrapper_env}.
5054         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5055         $(test-program-prefix-before-env), $(run-program-env) and
5056         $(test-program-prefix-after-env).
5057         * posix/tst-getconf.sh: Do not set environment variables
5058         explicitly.
5059         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5060         run_program_env and test_program_prefix_after_env arguments.
5061         * stdio-common/tst-printf.sh: Do not set environment variables
5062         explicitly.
5063         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5064         $(test-program-prefix-before-env), $(run-program-env) and
5065         $(test-program-prefix-after-env).
5066         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5067         run_program_env and test_program_prefix_after_env arguments.
5068         Split $test calls into $test_pre and $test.
5069         * timezone/Makefile (build-testdata): Use
5070         $(built-program-cmd-before-env), $(run-program-env) and
5071         $(built-program-cmd-after-env).
5073 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5075         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5076         strlen for non SHARED builds.
5078 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5080         * nptl/allocatestack.c (check_list): Inlined function...
5081         (__reclaim_stacks): ... here.
5083 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5085         [BZ #15698]
5086         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5087         memory overrun.
5089 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5091         * Rules (make-test-out): Include
5092         LOCPATH=$(common-objpfx)localedata in default environment.
5093         * debug/Makefile (tst-chk1-ENV): Remove variable.
5094         (tst-chk2-ENV): Likewise.
5095         (tst-chk3-ENV): Likewise.
5096         (tst-chk4-ENV): Likewise.
5097         (tst-chk5-ENV): Likewise.
5098         (tst-chk6-ENV): Likewise.
5099         (tst-lfschk1-ENV): Likewise.
5100         (tst-lfschk2-ENV): Likewise.
5101         (tst-lfschk3-ENV): Likewise.
5102         (tst-lfschk4-ENV): Likewise.
5103         (tst-lfschk5-ENV): Likewise.
5104         (tst-lfschk6-ENV): Likewise.
5105         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5106         (tst-iconv7-ENV): Likewise.
5107         * intl/Makefile (LOCPATH-ENV): Likewise.
5108         (tst-codeset-ENV): Likewise.
5109         (tst-gettext3-ENV): Likewise.
5110         (tst-gettext5-ENV): Likewise.
5111         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5112         (tst-fopenloc-ENV): Likewise.
5113         (tst-fgetws-ENV): Remove variable.
5114         (tst-ungetwc1-ENV): Likewise.
5115         (tst-ungetwc2-ENV): Likewise.
5116         (bug-ungetwc2-ENV): Likewise.
5117         (tst-swscanf-ENV): Likewise.
5118         (bug-ftell-ENV): Likewise.
5119         (tst-fgetwc-ENV): Likewise.
5120         (tst-fseek-ENV): Likewise.
5121         (tst-ftell-partial-wide-ENV): Likewise.
5122         (tst-ftell-active-handler-ENV): Likewise.
5123         (tst-ftell-append-ENV): Likewise.
5124         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5125         (tst-regexloc-ENV): Likewise.
5126         (bug-regex1-ENV): Likewise.
5127         (tst-regex-ENV): Likewise.
5128         (tst-regex2-ENV): Likewise.
5129         (bug-regex5-ENV): Likewise.
5130         (bug-regex6-ENV): Likewise.
5131         (bug-regex17-ENV): Likewise.
5132         (bug-regex18-ENV): Likewise.
5133         (bug-regex19-ENV): Likewise.
5134         (bug-regex20-ENV): Likewise.
5135         (bug-regex22-ENV): Likewise.
5136         (bug-regex23-ENV): Likewise.
5137         (bug-regex25-ENV): Likewise.
5138         (bug-regex26-ENV): Likewise.
5139         (bug-regex30-ENV): Likewise.
5140         (bug-regex32-ENV): Likewise.
5141         (bug-regex33-ENV): Likewise.
5142         (bug-regex34-ENV): Likewise.
5143         (bug-regex35-ENV): Likewise.
5144         (tst-rxspencer-ENV): Likewise.
5145         (tst-rxspencer-no-utf8-ENV): Likewise.
5146         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5147         (tst-sscanf-ENV): Likewise.
5148         (tst-swprintf-ENV): Likewise.
5149         (tst-swscanf-ENV): Likewise.
5150         (test-vfprintf-ENV): Likewise.
5151         (scanf13-ENV): Likewise.
5152         (bug14-ENV): Likewise.
5153         (tst-grouping-ENV): Likewise.
5154         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5155         (tst-strtod3-ENV): Likewise.
5156         (tst-strtod4-ENV): Likewise.
5157         (tst-strtod5-ENV): Likewise.
5158         (testmb2-ENV): Likewise./
5159         * string/Makefile (tst-strxfrm-ENV): Likewise.
5160         (tst-strxfrm2-ENV): Likewise.
5161         (bug-strcoll1-ENV): Likewise.
5162         (test-strcasecmp-ENV): Likewise.
5163         (test-strncasecmp-ENV): Likewise.
5164         * time/Makefile (tst-strptime-ENV): Likewise.
5165         (tst-ftime_l-ENV): Likewise.
5166         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5167         (tst-mbrtowc-ENV): Likewise.
5168         (tst-wcrtomb-ENV): Likewise.
5169         (tst-mbrtowc2-ENV): Likewise.
5170         (tst-c16c32-1-ENV): Likewise.
5171         (tst-mbsnrtowcs-ENV): Likewise.
5173 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5175         * manual/resource.texi (How to get information about the memory
5176         subsystem?): Fix typo.
5177         Reported by Peon de la Parra Ivan <peon@keba.com>
5179 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5181         [BZ #16882]
5182         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5183         (pthread_spin_lock): Branch out of spin loop to proper location.
5184         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5185         (pthread_spin_lock): Likewise.
5187         * nptl/tst-spin4.c: New test.
5188         * nptl/Makefile (tests): Add tst-spin4.
5190 2014-06-03  Andreas Schwab  <schwab@suse.de>
5192         [BZ #15946]
5193         * resolv/res_send.c (send_dg): Reload file descriptor after
5194         calling reopen.
5196 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5198         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5200 2014-06-03  Richard Henderson  <rth@redhat.com>
5202         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5203         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5204         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5205         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5206         in the SAVE_PID block.
5207         (__libc_vfork): New alias.
5208         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5210         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5211         child in registers, not on the stack.  Remove RESET_PID conditionals.
5212         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5214 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5216         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5218 2014-06-03  Wilco  <wdijkstr@arm.com>
5220         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5221         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5222         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5223         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5224         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5225         Likewise.
5227 2014-06-03  Wilco  <wdijkstr@arm.com>
5229         * sysdeps/aarch64/fpu/math_private.h
5230         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5231         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5232         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5233         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5234         Fix declarations.
5236 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5238         * crypt/crypt-private.h: Include ufc-crypt.h.
5239         (__b64_from_24bit): Declare extern.
5240         * crypt/crypt_util.c(__b64_from_24bit): New function.
5241         (b64t): New static const variable.
5242         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5243         (b64t): Remove variable.
5244         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5245         * crypt/sha256-crypt.c: Include crypt-private.h.
5246         (b64t): Remove variable.
5247         (__sha256_crypt_r): Remove b64_from_24bit and replace
5248         with __b64_from_24bit.
5249         * crypt/sha512-crypt.c: Likewise.
5251 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5253         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5254         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5255         Label the code __libc_vfork rather than __vfork.
5256         [!NOT_IN_libc] (vfork): Define as weak alias.
5257         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5258         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5259         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5261 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5263         * malloc/malloc.c (malloc_info): Fix format specifier for
5264         n_mmaps.
5266 2014-06-02  Wilco  <wdijkstr@arm.com>
5268         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5269         FPCR write.
5271 2014-06-02  Wilco  <wdijkstr@arm.com>
5273         [BZ #17009]
5274         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5275         Rewrite to reduce FPCR/FPSR accesses.
5277 2014-06-01  David S. Miller  <davem@davemloft.net>
5279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5281 2014-05-31  David S. Miller  <davem@davemloft.net>
5283         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5284         to occur in round to nearest mode when |x| >= 2.0
5286 2014-05-30  Richard Henderson  <rth@twiddle.net>
5288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5289         (PSEUDO_RET_NOERRNO): Remove.
5290         (ret): Don't redefine.
5291         (ret_NOERRNO): Define in terms of ret.
5292         (ret_ERRVAL): Likewise.
5294         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5295         use of PSEUDO_RET; perform the error check directly.
5297 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5299         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5300         with __int128_t.
5302 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         * malloc/malloc (malloc_info): Fix formatting.
5306 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5307             Roland McGrath  <roland@hack.frob.com>
5309         * malloc/malloc (malloc_info): Also print mmapped statistics.
5311 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5313         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5314         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5316 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5318         * malloc/malloc.c (malloc_info): Inline mi_arena.
5320 2014-05-29  Richard Henderson  <rth@twiddle.net>
5322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5323         Remove comma before expanding ASM_ARGS_##nr.
5324         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5325         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5326         of ASM_ARGS_##nr.
5327         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5328         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5329         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5330         (ASM_ARGS_1): Add leading comma.
5332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5333         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5334         to __errno_location.
5335         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5336         Remove the expected plt for __errno_location.
5338         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5339         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5340         call to __read_tp.
5342         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5343         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5344         it and break it down.
5345         (DOCARGS_0, DOCARGS_1): Do nothing.
5346         (DOCARGS_2): Update to store into the new stack frame.
5347         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5348         (UNDOCARGS_1): Update to restore from the new stack frame.
5349         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5350         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5353         (SINGLE_THREAD_P): New parameter for result regno.
5354         (PSEUDO): Update to match; use cbz instead of beq.
5356         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5357         Use ENTRY to define the _nocancel entry point.  Share the syscall
5358         and syscall error check paths with the cancel path.
5359         (PSEUDO_END): New.
5361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5362         whitespace; tabs before and after asm mnemonics.
5364 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5366         [BZ #15132]
5367         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5368         Call fstat64 or stat64 internally, depending on arguments passed.
5369         Replace stat buffer argument with file descriptor argument.
5370         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5371         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5372         Pass fd to __internal_statvfs instead of calling fstat64.
5373         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5374         Pass fd to __internal_statvfs64 instead of calling fstat64.
5375         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5376         Pass -1 to __internal_statvfs instead of calling stat64.
5377         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5378         Pass -1 to __internal_statvfs64 instead of calling stat64.
5380 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5382         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5383         that was previously under [RESET_PID].
5384         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5386         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5387         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5389 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5391         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5393         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5394         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5396 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5398         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5400 2014-05-27  Andreas Schwab  <schwab@suse.de>
5402         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5403         TLS_INIT_TP macro.
5404         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5405         * elf/rtld.c (init_tls, dl_main): Likewise.
5406         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5407         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5408         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5409         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5410         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5411         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5412         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5413         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5414         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5415         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5416         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5417         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5418         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5419         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5420         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5421         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5422         * sysdeps/generic/tls.h: Update description.
5424 2014-05-27  Will Newton  <will.newton@linaro.org>
5426         [BZ #16990]
5427         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5428         and restore r2 rather than just restoring.
5430 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5432         [BZ #16724]
5433         * libio/tst-ftell-append.c: New test case.
5434         * libio/Makefile (tests): Add test case.
5435         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5436         append mode.
5437         * libio/wfileops.c (do_ftell_wide): Likewise.
5439 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5443         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5444         ...
5445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5447         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5448         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5449         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5450         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5451         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5452         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5454         Moved ...
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5457         Moved ...
5458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5459         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5460         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5461         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5462         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5463         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5464         ...
5465         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5466         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5467         Moved ...
5468         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5469         here.
5470         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5471         ...
5472         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5473         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5474         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5476         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5477         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5478         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5479         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5482         merge into ...
5483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5485         ...
5486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5488         ...
5489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5491         Moved ...
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5493         here.
5494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5495         Moved ...
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5498         Moved ...
5499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5502         conditional [RESET_PID].
5503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5504         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5505         removed.
5506         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5507         removed.
5509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5510         <tcb-offsets.h>.
5511         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5512         (__libc_vfork): New strong alias.
5513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5514         removed.
5515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5516         Removed.
5518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5519         <tcb-offsets.h>.
5520         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5521         (__libc_vfork): New strong alias.
5522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5523         removed.
5524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5525         removed.
5527 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5529         * malloc/malloc.c (mi_arena): New function.
5530         (malloc_info): Remove nested function mi_arena. Call non-nosted
5531         function mi_arena.
5533 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5535         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5536         by insrwi.
5537         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5538         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5539         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5540         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5541         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5542         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5543         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5545 2014-05-26  Andreas Schwab  <schwab@suse.de>
5547         [BZ #16984]
5548         * locale/programs/repertoire.c (repertoire_read): Add slash
5549         between I18NPATH element and file name.
5550         * locale/programs/locfile.c (locfile_read): Likewise.
5552 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5554         * nptl/pthread_mutexattr_settype.c
5555         (__pthread_mutexattr_settype):
5556         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5558 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5560         * nptl/tst-mutex5 (do_test):
5561         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5563 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5565         * benchtests/README: Document 'init' directive.
5566         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5567         BENCH_INIT.
5568         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5569         (parse_file): Recognize 'init' directive.
5571 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5573         [BZ #16796]
5574         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5575         alignment of struct pthread.
5577 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5579         [BZ #16878]
5580         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5581         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5582         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5583         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5585 2014-05-25  Richard Henderson  <rth@twiddle.net>
5587         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5588         (SINGLE_THREAD_P_PIC): Remove.
5589         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5590         (SINGLE_THREAD_P_PIC): Remove.
5592         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5593         branch to syscall error ...
5594         (PSEUDO): ... here.
5595         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5596         from __local_syscall_error to .Lsyscall_error.
5597         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5598         (SYSCALL_ERROR): Update label name.
5600         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5601         Do not use DOARGS/UNDOARGS.
5602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5603         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5604         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5605         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5606         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5609         block comment.
5611         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5612         define if !NOT_IN_libc.
5613         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5614         define with non-default symbol versions.
5616 2014-05-23  Richard Henderson  <rth@twiddle.net>
5618         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5619         (vfork, __vfork): Define via compat_symbol.
5621         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5622         [!HAVE_IFUNC] (vfork_compat): Remove.
5623         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5625 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5627         [BZ #16978]
5628         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5629         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5630         variable.
5632 2014-05-23  Richard Henderson  <rth@twiddle.net>
5634         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5635         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5636         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5637         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5639         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5640         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5641         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5642         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5643         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5644         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5645         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5646         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5647         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5648         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5649         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5650         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5651         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5652         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5653         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5654         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5655         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5656         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5657         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5658         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5659         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5660         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5661         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5662         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5663         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5664         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5665         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5666         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5667         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5668         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5669         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5670         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5671         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5672         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5673         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5674         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5675         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5676         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5677         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5678         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5679         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5680         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5681         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5682         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5683         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5684         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5686         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5688         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5690         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5692         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5693         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5694         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5696         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5697         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5698         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5699         before exiting on error.
5700         (__libc_vfork): New strong alias.
5701         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5702         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5704         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5705         that was previously under [RESET_PID].
5706         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5708         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5710 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5712         [BZ #16977]
5713         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5714         value when x - 1 is zero.
5715         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5716         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5717         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5718         0.0L for an argument of 1.0L.
5719         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5720         Likewise.
5721         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5722         value when x - 1 is zero.
5723         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5724         * sysdeps/i386/fpu/libm-test-ulps: Update.
5725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5729         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5730         alphasort and versionsort.
5732 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5734         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5735         macro.
5736         [copysignf]: Likewise.
5738 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5740         * crypt/md5-crypt.c: Fix formatting.
5742 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5744         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5745         (b64_from_24bit): New function.
5747 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5749         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5750         libc_hidden_builtin_def to ifunc.
5751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5752         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5754 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5756         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5757         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5759 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5761         * nscd/Depend (linuxthreads): Remove.
5762         (nptl): Add.
5763         * resolv/Depend (linuxthreads): Remove.
5764         * rt/Depend (linuxthreads): Remove.
5766         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5767         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5768         $(common-objpfx)elf/.
5769         (link-libc-before-gnulib): Likewise.
5770         (elfobjdir): Remove variable.
5771         * Makefile (install): Use $(elf-objpfx) instead of
5772         $(common-objpfx)elf/.
5773         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5774         $(elfobjdir)/.
5775         (link-libc-deps): Likewise.
5776         ($(common-objpfx)libc.so): Likewise.
5777         ($(common-objpfx)linkobj/libc.so): Likewise.
5778         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5779         instead of $(common-objpfx)elf/.
5780         (symbolic-link-list): Likewise.
5781         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5782         [$(cross-compiling) = no]: Likewise.
5783         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5784         $(elfobjdir)/.
5785         (static-gnulib-arch): Likewise.
5786         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5787         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5788         $(common-objpfx)elf/.
5790 2014-05-21  Richard Henderson  <rth@redhat.com>
5792         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5793         (SINGLE_THREAD_P): Use the correct width load.  Fold
5794         into the ldr offset.
5796         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5797         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5799 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5801         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5802         (libgcc_s_resume): Use __attribute_used__.
5803         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5804         Likewise.
5806 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5808         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5809         optimization when used with float constants.
5811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5813 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5815         [BZ #16915]
5816         * locale/nl_langinfo_l.c: Make direct reference to every
5817         _nl_current_CATEGORY symbol.
5818         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5819         (tests-static): Add tst-langinfo-static.
5820         (tests-special): Add tst-langinfo-static.out.
5821         ($(objpfx)tst-langinfo.out): Redirect output.
5822         ($(objpfx)tst-langinfo-static.out): New.
5823         * localedata/tst-langinfo.sh: Send output to stdout.
5824         * localedata/tst-langinfo-static.c: New file.
5826         [BZ #16965]
5827         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5828         when the shift amount is modulo the limb size.
5830 2014-05-20  Richard Henderson  <rth@redhat.com>
5832         [BZ #16967]
5833         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5834         Change type of sa_flags from unsigned int to int.
5836         [BZ #16966]
5837         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5839         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5841 2014-05-20  Will Newton  <will.newton@linaro.org>
5843         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5844         Test the return value of the system call in the nocancel case.
5846 2014-05-20  Will Newton  <will.newton@linaro.org>
5847             Yvan Roux  <yvan.roux@linaro.org>
5849         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5850         #include of asm/ptrace.h.
5851         (PTRACE_GET_THREAD_AREA): Remove #undef.
5852         (PTRACE_GETHBPREGS): Likewise.
5853         (PTRACE_SETHBPREGS): Likewise.
5854         (struct user_regs_struct): New structure.
5855         (struct user_fpsimd_struct): New structure.
5856         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5857         #include of asm/ptrace.h and second #include of sys/user.h.
5858         (PTRACE_GET_THREAD_AREA): Remove #undef.
5859         (PTRACE_GETHBPREGS): Likewise.
5860         (PTRACE_SETHBPREGS): Likewise.
5861         (ELF_NGREG): Use new struct user_regs_struct.
5862         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5864 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5866         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5869 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5871         [BZ #16958]
5872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5873         membar to avoid block loads/stores to overlap previous stores.
5875 2014-05-17  Richard Henderson  <rth@redhat.com>
5877         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5878         Create the __##syscall_name##_nocancel entry point.
5879         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5880         Remove; let the sysdep-cancel.h code create it.
5882 2014-05-17  David S. Miller  <davem@davemloft.net>
5884         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5885         Protect with __USE_GNU.
5886         (TIOCSET_TEMPT): Likewise.
5887         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5888         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5889         these are already provided in bits/ioctl-types.h
5891 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5893         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5894         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5896         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5897         Use wait4 regardless of [__NR_waitpid].
5899 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5901         PR libgcc/60166
5902         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5903         (_FP_NANSIGN_Q): Set the quiet bit.
5905 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5907         * benchtests/Makefile
5908         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5909         not $(common-objpfx)math/libm.so.
5910         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5911         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5912         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5913         $(common-objpfx)dlfcn/libdl.so.
5914         ($(objpfx)tst-audit8): Depend on $(libm), not
5915         $(common-objpfx)math/libm.so.
5916         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5917         not $(common-objpfx)dlfcn/libdl.so.
5918         * math/Makefile
5919         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5920         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5921         [$(build-shared) = yes].
5922         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5923         $(common-objpfx)nptl/libpthread.so.
5924         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5925         $(common-objpfx)math/libm.so$(libm.so-version) or
5926         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5927         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5928         $(common-objpfx)dlfcn/libdl.so.
5929         * setjmp/Makefile (link-libm): Remove variable.
5930         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5931         * stdio-common/Makefile (link-libm): Remove variable.
5932         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5933         * stdlib/Makefile (link-libm): Remove variable.
5934         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5935         ($(objpfx)tst-strtod-round): Likewise.
5936         ($(objpfx)tst-tininess): Likewise.
5937         ($(objpfx)tst-strtod-underflow): Likewise.
5938         ($(objpfx)tst-strtod6): Likewise.
5939         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5940         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5941         $(common-objpfx)dlfcn/libdl.so.
5943 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5945         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5946         BSD terminal modes definitions.
5948 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5950         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5951         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5953         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5954         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5955         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5956         Don't do #include_next.
5957         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5958         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5959         Don't do #include_next.
5960         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5961         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5962         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5963         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5965 2014-05-16  Allan McRae  <allan@archlinux.org>
5967         * po/sv.po: Update Swedish translation from translation project.
5969         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5970         in sed expression.
5972 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5974         [BZ #16917]
5975         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5976         errno if the TIOCGPTN ioctl fails with an error different than
5977         EINVAL.
5978         * login/tst-ptsname.c: New file.
5979         * login/Makefile (tests): Add tst-ptsname.
5981         [BZ #16943]
5982         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5983         and prlimit64.
5985 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5987         [BZ #16849]
5988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5989         herrno to return EAI_AGAIN.
5991 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5993         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5994         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5995         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5996         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5997         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5998         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5999         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6000         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6001         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6002         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6003         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6004         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6005         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6006         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6007         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6008         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6009         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6010         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6011         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6012         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6013         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6014         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6015         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6016         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6017         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6018         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6019         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6020         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6021         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6022         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6024         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6026         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6028         Moved ...
6029         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6031         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6033         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6035         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6037         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6039         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6041         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6043         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6045         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6047         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6049         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6051         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6053         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6055         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6057         Moved ...
6058         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6060         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6062         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6064         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6066         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6068         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6070         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6072         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6074         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6076         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6078         Moved ...
6079         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6081         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6083         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6084         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6085         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6086         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6087         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6088         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6089         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6090         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6091         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6092         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6093         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6094         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6095         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6096         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6097         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6098         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6099         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6100         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6101         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6102         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6103         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6104         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6105         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6106         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6107         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6108         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6109         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6110         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6111         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6112         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6113         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6115         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6116         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6118         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6119         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6120         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6121         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6122         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6123         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6124         Moved ...
6125         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6127         Moved ...
6128         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6129         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6130         Moved ...
6131         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6133         Moved ...
6134         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6135         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6136         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6137         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6138         Moved ...
6139         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6141         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6143         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6144         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6145         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6147         Moved ...
6148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6150         Moved ...
6151         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6152         ... here.
6153         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6154         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6155         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6156         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6157         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6158         Moved ...
6159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6160         ... here.
6161         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6162         Moved ...
6163         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6164         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6165         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6166         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6167         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6168         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6169         Moved ...
6170         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6172         Moved ...
6173         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6174         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6175         Moved ...
6176         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6178         Moved ...
6179         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6180         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6181         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6182         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6183         Moved ...
6184         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6185         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6186         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6188         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6189         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6190         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6192         Moved ...
6193         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6195         Moved ...
6196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6197         ... here.
6198         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6199         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6200         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6201         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6202         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6203         Moved ...
6204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6205         ... here.
6206         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6207         Moved ...
6208         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6209         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6210         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6211         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6212         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6213         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6214         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6215         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6216         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6218         Moved ...
6219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6221         Moved ...
6222         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6224         Moved ...
6225         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6227         Moved ...
6228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6229         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6230         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6231         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6232         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6233         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6236         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6237         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6239         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6240         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6241         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6242         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6243         Moved ...
6244         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6245         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6246         Moved ...
6247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6248         ... here.
6249         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6250         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6251         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6252         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6254         Moved ...
6255         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6256         ... here.
6257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6258         Moved ...
6259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6260         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6261         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6262         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6263         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6264         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6265         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6266         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6267         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6268         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6269         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6271         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6272         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6274         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6275         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6277         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6278         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6279         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6281         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6282         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6283         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6284         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6285         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6286         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6287         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6288         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6290         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6291         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6292         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6293         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6298         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6303         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6305         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6307         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6312         Moved ...
6313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6315         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6317         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6319         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6320         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6321         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6323         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6324         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6325         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6326         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6327         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6328         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6329         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6331         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6332         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6333         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6334         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6335         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6337         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6338         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6339         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6340         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6341         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6342         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6343         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6344         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6345         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6346         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6351         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6352         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6353         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6354         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6356         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6357         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6358         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6359         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6360         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6361         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6362         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6363         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6364         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6366         Update #include.
6367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6368         Likewise.
6369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6370         Likewise.
6371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6372         Likewise.
6373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6374         Likewise.
6375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6376         Likewise.
6377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6378         Likewise.
6379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6380         Likewise.
6381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6382         Likewise.
6383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6384         Likewise.
6385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6390         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6391         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6392         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6394         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6395         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6396         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6401         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6402         that was previously under [RESET_PID].
6403         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6404         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6405         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6407         * sysdeps/i386/nptl/Implies: New file.
6408         * sysdeps/x86_64/nptl/Implies: New file.
6409         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6410         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6412         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6414         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6415         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6416         (__libc_vfork): New strong alias.
6417         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6418         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6420         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6421         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6422         (__libc_vfork): New strong alias.
6423         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6424         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6426         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6427         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6428         (__libc_vfork): New strong alias.
6429         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6430         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6431         * nptl/pt-vfork.c: New file.
6432         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6433         (libpthread: GLIBC_2.20): New version set (empty).
6435 2014-05-14  Will Newton  <will.newton@linaro.org>
6437         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6438         rather than #if.
6440 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6442         [BZ #16564]
6443         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6444         arguments with exponent 65 or above.
6445         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6446         arguments 0x1p113L or above.
6447         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6448         to arguments 0x1p107L or above.
6449         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6450         positive arguments with exponent 65 or above.
6451         * math/auto-libm-test-in: Add more tests of log1p.
6452         * math/auto-libm-test-out: Regenerated.
6454         [BZ #16928]
6455         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6456         non-finite arguments is +0.
6457         * math/s_cacosf.c (__cacosf): Likewise.
6458         * math/s_cacosl.c (__cacosl): Likewise.
6459         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6460         * sysdeps/i386/fpu/libm-test-ulps: Update.
6461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6463         [BZ #16927]
6464         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6465         value.
6466         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6467         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6468         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6469         for explicit high bit of mantissa when testing for argument equal
6470         to 1.
6471         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6472         * sysdeps/i386/fpu/libm-test-ulps: Update.
6473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6475         [BZ #16516]
6476         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6477         (__erf): Scale by 16 instead of 8 in potentially underflowing
6478         case.  Ensure exception if result actually underflows.
6479         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6480         (__erff): Scale by 16 instead of 8 in potentially underflowing
6481         case.  Ensure exception if result actually underflows.
6482         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6483         (efx8): Remove variable.
6484         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6485         case.  Ensure exception if result actually underflows.
6486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6487         (efx8): Remove variable.
6488         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6489         case.  Ensure exception if result actually underflows.
6490         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6491         (efx8): Remove variable.
6492         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6493         case.  Ensure exception if result actually underflows.
6494         * math/auto-libm-test-in: Add more tests of erf.
6495         * math/auto-libm-test-out: Regenerated.
6497 2014-05-14  Andreas Schwab  <schwab@suse.de>
6499         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6500         Remove code conditionalized on USE___THREAD.
6502         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6503         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6504         not definedness.
6506 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6509         Define unconditionally.
6510         (__ASSUME_O_CLOEXEC): Likewise.
6511         (__ASSUME_SOCK_CLOEXEC): Likewise.
6512         (__ASSUME_IN_NONBLOCK): Likewise.
6513         (__ASSUME_PIPE2): Likewise.
6514         (__ASSUME_EVENTFD2): Likewise.
6515         (__ASSUME_SIGNALFD4): Likewise.
6516         (__ASSUME_DUP3): Likewise.
6517         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6518         (__ASSUME_DUP3): Do not define.
6519         (__ASSUME_EVENTFD2): Likewise.
6520         (__ASSUME_IN_NONBLOCK): Likewise.
6521         (__ASSUME_O_CLOEXEC): Likewise.
6522         (__ASSUME_PIPE2): Likewise.
6523         (__ASSUME_SIGNALFD4): Likewise.
6524         (__ASSUME_SOCK_CLOEXEC): Likewise.
6525         (__ASSUME_UTIMES): Undefine.
6526         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6527         (__ASSUME_UTIMES): Do not define.
6528         (__ASSUME_O_CLOEXEC): Likewise.
6529         (__ASSUME_SOCK_CLOEXEC): Likewise.
6530         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6531         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6532         0x020621].
6533         (__ASSUME_PIPE2): Likewise.
6534         (__ASSUME_EVENTFD2): Likewise.
6535         (__ASSUME_SIGNALFD4): Likewise.
6536         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6537         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6538         Do not define.
6539         (__ASSUME_EVENTFD2): Likewise.
6540         (__ASSUME_SIGNALFD4): Likewise.
6541         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6542         (__ASSUME_32BITUIDS): Likewise.
6543         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6544         (__ASSUME_IPC64): Likewise.
6545         (__ASSUME_ST_INO_64_BIT): Likewise.
6546         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6547         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6548         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6549         (__ASSUME_UTIMES): Do not define.
6550         (__ASSUME_PSELECT): Likewise.
6551         (__ASSUME_PPOLL): Likewise.
6552         (__ASSUME_O_CLOEXEC): Likewise.
6553         (__ASSUME_SOCK_CLOEXEC): Likewise.
6554         (__ASSUME_IN_NONBLOCK): Likewise.
6555         (__ASSUME_PIPE2): Likewise.
6556         (__ASSUME_EVENTFD2): Likewise.
6557         (__ASSUME_SIGNALFD4): Likewise.
6558         (__ASSUME_DUP3): Likewise.
6559         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6560         (__ASSUME_UTIMES): Likewise.
6561         (__ASSUME_O_CLOEXEC): Likewise.
6562         (__ASSUME_SOCK_CLOEXEC): Likewise.
6563         (__ASSUME_IN_NONBLOCK): Likewise.
6564         (__ASSUME_PIPE2): Likewise.
6565         (__ASSUME_EVENTFD2): Likewise.
6566         (__ASSUME_SIGNALFD4): Likewise.
6567         (__ASSUME_DUP3): Likewise.
6568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6569         (__ASSUME_UTIMES): Likewise.
6570         (__ASSUME_O_CLOEXEC): Likewise.
6571         (__ASSUME_SOCK_CLOEXEC): Likewise.
6572         (__ASSUME_IN_NONBLOCK): Likewise.
6573         (__ASSUME_PIPE2): Likewise.
6574         (__ASSUME_EVENTFD2): Likewise.
6575         (__ASSUME_SIGNALFD4): Likewise.
6576         (__ASSUME_DUP3): Likewise.
6577         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6578         Likewise.
6579         (__ASSUME_UTIMES): Likewise.
6580         (__ASSUME_EVENTFD2): Likewise.
6581         (__ASSUME_SIGNALFD4): Likewise.
6582         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6583         (__ASSUME_O_CLOEXEC): Likewise.
6584         (__ASSUME_SOCK_CLOEXEC): Likewise.
6585         (__ASSUME_IN_NONBLOCK): Likewise.
6586         (__ASSUME_PIPE2): Likewise.
6587         (__ASSUME_EVENTFD2): Likewise.
6588         (__ASSUME_SIGNALFD4): Likewise.
6589         (__ASSUME_DUP3): Likewise.
6590         (__ASSUME_UTIMES): Undefine.
6592         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6593         feclearexcept.  Remove symbol versioning code.
6594         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6595         symbol versioning code.
6596         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6597         symbol versioning code.
6598         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6599         feupdateenv.  Remove symbol versioning code.
6600         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6601         fegetexceptflag.  Remove symbol versioning code.
6602         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6603         fesetexceptflag.  Remove symbol versioning code.
6604         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6605         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6606         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6607         (__posix_fadvise64_l32): Remove prototype.
6608         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6609         code.
6611 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6613         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6614         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6615         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6616         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6618 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6620         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6621         current working directory
6623 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6625         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6626         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6627         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6628         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6629         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6630         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6631         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6632         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6633         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6634         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6635         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6636         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6637         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6638         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6639         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6640         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6641         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6642         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6643         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6644         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6645         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6646         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6647         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6648         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6649         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6650         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6651         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6652         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6653         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6654         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6655         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6656         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6657         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6658         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6659         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6660         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6661         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6662         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6663         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6664         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6665         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6666         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6668         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6669         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6671         * sysdeps/unix/sysv/linux/arm/Makefile
6672         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6673         Add rt-aeabi_unwind_cpp_pr1.
6674         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6675         Add nptl-aeabi_unwind_cpp_pr1.
6676         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6677         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6678         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6679         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6680         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6681         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6683         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6684         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6685         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6686         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6688         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6689         Deconditionalize the code that was previously under [RESET_PID].
6690         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6692         * sysdeps/generic/exit-thread.h: New file.
6693         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6694         * include/unistd.h (__exit_thread): Remove declaration.
6695         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6696         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6697         * csu/libc-start.c: Include <exit-thread.h>.
6698         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6699         * nptl/pthread_create.c: Include <exit-thread.h>.
6700         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6701         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6702         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6703         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6704         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6705         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6706         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6707         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6708         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6709         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6710         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6711         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6712         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6713         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6714         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6715         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6716         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6718 2014-05-13  Andreas Schwab  <schwab@suse.de>
6720         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6722 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6724         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6725         (__ASSUME_UTIMES): Do not condition on kernel version.
6726         (__ASSUME_PSELECT): Define unconditionally.
6727         (__ASSUME_PPOLL): Likewise.
6728         (__ASSUME_ATFCTS): Likewise.
6729         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6730         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6731         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6732         (__ASSUME_UTIMENSAT): Define unconditionally.
6733         (__ASSUME_PRIVATE_FUTEX): Likewise.
6734         (__ASSUME_FALLOCATE): Likewise.
6735         (__ASSUME_O_CLOEXEC): Likewise.
6736         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6737         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6738         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6739         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6740         (__ASSUME_IN_NONBLOCK): Likewise.
6741         (__ASSUME_PIPE2): Likewise.
6742         (__ASSUME_EVENTFD2): Likewise.
6743         (__ASSUME_SIGNALFD4): Likewise.
6744         (__ASSUME_DUP3): Likewise.
6745         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6746         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6747         (__ASSUME_AT_RANDOM): Likewise.
6748         (__ASSUME_PREADV): Likewise.
6749         (__ASSUME_PWRITEV): Likewise.
6750         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6751         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6752         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6753         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6754         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6755         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6756         (__ASSUME_O_CLOEXEC): Define unconditionally.
6757         (__ASSUME_PSELECT): Do not undefine conditionally.
6758         (__ASSUME_PPOLL): Likewise.
6759         (__ASSUME_ATFCTS): Likewise.
6760         (__ASSUME_SET_ROBUST_LIST): Likewise.
6761         (__ASSUME_UTIMENSAT): Likewise.
6762         (__ASSUME_FDATASYNC): Define unconditionally.
6763         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6764         (__ASSUME_SIGFRAME_V2): Likewise.
6765         )__ASSUME_EVENTFD2): Likewise.
6766         (__ASSUME_SIGNALFD4): Likewise.
6767         (__ASSUME_PSELECT): Do not undefine conditionally.
6768         (__ASSUME_PPOLL): Likewise.
6769         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6770         (__ASSUME_PSELECT): Define unconditionally.
6771         (__ASSUME_PPOLL): Likewise.
6772         (__ASSUME_O_CLOEXEC): Likewise.
6773         (__ASSUME_SOCK_CLOEXEC): Likewise.
6774         (__ASSUME_IN_NONBLOCK): Likewise.
6775         (__ASSUME_PIPE2): Likewise.
6776         (__ASSUME_EVENTFD2): Likewise.
6777         (__ASSUME_SIGNALFD4): Likewise.
6778         (__ASSUME_DUP3): Likewise.
6779         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6780         (__ASSUME_O_CLOEXEC): Likewise.
6781         (__ASSUME_SOCK_CLOEXEC): Likewise.
6782         (__ASSUME_IN_NONBLOCK): Likewise.
6783         (__ASSUME_PIPE2): Likewise.
6784         (__ASSUME_EVENTFD2): Likewise.
6785         (__ASSUME_SIGNALFD4): Likewise.
6786         (__ASSUME_DUP3): Likewise.
6787         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6788         (__ASSUME_EVENTFD2): Likewise.
6789         (__ASSUME_SIGNALFD4): Likewise.
6790         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6792 2014-05-12  Andreas Schwab  <schwab@suse.de>
6794         [BZ #16932]
6795         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6796         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6797         than maximum RPC packet size.
6798         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6799         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6800         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6801         (_nss_nis_getservbyport_r): Likewise.
6803 2014-05-12  Will Newton  <will.newton@linaro.org>
6805         * malloc/Makefile (tests): Add tst-mallopt.
6806         * malloc/tst-mallopt.c: New file.
6808 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6810         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6811         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6813 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6815         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6816         (tst-tlsmod6.so): Likewise.
6818 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6820         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6822 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6824         [BZ #16064]
6825         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6826         and <dl-procinfo.h>.
6827         (__fegetenv): Save SSE state in envp->__eip if supported.
6828         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6829         envp->__eip if supported.
6830         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6831         and <dl-procinfo.h>.
6832         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6833         __data_offset and __data_selector in environment to 0.  Set SSE
6834         state if supported.
6835         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6836         test-fenv-sse.
6837         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6838         -mfpmath=sse.
6839         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6841 2014-05-09  Will Newton  <will.newton@linaro.org>
6843         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6844         and libc_relro_required for ARM.
6845         * sysdeps/arm/preconfigure: Regenerate.
6847 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6848             Stefan Liebler  <stli@linux.vnet.ibm.com>
6850         * config.make.in (enable-lock-elision): New Makefile variable.
6851         * configure.ac: Likewise.
6852         * configure: Regenerate.
6853         * sysdeps/s390/configure.ac:
6854         Add check for gcc transactions support.
6855         * sysdeps/s390/configure: Regenerate.
6856         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6857         Build elision files if enabled.
6858         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6859         Add lock elision support for s390.
6860         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6861         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6862         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6863         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6864         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6865         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6867         Likewise.
6868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6869         Likewise.
6870         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6871         Likewise.
6872         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6873         Likewise.
6874         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6875         (__lll_timedlock_elision, __lll_lock_elision)
6876         (__lll_unlock_elision, __lll_trylock_elision)
6877         (lll_timedlock_elision, lll_lock_elision)
6878         (lll_unlock_elision, lll_trylock_elision): Add.
6879         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6880         (pthread_mutex_t): Add lock elision support for s390.
6882 2014-05-14  Wilco  <wdijkstr@arm.com>
6884         * sysdeps/arm/fclrexcpt.c: Cleanup.
6885         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6886         * sysdeps/arm/feenablxcpt.c: Cleanup.
6887         * sysdeps/arm/fegetenv.c: Cleanup.
6888         * sysdeps/arm/fegetexcept.c: Cleanup.
6889         * sysdeps/arm/fegetround.c: Cleanup.
6890         * sysdeps/arm/feholdexcpt.c: Cleanup.
6891         * sysdeps/arm/fesetenv.c: Cleanup.
6892         * sysdeps/arm/fesetround.c: Cleanup.
6893         * sysdeps/arm/feupdateenv.c: Cleanup.
6894         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6895         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6896         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6897         * sysdeps/arm/ftestexcept.c: Cleanup.
6898         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6899         * sysdeps/arm/setfpucw.c: Cleanup.
6901 2014-05-09  Will Newton  <will.newton@linaro.org>
6903         * sysdeps/arm/armv7/strcmp.S: New file.
6904         * NEWS: Mention addition of ARMv7 optimized strcmp.
6906 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6908         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6909         look for %.ac rather than %.in.
6911         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6912         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6913         * sysdeps/mach/hurd/configure: Regenerated.
6914         * sysdeps/unix/sysv/linux/configure: Regenerated.
6916         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6918 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6920         [BZ# 16922]
6921         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6922         (LONG_SUB): Ditto.
6923         (PTR_SUB): Ditto.
6925 2014-05-07  Andreas Schwab  <schwab@suse.de>
6927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6928         when skipping over non-matching result from nscd.
6930 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6932         [BZ #16876]
6933         * nptl/sockperf.c (client): Check socket return value.
6935         [BZ #16877]
6936         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6937         nscd security class.
6939 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6941         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6942         * sysdeps/arm/unwind.h: ... here.
6944 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6946         [BZ# 16916]
6947         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6948         Define.
6950 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6952         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6953         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6954         multiarch strncpy for PPC64.
6955         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6958         multiarch optimizations.
6959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6960         (__libc_ifunc_impl_list): Likewise.
6961         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6962         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6963         multiarch stpncpy for PPC64.
6964         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6967 2014-05-06  Andreas Schwab  <schwab@suse.de>
6969         [BZ #16912]
6970         * gmon/mcount.c (_MCOUNT_DECL): Use
6971         atomic_compare_and_exchange_bool_acq instead of
6972         catomic_compare_and_exchange_bool_acq.
6974 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6976         * elf/Makefile (others, install-bin): Remove pldd.
6977         (pldd-modules): Variable removed.
6978         ($(objpfx)pldd): Target removed.
6979         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6980         (others, install-bin): Append pldd here.
6981         ($(objpfx)pldd): New target.
6983         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6984         to 0, so the first #if test emitted later doesn't see it undefined.
6985         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6986         * sysdeps/gnu/errlist.c: Regenerated.
6988 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6990         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6991         [libc_hidden_builtin_def]: Define to empty value.
6992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6993         [libc_hidden_builtin_def]: Likewise.
6994         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6995         [libc_hidden_builtin_def]: Likewise.
6996         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6997         [libc_hidden_builtin_def]: Likewise.
6998         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6999         __redirect_memcpy and define ifunc as default hidden symbol.
7000         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7001         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7003 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7005         * locale/iso-4217.def: Reintroduce XDR currency.
7007 2014-05-04  Allan McRae  <allan@archlinux.org>
7009         * po/eo.po: Update Esperanto translation from translation project.
7011 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7013         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7014         and FEATURE_INDEX_MAX to 1.
7015         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7017 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7019         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7020         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7021         * iconvdata/big5.c (ONE_DIRECTION): Define.
7022         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7023         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7024         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7025         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7026         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7027         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7028         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7029         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7030         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7031         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7032         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7033         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7034         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7035         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7036         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7037         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7038         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7039         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7040         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7041         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7042         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7043         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7044         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7045         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7046         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7047         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7048         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7049         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7050         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7051         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7052         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7053         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7054         * iconvdata/johab.c (ONE_DIRECTION): Define.
7055         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7056         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7057         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7058         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7059         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7060         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7061         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7062         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7063         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7064         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7066 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7068         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7069         (_IO_JUMPS_OFFSET): Define to 0.
7071         * nptl/sysdeps/pthread/bits/libc-lock.h
7072         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7073         (__libc_lock_define_initialized_recursive): Always define using
7074         initializer.  Modern compilers treat uninitialized (implicit zero) and
7075         explicit zero initializers the same (i.e. put the datum in bss).
7077 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7079         * nscd/nscd-client.h: Include <string.h>.
7081 2014-05-01  David S. Miller  <davem@davemloft.net>
7083         [BZ #16885]
7084         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7085         multiple zero bytes exist at the end of a string.
7086         Reported by Aurelien Jarno <aurelien@aurel32.net>
7088         * string/test-strcmp.c (check): Add explicit test for situations where
7089         there are multiple zero bytes after the first.
7091 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7093         [BZ #16890]
7094         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7095         when compiling wprintf.
7096         * stdio-common/tstdiomisc.c (t3): New function.
7097         (main): Call it.
7099 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7101         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7102         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7103         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7104         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7106 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7108         * stdlib/longlong.h: Updated from GCC.
7110 2014-05-01  Will Newton  <will.newton@linaro.org>
7111             Bernard Ogden  <bernie.ogden@linaro.org>
7113         * NEWS: Update fixed bug list.
7115         [BZ #15119]
7116         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7118 2014-04-30  David S. Miller  <davem@davemloft.net>
7120         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7121         (libc_feholdexcept_setround_sparc_ctx): New function.
7122         (libc_fesetenv_sparc_ctx): Likewise.
7123         (libc_feupdateenv_sparc_ctx): Likewise.
7124         (libc_feholdsetround_sparc_ctx): Likewise.
7125         (libc_feholdexcept_setround_ctx): Define.
7126         (libc_feholdexcept_setroundf_ctx): Likewise.
7127         (libc_feholdexcept_setroundl_ctx): Likewise.
7128         (libc_fesetenv_ctx): Likewise.
7129         (libc_fesetenvf_ctx): Likewise.
7130         (libc_fesetenvl_ctx): Likewise.
7131         (libc_feupdateenv_ctx): Likewise.
7132         (libc_feupdateenvf_ctx): Likewise.
7133         (libc_feupdateenvl_ctx): Likewise.
7134         (libc_feresetround_ctx): Likewise.
7135         (libc_feresetroundf_ctx): Likewise.
7136         (libc_feresetroundl_ctx): Likewise.
7137         (libc_feholdsetround_ctx): Likewise.
7138         (libc_feholdsetroundf_ctx): Likewise.
7139         (libc_feholdsetroundl_ctx): Likewise.
7141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7142         with __USE_GNU instead of XOPEN cpp guards.
7144         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7145         0.
7147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7148         with XOPEN cpp guards.
7150 2014-04-30  Julian Brown  <julian@codesourcery.com>
7152         [BZ #16888]
7153         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7154         handling.
7156 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7158         [BZ #9894]
7159         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7160         Change to 2.6.32.
7161         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7162         * sysdeps/unix/sysv/linux/configure: Regenerated.
7163         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7164         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7165         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7166         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7167         * README: Update reference to required Linux kernel version.
7168         * manual/install.texi (Linux): Update reference to required Linux
7169         kernel headers version.
7170         * INSTALL: Regenerated.
7172         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7173         header inclusion.
7174         [POSIX] (limits.h): Likewise.
7175         [POSIX] (math.h): Likewise.
7176         [POSIX] (sys/wait.h): Likewise.
7177         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7178         function.
7179         [POSIX] (stddef.h): Do not allow header inclusion.
7181 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7183         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7185 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7187         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7188         Return immediately after lll_futex_wake.
7190 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7192         [BZ #16791]
7193         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7194         structure.
7195         (datahead_init_pos): Call datahead_init_common early.
7196         (datahead_init_neg): Likewise.
7198         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7199         datahead_init_neg): New functions.
7200         * nscd/aicache.c (addhstaiX): Use them.
7201         * nscd/grpcache.c (cache_addgr): Likewise.
7202         * nscd/hstcache.c (cache_addhst): Likewise.
7203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7204         * nscd/netgroupcache.c (do_notfound): Likewise.
7205         (addgetnetgrentX): Likewise.
7206         (addinnetgrX): Likewise.
7207         * nscd/pwdcache.c (cache_addpw): Likewise.
7208         * nscd/servicescache.c (cache_addserv): Likewise.
7210 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7211             Atsushi Onoe  <atsushi@onoe.org>
7213         [BZ #14308]
7214         [BZ #12994]
7215         [BZ #13651]
7216         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7217         one response is valid.
7218         * resolv/res_send.c (send_dg): Check for validity of other
7219         response if the current response is a referral.
7221 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7223         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7225 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7227         [BZ #16823]
7228         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7229         Always divide by positive zero when computing -Inf result.
7230         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7231         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7233 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7236         FPSCR if value do not change.
7237         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7238         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7239         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7240         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7241         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7242         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7243         function.
7245 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7247         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7248         * sysdeps/unix/sysv/linux/hppa: Move directory from
7249         ports/systeps/unix/sysv/linux/hppa.
7250         * README: Update listing for hppa-*-linux-gnu.
7252 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7254         [BZ #16754]
7255         * manual/stdio.texi (Hook functions): Fix types of stream hook
7256         functions.
7257         [BZ #16854]
7258         * socket/sys/socket.h: Fix typo in comment.
7260 2014-04-28  Wilco  <wdijkstr@arm.com>
7262         * sysdeps/arm/fenv_private.h: New file.
7263         * sysdeps/arm/math_private.h: New file.
7264         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7266 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7268         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7269         with __int128_t.
7270         (La_x86_64_retval): Likewise.
7272 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7274         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7275         fpsr if value didn't change.
7276         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7277         to fpcr if value didn't change.
7278         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7279         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7280         fpsr or fpcr if value didn't change.
7281         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7282         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7283         fpcr if value didn't change.
7284         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7285         to fpsr if value didn't change.
7287 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7289         * nptl/tst-sem3.c: Use test-skeleton.c
7290         (main): Rename to do_test.  Use return instead of
7291         exit.
7292         * nptl/tst-sem4.c: Use test-skeleton.c
7293         (main): Rename to do_test.
7295 2014-04-22  David S. Miller  <davem@davemloft.net>
7297         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7298         (struct sigaction): New struct member __glibc_reserved0, change
7299         type of sa_flags to int.
7301 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7303         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7304         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7306 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7308         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7309         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7311 2014-04-22  Will Newton  <will.newton@linaro.org>
7312             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7314         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7315         (__longjmp): Add longjmp and longjmp_target SystemTap
7316         probes.
7317         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7318         (__sigsetjmp): Add setjmp SystemTap probe.
7320 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7322         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7323         match manual order.
7325 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7327         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7329         * sysdeps/powerpc/fpu/fenv_private.h
7330         (libc_feholdexcept_setroundl_ctx): Define to
7331         libc_feholdexcept_setround_ppc_ctx.
7332         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7333         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7334         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7335         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7337 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7339         * sysdeps/aarch64/math-tests.h: New file.
7341 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7343         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7344         New.
7345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7346         Check and set bit_AVX2_Usable.
7347         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7348         macro.
7349         (bit_AVX2): Likewise.
7350         (index_AVX2_Usable): Likewise.
7351         (CPUID_AVX2): Likewise.
7352         (HAS_AVX2): Likewise.
7354 2014-04-17  Will Newton  <will.newton@linaro.org>
7356         * manual/setjmp.texi (System V contexts): Add note that
7357         calling setcontext on a context created by a call to a
7358         signal handler is undefined.  Update text to note that
7359         setcontext from a signal handler is possible but not
7360         recommended.
7362         [BZ #16629]
7363         * stdlib/tst-setcontext.c: Include signal.h.
7364         (main): Check that the signal stack before and
7365         after swapcontext is the same.
7367         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7368         Re-implement to restore registers in user code and avoid
7369         rt_sigreturn system call.
7371 2014-04-17  Wilco  <wdijkstr@arm.com>
7373         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7374         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7375         * math/test-fenv.c: Skip exception trap tests on targets which only
7376         support non-stop mode.
7378 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7379             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7381         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7382         (libc_feholdsetround_aarch64_ctx)
7383         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7384         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7385         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7386         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7387         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7388         (libc_feresetround_noexl_ctx): Define.
7390 2014-04-16  Richard Henderson  <rth@redhat.com>
7392         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7394         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7395         unwind tables.
7397         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7398         const from the non-libc, non-ldso copy.
7400         * sysdeps/alpha/libm-test-ulps: Regenerate.
7402 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7403             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7405         * sysdeps/aarch64/fpu/math_private.h: New file.
7407 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7409         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7411 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7413         [BZ #16275]
7414         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7415         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7417         Intel MPX bound registers before _dl_profile_fixup.
7418         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7419         registers after _dl_profile_fixup.  Save and restore bound
7420         registers bnd0/bnd1 when calling _dl_call_pltexit.
7421         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7422         (LR_BND_OFFSET): Likewise.
7423         (LRV_BND0_OFFSET): Likewise.
7424         (LRV_BND1_OFFSET): Likewise.
7426 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7428         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7429         to...
7430         * sysdeps/mach/hurd/i386/tls.h: ... here.
7431         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7432         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7433         fields.
7435 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7437         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7439 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7441         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7443 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7445         [BZ #14770]
7446         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7447         * sysdeps/s390/configure: Regenerate.
7449         [BZ #16824]
7450         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7451         Set round-to-nearest internally to reduce error accumulation.
7453 2014-04-16  Alan Modra  <amodra@gmail.com>
7455         [BZ #16740]
7456         [BZ #16619]
7457         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7458         * math/libm-test.inc (frexp_test_data): Add tests.
7459         * NEWS: Update fixed bug list.
7461 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7463         * benchtests/Makefile: Depend on libraries in build directory.
7464         (bench-math): Separate out math tests.
7465         (bench-pthread): Separate out pthread tests.
7466         (bench): Include math and pthread tests.
7468 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7470         [BZ #16831]
7471         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7472         _dl_debug_initialize.
7474         * configure.ac: Remove SELinux header check.
7475         * configure: Regenerate.
7476         * nscd/selinux.c (perms): Array of const char* to permission names.
7477         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7478         default policy. Call string_to_security_class and string_to_av_perm to
7479         translate strings. Enforce default policy and call avs_has_perm with
7480         results of translated strings.
7482 2014-04-13  David S. Miller  <davem@davemloft.net>
7484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7486 2014-04-12  Allan McRae  <allan@archlinux.org>
7488         [BZ #16838]
7489         * manual/string.texi (Collation Functions): Fix qsort argument
7490         order in example.
7491         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7493 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7495         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7496         Make the test a no-op if there are no exceptions defined.
7498 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7500         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7501         enable-hardcoded-path-in-tests
7503 2014-04-11  Will Newton  <will.newton@linaro.org>
7505         * benchtests/Makefile (extra-objs): Add json-lib.o.
7506         (bench-func): Tidy up JSON output.
7507         * benchtests/bench-skeleton.c: Include json-lib.h.
7508         (main): Use JSON library functions to do output of
7509         benchmark results.
7510         * benchtests/bench-timing-type.c (main): Output the
7511         timing type simply, leaving formatting to the user.
7512         * benchtests/json-lib.c: New file.
7513         * benchtests/json-lib.h: Likewise.
7515 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7517         [BZ #15215]
7518         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7519         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7520         memory barriers.  Add comments.
7521         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7522         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7523         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7524         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7525         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7526         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7528 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7530         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7531         * sysdeps/s390/s390-64/configure.ac: ... this ...
7532         * sysdeps/s390/configure.ac: ... to here.
7533         * sysdeps/s390/s390-32/configure: Delete file.
7534         * sysdeps/s390/s390-64/configure: Delete file.
7535         * sysdeps/s390/configure: Regenerate.
7537 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7539         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7541 2014-04-11  Will Newton  <will.newton@linaro.org>
7543         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7544         to zero if it is not defined elsewhere.  (mtrim): Test
7545         the value of MALLOC_DEBUG with #if rather than #ifdef.
7547 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7549         * benchtests/pthread_once-inputs: New file.
7550         * benchtests/pthread_once-source.c: New file.
7551         * benchtests/README: Update documentation.
7553 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7554             H.J. Lu  <hongjiu.lu@intel.com>
7556         [BZ #16275]
7557         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7558         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7559         * sysdeps/x86_64/configure: Regenerated.
7560         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7561         macro.
7562         (REGISTER_SAVE_RAX): Likewise.
7563         (REGISTER_SAVE_RCX): Likewise.
7564         (REGISTER_SAVE_RDX): Likewise.
7565         (REGISTER_SAVE_RSI): Likewise.
7566         (REGISTER_SAVE_RDI): Likewise.
7567         (REGISTER_SAVE_R8): Likewise.
7568         (REGISTER_SAVE_R9): Likewise.
7569         (REGISTER_SAVE_BND0): Likewise.
7570         (REGISTER_SAVE_BND1): Likewise.
7571         (REGISTER_SAVE_BND2): Likewise.
7572         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7573         bound registers when calling _dl_fixup.
7575 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7577         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7578         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7579         of its definition.
7580         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7581         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7582         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7583         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7584         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7585         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7586         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7588 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7590         [BZ #15514]
7591         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7592         pathconf(_PC_NAME_MAX).
7594 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7596         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7597         Remove macro usage.
7598         (__PTHREAD_SPINS): Move definition to ...
7599         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7600         (__PTHREAD_SPINS): ... here.
7601         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7602         (__PTHREAD_SPIN): Likewise.
7603         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7604         (__PTHREAD_SPIN): Likewise.
7605         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7606         (__PTHREAD_SPIN): Likewise.
7607         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7608         (__PTHREAD_SPIN): Likewise.
7609         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7610         (__PTHREAD_SPIN): Likewise.
7611         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7612         (__PTHREAD_SPIN): Likewise.
7613         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7614         (__PTHREAD_SPIN): Likewise.
7615         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7616         (__PTHREAD_SPIN): Likewise.
7617         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7618         (__PTHREAD_SPIN): Likewise.
7619         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7620         (__PTHREAD_SPIN): Likewise.
7621         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7622         (__PTHREAD_SPIN): Likewise.
7623         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7624         (__PTHREAD_SPIN): Likewise.
7626         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7627         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7628         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7629         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7630         imply folder.
7631         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7632         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7633         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7634         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7635         correct imply path.
7636         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7637         strlen symbol for non multi-arch builds.
7638         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7639         missing hidden_def and weak_alias.
7641 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7643         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7645 2014-04-07  Will Newton  <will.newton@linaro.org>
7647         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7648         and contents.  [!_LIBC] Remove #ifndef and contents.
7649         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7650         * string/memccpy.c (__memccpy): Use ANSI prototype.
7651         * string/memfrob.c (memfrob): Likewise.
7652         * string/strcoll.c (STRCOLL): Likewise.
7653         * string/strlen.c (strlen): Likewise.
7654         * string/strtok.c (STRTOK): Likewise.
7655         * string/strcat.c: Remove unused #include of memcopy.h.
7656         (strcat): Use ANSI prototype.
7657         * string/strchr.c: Remove unused #include of memcopy.h.
7658         (strchr): Use ANSI prototype.
7659         * string/strcmp.c: Remove unused #include of memcopy.h.
7660         (strcmp): Use ANSI prototype.
7661         * string/strcpy.c: Remove unused #include of memcopy.h.
7662         (strcpy): Use ANSI prototype.
7664 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7666         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7667         * config.make.in (config-extra-cppflags): Set it from
7668         libc_extra_cppflags.
7669         * configure.ac (libc_extra_cflags): Make it accumulate over
7670         configure fragments.
7671         (libc_extra_cppflags): New flag.
7672         * configure. Regenerate.
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7674         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7675         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7678         [BZ #16815]
7679         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7680         result for FE_DOWNWARD rounding mode.
7681         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7682         Likewise.
7683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7685 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7687         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7688         in function argument name.
7690 2014-04-03  David Svoboda  <svoboda@cert.org>
7692         [BZ #5666]
7693         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7694         explicitly.
7696 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7698         * elf/dl-unmap-segments.h: New file.
7699         * sysdeps/generic/ldsodefs.h
7700         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7701         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7702         * elf/dl-fptr.c: Likewise.
7703         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7704         * sysdeps/aarch64/tlsdesc.c: Likewise.
7705         * sysdeps/arm/tlsdesc.c: Likewise.
7706         * sysdeps/i386/tlsdesc.c: Likewise.
7707         * sysdeps/tile/dl-runtime.c: Likewise.
7708         * sysdeps/x86_64/tlsdesc.c: Likewise.
7709         * elf/dl-load.h: New file.
7710         * elf/dl-load.c: Include it.
7711         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7712         Macros moved to dl-load.h.
7713         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7714         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7715         Use _dl_unmap_segments in place of __munmap.
7716         Break out segment-mapping loop into ...
7717         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7719 2014-04-03  Will Newton  <will.newton@linaro.org>
7721         * elf/dl-lookup.c (do_lookup_x): Remove comment
7722         referring to nested function and move variable
7723         declarations down to before first use.
7725 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #16799]
7728         [BZ #16800]
7729         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7730         with 0 numerator.
7731         * math/s_catanf.c (__catanf): Likewise.
7732         * math/s_catanh.c (__catanh): Likewise.
7733         * math/s_catanhf.c (__catanhf): Likewise.
7734         * math/s_catanhl.c (__catanhl): Likewise.
7735         * math/s_catanl.c (__catanl): Likewise.
7736         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7737         by positive zero when computing -Inf result.
7738         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7739         (catanh_test): Likewise.
7740         * sysdeps/i386/fpu/libm-test-ulps: Update.
7741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743         [BZ #16789]
7744         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7745         instead of using underflowing value in computing result.
7746         * math/s_clog10.c (__clog10): Likewise.
7747         * math/s_clog10f.c (__clog10f): Likewise.
7748         * math/s_clog10l.c (__clog10l): Likewise.
7749         * math/s_clogf.c (__clogf): Likewise.
7750         * math/s_clogl.c (__clogl): Likewise.
7751         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7752         (clog10_test): Likewise.
7753         * sysdeps/i386/fpu/libm-test-ulps: Update.
7754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7756 2014-04-02  Alan Modra  <amodra@gmail.com>
7758         [BZ #16739]
7759         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7760         output when value is near a power of two.  Use int64_t for lx and
7761         remove casts.  Use decimal rather than hex exponent constants.
7762         Don't use long double multiplication when double will suffice.
7763         * math/libm-test.inc (nextafter_test_data): Add tests.
7764         * NEWS: Add 16739 and 16786 to bug list.
7766         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7768         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7770 2014-04-01  Will Newton  <will.newton@linaro.org>
7772         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7773         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7775 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7777         [BZ #13347]
7778         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7779         * nptl/tst-setuid2.c: New file.
7780         * nptl/Makefile (xtests): Add tst-setuid2.
7782 2014-04-01  Alan Modra  <amodra@gmail.com>
7784         [BZ #16786]
7785         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7787 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7789         [BZ #6803]
7790         [BZ #6804]
7791         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7792         set errno as appropriate.
7793         * math/w_scalbf.c (__scalbf): Likewise.
7794         * math/w_scalbl.c (__scalbl): Likewise.
7795         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7796         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7797         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7798         Add more NaN tests.
7800         [BZ #16349]
7801         * math/w_atan2.c: Include <errno.h>.
7802         (__atan2): Set errno for result underflowing to zero.
7803         * math/w_atan2f.c: Include <errno.h>.
7804         (__atan2f): Set errno for result underflowing to zero.
7805         * math/w_atan2l.c: Include <errno.h>.
7806         (__atan2l): Set errno for result underflowing to zero.
7807         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7808         tests.
7809         * math/auto-libm-test-out: Regenerated.
7811 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7813         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7814         Encode instruction correctly in little endian.
7815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7816         Likewise.
7817         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7818         Likewise.
7819         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7820         Likewise.
7821         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7822         Likewise.
7824 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7826         [BZ #9894]
7827         * sysdeps/unix/sysv/linux/kernel-features.h
7828         [__sparc__ && !__arch64__ && !__sparc_v9__]
7829         (__ASSUME_SET_ROBUST_LIST): Do not define.
7830         [__sparc__ && !__arch64__ && !__sparc_v9__]
7831         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7832         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7833         Likewise.
7834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7835         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7836         (__ASSUME_REQUEUE_PI): Likewise.
7837         (__ASSUME_SET_ROBUST_LIST): Likewise.
7838         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7839         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7840         Undefine.
7841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7842         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7843         Likewise.
7844         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7845         Likewise.
7846         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7847         Likewise.
7848         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7849         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7850         Undefine.
7851         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7852         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7853         Likewise.
7855         [BZ #16648]
7856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7857         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7858         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7860 2014-03-31  Will Newton  <will.newton@linaro.org>
7862         * benchtests/Makefile (bench): Add ffs and ffsll to list
7863         of tests.
7864         * benchtests/ffs-inputs: New file.
7865         * benchtests/ffsll-inputs: Likewise.
7867 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7869         [BZ #16770]
7870         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7871         too large before casting to int.
7872         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7873         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7874         * math/libm-test.inc (scalb_test_data): Add more tests.
7876 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7878         * benchtests/Makefile (DETAILED_OPT): New make option.
7879         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7880         set.
7881         * benchtests/bench-skeleton.c: Include stdbool.h.
7882         (main): Store and print timings per input.
7883         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7884         member to each argument value.
7885         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7886         (_print_arg_data): Initialize per-input timing to 0.
7888         * benchtests/Makefile (timing-type): New binary.
7889         (bench-clean): Also remove bench-timing-type.
7890         (bench): New target for timing-type.
7891         (bench-func): Print output in JSON format.
7892         * benchtests/bench-skeleton.c (main): Print output in JSON
7893         format.
7894         * benchtests/bench-timing-type.c: New file.
7895         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7896         (TIMING_PRINT_STATS): Remove.
7897         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7898         name separately.
7900         * benchtests/bench-modf.c: Remove.
7901         * benchtests/modf-inputs: New inputs file.
7903 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7905         [BZ #16362]
7906         * math/s_clog10.c (M_PI_LOG10E): New macro.
7907         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7908         imaginary parts are 0.
7909         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7910         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7911         imaginary parts are 0.
7912         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7913         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7914         imaginary parts are 0.
7915         * math/libm-test.inc (clog10_test_data): Update expected results
7916         for when real and imaginary parts are 0.
7918 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7920         * elf/dl-load.c: Finish conversion of __builtin_expect into
7921         __glibc_{un}likely.
7923 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7925         [BZ #16348]
7926         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7927         1+x for argument with exponent below -67.
7928         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7929         Likewise.
7930         * math/auto-libm-test-in: Add more tests of exp.
7931         * math/auto-libm-test-out: Regenerated.
7933 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7935         [BZ #16759]
7936         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7937         (nscd_getnetgrent): Use it.
7939         [BZ #16760]
7940         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7941         of stpcpy.
7943 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7945         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7946         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7947         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7948         (lll_robust_unlock): Remove out of line section. Use cfi
7949         intrinsics.
7950         (LLL_STUB_UNWIND_INFO*): Remove.
7951         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7952         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7953         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7954         (lll_robust_unlock): Remove out of line section. Use cfi
7955         intrinsics.
7956         (LLL_STUB_UNWIND_INFO*): Remove.
7958 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7960         [BZ #16758]
7961         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7962         blank values.
7964 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7966         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7968 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7970         [BZ #16198]
7971         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7972         fnstenv.
7973         * math/test-fenv-preserve.c: New file.
7974         * math/Makefile (tests): Add test-fenv-preserve.
7976 2014-03-26  Will Newton <will.newton@linaro.org>
7978         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7980 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7982         * scripts/versionlist.awk: Partition the version sets and emit all
7983         GLIBC_* (sorted) before all others (sorted).
7985 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7987         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7988         GLIBC_2.2.5 version.
7990 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7992         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7993         calls.
7995         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7996         previous change.
7998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8000 2014-03-25  Andreas Schwab  <schwab@suse.de>
8002         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8003         label to be used after in6ailist is initialized.
8005 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8007         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8008         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8010 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8012         [BZ #16357]
8013         [BZ #16599]
8014         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8015         min_plus_half.
8016         (fp_formats): Update initializers.
8017         (init_fp_formats): Initialize new field.
8018         (output_for_one_input_case): Allow underflow for results up to
8019         min_plus_half.
8020         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8021         * math/auto-libm-test-in: Don't mark some underflows from asin and
8022         atanh as spurious.
8023         * math/auto-libm-test-out: Regenerated.
8024         * sysdeps/i386/fpu/libm-test-ulps: Update.
8025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8027 2014-03-25  Andreas Schwab  <schwab@suse.de>
8029         * libio/Makefile (tst-ftell-partial-wide-ENV)
8030         (tst-ftell-active-handler-ENV): Define.
8032 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8034         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8036 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8038         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8040 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8042         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8043         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8044         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8046 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8048         [BZ #16634]
8049         * elf/dl-load.c (open_verify): Add mode parameter.
8050         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8051         (open_path): Change from boolean 'secure' to complete flag 'mode'
8052         (_dl_map_object): Adjust.
8053         * elf/Makefile (tests): Add tst-dlopen-aout.
8054         * elf/tst-dlopen-aout.c: New test.
8056 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8058         [BZ #16714]
8059         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8060         (struct stat): Rename member pad0 to __glibc_reserved0.
8062         [BZ #16712]
8063         * sysdeps/s390/s390-32/bits/wordsize.h
8064         (__WORDSIZE32_SIZE_ULONG): New define.
8065         * sysdeps/s390/s390-64/bits/wordsize.h
8066         (__WORDSIZE32_SIZE_ULONG): Likewise.
8067         * sysdeps/generic/stdint.h (SIZE_MAX):
8068         Define as UL if __WORDSIZE32_SIZE_ULONG.
8070         [BZ #16713]
8071         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8072         (__glibc_reserved0): New variable.
8073         (sa_flags): Change type to int.
8075         * posix/Makefile (before-compile): Use += before-compile instead
8076         of a :=.
8078         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8079         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8081 2014-03-20  Andreas Schwab  <schwab@suse.de>
8083         [BZ #16743]
8084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8085         non-matching result from nscd.
8087 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8089         * scripts/bench.py: Moved to ...
8090         * benchtests/scripts/bench.py: ... here.
8091         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8093 2014-03-24  Andreas Schwab  <schwab@suse.de>
8095         [BZ #16002]
8096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8097         alloca_account and account alloca use for struct in6ailist.
8099 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8101         [BZ #16284]
8102         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8103         rounding mode to recompute results that overflow to infinity or
8104         underflow to zero.
8105         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8106         bug 16284.
8107         * math/auto-libm-test-out: Regenerated.
8108         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8109         (ccosh_test): Likewise.
8110         (csin_test_data): Use plus_oflow.
8111         (csin_test): Use ALL_RM_TEST.
8112         (csinh_test_data): Use plus_oflow.
8113         (csinh_test): Use ALL_RM_TEST.
8114         * sysdeps/i386/fpu/libm-test-ulps: Update.
8115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8117 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8119         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8120         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8121         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8123         [BZ #16731]
8124         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8125         when x - 1 is zero.
8126         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8127         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8128         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8129         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8130         argument is 1.
8131         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8132         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8133         zero.
8134         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8135         * sysdeps/i386/fpu/libm-test-ulps: Update.
8136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8138 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140         * scripts/bench.pl: Remove file.
8141         * scripts/bench.py: New benchmark script.
8142         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8143         * benchtests/README: Mention python dependency.
8144         * scripts/pylintrc: New file.
8145         * scripts/pylint: New file.
8147         * bits/mathdef.h: Use #ifdef instead of #if.
8148         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8149         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8150         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8151         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8152         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8153         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8155 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8156             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8158         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8160         and strpbrk-ppc64 objects.
8161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8162         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8163         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8164         multiarch strpbrk for POWER7.
8165         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8166         multiarch strpbrk for PPC64.
8167         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8168         ifunc selector.
8169         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8170         strpbrk for POWER7.
8172 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8174         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8175         (atan_test): Likewise.
8176         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8177         (atanh_test): Use ALL_RM_TEST.
8178         (atan2_test_data): Likewise.
8179         (cabs_test): Likewise.
8180         (cacosh_test): Likewise.
8181         (carg_test): Likewise.
8182         (casin_test): Likewise.
8183         (casinh_test): Likewise.
8184         (cbrt_test): Likewise.
8185         (csqrt_test): Likewise.
8186         (erf_test): Likewise.
8187         (erfc_test): Likewise.
8188         (pow10_test): Likewise.
8189         (exp2_test): Likewise.
8190         (hypot_test): Likewise.
8191         (j0_test): Likewise.
8192         (j1_test): Likewise.
8193         (lgamma_test): Likewise.
8194         (gamma_test): Likewise.
8195         (sincos_test): Likewise.
8196         (tanh_test): Likewise.
8197         (y0_test): Likewise.
8198         (y1_test): Likewise.
8199         * sysdeps/i386/fpu/libm-test-ulps: Update.
8200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8204         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8206         and strcspn-ppc64 objects.
8207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8208         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8209         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8210         multiarch strcspn for POWER7.
8211         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8212         multiarch strcspn for PPC64.
8213         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8214         ifunc selector.
8215         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8216         strcspn for POWER7.
8218 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8220         * math/gen-libm-test.pl (generate_testfile): Expect only function
8221         name as argument to AUTO_TESTS_* and pass results for all rounding
8222         modes to parse_args.
8223         (parse_auto_input): Separate inputs of automatic tests from
8224         outputs before storing in %auto_tests.
8225         * math/libm-test.inc (acos_test_data): Update call to
8226         AUTO_TESTS_f_f.
8227         (acos_test): Use ALL_RM_TEST.
8228         (acos_tonearest_test_data): Remove.
8229         (acos_test_tonearest): Likewise.
8230         (acos_towardzero_test_data): Likewise.
8231         (acos_test_towardzero): Likewise.
8232         (acos_downward_test_data): Likewise.
8233         (acos_test_downward): Likewise.
8234         (acos_upward_test_data): Likewise.
8235         (acos_test_upward): Likewise.
8236         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8237         (asin_test_data): Likewise.
8238         (asin_test): Use ALL_RM_TEST.
8239         (asin_tonearest_test_data): Remove.
8240         (asin_test_tonearest): Likewise.
8241         (asin_towardzero_test_data): Likewise.
8242         (asin_test_towardzero): Likewise.
8243         (asin_downward_test_data): Likewise.
8244         (asin_test_downward): Likewise.
8245         (asin_upward_test_data): Likewise.
8246         (asin_test_upward): Likewise.
8247         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8248         (atan_test_data): Likewise.
8249         (atanh_test_data): Likewise.
8250         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8251         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8252         (carg_test_data): Likewise.
8253         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8254         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8255         (ccosh_test_data): Likewise.
8256         (cexp_test_data): Likewise.
8257         (clog_test_data): Likewise.
8258         (clog10_test_data): Likewise.
8259         (cos_test_data): Update call to AUTO_TESTS_f_f.
8260         (cos_test): Use ALL_RM_TEST.
8261         (cos_tonearest_test_data): Remove.
8262         (cos_test_tonearest): Likewise.
8263         (cos_towardzero_test_data): Likewise.
8264         (cos_test_towardzero): Likewise.
8265         (cos_downward_test_data): Likewise.
8266         (cos_test_downward): Likewise.
8267         (cos_upward_test_data): Likewise.
8268         (cos_test_upward): Likewise.
8269         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8270         (cosh_test): Use ALL_RM_TEST.
8271         (cosh_tonearest_test_data): Remove.
8272         (cosh_test_tonearest): Likewise.
8273         (cosh_towardzero_test_data): Likewise.
8274         (cosh_test_towardzero): Likewise.
8275         (cosh_downward_test_data): Likewise.
8276         (cosh_test_downward): Likewise.
8277         (cosh_upward_test_data): Likewise.
8278         (cosh_test_upward): Likewise.
8279         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8280         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8281         (ctan_test_data): Likewise.
8282         (ctan_test): Use ALL_RM_TEST.
8283         (ctan_tonearest_test_data): Remove.
8284         (ctan_test_tonearest): Likewise.
8285         (ctan_towardzero_test_data): Likewise.
8286         (ctan_test_towardzero): Likewise.
8287         (ctan_downward_test_data): Likewise.
8288         (ctan_test_downward): Likewise.
8289         (ctan_upward_test_data): Likewise.
8290         (ctan_test_upward): Likewise.
8291         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8292         (ctanh_test): Use ALL_RM_TEST.
8293         (ctanh_tonearest_test_data): Remove.
8294         (ctanh_test_tonearest): Likewise.
8295         (ctanh_towardzero_test_data): Likewise.
8296         (ctanh_test_towardzero): Likewise.
8297         (ctanh_downward_test_data): Likewise.
8298         (ctanh_test_downward): Likewise.
8299         (ctanh_upward_test_data): Likewise.
8300         (ctanh_test_upward): Likewise.
8301         (erf_test_data): Update call to AUTO_TESTS_f_f.
8302         (erfc_test_data): Likewise.
8303         (exp_test_data): Likewise.
8304         (exp_test): Use ALL_RM_TEST.
8305         (exp_tonearest_test_data): Remove.
8306         (exp_test_tonearest): Likewise.
8307         (exp_towardzero_test_data): Likewise.
8308         (exp_test_towardzero): Likewise.
8309         (exp_downward_test_data): Likewise.
8310         (exp_test_downward): Likewise.
8311         (exp_upward_test_data): Likewise.
8312         (exp_test_upward): Likewise.
8313         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8314         (exp10_test): Use ALL_RM_TEST.
8315         (exp10_tonearest_test_data): Remove.
8316         (exp10_test_tonearest): Likewise.
8317         (exp10_towardzero_test_data): Likewise.
8318         (exp10_test_towardzero): Likewise.
8319         (exp10_downward_test_data): Likewise.
8320         (exp10_test_downward): Likewise.
8321         (exp10_upward_test_data): Likewise.
8322         (exp10_test_upward): Likewise.
8323         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8324         (expm1_test_data): Likewise.
8325         (expm1_test): Use ALL_RM_TEST.
8326         (expm1_tonearest_test_data): Remove.
8327         (expm1_test_tonearest): Likewise.
8328         (expm1_towardzero_test_data): Likewise.
8329         (expm1_test_towardzero): Likewise.
8330         (expm1_downward_test_data): Likewise.
8331         (expm1_test_downward): Likewise.
8332         (expm1_upward_test_data): Likewise.
8333         (expm1_test_upward): Likewise.
8334         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8335         (fma_test): Use ALL_RM_TEST.
8336         (fma_towardzero_test_data): Remove.
8337         (fma_test_towardzero): Likewise.
8338         (fma_downward_test_data): Likewise.
8339         (fma_test_downward): Likewise.
8340         (fma_upward_test_data): Likewise.
8341         (fma_test_upward): Likewise.
8342         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8343         (j0_test_data): Update call to AUTO_TESTS_f_f.
8344         (j1_test_data): Likewise.
8345         (jn_test_data): Update call to AUTO_TESTS_if_f.
8346         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8347         (log_test_data): Update call to AUTO_TESTS_f_f.
8348         (log10_test_data): Likewise.
8349         (log1p_test_data): Likewise.
8350         (log2_test_data): Likewise.
8351         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8352         (pow_tonearest_test_data): Likewise.
8353         (sin_test_data): Update call to AUTO_TESTS_f_f.
8354         (sin_test): Use ALL_RM_TEST.
8355         (sin_tonearest_test_data): Remove.
8356         (sin_test_tonearest): Likewise.
8357         (sin_towardzero_test_data): Likewise.
8358         (sin_test_towardzero): Likewise.
8359         (sin_downward_test_data): Likewise.
8360         (sin_test_downward): Likewise.
8361         (sin_upward_test_data): Likewise.
8362         (sin_test_upward): Likewise.
8363         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8364         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8365         (sinh_test): Use ALL_RM_TEST.
8366         (sinh_tonearest_test_data): Remove.
8367         (sinh_test_tonearest): Likewise.
8368         (sinh_towardzero_test_data): Likewise.
8369         (sinh_test_towardzero): Likewise.
8370         (sinh_downward_test_data): Likewise.
8371         (sinh_test_downward): Likewise.
8372         (sinh_upward_test_data): Likewise.
8373         (sinh_test_upward): Likewise.
8374         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8375         (sqrt_test): Use ALL_RM_TEST.
8376         (sqrt_tonearest_test_data): Remove.
8377         (sqrt_test_tonearest): Likewise.
8378         (sqrt_towardzero_test_data): Likewise.
8379         (sqrt_test_towardzero): Likewise.
8380         (sqrt_downward_test_data): Likewise.
8381         (sqrt_test_downward): Likewise.
8382         (sqrt_upward_test_data): Likewise.
8383         (sqrt_test_upward): Likewise.
8384         (tan_test_data): Update call to AUTO_TESTS_f_f.
8385         (tan_test): Use ALL_RM_TEST.
8386         (tan_tonearest_test_data): Remove.
8387         (tan_test_tonearest): Likewise.
8388         (tan_towardzero_test_data): Likewise.
8389         (tan_test_towardzero): Likewise.
8390         (tan_downward_test_data): Likewise.
8391         (tan_test_downward): Likewise.
8392         (tan_upward_test_data): Likewise.
8393         (tan_test_upward): Likewise.
8394         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8395         (tgamma_test_data): Likewise.
8396         (y0_test_data): Likewise.
8397         (y1_test_data): Likewise.
8398         (yn_test_data): Update call to AUTO_TESTS_if_f.
8399         (main): Do not call removed functions.
8401 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8403         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8404         (ldexp_test_data): Remove.
8405         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8406         scalbn_test_data.
8407         (scalb_test): Use ALL_RM_TEST.
8409 2014-03-19  Andreas Schwab  <schwab@suse.de>
8411         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8413 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8415         [BZ #16649]
8416         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8417         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8418         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8420         (__ASSUME_PREADV): Undefine.
8421         (__ASSUME_PWRITEV): Likewise.
8423 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8425         * bits/mman-linux.h: Add comment about non-Linux use.
8426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8427         bits/mman-linux.h resting place.
8429         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8430         * bits/mman-linux.h: ... here.
8432 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8434         * conform/conformtest.pl: Add standard definition when calling C
8435         preprocessor on data files.
8436         (checknamespace): Remove unused variable.
8438 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8440         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8441         minus_oflow, plus_uflow and minus_uflow in expected results.
8442         * math/libm-test.inc (scalbn_test_data): Add more tests of
8443         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8444         minus_uflow.
8445         (scalbn_test): Use ALL_RM_TEST.
8446         (scalbln_test_data): Add more tests of negative arguments.  Use
8447         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8448         (scalbln_test): Use ALL_RM_TEST.
8450 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8452         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8454 2014-03-18  Will Newton  <will.newton@linaro.org>
8456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8457         inaccurate comment.
8459 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8461         * Makerules [!subdir] (check-abi): Exit with error status if a
8462         test failed.
8464 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8466         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8467         for rint.  Include results for all rounding modes.
8468         (nearbyint_test): Use ALL_RM_TEST.
8469         (rint_test_data): Include all tests used for nearbyint.
8471 2014-03-17  Will Newton  <will.newton@linaro.org>
8473         * nptl/sysdeps/pthread/pthread.h: Revert previous
8474         change.
8476         * sysdeps/generic/ldsodefs.h: Revert previous
8477         change.
8479         * libio/genops.c: Revert previous change.
8480         * libio/libioP.h: Likewise.
8481         * stdio-common/vfprintf.c: Likewise.
8483         * sysdeps/generic/math_private.h: Revert previous
8484         change.
8486         * sysdeps/generic/math_private.h: Check whether
8487         HAVE_RM_CTX is defined with #ifdef rather
8488         than #if.
8490         * argp/argp-fmtstream.h: Check whether
8491         __STRICT_ANSI__ is defined with #ifdef rather
8492         than #if.
8493         * argp/argp.h: Likewise.
8495         * libio/genops.c: Check whether
8496         _IO_JUMPS_OFFSET is defined with #ifdef rather
8497         than #if.
8498         * libio/libioP.h: Likewise.
8499         * stdio-common/vfprintf.c: Likewise.
8501         * sysdeps/generic/ldsodefs.h: Check whether
8502         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8503         than #if.
8505         * nptl/sysdeps/pthread/pthread.h: Check
8506         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8507         its value.
8509 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8511         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8512         setting O_APPEND.
8513         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8514         test case.
8516         [BZ #16680]
8517         * libio/fileops.c (_IO_file_open): Seek to end of file but
8518         don't cache the offset.
8519         (get_file_offset): Remove function.
8520         (do_ftell): Use cached offset when available.
8521         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8522         don't cache the offset.
8523         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8524         case.
8525         (do_one_test): Call it.
8526         (do_ftell_test): Fix up expected old offset for a+ mode.
8527         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8528         available.
8530         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8531         up test status with function return status.
8532         (do_write_test): Likewise.
8533         (do_append_test): Likewise.
8535         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8536         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8537         Remove.
8539 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8541         * math/gen-libm-test.pl (parse_args): Handle results specified for
8542         each rounding mode separately.
8543         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8544         tests and results from lrint_tonearest_test_data,
8545         lrint_towardzero_test_data, lrint_downward_test_data and
8546         lrint_upward_test_data.
8547         (lrint_test): Use ALL_RM_TEST.
8548         (lrint_tonearest_test_data): Remove.
8549         (lrint_test_tonearest): Likewise.
8550         (lrint_towardzero_test_data): Likewise.
8551         (lrint_test_towardzero): Likewise.
8552         (lrint_downward_test_data): Likewise.
8553         (lrint_test_downward): Likewise.
8554         (lrint_upward_test_data): Likewise.
8555         (lrint_test_upward): Likewise.
8556         (llrint_test_data): Merge in per-rounding-mode tests and results
8557         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8558         llrint_downward_test_data and llrint_upward_test_data.
8559         (llrint_test): Use ALL_RM_TEST.
8560         (llrint_tonearest_test_data): Remove.
8561         (llrint_test_tonearest): Likewise.
8562         (llrint_towardzero_test_data): Likewise.
8563         (llrint_test_towardzero): Likewise.
8564         (llrint_downward_test_data): Likewise.
8565         (llrint_test_downward): Likewise.
8566         (llrint_upward_test_data): Likewise.
8567         (llrint_test_upward): Likewise.
8568         (rint_test_data): Merge in per-rounding-mode tests and results
8569         from rint_tonearest_test_data, rint_towardzero_test_data,
8570         rint_downward_test_data and rint_upward_test_data.  Add
8571         per-rounding-mode results for tests not in those arrays.
8572         (rint_test): Use ALL_RM_TEST.
8573         (rint_tonearest_test_data): Remove.
8574         (rint_test_tonearest): Likewise.
8575         (rint_towardzero_test_data): Likewise.
8576         (rint_test_towardzero): Likewise.
8577         (rint_downward_test_data): Likewise.
8578         (rint_test_downward): Likewise.
8579         (rint_upward_test_data): Likewise.
8580         (rint_test_upward): Likewise.
8581         (main): Don't call removed functions.
8583 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8585         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8586         "Compiled on ..." crapola.  It is anti-useful.
8588 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8590         * scripts/evaluate-test.sh: Handle fourth argument to determine
8591         whether test run should stop on failure.
8592         * Makeconfig (stop-on-test-failure): New variable.
8593         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8594         $(stop-on-test-failure).
8595         * Makefile (tests): Give a summary of results from testing and
8596         exit with failure status if they include an ERROR or FAIL.
8597         (xtests): Likewise.
8598         * manual/install.texi (Configuring and compiling): Mention
8599         stop-on-test-failure=y.
8600         * INSTALL: Regenerated.
8602 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8604         * scripts/versionlist.awk: New file.
8605         * Makerules [$(build-shared) = yes]
8606         (postclean-generated): Add Versions.def, not Versions.def.v and
8607         Versions.def.v.i.
8608         ($(common-objpfx)Versions.def.v.i): Target removed.
8609         ($(common-objpfx)Versions.def): New target.
8610         ($(common-objpfx)Versions.all): Depend on that rather that
8611         $(common-objpfx)Versions.def.v.
8612         * Versions.def: File removed.
8614         * Makeconfig (+gccwarn): Add -Wundef.
8615         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8616         a dl-sysdep.h breaking its contract.
8617         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8618         * include/stackinfo.h: New file.
8619         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8620         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8621         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8622         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8623         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8624         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8625         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8626         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8627         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8628         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8629         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8630         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8631         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8632         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8633         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8635 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8637         [BZ #16707]
8638         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8639         implementation.
8640         * math/libm-test.inc (round_test_data): Add more tests.
8642         [BZ #16706]
8643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8644         implementation.
8645         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8647         [BZ #16701]
8648         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8649         implementation.
8650         * math/libm-test.inc (ceil_test_data): Add more tests.
8652         * math/libm-test.inc (trunc_test_data): Add more tests related to
8653         BZ#16414.
8655 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8657         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8658         with #if rather than #ifdef.
8659         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8661 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8663         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8664         first.  Disable AVX-512 GCC support if assembler doesn't support
8665         it.
8666         * sysdeps/x86_64/configure: Regenerated.
8668 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8670         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8671         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8672         (__old_pthread_attr_setstack): Likewise.
8673         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8674         [!_STACK_GROWS_DOWN]: Likewise.
8676 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8678         * config.make.in (have-bash2): Delete.
8679         * configure.ac (libc_cv_have_bash2): Delete.
8680         * configure: Regenerate.
8681         * elf/Makefile (common-ldd-rewrite): Rename to ...
8682         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8683         (sh-ldd-rewrite): Delete.
8684         (bash-ldd-rewrite): Delete.
8685         (have-bash2): Delete checks.
8686         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8687         ldd-rewrite.
8689         * config.make.in (have-ksh): Delete.
8690         (KSH): Delete.
8691         * configure.ac (libc_cv_have_ksh): Delete.
8692         * configure: Regenerate.
8694         * elf/Makefile: Delete $(have-ksh) check.
8695         ($(objpfx)sotruss): Change KSH to BASH.
8696         * elf/sotruss.ksh: Rename to ...
8697         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8698         function style to match POSIX.  Drop ksh vim mode setting.
8700         * manual/time.texi (Specifying the Time Zone with TZ): Change
8701         Tuesday to Thursday.
8703         * debug/tst-longjmp_chk2.c: Update header comment.
8704         (stackoverflow_handler): Add comment.  Call assert on pass value.
8706 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8708         [BZ #16194]
8709         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8710         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8711         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8712         (La_x86_64_vector): Add zmm.
8713         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8714         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8715         ($(objpfx)tst-audit10): New target.
8716         ($(objpfx)tst-audit10.out): Likewise.
8717         (tst-audit10-ENV): New.
8718         (AVX512-CFLAGS): Likewise.
8719         (CFLAGS-tst-audit10.c): Likewise.
8720         (CFLAGS-tst-auditmod10a.c): Likewise.
8721         (CFLAGS-tst-auditmod10b.c): Likewise.
8722         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8723         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8724         * sysdeps/x86_64/configure: Regenerated.
8725         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8726         AVX-512 zmm register support.
8727         (_dl_x86_64_save_sse): Likewise.
8728         (_dl_x86_64_restore_sse): Likewise.
8729         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8730         size vector registers.
8731         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8732         (ZMM_SIZE): Likewise.
8733         * sysdeps/x86_64/tst-audit10.c: New file.
8734         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8735         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8737 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8739         * configure.ac (HAVE_EHDR_START): New check.
8740         * configure: Regenerated.
8741         * config.h.in (HAVE_EHDR_START): New #undef.
8742         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8743         assuming the lowest-addressed segment maps the start of the file.
8745 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8747         * INSTALL: Regenerated.
8749 2014-03-13  Will Newton  <will.newton@linaro.org>
8751         * manual/setjmp.texi (System V contexts): Improve
8752         clarity and grammar of documentation.
8754 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8756         [BZ #16381]
8757         * elf/Makefile (tests): Add tst-pie2.
8758         (tests-pie): Add tst-pie2.
8759         * elf/tst-pie2.c: New file.
8760         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8761         for ET_EXEC.
8762         * elf/rtld.c (map_doit): Load executable as lt_executable.
8763         (dl_main): Likewise.
8765 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8767         [BZ #16642]
8768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8769         (__ASSUME_PSELECT): Undefine.
8771 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8773         [BZ #16689]
8774         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8775         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8776         static build.
8777         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8778         selector for static builds.
8780 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8782         [BZ #16695]
8783         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8784         key in the buffer.
8786 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8788         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8789         IFUNC selector for static builds.
8791 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8793         * sysdeps/mips/math_private.h [__mips_hard_float]
8794         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8795         libc_feresetround_mips_ctx.
8796         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8797         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8798         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8800         [BZ #16677]
8801         * math/s_nextafter.c (__nextafter): Do not return value from
8802         overflowing computation.
8803         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8804         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8805         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8806         Likewise.
8807         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8808         Likewise.
8809         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8810         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8812 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8814         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8815         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8816         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8817         the new mov targetting sp.
8819 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8821         [BZ #16683]
8822         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8823         Define it for static builds as well.
8824         (NO_BZERO_IMPL): Likewise.
8826 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8828         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8829         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8830         multiarch strspn for PPC64.
8831         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8832         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8834         (__libc_ifunc_impl_list): Likewise.
8835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8836         multiarch optimizations
8837         * string/strspn.c (strspn): Using macro to redefine symbol name.
8839 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8840             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8842         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8843         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8844         multiarch strncat for PPC64.
8845         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8846         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8848         (__libc_ifunc_impl_list): Likewise.
8849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8850         multiarch optimizations
8852 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8854         [BZ #16639]
8855         * nscd/nscd.service: Make service type forking.
8857 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8859         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8860         sign in non default rounding modes.
8861         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8863 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8865         * math/libm-test.inc (ALL_RM_TEST): New macro.
8866         (ceil_test): Use ALL_RM_TEST.
8867         (cimag_test): Likewise.
8868         (conj_test): Likewise.
8869         (copysign_test): Likewise.
8870         (cproj_test): Likewise.
8871         (creal_test): Likewise.
8872         (fabs_test): Likewise.
8873         (floor_test): Likewise.
8874         (fmax_test): Likewise.
8875         (fmin_test): Likewise.
8876         (fmod_test): Likewise.
8877         (fpclassify_test): Likewise.
8878         (frexp_test): Likewise.
8879         (ilogb_test): Likewise.
8880         (isfinite_test): Likewise.
8881         (finite_test): Likewise.
8882         (isgreater_test): Likewise.
8883         (isgreaterequal_test): Likewise.
8884         (isinf_test): Likewise.
8885         (isless_test): Likewise.
8886         (islessequal_test): Likewise.
8887         (islessgreater_test): Likewise.
8888         (isnan_test): Likewise.
8889         (isnormal_test): Likewise.
8890         (issignaling_test): Likewise.
8891         (isunordered_test): Likewise.
8892         (logb_test): Likewise.
8893         (logb_downward_test_data): Remove.
8894         (logb_test_downward): Likewise.
8895         (lround_test): Use ALL_RM_TEST.
8896         (llround_test): Likewise.
8897         (modf_test): Likewise.
8898         (nexttoward_test): Likewise.
8899         (remainder_test): Likewise.
8900         (drem_test): Likewise.
8901         (remainder_tonearest_test_data): Likewise.
8902         (remainder_test_tonearest): Likewise.
8903         (drem_test_tonearest): Likewise.
8904         (remainder_towardzero_test_data): Likewise.
8905         (remainder_test_towardzero): Likewise.
8906         (drem_test_towardzero): Likewise.
8907         (remainder_downward_test_data): Likewise.
8908         (remainder_test_downward): Likewise.
8909         (drem_test_downward): Likewise.
8910         (remainder_upward_test_data): Likewise.
8911         (remainder_test_upward): Likewise.
8912         (drem_test_upward): Likewise.
8913         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8914         (round_test): Use ALL_RM_TEST.
8915         (signbit_test): Likewise.
8916         (trunc_test): Likewise.
8917         (significand_test): Likewise.
8918         (main): Don't call removed functions.
8920 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8922         [BZ #16674]
8923         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8924         || __USE_XOPEN2K8].
8925         (ILL_ILLOPN): Likewise.
8926         (ILL_ILLADR): Likewise.
8927         (ILL_ILLTRP): Likewise.
8928         (ILL_PRVOPC): Likewise.
8929         (ILL_PRVREG): Likewise.
8930         (ILL_COPROC): Likewise.
8931         (ILL_BADSTK): Likewise.
8932         (FPE_INTDIV): Likewise.
8933         (FPE_INTOVF): Likewise.
8934         (FPE_FLTDIV): Likewise.
8935         (FPE_FLTOVF): Likewise.
8936         (FPE_FLTUND): Likewise.
8937         (FPE_FLTRES): Likewise.
8938         (FPE_FLTINV): Likewise.
8939         (FPE_FLTSUB): Likewise.
8940         (SEGV_MAPERR): Likewise.
8941         (SEGV_ACCERR): Likewise.
8942         (BUS_ADRALN): Likewise.
8943         (BUS_ADRERR): Likewise.
8944         (BUS_OBJERR): Likewise.
8945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8946         (TRAP_TRACE): Likewise.
8947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8948         __USE_XOPEN2K8].
8949         (CLD_KILLED): Likewise.
8950         (CLD_DUMPED): Likewise.
8951         (CLD_TRAPPED): Likewise.
8952         (CLD_STOPPED): Likewise.
8953         (CLD_CONTINUED): Likewise.
8954         (POLL_IN): Likewise.
8955         (POLL_OUT): Likewise.
8956         (POLL_MSG): Likewise.
8957         (POLL_ERR): Likewise.
8958         (POLL_PRI): Likewise.
8959         (POLL_HUP): Likewise.
8960         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8961         Likewise.
8962         (ILL_ILLOPN): Likewise.
8963         (ILL_ILLADR): Likewise.
8964         (ILL_ILLTRP): Likewise.
8965         (ILL_PRVOPC): Likewise.
8966         (ILL_PRVREG): Likewise.
8967         (ILL_COPROC): Likewise.
8968         (ILL_BADSTK): Likewise.
8969         (FPE_INTDIV): Likewise.
8970         (FPE_INTOVF): Likewise.
8971         (FPE_FLTDIV): Likewise.
8972         (FPE_FLTOVF): Likewise.
8973         (FPE_FLTUND): Likewise.
8974         (FPE_FLTRES): Likewise.
8975         (FPE_FLTINV): Likewise.
8976         (FPE_FLTSUB): Likewise.
8977         (SEGV_MAPERR): Likewise.
8978         (SEGV_ACCERR): Likewise.
8979         (BUS_ADRALN): Likewise.
8980         (BUS_ADRERR): Likewise.
8981         (BUS_OBJERR): Likewise.
8982         (BUS_MCEERR_AR): Likewise.
8983         (BUS_MCEERR_AO): Likewise.
8984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8985         (TRAP_TRACE): Likewise.
8986         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8987         __USE_XOPEN2K8].
8988         (CLD_KILLED): Likewise.
8989         (CLD_DUMPED): Likewise.
8990         (CLD_TRAPPED): Likewise.
8991         (CLD_STOPPED): Likewise.
8992         (CLD_CONTINUED): Likewise.
8993         (POLL_IN): Likewise.
8994         (POLL_OUT): Likewise.
8995         (POLL_MSG): Likewise.
8996         (POLL_ERR): Likewise.
8997         (POLL_PRI): Likewise.
8998         (POLL_HUP): Likewise.
8999         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9000         (ILL_ILLOPN): Likewise.
9001         (ILL_ILLADR): Likewise.
9002         (ILL_ILLTRP): Likewise.
9003         (ILL_PRVOPC): Likewise.
9004         (ILL_PRVREG): Likewise.
9005         (ILL_COPROC): Likewise.
9006         (ILL_BADSTK): Likewise.
9007         (FPE_INTDIV): Likewise.
9008         (FPE_INTOVF): Likewise.
9009         (FPE_FLTDIV): Likewise.
9010         (FPE_FLTOVF): Likewise.
9011         (FPE_FLTUND): Likewise.
9012         (FPE_FLTRES): Likewise.
9013         (FPE_FLTINV): Likewise.
9014         (FPE_FLTSUB): Likewise.
9015         (SEGV_MAPERR): Likewise.
9016         (SEGV_ACCERR): Likewise.
9017         (BUS_ADRALN): Likewise.
9018         (BUS_ADRERR): Likewise.
9019         (BUS_OBJERR): Likewise.
9020         (BUS_MCEERR_AR): Likewise.
9021         (BUS_MCEERR_AO): Likewise.
9022         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9023         (TRAP_TRACE): Likewise.
9024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9025         __USE_XOPEN2K8].
9026         (CLD_KILLED): Likewise.
9027         (CLD_DUMPED): Likewise.
9028         (CLD_TRAPPED): Likewise.
9029         (CLD_STOPPED): Likewise.
9030         (CLD_CONTINUED): Likewise.
9031         (POLL_IN): Likewise.
9032         (POLL_OUT): Likewise.
9033         (POLL_MSG): Likewise.
9034         (POLL_ERR): Likewise.
9035         (POLL_PRI): Likewise.
9036         (POLL_HUP): Likewise.
9037         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9038         Likewise.
9039         (ILL_ILLOPN): Likewise.
9040         (ILL_ILLADR): Likewise.
9041         (ILL_ILLTRP): Likewise.
9042         (ILL_PRVOPC): Likewise.
9043         (ILL_PRVREG): Likewise.
9044         (ILL_COPROC): Likewise.
9045         (ILL_BADSTK): Likewise.
9046         (ILL_BADIADDR): Likewise.
9047         (ILL_BREAK): Likewise.
9048         (FPE_INTDIV): Likewise.
9049         (FPE_INTOVF): Likewise.
9050         (FPE_FLTDIV): Likewise.
9051         (FPE_FLTOVF): Likewise.
9052         (FPE_FLTUND): Likewise.
9053         (FPE_FLTRES): Likewise.
9054         (FPE_FLTINV): Likewise.
9055         (FPE_FLTSUB): Likewise.
9056         (FPE_DECOVF): Likewise.
9057         (FPE_DECDIV): Likewise.
9058         (FPE_DECERR): Likewise.
9059         (FPE_INVASC): Likewise.
9060         (FPE_INVDEC): Likewise.
9061         (SEGV_MAPERR): Likewise.
9062         (SEGV_ACCERR): Likewise.
9063         (SEGV_PSTKOVF): Likewise.
9064         (BUS_ADRALN): Likewise.
9065         (BUS_ADRERR): Likewise.
9066         (BUS_OBJERR): Likewise.
9067         (BUS_MCEERR_AR): Likewise.
9068         (BUS_MCEERR_AO): Likewise.
9069         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9070         (TRAP_TRACE): Likewise.
9071         (TRAP_BRANCH): Likewise.
9072         (TRAP_HWBKPT): Likewise.
9073         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9074         __USE_XOPEN2K8].
9075         (CLD_KILLED): Likewise.
9076         (CLD_DUMPED): Likewise.
9077         (CLD_TRAPPED): Likewise.
9078         (CLD_STOPPED): Likewise.
9079         (CLD_CONTINUED): Likewise.
9080         (POLL_IN): Likewise.
9081         (POLL_OUT): Likewise.
9082         (POLL_MSG): Likewise.
9083         (POLL_ERR): Likewise.
9084         (POLL_PRI): Likewise.
9085         (POLL_HUP): Likewise.
9086         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9087         (ILL_ILLOPN): Likewise.
9088         (ILL_ILLADR): Likewise.
9089         (ILL_ILLTRP): Likewise.
9090         (ILL_PRVOPC): Likewise.
9091         (ILL_PRVREG): Likewise.
9092         (ILL_COPROC): Likewise.
9093         (ILL_BADSTK): Likewise.
9094         (FPE_INTDIV): Likewise.
9095         (FPE_INTOVF): Likewise.
9096         (FPE_FLTDIV): Likewise.
9097         (FPE_FLTOVF): Likewise.
9098         (FPE_FLTUND): Likewise.
9099         (FPE_FLTRES): Likewise.
9100         (FPE_FLTINV): Likewise.
9101         (FPE_FLTSUB): Likewise.
9102         (SEGV_MAPERR): Likewise.
9103         (SEGV_ACCERR): Likewise.
9104         (BUS_ADRALN): Likewise.
9105         (BUS_ADRERR): Likewise.
9106         (BUS_OBJERR): Likewise.
9107         (BUS_MCEERR_AR): Likewise.
9108         (BUS_MCEERR_AO): Likewise.
9109         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9110         (TRAP_TRACE): Likewise.
9111         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9112         __USE_XOPEN2K8].
9113         (CLD_KILLED): Likewise.
9114         (CLD_DUMPED): Likewise.
9115         (CLD_TRAPPED): Likewise.
9116         (CLD_STOPPED): Likewise.
9117         (CLD_CONTINUED): Likewise.
9118         (POLL_IN): Likewise.
9119         (POLL_OUT): Likewise.
9120         (POLL_MSG): Likewise.
9121         (POLL_ERR): Likewise.
9122         (POLL_PRI): Likewise.
9123         (POLL_HUP): Likewise.
9124         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9125         (ILL_ILLOPN): Likewise.
9126         (ILL_ILLADR): Likewise.
9127         (ILL_ILLTRP): Likewise.
9128         (ILL_PRVOPC): Likewise.
9129         (ILL_PRVREG): Likewise.
9130         (ILL_COPROC): Likewise.
9131         (ILL_BADSTK): Likewise.
9132         (FPE_INTDIV): Likewise.
9133         (FPE_INTOVF): Likewise.
9134         (FPE_FLTDIV): Likewise.
9135         (FPE_FLTOVF): Likewise.
9136         (FPE_FLTUND): Likewise.
9137         (FPE_FLTRES): Likewise.
9138         (FPE_FLTINV): Likewise.
9139         (FPE_FLTSUB): Likewise.
9140         (SEGV_MAPERR): Likewise.
9141         (SEGV_ACCERR): Likewise.
9142         (BUS_ADRALN): Likewise.
9143         (BUS_ADRERR): Likewise.
9144         (BUS_OBJERR): Likewise.
9145         (BUS_MCEERR_AR): Likewise.
9146         (BUS_MCEERR_AO): Likewise.
9147         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9148         (TRAP_TRACE): Likewise.
9149         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9150         __USE_XOPEN2K8].
9151         (CLD_KILLED): Likewise.
9152         (CLD_DUMPED): Likewise.
9153         (CLD_TRAPPED): Likewise.
9154         (CLD_STOPPED): Likewise.
9155         (CLD_CONTINUED): Likewise.
9156         (POLL_IN): Likewise.
9157         (POLL_OUT): Likewise.
9158         (POLL_MSG): Likewise.
9159         (POLL_ERR): Likewise.
9160         (POLL_PRI): Likewise.
9161         (POLL_HUP): Likewise.
9162         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9163         (ILL_ILLOPN): Likewise.
9164         (ILL_ILLADR): Likewise.
9165         (ILL_ILLTRP): Likewise.
9166         (ILL_PRVOPC): Likewise.
9167         (ILL_PRVREG): Likewise.
9168         (ILL_COPROC): Likewise.
9169         (ILL_BADSTK): Likewise.
9170         (FPE_INTDIV): Likewise.
9171         (FPE_INTOVF): Likewise.
9172         (FPE_FLTDIV): Likewise.
9173         (FPE_FLTOVF): Likewise.
9174         (FPE_FLTUND): Likewise.
9175         (FPE_FLTRES): Likewise.
9176         (FPE_FLTINV): Likewise.
9177         (FPE_FLTSUB): Likewise.
9178         (SEGV_MAPERR): Likewise.
9179         (SEGV_ACCERR): Likewise.
9180         (BUS_ADRALN): Likewise.
9181         (BUS_ADRERR): Likewise.
9182         (BUS_OBJERR): Likewise.
9183         (BUS_MCEERR_AR): Likewise.
9184         (BUS_MCEERR_AO): Likewise.
9185         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9186         (TRAP_TRACE): Likewise.
9187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9188         __USE_XOPEN2K8].
9189         (CLD_KILLED): Likewise.
9190         (CLD_DUMPED): Likewise.
9191         (CLD_TRAPPED): Likewise.
9192         (CLD_STOPPED): Likewise.
9193         (CLD_CONTINUED): Likewise.
9194         (POLL_IN): Likewise.
9195         (POLL_OUT): Likewise.
9196         (POLL_MSG): Likewise.
9197         (POLL_ERR): Likewise.
9198         (POLL_PRI): Likewise.
9199         (POLL_HUP): Likewise.
9200         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9201         (ILL_ILLOPN): Likewise.
9202         (ILL_ILLADR): Likewise.
9203         (ILL_ILLTRP): Likewise.
9204         (ILL_PRVOPC): Likewise.
9205         (ILL_PRVREG): Likewise.
9206         (ILL_COPROC): Likewise.
9207         (ILL_BADSTK): Likewise.
9208         (ILL_DBLFLT): Likewise.
9209         (ILL_HARDWALL): Likewise.
9210         (FPE_INTDIV): Likewise.
9211         (FPE_INTOVF): Likewise.
9212         (FPE_FLTDIV): Likewise.
9213         (FPE_FLTOVF): Likewise.
9214         (FPE_FLTUND): Likewise.
9215         (FPE_FLTRES): Likewise.
9216         (FPE_FLTINV): Likewise.
9217         (FPE_FLTSUB): Likewise.
9218         (SEGV_MAPERR): Likewise.
9219         (SEGV_ACCERR): Likewise.
9220         (BUS_ADRALN): Likewise.
9221         (BUS_ADRERR): Likewise.
9222         (BUS_OBJERR): Likewise.
9223         (BUS_MCEERR_AR): Likewise.
9224         (BUS_MCEERR_AO): Likewise.
9225         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9226         (TRAP_TRACE): Likewise.
9227         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9228         __USE_XOPEN2K8].
9229         (CLD_KILLED): Likewise.
9230         (CLD_DUMPED): Likewise.
9231         (CLD_TRAPPED): Likewise.
9232         (CLD_STOPPED): Likewise.
9233         (CLD_CONTINUED): Likewise.
9234         (POLL_IN): Likewise.
9235         (POLL_OUT): Likewise.
9236         (POLL_MSG): Likewise.
9237         (POLL_ERR): Likewise.
9238         (POLL_PRI): Likewise.
9239         (POLL_HUP): Likewise.
9240         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9241         (ILL_ILLOPN): Likewise.
9242         (ILL_ILLADR): Likewise.
9243         (ILL_ILLTRP): Likewise.
9244         (ILL_PRVOPC): Likewise.
9245         (ILL_PRVREG): Likewise.
9246         (ILL_COPROC): Likewise.
9247         (ILL_BADSTK): Likewise.
9248         (FPE_INTDIV): Likewise.
9249         (FPE_INTOVF): Likewise.
9250         (FPE_FLTDIV): Likewise.
9251         (FPE_FLTOVF): Likewise.
9252         (FPE_FLTUND): Likewise.
9253         (FPE_FLTRES): Likewise.
9254         (FPE_FLTINV): Likewise.
9255         (FPE_FLTSUB): Likewise.
9256         (SEGV_MAPERR): Likewise.
9257         (SEGV_ACCERR): Likewise.
9258         (BUS_ADRALN): Likewise.
9259         (BUS_ADRERR): Likewise.
9260         (BUS_OBJERR): Likewise.
9261         (BUS_MCEERR_AR): Likewise.
9262         (BUS_MCEERR_AO): Likewise.
9263         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9264         (TRAP_TRACE): Likewise.
9265         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9266         __USE_XOPEN2K8].
9267         (CLD_KILLED): Likewise.
9268         (CLD_DUMPED): Likewise.
9269         (CLD_TRAPPED): Likewise.
9270         (CLD_STOPPED): Likewise.
9271         (CLD_CONTINUED): Likewise.
9272         (POLL_IN): Likewise.
9273         (POLL_OUT): Likewise.
9274         (POLL_MSG): Likewise.
9275         (POLL_ERR): Likewise.
9276         (POLL_PRI): Likewise.
9277         (POLL_HUP): Likewise.
9278         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9279         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9281         [BZ #16670]
9282         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9283         before #include of <time.h>.
9284         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9285         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9286         (test-xfail-UNIX98/sched.h/conform): Likewise.
9288 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9290         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9291         error absence of trapping exception support.
9292         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9294 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9296         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9297         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9298         * timezone/Makefile (testdata): Move definition above include of
9299         Rules.
9300         (test-zones): New variable.
9301         (tests-special): Add zone files.
9302         (build-testdata): Use $(evaluate-test).
9304         * elf/Makefile (tests-special): Rename tests to end with .out.
9305         ($(objpfx)noload-mem): Likewise.
9306         ($(objpfx)tst-leaks1-mem): Likewise.
9307         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9308         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9309         $(objpfx)test-iconvconfig.out.
9310         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9311         set -e inside subshell and redirect output to file.
9312         * iconvdata/Makefile (generated): Rename tests to end with .out.
9313         Correct type.
9314         (tests-special): Rename tests to end with .out.
9315         ($(objpfx)mtrace-tst-loading): Likewise.
9316         * intl/Makefile (generated): Likewise.
9317         (tests-special): Likewise.
9318         ($(objpfx)mtrace-tst-gettext): Likewise.
9319         * misc/Makefile (generated): Likewise.
9320         (tests-special): Likewise.
9321         ($(objpfx)tst-error1-mem): Likewise.
9322         * nptl/Makefile (tests-special): Likewise.
9323         ($(objpfx)tst-stack3-mem): Likewise.
9324         (generated): Likewise.
9325         * posix/Makefile (generated): Likewise.
9326         (tests-special): Likewise.
9327         (xtests-special): Likewise.
9328         ($(objpfx)tst-fnmatch-mem): Likewise.
9329         ($(objpfx)bug-regex2-mem): Likewise.
9330         ($(objpfx)bug-regex14-mem): Likewise.
9331         ($(objpfx)bug-regex21-mem): Likewise.
9332         ($(objpfx)bug-regex31-mem): Likewise.
9333         ($(objpfx)tst-vfork3-mem): Likewise.
9334         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9335         ($(objpfx)tst-pcre-mem): Likewise.
9336         ($(objpfx)tst-boost-mem): Likewise.
9337         ($(objpfx)bug-ga2-mem): Likewise.
9338         ($(objpfx)bug-glob2-mem): Likewise.
9339         * resolv/Makefile (generate): Likewise.
9340         (tests-special): Likewise.
9341         (xtests-special): Likewise.
9342         (generated): Likewise.
9343         ($(objpfx)mtrace-tst-leaks): Likewise.
9344         ($(objpfx)mtrace-tst-leaks2): Likewise.
9346         * scripts/merge-test-results.sh: New file.
9347         * Makefile (tests-special-notdir): New variable.
9348         (tests): Run merge-test-results.sh.
9349         (xtests): Likewise.
9350         * Rules (tests-special-notdir): New variable.
9351         (xtests-special-notdir): Likewise.
9352         (tests): Run merge-test-results.sh
9353         (xtests): Likewise.
9355         * Makeconfig (test-xfail-name): New variable.
9356         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9357         compute variable name for expected failures.
9358         * conform/Makefile (conformtest-headers-data): New variable.
9359         (conformtest-standards): Likewise.
9360         (conformtest-headers-ISO): Likewise.
9361         (conformtest-headers-ISO99): Likewise.
9362         (conformtest-headers-ISO11): Likewise.
9363         (conformtest-headers-POSIX): Likewise.
9364         (conformtest-headers-XPG3): Likewise.
9365         (conformtest-headers-XPG4): Likewise.
9366         (conformtest-headers-UNIX98): Likewise.
9367         (conformtest-headers-XOPEN2K): Likewise.
9368         (conformtest-headers-POSIX2008): Likewise.
9369         (conformtest-headers-XOPEN2K8): Likewise.
9370         (conformtest-header-list-base): Likewise.
9371         (conformtest-header-list-tests): Likewise.
9372         (conformtest-header-base): Likewise.
9373         (conformtest-header-tests): Likewise.
9374         (tests-special): Add $(conformtest-header-list-tests).  If
9375         [$(fast-check) && !$(cross-compiling)], add
9376         $(conformtest-header-tests) instead of
9377         $(objpfx)run-conformtest.out.
9378         (generated): Add $(conformtest-header-list-base).  If
9379         [$(fast-check) && !$(cross-compiling)], add
9380         $(conformtest-header-base).  Remove previous setting.
9381         ($(conformtest-header-list-tests)): New target.
9382         (test-xfail-run-conformtest): Remove variable.
9383         ($(objpfx)run-conformtest.out): Remove target.
9384         (test-xfail-ISO11/complex.h/conform): New variable.
9385         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9386         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9387         (test-xfail-XPG3/varargs.h/conform): Likewise.
9388         (test-xfail-XPG4/varargs.h/conform): Likewise.
9389         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9390         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9391         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9392         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9393         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9394         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9395         (test-xfail-XPG3/ftw.h/conform): Likewise.
9396         (test-xfail-XPG3/grp.h/conform): Likewise.
9397         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9398         (test-xfail-XPG3/limits.h/conform): Likewise.
9399         (test-xfail-XPG3/pwd.h/conform): Likewise.
9400         (test-xfail-XPG3/search.h/conform): Likewise.
9401         (test-xfail-XPG3/signal.h/conform): Likewise.
9402         (test-xfail-XPG3/stdio.h/conform): Likewise.
9403         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9404         (test-xfail-XPG3/string.h/conform): Likewise.
9405         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9406         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9407         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9408         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9409         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9410         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9411         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9412         (test-xfail-XPG3/termios.h/conform): Likewise.
9413         (test-xfail-XPG3/time.h/conform): Likewise.
9414         (test-xfail-XPG3/unistd.h/conform): Likewise.
9415         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9416         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9417         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9418         (test-xfail-XPG4/netdb.h/conform): Likewise.
9419         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9420         (test-xfail-XPG4/signal.h/conform): Likewise.
9421         (test-xfail-XPG4/stdio.h/conform): Likewise.
9422         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9423         (test-xfail-XPG4/stropts.h/conform): Likewise.
9424         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9425         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9426         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9427         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9428         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9429         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9430         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9431         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9432         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9433         (test-xfail-XPG4/termios.h/conform): Likewise.
9434         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9435         (test-xfail-XPG4/unistd.h/conform): Likewise.
9436         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9437         (test-xfail-POSIX/sched.h/conform): Likewise.
9438         (test-xfail-POSIX/signal.h/conform): Likewise.
9439         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9440         (test-xfail-POSIX/tar.h/conform): Likewise.
9441         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9442         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9443         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9444         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9445         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9446         (test-xfail-UNIX98/sched.h/conform): Likewise.
9447         (test-xfail-UNIX98/signal.h/conform): Likewise.
9448         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9449         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9450         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9451         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9452         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9453         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9454         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9455         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9456         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9457         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9458         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9459         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9460         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9461         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9462         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9463         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9464         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9465         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9466         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9467         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9468         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9469         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9470         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9471         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9472         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9473         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9474         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9475         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9476         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9477         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9478         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9479         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9480         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9481         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9482         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9483         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9484         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9485         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9486         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9487         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9488         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9489         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9490         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9491         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9492         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9493         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9494         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9495         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9496         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9497         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9498         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9499         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9500         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9501         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9502         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9503         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9504         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9505         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9506         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9507         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9508         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9509         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9510         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9511         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9512         (conformtest-cc-flags): Likewise.
9513         ($(conformtest-header-tests): New target.
9514         * conform/check-header-lists.sh: New file.
9515         * conform/run-conformtest.sh: Remove.
9517         * conform/conformtest.pl: Allow ' and \ in values given for
9518         constants.
9519         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9520         inclusion.
9521         [POSIX] (sys/types.h): Likewise.
9522         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9523         inclusion.
9524         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9525         inclusion.
9526         * conform/data/signal.h-data (SIGIO): Remove expectation.
9527         [XPG3] (SIGBUS): Do not expect.
9528         [POSIX || XPG3] (SIGPOLL): Likewise.
9529         [POSIX || XPG3] (SIGPROF): Likewise.
9530         [POSIX || XPG3] (SIGSYS): Likewise.
9531         [XPG3] (SIGTRAP): Likewise.
9532         [POSIX || XPG3] (SIGURG): Likewise.
9533         [POSIX || XPG3] (SIGVTALRM): Likewise.
9534         [POSIX || XPG3] (SIGXCPU): Likewise.
9535         [POSIX || XPG3] (SIGXFSZ): Likewise.
9536         [POSIX] (SA_SIGINFO): Expect.
9537         [XPG3] (siginfo_t): Do not expect type or contents.
9538         [POSIX] (si_pid): Do not expect element.
9539         [POSIX] (si_uid): Likewise.
9540         [POSIX] (si_addr): Likewise.
9541         [POSIX] (si_status): Likewise.
9542         [POSIX] (si_band): Likewise.
9543         [XPG4] (si_value): Likewise.
9544         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9545         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9546         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9547         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9548         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9549         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9550         [POSIX || XPG3] (ILL_COPROC): Likewise.
9551         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9552         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9553         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9554         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9555         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9556         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9557         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9558         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9559         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9560         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9561         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9562         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9563         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9564         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9565         [POSIX || XPG3] (CLD_EXITED): Likewise.
9566         [POSIX || XPG3] (CLD_KILLED): Likewise.
9567         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9568         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9569         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9570         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9571         [POSIX || XPG3] (POLL_IN): Likewise.
9572         [POSIX || XPG3] (POLL_OUT): Likewise.
9573         [POSIX || XPG3] (POLL_MSG): Likewise.
9574         [POSIX || XPG3] (POLL_ERR): Likewise.
9575         [POSIX || XPG3] (POLL_PRI): Likewise.
9576         [POSIX || XPG3] (POLL_HUP): Likewise.
9577         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9578         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9579         (SIG*): Do not allow.
9580         [XPG3] (si_*): Likewise.
9581         [XPG3] (SI_*): Likewise.
9582         [XPG3 || XPG4] (sigev_*): Likewise.
9583         [XPG3 || XPG4] (SIGEV_*): Likewise.
9584         [XPG3 || XPG4] (sival_*): Likewise.
9585         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9586         [POSIX || XPG3] (BUS_*): Likewise.
9587         [POSIX || XPG3] (CLD_*): Likewise.
9588         [POSIX || XPG3] (FPE_*): Likewise.
9589         [POSIX || XPG3] (ILL_*): Likewise.
9590         [POSIX || XPG3] (POLL_*): Likewise.
9591         [POSIX || XPG3] (SEGV_*): Likewise.
9592         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9593         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9594         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9595         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9596         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9597         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9598         Specify type and value.
9599         (TVERSLEN): Likewise.
9600         (REGTYPE): Likewise.
9601         (AREGTYPE): Likewise.
9602         (LNKTYPE): Likewise.
9603         (SYMTYPE): Likewise.
9604         (CHRTYPE): Likewise.
9605         (BLKTYPE): Likewise.
9606         (DIRTYPE): Likewise.
9607         (FIFOTYPE): Likewise.
9608         (CONTTYPE): Likewise.
9609         (TSUID): Likewise.
9610         (TSGID): Likewise.
9611         (TSVTX): Likewise.
9612         (TUREAD): Likewise.
9613         (TUWRITE): Likewise.
9614         (TUEXEC): Likewise.
9615         (TGREAD): Likewise.
9616         (TGWRITE): Likewise.
9617         (TGEXEC): Likewise.
9618         (TOREAD): Likewise.
9619         (TOWRITE): Likewise.
9620         (TOEXEC): Likewise.
9621         [POSIX] (TSVTX): Expect constant.
9623 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9625         * Makefile (tests): Change dependencies to ....
9626         (tests-special): ... additions to this variable.
9627         (tests): Depend on $(tests-special).
9628         * Makerules (check-abi-list): New variable.
9629         (check-abi): Depend on $(check-abi-list).
9630         [$(subdir) = elf] (tests-special): Add
9631         $(objpfx)check-abi-libc.out.
9632         [$(build-shared) = yes && subdir] (tests-special): Add
9633         $(check-abi-list).
9634         [$(build-shared) = yes && subdir] (tests): Do not depend on
9635         check-abi.
9636         * Rules (tests): Depend on $(tests-special).
9637         (xtests): Depend on $(xtests-special).
9638         * catgets/Makefile (tests): Change dependencies to ....
9639         (tests-special): ... additions to this variable.
9640         * conform/Makefile (tests): Change dependencies to ....
9641         (tests-special): ... additions to this variable.
9642         * elf/Makefile (tests): Change dependencies to ....
9643         (tests-special): ... additions to this variable.
9644         * grp/Makefile (tests): Change dependencies to ....
9645         (tests-special): ... additions to this variable.
9646         * iconv/Makefile (xtests): Change dependencies to ....
9647         (xtests-special): ... additions to this variable.
9648         * iconvdata/Makefile (tests): Change dependencies to ....
9649         (tests-special): ... additions to this variable.
9650         * intl/Makefile (tests): Change dependencies to ....
9651         (tests-special): ... additions to this variable.  Also add
9652         $(objpfx)tst-gettext.out.
9653         * io/Makefile (tests): Change dependencies to ....
9654         (tests-special): ... additions to this variable.
9655         * libio/Makefile (tests): Change dependencies to ....
9656         (tests-special): ... additions to this variable.
9657         * malloc/Makefile (tests): Change dependencies to ....
9658         (tests-special): ... additions to this variable.
9659         * misc/Makefile (tests): Change dependencies to ....
9660         (tests-special): ... additions to this variable.
9661         * nptl/Makefile (tests): Change dependencies to ....
9662         (tests-special): ... additions to this variable.
9663         * nptl_db/Makefile (tests): Change dependencies to ....
9664         (tests-special): ... additions to this variable.
9665         * posix/Makefile (tests): Change dependencies to ....
9666         (tests-special): ... additions to this variable.
9667         (xtests): Change dependencies to ....
9668         (xtests-special): ... additions to this variable.
9669         * resolv/Makefile (tests): Change dependencies to ....
9670         (tests-special): ... additions to this variable.
9671         (xtests): Change dependencies to ....
9672         (xtests-special): ... additions to this variable.
9673         * stdio-common/Makefile (tests): Change dependencies to ....
9674         (tests-special): ... additions to this variable.
9675         (do-tst-unbputc): Remove target.
9676         (do-tst-printf): Likewise.
9677         * stdlib/Makefile (tests): Change dependencies to ....
9678         (tests-special): ... additions to this variable.
9679         * string/Makefile (tests): Change dependencies to ....
9680         (tests-special): ... additions to this variable.
9681         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9682         (tests-special): ... additions to this variable.
9684         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9685         whole file.
9686         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9687         whole file.
9688         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9689         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9691         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9692         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9693         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9694         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9695         * conform/data/libgen.h-data [XPG3]: Likewise.
9696         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9697         * conform/data/ndbm.h-data [XPG3]: Likewise.
9698         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9699         * conform/data/netdb.h-data [XPG3]: Likewise.
9700         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9701         * conform/data/poll.h-data [XPG3]: Likewise.
9702         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9703         * conform/data/strings.h-data [XPG3]: Likewise.
9704         * conform/data/stropts.h-data [XPG3]: Likewise.
9705         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9706         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9707         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9708         Likewise.
9709         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9710         * conform/data/sys/time.h-data [XPG3]: Likewise.
9711         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9712         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9713         * conform/data/sys/un.h-data [XPG3]: Likewise.
9714         * conform/data/syslog.h-data [XPG3]: Likewise.
9715         * conform/data/ucontext.h-data [XPG3]: Likewise.
9716         * conform/data/utmpx.h-data [XPG3]: Likewise.
9717         * conform/data/varargs.h-data [UNIX98]: Enable file.
9719         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9721         * math/libm-test.inc (struct test_f_f_data): Move expected results
9722         into structure for each rounding mode.
9723         (struct test_ff_f_data): Likewise.
9724         (struct test_ff_f_data_nexttoward): Likewise.
9725         (struct test_fi_f_data): Likewise.
9726         (struct test_fl_f_data): Likewise.
9727         (struct test_if_f_data): Likewise.
9728         (struct test_fff_f_data): Likewise.
9729         (struct test_c_f_data): Likewise.
9730         (struct test_f_f1_data): Likewise.
9731         (struct test_fF_f1_data): Likewise.
9732         (struct test_ffI_f1_data): Likewise.
9733         (struct test_c_c_data): Likewise.
9734         (struct test_cc_c_data): Likewise.
9735         (struct test_f_i_data): Likewise.
9736         (struct test_ff_i_data): Likewise.
9737         (struct test_f_l_data): Likewise.
9738         (struct test_f_L_data): Likewise.
9739         (struct test_fFF_11_data): Likewise.
9740         (RM_): New macro.
9741         (RM_FE_DOWNWARD): Likewise.
9742         (RM_FE_TONEAREST): Likewise.
9743         (RM_FE_TOWARDZERO): Likewise.
9744         (RM_FE_UPWARD): Likewise.
9745         (RUN_TEST_LOOP_f_f): Update references to expected results.
9746         (RUN_TEST_LOOP_2_f): Likewise.
9747         (RUN_TEST_LOOP_fff_f): Likewise.
9748         (RUN_TEST_LOOP_c_f): Likewise.
9749         (RUN_TEST_LOOP_f_f1): Likewise.
9750         (RUN_TEST_LOOP_fF_f1): Likewise.
9751         (RUN_TEST_LOOP_fI_f1): Likewise.
9752         (RUN_TEST_LOOP_ffI_f1): Likewise.
9753         (RUN_TEST_LOOP_c_c): Likewise.
9754         (RUN_TEST_LOOP_cc_c): Likewise.
9755         (RUN_TEST_LOOP_f_i): Likewise.
9756         (RUN_TEST_LOOP_f_i_tg): Likewise.
9757         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9758         (RUN_TEST_LOOP_f_b): Likewise.
9759         (RUN_TEST_LOOP_f_b_tg): Likewise.
9760         (RUN_TEST_LOOP_f_l): Likewise.
9761         (RUN_TEST_LOOP_f_L): Likewise.
9762         (RUN_TEST_LOOP_fFF_11): Likewise.
9763         * math/gen-libm-test.pl (parse_args): Output four copies of
9764         expected results for each test.
9766         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9767         (__ASSUME_UTIMES): Remove.
9768         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9769         (__ASSUME_UTIMES): Likewise.
9771         * math/gen-auto-libm-tests.c: Update comment on output format.
9772         (output_for_one_input_case): Generate before-rounding and
9773         after-rounding information as conditions on output flags not
9774         floating-point format.
9775         * math/auto-libm-test-out: Regenerated.
9776         * math/gen-libm-test.pl (cond_value): New function.
9777         (or_cond_value): Use cond_value.
9778         (generate_testfile): Handle conditional exceptions.
9780 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9782         * math/libm-test.inc (max_valid_error): New variable.
9783         (init_max_error): Take new argument specifying whether function
9784         results are exactly determined.  Set max_valid_error and bound
9785         other variables for errors based on this argument.
9786         (set_max_error): Do not record results above max_valid_error.
9787         (check_float_internal): Only accept errors of up to 0.5ulps if
9788         also at most max_valid_error.
9789         (START): Take new argument EXACT and pass it to init_max_error.
9790         (acos_test): Update call to START.
9791         (acos_test_tonearest): Likewise.
9792         (acos_test_towardzero): Likewise.
9793         (acos_test_downward): Likewise.
9794         (acos_test_upward): Likewise.
9795         (acosh_test): Likewise.
9796         (asin_test): Likewise.
9797         (asin_test_tonearest): Likewise.
9798         (asin_test_towardzero): Likewise.
9799         (asin_test_downward): Likewise.
9800         (asin_test_upward): Likewise.
9801         (asinh_test): Likewise.
9802         (atan_test): Likewise.
9803         (atanh_test): Likewise.
9804         (atan2_test): Likewise.
9805         (cabs_test): Likewise.
9806         (cacos_test): Likewise.
9807         (cacosh_test): Likewise.
9808         (carg_test): Likewise.
9809         (casin_test): Likewise.
9810         (casinh_test): Likewise.
9811         (catan_test): Likewise.
9812         (catanh_test): Likewise.
9813         (cbrt_test): Likewise.
9814         (ccos_test): Likewise.
9815         (ccosh_test): Likewise.
9816         (ceil_test): Likewise.
9817         (cexp_test): Likewise.
9818         (cimag_test): Likewise.
9819         (clog_test): Likewise.
9820         (clog10_test): Likewise.
9821         (conj_test): Likewise.
9822         (copysign_test): Likewise.
9823         (cos_test): Likewise.
9824         (cos_test_tonearest): Likewise.
9825         (cos_test_towardzero): Likewise.
9826         (cos_test_downward): Likewise.
9827         (cos_test_upward): Likewise.
9828         (cosh_test): Likewise.
9829         (cosh_test_tonearest): Likewise.
9830         (cosh_test_towardzero): Likewise.
9831         (cosh_test_downward): Likewise.
9832         (cosh_test_upward): Likewise.
9833         (cpow_test): Likewise.
9834         (cproj_test): Likewise.
9835         (creal_test): Likewise.
9836         (csin_test): Likewise.
9837         (csinh_test): Likewise.
9838         (csqrt_test): Likewise.
9839         (ctan_test): Likewise.
9840         (ctan_test_tonearest): Likewise.
9841         (ctan_test_towardzero): Likewise.
9842         (ctan_test_downward): Likewise.
9843         (ctan_test_upward): Likewise.
9844         (ctanh_test): Likewise.
9845         (ctanh_test_tonearest): Likewise.
9846         (ctanh_test_towardzero): Likewise.
9847         (ctanh_test_downward): Likewise.
9848         (ctanh_test_upward): Likewise.
9849         (erf_test): Likewise.
9850         (erfc_test): Likewise.
9851         (exp_test): Likewise.
9852         (exp_test_tonearest): Likewise.
9853         (exp_test_towardzero): Likewise.
9854         (exp_test_downward): Likewise.
9855         (exp_test_upward): Likewise.
9856         (exp10_test): Likewise.
9857         (exp10_test_tonearest): Likewise.
9858         (exp10_test_towardzero): Likewise.
9859         (exp10_test_downward): Likewise.
9860         (exp10_test_upward): Likewise.
9861         (pow10_test): Likewise.
9862         (exp2_test): Likewise.
9863         (expm1_test): Likewise.
9864         (expm1_test_tonearest): Likewise.
9865         (expm1_test_towardzero): Likewise.
9866         (expm1_test_downward): Likewise.
9867         (expm1_test_upward): Likewise.
9868         (fabs_test): Likewise.
9869         (fdim_test): Likewise.
9870         (floor_test): Likewise.
9871         (fma_test): Likewise.
9872         (fma_test_towardzero): Likewise.
9873         (fma_test_downward): Likewise.
9874         (fma_test_upward): Likewise.
9875         (fmax_test): Likewise.
9876         (fmin_test): Likewise.
9877         (fmod_test): Likewise.
9878         (fpclassify_test): Likewise.
9879         (frexp_test): Likewise.
9880         (hypot_test): Likewise.
9881         (ilogb_test): Likewise.
9882         (isfinite_test): Likewise.
9883         (finite_test): Likewise.
9884         (isgreater_test): Likewise.
9885         (isgreaterequal_test): Likewise.
9886         (isinf_test): Likewise.
9887         (isless_test): Likewise.
9888         (islessequal_test): Likewise.
9889         (islessgreater_test): Likewise.
9890         (isnan_test): Likewise.
9891         (isnormal_test): Likewise.
9892         (issignaling_test): Likewise.
9893         (isunordered_test): Likewise.
9894         (j0_test): Likewise.
9895         (j1_test): Likewise.
9896         (jn_test): Likewise.
9897         (ldexp_test): Likewise.
9898         (lgamma_test): Likewise.
9899         (gamma_test): Likewise.
9900         (lrint_test): Likewise.
9901         (lrint_test_tonearest): Likewise.
9902         (lrint_test_towardzero): Likewise.
9903         (lrint_test_downward): Likewise.
9904         (lrint_test_upward): Likewise.
9905         (llrint_test): Likewise.
9906         (llrint_test_tonearest): Likewise.
9907         (llrint_test_towardzero): Likewise.
9908         (llrint_test_downward): Likewise.
9909         (llrint_test_upward): Likewise.
9910         (log_test): Likewise.
9911         (log10_test): Likewise.
9912         (log1p_test): Likewise.
9913         (log2_test): Likewise.
9914         (logb_test): Likewise.
9915         (logb_test_downward): Likewise.
9916         (lround_test): Likewise.
9917         (llround_test): Likewise.
9918         (modf_test): Likewise.
9919         (nearbyint_test): Likewise.
9920         (nextafter_test): Likewise.
9921         (nexttoward_test): Likewise.
9922         (pow_test): Likewise.
9923         (pow_test_tonearest): Likewise.
9924         (pow_test_towardzero): Likewise.
9925         (pow_test_downward): Likewise.
9926         (pow_test_upward): Likewise.
9927         (remainder_test): Likewise.
9928         (drem_test): Likewise.
9929         (remainder_test_tonearest): Likewise.
9930         (drem_test_tonearest): Likewise.
9931         (remainder_test_towardzero): Likewise.
9932         (drem_test_towardzero): Likewise.
9933         (remainder_test_downward): Likewise.
9934         (drem_test_downward): Likewise.
9935         (remainder_test_upward): Likewise.
9936         (drem_test_upward): Likewise.
9937         (remquo_test): Likewise.
9938         (rint_test): Likewise.
9939         (rint_test_tonearest): Likewise.
9940         (rint_test_towardzero): Likewise.
9941         (rint_test_downward): Likewise.
9942         (rint_test_upward): Likewise.
9943         (round_test): Likewise.
9944         (scalb_test): Likewise.
9945         (scalbn_test): Likewise.
9946         (scalbln_test): Likewise.
9947         (signbit_test): Likewise.
9948         (sin_test): Likewise.
9949         (sin_test_tonearest): Likewise.
9950         (sin_test_towardzero): Likewise.
9951         (sin_test_downward): Likewise.
9952         (sin_test_upward): Likewise.
9953         (sincos_test): Likewise.
9954         (sinh_test): Likewise.
9955         (sinh_test_tonearest): Likewise.
9956         (sinh_test_towardzero): Likewise.
9957         (sinh_test_downward): Likewise.
9958         (sinh_test_upward): Likewise.
9959         (sqrt_test): Likewise.
9960         (sqrt_test_tonearest): Likewise.
9961         (sqrt_test_towardzero): Likewise.
9962         (sqrt_test_downward): Likewise.
9963         (sqrt_test_upward): Likewise.
9964         (tan_test): Likewise.
9965         (tan_test_tonearest): Likewise.
9966         (tan_test_towardzero): Likewise.
9967         (tan_test_downward): Likewise.
9968         (tan_test_upward): Likewise.
9969         (tanh_test): Likewise.
9970         (tgamma_test): Likewise.
9971         (trunc_test): Likewise.
9972         (y0_test): Likewise.
9973         (y1_test): Likewise.
9974         (yn_test): Likewise.
9975         (significand_test): Likewise.
9977         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9978         individual tests in comment.
9979         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9980         (prev_max_error): New variable.
9981         (prev_real_max_error): Likewise.
9982         (prev_imag_max_error): Likewise.
9983         (compare_ulp_data): Don't refer to test names in comment.
9984         (find_test_ulps): Remove function.
9985         (find_function_ulps): Likewise.
9986         (find_complex_function_ulps): Likewise.
9987         (init_max_error): Take function name as argument.  Look up ulps
9988         for that function.
9989         (print_ulps): Remove function.
9990         (print_max_error): Use prev_max_error instead of calling
9991         find_function_ulps.
9992         (print_complex_max_error): Use prev_real_max_error and
9993         prev_imag_max_error instead of calling find_complex_function_ulps.
9994         (check_float_internal): Take max_ulp parameter instead of calling
9995         find_test_ulps.  Don't call print_ulps.
9996         (check_float): Update call to check_float_internal.
9997         (check_complex): Update calls to check_float_internal.
9998         (START): Pass argument to init_max_error.
9999         * math/gen-libm-test.pl (%results): Don't include "kind"
10000         information.
10001         (parse_ulps): Don't handle ulps of individual tests.
10002         (print_ulps_file): Likewise.
10003         (output_ulps): Likewise.
10004         * math/README.libm-test: Update.
10005         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10006         individual tests.
10007         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10008         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10009         * sysdeps/arm/libm-test-ulps: Likewise.
10010         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10011         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10012         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10013         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10014         * sysdeps/microblaze/libm-test-ulps: Likewise.
10015         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10016         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10017         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10018         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10019         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10020         * sysdeps/sh/libm-test-ulps: Likewise.
10021         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10022         * sysdeps/tile/libm-test-ulps: Likewise.
10023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10027         * math/libm-test.inc (print_complex_max_error): Check separately
10028         whether real and imaginary errors are within allowed range and
10029         pass 0 to print_complex_function_ulps instead of value within
10030         allowed range.
10032 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10034         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10035         formatting.
10036         (get_handles_fopen): Likewise.
10037         (do_write_test): Likewise.
10039         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10041         * libio/fileops.c (do_ftell): Use cached offset when
10042         available.
10043         * libio/iofwide.c (do_ftell_wide): Likewise.
10044         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10045         _IO_file_attach.
10046         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10048         [BZ #16532]
10049         * libio/libioP.h (get_file_offset): New function.
10050         * libio/fileops.c (get_file_offset): Likewise.
10051         (do_ftell): Likewise.
10052         (_IO_new_file_seekoff): Split out ftell logic.
10053         * libio/wfileops.c (do_ftell_wide): Likewise.
10054         (_IO_wfile_seekoff): Split out ftell logic.
10055         * libio/tst-ftell-active-handler.c: New test case.
10056         * libio/Makefile (tests): Add it.
10058 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10060         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10061         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10063 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10065         [BZ #16639]
10066         * nscd/connections.c (nscd_init): Call do_exit.
10067         (start_threads): Call do_exit and notify_parent.
10068         (begin_drop_privileges): Call do_exit.
10069         (finish_drop_privileges): Likewise.
10070         * nscd/selinux.c (preserve_capabilities): Likewise.
10071         (install_real_capabilities): Likewise.
10072         (nscd_selinux_enabled): Likewise.
10073         (avc_create_thread): Likewise.
10074         (avc_alloc_lock): Likewise.
10075         (nscd_avc_init): Likewise.
10076         * nscd/nscd.c (parent_fd): New static variable.
10077         (main): Create a pipe between parent and child processes.
10078         Skip closing parent_fd.
10079         (monitor_child): New function.
10080         (do_exit): Likewise.
10081         (notify_parent): Likewise.
10082         * nscd/nscd.h (notify_parent): Likewise.
10083         (do_exit): Likewise.
10085 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10087         * malloc/malloc.c (__libc_calloc): Revert last change.
10089 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10093 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10095         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10097         implementation.
10098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10099         (__libc_ifunc_impl_list): Likewise.
10100         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10101         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10102         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10103         * string/strrchr.c: Define STRRCHR.
10105 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10107         * benchtest/bench-strtok.c (simple_strtok): Delete.
10108         (strtok_string): Use as benchmark.
10109         * string/strtok (STRTOK): New macro.
10111 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10113         * manual/threads.texi: Add header and standard comments to all
10114         functions.
10116         * elf/dl-lookup.c (check_match): New function.
10117         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10118         (do_lookup_x): Remove nested function check_match. Use non-nested
10119         function check_match.
10121 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10123         * csu/Makefile (generated, before-compile): Use += rather than =.
10124         * catgets/Makefile (generated, generated-dirs): Likewise.
10125         * debug/Makefile (generated): Likewise.
10126         * dlfcn/Makefile (generated): Likewise.
10127         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10128         * iconvdata/Makefile (before-compile, generated): Likewise.
10129         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10130         * libio/Makefile (generated): Likewise.
10131         * malloc/Makefile (generated): Likewise.
10132         * manual/Makefile (generated, generated-dirs): Likewise.
10133         * misc/Makefile (generated): Likewise.
10134         * posix/Makefile (generated): Likewise.
10135         * resolv/Makefile (generated): Likewise.
10136         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10137         * timezone/Makefile (generated, generated-dirs): Likewise.
10139         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10141 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10144         power8 implementation.
10145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10146         file: POWER8 llround ifunc implementation.
10147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10148         (__lllround): Add POWER8 implementation.
10149         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10150         POWER8 llround implementation.
10152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10153         power8 implementation.
10154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10155         file: POWER8 llrint ifunc implementation.
10156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10157         Add POWER8 implementation.
10158         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10159         POWER8 llrint implementation.
10161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10162         power8 implementation.
10163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10164         file: POWER8 finite ifunc implementation.
10165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10166         Add POWER8 implementation.
10167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10168         Likewise.
10169         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10170         POWER8 finite implementation.
10171         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10174         power8 implementation.
10175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10176         file: POWER8 isinf ifunc implementation.
10177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10178         POWER8 implementation.
10179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10180         Likewise.
10181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10182         isinf implementation.
10183         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10185         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10186         (INIT_ARCH): Add hwcap2 initialization.
10187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10188         power8 implementation.
10189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10190         file: POWER8 isnan ifunc implementation.
10191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10192         POWER8 implementation.
10193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10194         Likewise.
10195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10196         isnan implementation.
10197         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10199 2014-02-27  Joey Ye  <joey.ye@arm.com>
10201         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10202         (_FP_NANFRAC_Q): Set to zero.
10204 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10206         [BZ #16623]
10207         * math/auto-libm-test-in: New test inputs.
10208         * math/auto-libm-test-out: Regenerate.
10209         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10210         and DA.
10211         (__cos): Likewise.
10212         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10214 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10216         * scripts/evaluate-test.sh: Take new argument indicating whether
10217         failure is expected.
10218         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10219         indicating whether failure is expected.
10220         * conform/Makefile (test-xfail-run-conformtest): New variable.
10221         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10222         level.
10223         * posix/Makefile (test-xfail-annexc): New variable.
10224         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10226 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10228         * argp/Makefile: Include Makeconfig immediately after defining
10229         subdir.
10230         * assert/Makefile: Likewise.
10231         * benchtests/Makefile: Likewise.
10232         * catgets/Makefile: Likewise.
10233         * conform/Makefile: Likewise.
10234         * crypt/Makefile: Likewise.
10235         * csu/Makefile: Likewise.
10236         (all): Remove target.
10237         * ctype/Makefile: Include Makeconfig immediately after defining
10238         subdir.
10239         * debug/Makefile: Likewise.
10240         * dirent/Makefile: Likewise.
10241         * dlfcn/Makefile: Likewise.
10242         * gmon/Makefile: Likewise.
10243         * gnulib/Makefile: Likewise.
10244         * grp/Makefile: Likewise.
10245         * gshadow/Makefile: Likewise.
10246         * hesiod/Makefile: Likewise.
10247         * hurd/Makefile: Likewise.
10248         (all): Remove target.
10249         * iconvdata/Makefile: Include Makeconfig immediately after
10250         defining subdir.
10251         * inet/Makefile: Likewise.
10252         * intl/Makefile: Likewise.
10253         * io/Makefile: Likewise.
10254         * libio/Makefile: Likewise.
10255         (all): Remove target.
10256         * locale/Makefile: Include Makeconfig immediately after defining
10257         subdir.
10258         * login/Makefile: Likewise.
10259         * mach/Makefile: Likewise.
10260         (all): Remove target.
10261         * malloc/Makefile: Include Makeconfig immediately after defining
10262         subdir.
10263         (all): Remove target.
10264         * manual/Makefile: Include Makeconfig immediately after defining
10265         subdir.
10266         * math/Makefile: Likewise.
10267         * misc/Makefile: Likewise.
10268         * nis/Makefile: Likewise.
10269         * nss/Makefile: Likewise.
10270         * po/Makefile: Likewise.
10271         (all): Remove target.
10272         * posix/Makefile: Include Makeconfig immediately after defining
10273         subdir.
10274         * pwd/Makefile: Likewise.
10275         * resolv/Makefile: Likewise.
10276         * resource/Makefile: Likewise.
10277         * rt/Makefile: Likewise.
10278         * setjmp/Makefile: Likewise.
10279         * shadow/Makefile: Likewise.
10280         * signal/Makefile: Likewise.
10281         * socket/Makefile: Likewise.
10282         * soft-fp/Makefile: Likewise.
10283         * stdio-common/Makefile: Likewise.
10284         * stdlib/Makefile: Likewise.
10285         * streams/Makefile: Likewise.
10286         * string/Makefile: Likewise.
10287         * sunrpc/Makefile: Likewise.
10288         (all): Remove target.
10289         * sysvipc/Makefile: Include Makeconfig immediately after defining
10290         subdir.
10291         * termios/Makefile: Likewise.
10292         * time/Makefile: Likewise.
10293         * timezone/Makefile: Likewise.
10294         (all): Remove target.
10295         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10296         subdir.
10297         * wctype/Makefile: Likewise.
10299 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10301         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10302         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10303         (libc_feholdexcept_setround_mips): Ditto.
10304         (libc_feholdsetround): New.
10305         (libc_feholdsetroundf): New.
10306         (libc_feholdsetroundl): New.
10307         (libc_feupdateenv_test_mips): New.
10308         (libc_feupdateenv_test): New.
10309         (libc_feupdateenv_testf): New.
10310         (libc_feupdateenv_testl): New.
10311         (libc_feresetround): New.
10312         (libc_feresetroundf): New.
10313         (libc_feresetroundl): New.
10314         (libc_fetestexcept_mips): New.
10315         (libc_fetestexcept): New.
10316         (libc_fetestexceptf): New.
10317         (libc_fetestexceptl): New.
10318         (HAVE_RM_CTX): New.
10319         (libc_feholdexcept_setround_mips_ctx): New.
10320         (libc_feholdexcept_setround_ctx): New.
10321         (libc_feholdexcept_setroundf_ctx): New.
10322         (libc_feholdexcept_setroundl_ctx): New.
10323         (libc_fesetenv_mips_ctx): New.
10324         (libc_fesetenv_ctx): New.
10325         (libc_fesetenv_ctxf): New.
10326         (libc_fesetenv_ctxl): New.
10327         (libc_feupdateenv_mips_ctx): New.
10328         (libc_feupdateenv_ctx): New.
10329         (libc_feupdateenvf_ctx): New.
10330         (libc_feupdateenvl_ctx): New.
10331         (libc_feholdsetround_mips_ctx): New.
10332         (libc_feholdsetround_ctx): New.
10333         (libc_feholdsetroundf_ctx): New.
10334         (libc_feholdsetroundl_ctx): New.
10335         (libc_feresetround_mips_ctx): New.
10336         (libc_feresetround_ctx): New.
10337         (libc_feresetroundf_ctx): New.
10338         (libc_feresetroundl_ctx): New.
10340 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10342         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10344         * manual/ipc.texi: New file.
10345         * manual/Makefile (chapters): Add ipc.
10346         * manual/job.texi: Add "Inter-Process Communication" to next.
10347         * manual/process.texi: Add "Inter-Process Communication" to prev.
10349 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10353 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10355         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10357         * manual/arith.texi: Fix spaces after sentences.
10358         * manual/charset.texi: Likewise.
10359         * manual/errno.texi: Likewise.
10360         * manual/install.texi: Likewise.
10361         * manual/llio.texi: Likewise.
10362         * manual/locale.texi: Likewise.
10363         * manual/maint.texi: Likewise.
10364         * manual/math.texi: Likewise.
10365         * manual/memory.texi: Likewise.
10366         * manual/message.texi: Likewise.
10367         * manual/probes.texi: Likewise.
10368         * manual/resource.texi: Likewise.
10369         * manual/signal.texi: Likewise.
10370         * manual/socket.texi: Likewise.
10371         * manual/stdio.texi: Likewise.
10372         * manual/string.texi: Likewise.
10373         * manual/time.texi: Likewise.
10374         * manual/users.texi: Likewise.
10376 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10378         [BZ #16632]
10379         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10380         _DEFAULT_SOURCE is defined.
10382 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10383             Carlos O'Donell  <carlos@redhat.com>
10385         [BZ #16613]
10386         * elf/dl-tls.c (_dl_count_modids): New function.
10387         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10388         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10389         audit library and increment generation counter.
10390         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10391         * elf/tst-audit9.c: New file.
10392         * elf/tst-auditmod9a.c: New file.
10393         * elf/tst-auditmod9b.c: New file.
10394         * elf/Makefile: Add rules to build and run tst-audit9.
10396 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10398         [BZ #15347]
10399         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10401 2014-02-25  Will Newton  <will.newton@linaro.org>
10403         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10404         (__longjmp): Restore sp and lr before restoring callee
10405         saved registers.  Add longjmp and longjmp_target
10406         SystemTap probe point.
10407         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10408         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10409         Define to zero to match jmpbuf layout.
10410         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10411         (__sigsetjmp): Save sp and lr before saving callee
10412         saved registers.  Add setjmp SystemTap probe point.
10414 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10416         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10418 2014-02-24  Andreas Schwab  <schwab@suse.de>
10420         [BZ #15804]
10421         * elf/pldd.c (wait_for_ptrace_stop): New function.
10422         (main): Call it after attaching.
10424 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10426         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10427         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10428         Versions files is now verboten.
10429         * hurd/Versions (libc: GLIBC_2.0):
10430         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10431         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10432         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10433         * mach/Versions: Likewise.
10435         * csu/Versions: Remove unused %include.
10436         * resolv/Versions: Likewise.
10438 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10440         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10441         ($(objpfx)check-local-headers.out): Likewise.
10442         ($(objpfx)begin-end-check.out): Likewise.
10443         * Makerules (check-abi-%.out): Likewise.
10444         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10445         ($(objpfx)test2.cat): Likewise.
10446         ($(objpfx)de/libc.cat): Likewise.
10447         ($(objpfx)test-gencat.out): Likewise.
10448         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10449         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10450         ($(objpfx)noload-mem): Likewise.
10451         ($(objpfx)tst-pathopt.out): Likewise.
10452         ($(objpfx)tst-rtld-load-self.out): Likewise.
10453         ($(objpfx)tst-array1-cmp.out): Likewise.
10454         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10455         ($(objpfx)tst-array2-cmp.out): Likewise.
10456         ($(objpfx)tst-array3-cmp.out): Likewise.
10457         ($(objpfx)tst-array4-cmp.out): Likewise.
10458         ($(objpfx)tst-array5-cmp.out): Likewise.
10459         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10460         ($(objpfx)check-textrel.out): Likewise.
10461         ($(objpfx)check-execstack.out): Likewise.
10462         ($(objpfx)check-localplt.out): Likewise.
10463         ($(objpfx)order2-cmp.out): Likewise.
10464         ($(objpfx)tst-leaks1-mem): Likewise.
10465         ($(objpfx)tst-leaks1-static-mem): Likewise.
10466         ($(objpfx)tst-initorder-cmp.out): Likewise.
10467         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10468         ($(objpfx)tst-unused-dep.out): Likewise.
10469         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10470         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10471         * iconv/Makefile (test-iconvconfig): Likewise.
10472         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10473         ($(objpfx)iconv-test.out): Likewise.
10474         ($(objpfx)tst-tables.out): Likewise.
10475         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10476         ($(objpfx)tst-gettext.out): Likewise.
10477         ($(objpfx)tst-translit.out): Likewise.
10478         ($(objpfx)tst-gettext2.out): Likewise.
10479         ($(objpfx)tst-gettext4.out): Likewise.
10480         ($(objpfx)tst-gettext6.out): Likewise.
10481         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10482         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10483         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10484         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10485         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10486         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10487         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10488         ($(objpfx)wordexp-tst.out): Likewise.
10489         ($(objpfx)annexc.out): Likewise.
10490         ($(objpfx)tst-fnmatch-mem): Likewise.
10491         ($(objpfx)bug-regex2-mem): Likewise.
10492         ($(objpfx)bug-regex14-mem): Likewise.
10493         ($(objpfx)bug-regex21-mem): Likewise.
10494         ($(objpfx)bug-regex31-mem): Likewise.
10495         ($(objpfx)tst-vfork3-mem): Likewise.
10496         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10497         ($(objpfx)tst-pcre-mem): Likewise.
10498         ($(objpfx)tst-boost-mem): Likewise.
10499         ($(objpfx)tst-getconf.out): Likewise.
10500         ($(objpfx)bug-ga2-mem): Likewise.
10501         ($(objpfx)bug-glob2-mem): Likewise.
10502         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10503         ($(objpfx)mtrace-tst-leaks2): Likewise.
10504         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10505         ($(objpfx)tst-printf.out): Likewise.
10506         ($(objpfx)tst-setvbuf1.out): Likewise.
10507         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10508         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10509         ($(objpfx)tst-fmtmsg.out): Likewise.
10510         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10511         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10513         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10514         * bits/sigaction.h [__USE_MISC]: Likewise.
10515         * bits/waitstatus.h: Update #endif comments.
10516         * ctype/ctype.h: Likewise.
10517         * dirent/dirent.h: Likewise.
10518         [__USE_MISC]: Remove redundant conditionals.
10519         * grp/grp.h: Update #endif comments.
10520         [__USE_GNU]: Remove redundant conditionals.
10521         [__USE_MISC]: Likewise.
10522         * inet/netinet/in.h [__USE_GNU]: Likewise.
10523         * io/sys/stat.h [__USE_MISC]: Likewise.
10524         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10525         * libio/bits/stdio.h: Update #endif comments.
10526         [__USE_MISC]: Remove redundant conditionals.
10527         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10528         * libio/stdio.h: Update #endif comments.
10529         [__USE_MISC]: Remove redundant conditionals.
10530         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10531         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10532         * math/math.h: Update #else and #endif comments.
10533         [__USE_MISC]: Remove redundant conditionals.
10534         * misc/sys/uio.h: Update #endif comments.
10535         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10536         * posix/glob.h [__USE_MISC]: Likewise.
10537         * posix/sys/types.h: Update #endif comments.
10538         [__USE_MISC]: Remove redundant conditionals.
10539         * posix/sys/wait.h: Update #endif comments.
10540         [__USE_MISC]: Remove redundant conditionals.
10541         * posix/unistd.h: Update #endif comments.
10542         [__USE_MISC]: Remove redundant conditionals.
10543         * pwd/pwd.h [__USE_GNU]: Likewise.
10544         [__USE_MISC]: Likewise.
10545         * resolv/netdb.h [__USE_GNU]: Likewise.
10546         * signal/signal.h: Update #endif comments.
10547         [__USE_MISC]: Remove redundant conditionals.
10548         * stdlib/stdlib.h: Update #else and #endif comments.
10549         [__USE_MISC]: Remove redundant conditionals.
10550         [__USE_GNU]: Likewise.
10551         * string/bits/string2.h [__USE_MISC]: Likewise.
10552         * string/string.h: Update #endif comments.
10553         [__USE_MISC]: Remove redundant conditionals.
10554         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10555         Likewise.
10556         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10557         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10558         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10559         Likewise.
10560         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10561         Likewise.
10562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10563         comments.
10564         [__USE_MISC]: Remove redundant conditionals.
10565         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10566         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10567         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10568         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10569         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10570         Likewise.
10571         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10572         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10573         Likewise.
10574         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10575         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10576         Likewise.
10577         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10578         Likewise.
10579         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10580         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10581         Likewise.
10582         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10583         Likewise.
10584         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10585         * sysdeps/x86/bits/string.h: Update #endif comments.
10586         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10587         conditionals.
10588         * time/sys/time.h: Update #endif comments.
10589         * time/time.h: Likewise.
10590         [__USE_MISC]: Remove redundant conditionals.
10592 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10594         [BZ #16600]
10595         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10597 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10599         * Versions.def (librt): Add GLIBC_2.17.
10601 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10603         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10604         synonym for _SYS_AUXV_H to allow direct inclusion.
10605         * sysdeps/sparc/bits/hwcap.h: Likewise.
10606         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10607         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10608         * sysdeps/sparc/sysdep.h: Likewise.
10610 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10612         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10614 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10616         * benchtests/bench-strrchr.c: Print length instead of position.
10618 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10620         [BZ #16611]
10621         * sysdeps/unix/sysv/linux/kernel-features.h
10622         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10623         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10624         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10625         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10626         Likewise.
10627         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10628         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10629         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10630         (__ASSUME_SENDMMSG): Define instead of using previous
10631         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10632         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10633         (__ASSUME_SENDMMSG_SYSCALL): Define.
10634         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10635         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10636         Likewise.
10637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10638         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10639         Likewise.
10640         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10641         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10642         Likewise.
10643         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10644         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10645         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10646         [__ASSUME_SENDMMSG]: Change conditionals to
10647         [__ASSUME_SENDMMSG_SOCKETCALL].
10648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10649         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10650         Define.
10651         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10652         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10653         Likewise.
10654         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10655         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10656         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10657         [!__ASSUME_SENDMMSG]: Change conditional to
10658         [!__ASSUME_SENDMMSG_SOCKETCALL].
10659         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10660         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10661         Define.
10663         [BZ #16610]
10664         * sysdeps/unix/sysv/linux/kernel-features.h
10665         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10666         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10667         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10668         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10669         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10670         [__i386__ || __sparc__]
10671         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10672         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10673         (__ASSUME_RECVMMSG): Define instead of using previous
10674         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10675         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10676         (__ASSUME_RECVMMSG_SYSCALL): Define.
10677         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10678         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10679         Likewise.
10680         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10682         Likewise.
10683         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10685         Likewise.
10686         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10687         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10688         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10689         [__ASSUME_RECVMMSG]: Change condition to
10690         [__ASSUME_RECVMMSG_SOCKETCALL].
10691         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10692         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10693         Define.
10694         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10695         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10696         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10697         Likewise.
10698         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10699         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10700         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10701         [!__ASSUME_RECVMMSG]: Change condition to
10702         [!__ASSUME_RECVMMSG_SOCKETCALL].
10703         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10704         (__ASSUME_RECVMMSG_SYSCALL): Define.
10706         [BZ #16609]
10707         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10708         __powerpc__ || __s390__ || __sh__ || __sparc__]
10709         (__ASSUME_SOCKETCALL): Define.
10710         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10711         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10712         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10713         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10714         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10715         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10716         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10717         (__ASSUME_ACCEPT4): Define instead of using previous
10718         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10719         __powerpc__ || __sparc__ || __s390__)] condition.
10720         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10721         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10722         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10723         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10724         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10725         [!__ASSUME_ACCEPT4]: Change condition to
10726         [!__ASSUME_ACCEPT4_SOCKETCALL].
10727         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10728         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10729         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10730         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10731         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10732         __ASSUME_ACCEPT4_SYSCALL.
10733         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10734         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10735         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10736         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10737         __ASSUME_ACCEPT4_SYSCALL.
10738         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10739         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10740         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10741         [__ASSUME_ACCEPT4]: Change condition to
10742         [__ASSUME_ACCEPT4_SOCKETCALL].
10743         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10744         (__ASSUME_SOCKETCALL): Define.
10745         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10747         (__ASSUME_SOCKETCALL): Define.
10748         (__ASSUME_ACCEPT4): Remove.
10749         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10750         Define.
10751         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10752         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10753         Likewise.
10754         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10755         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10757         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10758         macro.
10759         (HWCAP_ARM_LPAE): Likewise.
10760         (HWCAP_ARM_EVTSTRM): Likewise.
10761         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10762         Add vpfd32, lpae and evtstrm.
10763         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10764         Increase to 22.
10766 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10768         * math/auto-libm-test-in: Add tests of clog10.
10769         * math/auto-libm-test-out: Regenerated.
10770         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10771         * sysdeps/i386/fpu/libm-test-ulps: Update.
10772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10774 2014-02-18  Andreas Schwab  <schwab@suse.de>
10776         [BZ #16574]
10777         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10778         Store non-zero if the second buffer was newly allocated.
10779         (send_dg): Likewise.
10780         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10781         to send_vc and send_dg.
10782         (res_nsend): Pass NULL for ansp2_malloced.
10783         * resolv/res_query.c (__libc_res_nquery): Add parameter
10784         answerp2_malloced and pass it down to __libc_res_nsend.
10785         (res_nquery): Pass additional NULL to __libc_res_nquery.
10786         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10787         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10788         second answer buffer if answerp2_malloced was set.
10789         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10790         (__libc_res_nquerydomain): Add parameter
10791         answerp2_malloced and pass it down to __libc_res_nquery.
10792         (res_nquerydomain): Pass additional NULL to
10793         __libc_res_nquerydomain.
10794         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10795         additional NULL to __libc_res_nsend and __libc_res_nquery.
10796         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10797         additional NULL to __libc_res_nsearch.
10798         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10799         parameter of __libc_res_nsearch to check for separately allocated
10800         second buffer.
10801         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10802         __libc_res_nquery.
10803         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10804         additional NULL to __libc_res_nquery.
10805         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10806         __libc_res_nsearch.
10807         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10808         * include/resolv.h: Update prototypes of __libc_res_nquery,
10809         __libc_res_nsearch, __libc_res_nsend.
10811 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10813         * math/auto-libm-test-in: Add tests of fma.
10814         * math/auto-libm-test-out: Regenerated.
10815         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10816         (fma_towardzero_test_data): Likewise.
10817         (fma_downward_test_data): Likewise.
10818         (fma_upward_test_data): Likewise.
10819         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10820         mpc_mode.
10821         (rounding_modes): Add values for new field.
10822         (func_calc_method): Add value mpfr_fff_f.
10823         (func_calc_desc): Add mpfr_fff_f union field.
10824         (test_function): Add field exact_args.
10825         (FUNC): Add macro argument EXACT_ARGS.
10826         (FUNC_mpfr_f_f): Update call to FUNC.
10827         (FUNC_mpfr_f_f): Likewise.
10828         (FUNC_mpfr_ff_f): Likewise.
10829         (FUNC_mpfr_if_f): Likewise.
10830         (FUNC_mpc_c_f): Likewise.
10831         (FUNC_mpc_c_c): Likewise.
10832         (test_functions): Add fma.  Update calls to FUNC.
10833         (handle_input_arg): Add argument exact_args.
10834         (add_test): Update call to handle_input_arg.
10835         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10836         (output_for_one_input_case): Update call to calc_generic_results.
10837         Recalculate exact zero results in each rounding mode.
10839         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10840         non-negative before setting low bit.
10841         * math/auto-libm-test-in: Mark one asin test possibly having
10842         spurious underflow.
10843         * math/auto-libm-test-out: Regenerated.
10844         * sysdeps/i386/fpu/libm-test-ulps: Update.
10845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10847 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10849         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10850         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10851         ports/sysdeps/unix/sysv/linux/microblaze.
10852         * README: Add missing listing for microblaze*-*-linux-gnu.
10854 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10856         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10857         duplicate code
10859 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10861         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10862         * sysdeps/unix/sysv/linux/ia64: Move directory from
10863         ports/sysdeps/unix/sysv/linux/ia64.
10864         * README: Update listing for ia64-*-linux-gnu.
10866 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10867             Joseph Myers  <joseph@codesourcery.com>
10869         * Makeconfig (test-name): New variable.
10870         (evaluate-test): Likewise.
10871         * Makerules (do-test-clean): Remove .test-result files.
10872         (common-mostlyclean): Likewise.
10873         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10874         * scripts/evaluate-test.sh: New file.
10876 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10878         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10879         separate $(objpfx)tst-fopenloc-cmp.out and
10880         $(objpfx)tst-fopenloc-mem.out targets.
10881         (tests): Update dependencies.
10882         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10883         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10884         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10885         (tst-rxspencer-no-utf8-ARGS): New variable.
10886         (tst-rxspencer-no-utf8-ENV): Likewise.
10887         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10888         instead of $(objpfx)tst-rxspencer-mem.
10889         ($(objpfx)tst-rxspencer-mem): Change target to
10890         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10891         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10892         * posix/tst-rxspencer-no-utf8.c: New file.
10894         * elf/Makefile ($(objpfx)order.out): Remove rule.
10895         [$(run-built-tests) = yes] (tests): Depend on
10896         $(objpfx)order-cmp.out.
10897         ($(objpfx)order-cmp.out): New rule.
10898         [$(run-built-tests) = yes] (tests): Depend on
10899         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10900         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10901         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10902         $(objpfx)tst-array5-static-cmp.out.
10903         ($(objpfx)tst-array1.out): Remove rule.
10904         ($(objpfx)tst-array1-cmp.out): New rule.
10905         ($(objpfx)tst-array1-static.out): Remove rule.
10906         ($(objpfx)tst-array1-static-cmp.out): New rule.
10907         ($(objpfx)tst-array2.out): Remove rule.
10908         ($(objpfx)tst-array2-cmp.out): New rule.
10909         ($(objpfx)tst-array3.out): Remove rule.
10910         ($(objpfx)tst-array3-cmp.out): New rule.
10911         ($(objpfx)tst-array4.out): Remove rule.
10912         ($(objpfx)tst-array4-cmp.out): New rule.
10913         ($(objpfx)tst-array5.out): Remove rule.
10914         ($(objpfx)tst-array5-cmp.out): New rule.
10915         ($(objpfx)tst-array5-static.out): Remove rule.
10916         ($(objpfx)tst-array5-static-cmp.out): New rule.
10917         [$(run-built-tests) = yes] (tests): Depend on
10918         $(objpfx)order2-cmp.out.
10919         ($(objpfx)order2.out): Remove rule.
10920         ($(objpfx)order2-cmp.out): New rule.
10921         ($(objpfx)tst-initorder.out): Remove rule.
10922         [$(run-built-tests) = yes] (tests): Depend on
10923         $(objpfx)tst-initorder-cmp.out.
10924         ($(objpfx)tst-initorder-cmp.out): New rule.
10925         ($(objpfx)tst-initorder2.out): Remove rule.
10926         [$(run-built-tests) = yes] (tests): Depend on
10927         $(objpfx)tst-initorder2-cmp.out.
10928         ($(objpfx)tst-initorder2-cmp.out): New rule.
10929         [$(run-built-tests) = yes] (tests): Depend on
10930         $(objpfx)tst-unused-dep-cmp.out.
10931         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10932         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10933         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10934         on $(objpfx)tst-setvbuf1-cmp.out.
10935         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10936         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10937         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10938         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10939         ($(objpfx)tst-svc.out): Remove rule.
10940         ($(objpfx)tst-svc-cmp.out): New rule.
10942 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10944         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10945         * ctype/ctype.h [__USE_MISC]: Likewise.
10946         * dirent/dirent.h [__USE_MISC]: Likewise.
10947         * grp/grp.h [__USE_MISC]: Likewise.
10948         * io/fcntl.h [__USE_MISC]: Likewise.
10949         * io/sys/stat.h [__USE_MISC]: Likewise.
10950         * libio/stdio.h [__USE_MISC]: Likewise.
10951         * posix/unistd.h [__USE_MISC]: Likewise.
10952         * pwd/pwd.h [__USE_MISC]: Likewise.
10953         * stdlib.h [__USE_MISC]: Likewise.
10954         * string/bits/string2.h [__USE_MISC]: Likewise.
10955         * string/string.h [__USE_MISC]: Likewise.
10956         * time/time.h [__USE_MISC]: Likewise.
10958 2014-02-13  Andreas Schwab  <schwab@suse.de>
10960         [BZ #16574]
10961         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10962         second answer buffer if it was separately allocated.
10964 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10966         * sysdeps/mips/math-tests.h: Include <features.h>.
10967         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10968         (ROUNDING_TESTS_long_double): Do not define.
10969         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10970         (EXCEPTION_TESTS_long_double): Likewise.
10971         * sysdeps/mips/mips64/libm-test-ulps: Update.
10973         * include/features.h (__USE_BSD): Remove macro definitions.
10974         (__USE_SVID): Likewise.
10975         (_BSD_SOURCE): Likewise.
10976         (_SVID_SOURCE): Likewise.
10977         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10978         from definition of _DEFAULT_SOURCE.
10979         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10980         [_DEFAULT_SOURCE].
10981         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10982         * bits/mman.h [__USE_BSD]: Likewise.
10983         * bits/termios.h [__USE_BSD]: Likewise.
10984         * bits/waitstatus.h [__USE_BSD]: Likewise.
10985         * ctype/ctype.h [__USE_SVID]: Likewise.
10986         * dirent/dirent.h [__USE_BSD]: Likewise.
10987         * grp/grp.h [__USE_SVID]: Likewise.
10988         [__USE_BSD]: Likewise.
10989         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10990         * io/fcntl.h [__USE_BSD]: Likewise.
10991         * io/ftw.h [__USE_BSD]: Likewise.
10992         * io/sys/stat.h [__USE_BSD]: Likewise.
10993         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10994         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10995         * libio/stdio.h [__USE_SVID]: Likewise.
10996         [__USE_BSD]: Likewise.
10997         * math/math.h [__USE_SVID]: Likewise.
10998         [__USE_BSD]: Likewise.
10999         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11000         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11001         * misc/search.h [__USE_SVID]: Likewise.
11002         * misc/sys/mman.h [__USE_BSD]: Likewise.
11003         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11004         * misc/sys/uio.h [__USE_BSD]: Likewise.
11005         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11006         * posix/glob.h [__USE_BSD]: Likewise.
11007         * posix/regex.h [__USE_BSD]: Likewise.
11008         * posix/sys/types.h [__USE_BSD]: Likewise.
11009         [__USE_SVID]: Likewise.
11010         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11011         * posix/sys/wait.h [__USE_BSD]: Likewise.
11012         [__USE_SVID]: Likewise.
11013         * posix/unistd.h [__USE_BSD]: Likewise.
11014         [__USE_SVID]: Likewise.
11015         * pwd/pwd.h [__USE_SVID]: Likewise.
11016         * resolv/netdb.h [__USE_BSD]: Likewise.
11017         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11018         * signal/signal.h [__USE_BSD]: Likewise.
11019         [__USE_SVID]: Likewise.
11020         * socket/sys/socket.h [__USE_BSD]: Likewise.
11021         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11022         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11023         [__USE_SVID]: Likewise.
11024         * string/bits/string2.h [__USE_BSD]: Likewise.
11025         [__USE_SVID]: Likewise.
11026         * string/bits/string3.h [__USE_BSD]: Likewise.
11027         * string/endian.h [__USE_BSD]: Likewise.
11028         * string/string.h [__USE_SVID]: Likewise.
11029         [__USE_BSD]: Likewise.
11030         * string/strings.h [__USE_BSD]: Likewise.
11031         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11032         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11033         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11034         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11035         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11036         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11037         Likewise.
11038         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11041         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11042         Likewise.
11043         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11044         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11045         Likewise.
11046         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11047         Likewise.
11048         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11049         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11050         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11051         Likewise.
11052         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11053         Likewise.
11054         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11055         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11056         * termios/termios.h [__USE_BSD]: Likewise.
11057         * time/sys/time.h [__USE_BSD]: Likewise.
11058         * time/time.h [__USE_BSD]: Likewise.
11059         [__USE_SVID]: Likewise.
11061         * Makefile (subdir_targets): Remove subdir_lint.out.
11063         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11064         (do-tst-printf): Likewise.
11065         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11066         $(objpfx)tst-printf.out.
11068         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11070         * Makerules (check-abi-%): Change target to
11071         $(objpfx)check-abi-%.out.
11072         (check-abi target): Update dependencies.
11073         (check-abi-pattern variable): Redirect output of diff to $@.
11074         (check-abi variable): Likewise.
11075         * elf/Makefile (check-abi): Update dependencies.
11077         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11078         unused.
11079         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11080         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11081         subnormal range.
11082         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11083         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11084         value has largest subnormal exponent.
11085         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11086         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11087         * sysdeps/aarch64/soft-fp/sfp-machine.h
11088         (_FP_TININESS_AFTER_ROUNDING): New macro.
11089         * sysdeps/alpha/soft-fp/sfp-machine.h
11090         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11091         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11092         Likewise.
11093         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11094         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11095         * sysdeps/mips/soft-fp/sfp-machine.h
11096         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11097         * sysdeps/powerpc/soft-fp/sfp-machine.h
11098         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11099         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11100         Likewise.
11101         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11102         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11104         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11105         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11106         Likewise.
11108 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11110         [BZ #16545]
11111         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11112         model 1.
11114 2014-02-12  Richard Henderson  <rth@redhat.com>
11116         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11117         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11118         * sysdeps/unix/sysv/linux/alpha: Move directory from
11119         ports/sysdeps/unix/sysv/linux/alpha.
11120         * README: Update listing for alpha-*-linux-gnu.
11122 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11124         * include/features.h: Update comment documenting feature test
11125         macros.
11126         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11127         _DEFAULT_SOURCE.
11128         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11129         (_SVID_SOURCE): Likewise.
11130         (_DEFAULT_SOURCE): Update description of default features.
11131         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11132         with _GNU_SOURCE.
11133         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11134         (S_ISVTX): Likewise.
11135         * manual/math.texi (Mathematical Constants): Likewise.
11136         * manual/signal.texi (Interrupted Primitives): Likewise.
11137         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11138         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11139         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11140         Don't refer to _SVID_SOURCE in warning text.
11142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11144         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11145         already defined.
11146         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11147         * sysdeps/mips/dl-lookup.c: Remove.
11148         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11150 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11152         [BZ #16447]
11153         * math/auto-libm-test-in: Add testcase for expl.
11154         * math/auto-libm-test-out: Regenerate.
11155         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11156         calculation of unsafe.
11157         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11159 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11161         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11162         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11163         ports/sysdeps/unix/sysv/linux/aarch64.
11164         * README: Update listing for aarch64*-*-linux-gnu.
11166 2014-02-11  Will Newton  <will.newton@linaro.org>
11168         * manual/probes.texi (Mathematical Function Probes): Use
11169         "triggered" instead of "hit".
11171         * manual/probes.texi (Internal Probes): Add documentation
11172         of setjmp, longjmp and longjmp_target probes.
11174         * include/stap-probe.h: Add comment about probe argument
11175         format.
11177         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11178         definition.  (tr_where, tr_freehook, tr_mallochook,
11179         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11181 2014-02-11  David S. Miller  <davem@davemloft.net>
11183         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11184         processing int_tests.
11186 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11188         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11189         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11190         * sysdeps/unix/sysv/linux/mips: Move directory from
11191         ports/sysdeps/unix/sysv/linux/mips.
11192         * README: Update listing for mips-*-linux-gnu and
11193         mips64-*-linux-gnu.
11195 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11197         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11198         * sysdeps/unix/sysv/linux/m68k: Move directory from
11199         ports/sysdeps/unix/sysv/linux/m68k.
11200         * README: Update listing for m68k-*-linux-gnu.
11202 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11204         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11205         * sysdeps/unix/sysv/linux/generic: Move directory from
11206         ports/sysdeps/unix/sysv/linux/generic.
11207         * sysdeps/unix/sysv/linux/tile: Move directory from
11208         ports/sysdeps/unix/sysv/linux/tile.
11209         * README: Update listing for tile*-*-linux-gnu.
11211 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11213         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11214         __builtin_expect.
11215         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11216         * catgets/open_catalog.c (__open_catalog): Likewise.
11217         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11218         * debug/confstr_chk.c: Likewise.
11219         * debug/fread_chk.c (__fread_chk): Likewise.
11220         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11221         * debug/getgroups_chk.c: Likewise.
11222         * debug/mbsnrtowcs_chk.c: Likewise.
11223         * debug/mbsrtowcs_chk.c: Likewise.
11224         * debug/mbstowcs_chk.c: Likewise.
11225         * debug/memcpy_chk.c: Likewise.
11226         * debug/memmove_chk.c: Likewise.
11227         * debug/mempcpy_chk.c: Likewise.
11228         * debug/memset_chk.c: Likewise.
11229         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11230         * debug/strcat_chk.c (__strcat_chk): Likewise.
11231         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11232         * debug/strncat_chk.c (__strncat_chk): Likewise.
11233         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11234         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11235         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11236         * debug/wcpncpy_chk.c: Likewise.
11237         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11238         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11239         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11240         * debug/wcsncpy_chk.c: Likewise.
11241         * debug/wcsnrtombs_chk.c: Likewise.
11242         * debug/wcsrtombs_chk.c: Likewise.
11243         * debug/wcstombs_chk.c: Likewise.
11244         * debug/wmemcpy_chk.c: Likewise.
11245         * debug/wmemmove_chk.c: Likewise.
11246         * debug/wmempcpy_chk.c: Likewise.
11247         * debug/wmemset_chk.c: Likewise.
11248         * dirent/scandirat.c (SCANDIRAT): Likewise.
11249         * dlfcn/dladdr1.c (dladdr1): Likewise.
11250         * dlfcn/dladdr.c (dladdr): Likewise.
11251         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11252         * dlfcn/dlerror.c (__dlerror): Likewise.
11253         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11254         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11255         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11256         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11257         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11258         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11259         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11260         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11261         Likewise.
11262         * elf/dl-conflict.c: Likewise.
11263         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11264         * elf/dl-dst.h: Likewise.
11265         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11266         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11267         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11268         * elf/dl-init.c (call_init, _dl_init): Likewise.
11269         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11270         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11271         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11272         Likewise.
11273         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11274         Likewise.
11275         * elf/dl-minimal.c (__libc_memalign): Likewise.
11276         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11277         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11278         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11279         * elf/dl-sym.c (do_sym): Likewise.
11280         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11281         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11282         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11283         * elf/dl-writev.h (_dl_writev): Likewise.
11284         * elf/ldconfig.c (search_dir): Likewise.
11285         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11286         (dl_main): Likewise.
11287         * elf/setup-vdso.h (setup_vdso): Likewise.
11288         * grp/compat-initgroups.c (compat_call): Likewise.
11289         * grp/fgetgrent.c (fgetgrent): Likewise.
11290         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11291         * grp/putgrent.c (putgrent): Likewise.
11292         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11293         Likewise.
11294         * hurd/hurdinit.c: Likewise.
11295         * iconvdata/8bit-gap.c (struct): Likewise.
11296         * iconvdata/ansi_x3.110.c : Likewise.
11297         * iconvdata/big5.c : Likewise.
11298         * iconvdata/big5hkscs.c : Likewise.
11299         * iconvdata/cp1255.c: Likewise.
11300         * iconvdata/cp1258.c : Likewise.
11301         * iconvdata/cp932.c : Likewise.
11302         * iconvdata/euc-cn.c: Likewise.
11303         * iconvdata/euc-jisx0213.c : Likewise.
11304         * iconvdata/euc-jp.c: Likewise.
11305         * iconvdata/euc-jp-ms.c : Likewise.
11306         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11307         * iconvdata/gb18030.c : Likewise.
11308         * iconvdata/gbbig5.c (const): Likewise.
11309         * iconvdata/gbgbk.c: Likewise.
11310         * iconvdata/gbk.c : Likewise.
11311         * iconvdata/ibm1364.c : Likewise.
11312         * iconvdata/ibm930.c : Likewise.
11313         * iconvdata/ibm932.c: Likewise.
11314         * iconvdata/ibm933.c : Likewise.
11315         * iconvdata/ibm935.c : Likewise.
11316         * iconvdata/ibm937.c : Likewise.
11317         * iconvdata/ibm939.c : Likewise.
11318         * iconvdata/ibm943.c: Likewise.
11319         * iconvdata/iso_11548-1.c: Likewise.
11320         * iconvdata/iso-2022-cn.c : Likewise.
11321         * iconvdata/iso-2022-cn-ext.c : Likewise.
11322         * iconvdata/iso-2022-jp-3.c: Likewise.
11323         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11324         * iconvdata/iso-2022-kr.c : Likewise.
11325         * iconvdata/iso646.c (gconv_end): Likewise.
11326         * iconvdata/iso_6937-2.c : Likewise.
11327         * iconvdata/iso_6937.c : Likewise.
11328         * iconvdata/iso8859-1.c: Likewise.
11329         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11330         * iconvdata/shift_jisx0213.c : Likewise.
11331         * iconvdata/sjis.c : Likewise.
11332         * iconvdata/t.61.c : Likewise.
11333         * iconvdata/tcvn5712-1.c : Likewise.
11334         * iconvdata/tscii.c: Likewise.
11335         * iconvdata/uhc.c : Likewise.
11336         * iconvdata/unicode.c (gconv_end): Likewise.
11337         * iconvdata/utf-16.c (gconv_end): Likewise.
11338         * iconvdata/utf-32.c (gconv_end): Likewise.
11339         * iconvdata/utf-7.c (base64): Likewise.
11340         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11341         * iconv/gconv_close.c (__gconv_close): Likewise.
11342         * iconv/gconv_open.c (__gconv_open): Likewise.
11343         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11344         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11345         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11346         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11347         (ucs4le_internal_loop_single): Likewise.
11348         * iconv/iconv.c (iconv): Likewise.
11349         * iconv/iconv_close.c: Likewise.
11350         * iconv/loop.c (SINGLE): Likewise.
11351         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11352         * include/atomic.h: Likewise.
11353         * inet/inet6_option.c (option_alloc): Likewise.
11354         * intl/bindtextdom.c (set_binding_values): Likewise.
11355         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11356         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11357         * intl/localealias.c (read_alias_file): Likewise.
11358         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11359         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11360         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11361         * libio/fmemopen.c (fmemopen): Likewise.
11362         * libio/iofgets.c (_IO_fgets): Likewise.
11363         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11364         * libio/iofgetws.c (fgetws): Likewise.
11365         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11366         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11367         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11368         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11369         * locale/findlocale.c (_nl_find_locale): Likewise.
11370         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11371         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11372         Likewise.
11373         * locale/setlocale.c (setlocale): Likewise.
11374         * login/programs/pt_chown.c (main): Likewise.
11375         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11376         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11377         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11378         (mmap, mmap64, mremap, munmap): Likewise.
11379         * math/e_exp2l.c: Likewise.
11380         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11381         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11382         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11383         * math/s_catan.c (__catan): Likewise.
11384         * math/s_catanf.c (__catanf): Likewise.
11385         * math/s_catanh.c (__catanh): Likewise.
11386         * math/s_catanhf.c (__catanhf): Likewise.
11387         * math/s_catanhl.c (__catanhl): Likewise.
11388         * math/s_catanl.c (__catanl): Likewise.
11389         * math/s_ccosh.c (__ccosh): Likewise.
11390         * math/s_ccoshf.c (__ccoshf): Likewise.
11391         * math/s_ccoshl.c (__ccoshl): Likewise.
11392         * math/s_cexp.c (__cexp): Likewise.
11393         * math/s_cexpf.c (__cexpf): Likewise.
11394         * math/s_cexpl.c (__cexpl): Likewise.
11395         * math/s_clog10.c (__clog10): Likewise.
11396         * math/s_clog10f.c (__clog10f): Likewise.
11397         * math/s_clog10l.c (__clog10l): Likewise.
11398         * math/s_clog.c (__clog): Likewise.
11399         * math/s_clogf.c (__clogf): Likewise.
11400         * math/s_clogl.c (__clogl): Likewise.
11401         * math/s_csin.c (__csin): Likewise.
11402         * math/s_csinf.c (__csinf): Likewise.
11403         * math/s_csinh.c (__csinh): Likewise.
11404         * math/s_csinhf.c (__csinhf): Likewise.
11405         * math/s_csinhl.c (__csinhl): Likewise.
11406         * math/s_csinl.c (__csinl): Likewise.
11407         * math/s_csqrt.c (__csqrt): Likewise.
11408         * math/s_csqrtf.c (__csqrtf): Likewise.
11409         * math/s_csqrtl.c (__csqrtl): Likewise.
11410         * math/s_ctan.c (__ctan): Likewise.
11411         * math/s_ctanf.c (__ctanf): Likewise.
11412         * math/s_ctanh.c (__ctanh): Likewise.
11413         * math/s_ctanhf.c (__ctanhf): Likewise.
11414         * math/s_ctanhl.c (__ctanhl): Likewise.
11415         * math/s_ctanl.c (__ctanl): Likewise.
11416         * math/w_pow.c: Likewise.
11417         * math/w_powf.c: Likewise.
11418         * math/w_powl.c: Likewise.
11419         * math/w_scalb.c (sysv_scalb): Likewise.
11420         * math/w_scalbf.c (sysv_scalbf): Likewise.
11421         * math/w_scalbl.c (sysv_scalbl): Likewise.
11422         * misc/error.c (error_tail): Likewise.
11423         * misc/pselect.c (__pselect): Likewise.
11424         * nis/nis_callback.c (__nis_create_callback): Likewise.
11425         * nis/nis_call.c (__nisfind_server): Likewise.
11426         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11427         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11428         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11429         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11430         * nis/nis_lookup.c (nis_lookup): Likewise.
11431         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11432         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11433         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11434         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11435         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11436         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11437         * nis/nss_compat/compat-initgroups.c (add_group)
11438         (internal_getgrent_r): Likewise.
11439         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11440         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11441         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11442         (internal_getspnam_r): Likewise.
11443         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11444         (_nss_nis_getaliasbyname_r): Likewise.
11445         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11446         (_nss_nis_getntohost_r): Likewise.
11447         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11448         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11449         (_nss_nis_getgrgid_r): Likewise.
11450         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11451         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11452         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11453         (_nss_nis_gethostbyname4_r): Likewise.
11454         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11455         (initgroups_netid): Likewise.
11456         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11457         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11458         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11459         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11460         (_nss_nis_getprotobynumber_r): Likewise.
11461         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11462         (_nss_nis_getsecretkey): Likewise.
11463         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11464         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11465         (_nss_nis_getpwuid_r): Likewise.
11466         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11467         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11468         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11469         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11470         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11471         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11472         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11473         Likewise.
11474         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11475         (_nss_nisplus_getntohost_r): Likewise.
11476         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11477         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11478         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11479         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11480         Likewise.
11481         * nis/nss_nisplus/nisplus-initgroups.c
11482         (_nss_nisplus_initgroups_dyn): Likewise.
11483         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11484         (_nss_nisplus_getnetbyaddr_r): Likewise.
11485         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11486         (_nss_nisplus_getprotobynumber_r): Likewise.
11487         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11488         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11489         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11490         Likewise.
11491         * nis/nss_nisplus/nisplus-service.c
11492         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11493         (_nss_nisplus_getservbyport_r): Likewise.
11494         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11495         (_nss_nisplus_getspnam_r): Likewise.
11496         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11497         Likewise.
11498         * nscd/aicache.c (addhstaiX): Likewise.
11499         * nscd/cache.c (cache_search, prune_cache): Likewise.
11500         * nscd/connections.c (register_traced_file, send_ro_fd)
11501         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11502         (main_loop_epoll): Likewise.
11503         * nscd/grpcache.c (addgrbyX): Likewise.
11504         * nscd/hstcache.c (addhstbyX): Likewise.
11505         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11506         * nscd/mem.c (gc, mempool_alloc): Likewise.
11507         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11508         (addinnetgrX): Likewise.
11509         * nscd/nscd-client.h (__nscd_acquire_maplock)
11510         (__nscd_drop_map_ref): Likewise.
11511         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11512         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11513         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11514         Likewise.
11515         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11516         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11517         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11518         (__nscd_get_map_ref): Likewise.
11519         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11520         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11521         Likewise.
11522         * nscd/pwdcache.c (addpwbyX): Likewise.
11523         * nscd/selinux.c (preserve_capabilities): Likewise.
11524         * nscd/servicescache.c (addservbyX): Likewise.
11525         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11526         * posix/fnmatch.c (fnmatch): Likewise.
11527         * posix/getopt.c (_getopt_internal_r): Likewise.
11528         * posix/glob.c (glob, glob_in_dir): Likewise.
11529         * posix/wordexp.c (exec_comm_child): Likewise.
11530         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11531         (getanswer_r, gaih_getanswer_slice): Likewise.
11532         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11533         * resolv/res_init.c: Likewise.
11534         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11535         * resolv/res_query.c (__libc_res_nquery): Likewise.
11536         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11537         Likewise.
11538         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11539         * stdio-common/perror.c (perror): Likewise.
11540         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11541         * stdio-common/tmpnam.c (tmpnam): Likewise.
11542         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11543         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11544         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11545         Likewise.
11546         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11547         * stdlib/putenv.c (putenv): Likewise.
11548         * stdlib/setenv.c (__add_to_environ): Likewise.
11549         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11550         * stdlib/strtol_l.c (INTERNAL): Likewise.
11551         * string/memmem.c (memmem): Likewise.
11552         * string/strerror.c (strerror): Likewise.
11553         * string/strnlen.c (__strnlen): Likewise.
11554         * string/test-memmem.c (simple_memmem): Likewise.
11555         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11556         * sunrpc/pm_getport.c (__get_socket): Likewise.
11557         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11558         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11559         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11560         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11561         Likewise.
11562         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11563         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11564         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11565         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11566         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11567         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11568         Likewise.
11569         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11570         Likewise.
11571         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11572         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11574         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11575         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11577         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11578         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11579         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11580         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11581         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11582         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11583         Likewise.
11584         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11585         Likewise.
11586         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11587         Likewise.
11588         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11589         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11591         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11592         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11593         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11594         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11595         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11596         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11597         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11598         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11599         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11600         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11601         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11603         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11604         Likewise.
11605         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11606         Likewise.
11607         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11608         Likewise.
11609         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11610         Likewise.
11611         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11613         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11614         Likewise.
11615         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11616         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11617         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11618         * sysdeps/posix/sleep.c: Likewise.
11619         * sysdeps/posix/tempname.c: Likewise.
11620         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11621         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11622         Likewise.
11623         * sysdeps/powerpc/powerpc32/dl-machine.h
11624         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11625         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11627         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11628         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11629         Likewise.
11630         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11631         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11632         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11633         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11634         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11635         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11636         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11637         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11638         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11639         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11641         (elf_machine_lazy_rel): Likewise.
11642         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11643         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11644         (elf_machine_lazy_rel): Likewise.
11645         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11646         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11647         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11648         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11649         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11650         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11651         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11652         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11653         Likewise.
11654         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11655         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11656         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11657         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11658         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11659         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11660         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11661         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11662         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11663         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11664         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11665         Likewise.
11666         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11667         (__posix_fallocate64_l64): Likewise.
11668         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11669         (posix_fallocate): Likewise.
11670         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11671         Likewise.
11672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11673         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11674         (getifaddrs_internal): Likewise.
11675         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11676         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11677         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11678         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11679         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11680         (__posix_fallocate64_l64): Likewise.
11681         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11682         Likewise.
11683         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11684         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11685         (__get_clockfreq): Likewise.
11686         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11687         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11688         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11689         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11690         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11691         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11692         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11693         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11694         Likewise.
11695         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11696         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11697         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11698         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11699         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11700         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11701         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11702         Likewise.
11703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11704         (posix_fallocate): Likewise.
11705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11706         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11707         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11708         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11709         (elf_machine_rela, elf_machine_rela_relative)
11710         (elf_machine_lazy_rel): Likewise.
11711         * time/asctime.c (asctime_internal): Likewise.
11712         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11713         * time/tzset.c (__tzset_parse_tz): Likewise.
11714         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11715         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11716         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11717         * wcsmbs/wcsmbsload.h: Likewise.
11719         [BZ #15894]
11720         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11722         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11723         (arena_get2): Remove THREAD_STATS conditionals.
11724         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11725         (__malloc_stats, int): Likewise.
11727 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11729         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11730         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11732         * manual/setjmp.texi: Fix typos/grammar errors.
11734         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11735         Only return early when n is <= 0.  Delete unused return statement.
11737         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11738         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11739         * debug/tst-longjmp_chk3.c: New file.
11741         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11742         (test_main): Replace code with set_fortify_handler call.
11743         * debug/test-strcpy_chk.c: Likewise.
11744         * debug/tst-chk1.c: Likewise.
11745         * debug/tst-longjmp_chk.c: Likewise.
11746         * test-skeleton.c: Include fcntl.h & paths.h
11747         (set_fortify_handler): Define.
11749         * debug/tst-longjmp_chk.c: Add header comment and include
11750         ../test-skeleton.c.
11751         (do_test): Mark static.
11752         (TEST_FUNCTION): Define.
11754         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11755         (IP_PMTUDISC_INTERFACE): Likewise.
11756         (IP_MULTICAST_IF): Likewise.
11757         (IP_MULTICAST_TTL): Likewise.
11758         (IP_MULTICAST_LOOP): Likewise.
11759         (IP_ADD_MEMBERSHIP): Likewise.
11760         (IP_DROP_MEMBERSHIP): Likewise.
11761         (IP_UNBLOCK_SOURCE): Likewise.
11762         (IP_BLOCK_SOURCE): Likewise.
11763         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11764         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11765         (IP_MSFILTER): Likewise.
11766         (MCAST_JOIN_GROUP): Likewise.
11767         (MCAST_BLOCK_SOURCE): Likewise.
11768         (MCAST_UNBLOCK_SOURCE): Likewise.
11769         (MCAST_LEAVE_GROUP): Likewise.
11770         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11771         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11772         (MCAST_MSFILTER): Likewise.
11773         (IP_MULTICAST_ALL): Likewise.
11774         (IP_UNICAST_IF): Likewise.
11776         * timezone/Makefile: Delete $(have-ksh) check.
11777         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11778         * timezone/tzselect.ksh: Add +x mode bits.
11780         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11781         (ANON_INODE_FS_MAGIC): Likewise.
11782         (BDEVFS_MAGIC): Likewise.
11783         (BINFMTFS_MAGIC): Likewise.
11784         (BTRFS_TEST_MAGIC): Likewise.
11785         (CRAMFS_MAGIC_WEND): Likewise.
11786         (DEBUGFS_MAGIC): Likewise.
11787         (ECRYPTFS_SUPER_MAGIC): Likewise.
11788         (EXT3_SUPER_MAGIC): Likewise.
11789         (EXT4_SUPER_MAGIC): Likewise.
11790         (FUTEXFS_SUPER_MAGIC): Likewise.
11791         (HOSTFS_SUPER_MAGIC): Likewise.
11792         (HUGETLBFS_MAGIC): Likewise.
11793         (MINIX3_SUPER_MAGIC): Likewise.
11794         (MTD_INODE_FS_MAGIC): Likewise.
11795         (NILFS_SUPER_MAGIC): Likewise.
11796         (OPENPROM_SUPER_MAGIC): Likewise.
11797         (PIPEFS_MAGIC): Likewise.
11798         (PSTOREFS_MAGIC): Likewise.
11799         (QNX6_SUPER_MAGIC): Likewise.
11800         (RAMFS_MAGIC): Likewise.
11801         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11802         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11803         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11804         (SECURITYFS_MAGIC): Likewise.
11805         (SELINUX_MAGIC): Likewise.
11806         (SMACK_MAGIC): Likewise.
11807         (SOCKFS_MAGIC): Likewise.
11808         (SQUASHFS_MAGIC): Likewise.
11809         (STACK_END_MAGIC): Likewise.
11810         (TMPFS_MAGIC): Likewise.
11811         (USBDEVICE_SUPER_MAGIC): Likewise.
11812         (V9FS_MAGIC): Likewise.
11813         (XENFS_SUPER_MAGIC): Likewise.
11814         (CRAMFS_MAGIC): Fix typo in comment.
11815         (EXT2_SUPER_MAGIC): Update comment.
11816         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11818 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11820         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11821         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11822         * sysdeps/unix/sysv/linux/arm: Move directory from
11823         ports/sysdeps/unix/sysv/linux/arm.
11824         * README: Update listing for arm-*-linux-gnueabi.
11826         * README: Remove mention of am33.
11828 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11830         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11831         than the comma operator, to avoid "rhs of comma has no effect"
11832         compiler warnings.
11833         (__sigfillset, __sigandset, __sigorset): Likewise.
11834         * include/signal.h (__sigemptyset): Likewise.
11835         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11837 2014-02-07  Allan McRae  <allan@archlinux.org>
11839         * version.h (RELEASE): Set to "development".
11840         (VERSION): Set to "2.19.90"
11841         * NEWS: Add 2.20 section.
11843 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11845         [BZ #16529]
11846         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11848 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11850         * manual/contrib.texi: Update entry for Carlos O'Donell,
11851         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11853 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11855         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11857         * sysdeps/unix/sysv/linux/kernel-features.h
11858         [__LINUX_KERNEL_VERSION >= 0x020621]
11859         (__ASSUME_PROC_PID_TASK_COMM): Define.
11861 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11863         [BZ #16398]
11864         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11865         conversion when destination buffer does not have enough space.
11866         * libio/tst-ftell-partial-wide.c: New test case.
11867         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11869         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11870         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11871         Leonard and Allan McRae.
11873 2014-02-04  David S. Miller  <davem@davemloft.net>
11875         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11876         32-bit.
11878 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11881         New file
11882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11883         New file
11884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11885         New file.
11886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11887         New file.
11888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11889         New file.
11890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11891         New file.
11892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11893         New file.
11894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11895         New file.
11896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11897         New file.
11898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11899         New file.
11900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11901         New file.
11902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11903         New file.
11904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11905         New file.
11907 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11909         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11910         * shlib-versions: Likewise.
11912 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11913             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11915         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11916         (abilist-pattern): New variable, set to %-le.abilist.
11918         * Makerules (abilist-pattern): New variable.
11919         (vpath): Use $(abilist-pattern) in place of %.abilist.
11920         (check-abi-% pattern rule): Likewise.
11921         (check-abi, update-abi): Likewise.
11923 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11927 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11929         * manual/startup.texi: Add next, previous, and top entries for
11930         the `Program Arguments' and `Environment Variables' nodes.
11932 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11934         * manual/macros.texi: Add comments before MTASC-safety macros.
11936         * manual/users.texi: Document MTASC-safety properties.
11938         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11939         (pthread_getspecific, pthread_setspecific): Format with
11940         @deftypefun, and add @safety note.
11941         * manual/signal.texi: Move comments that analyze the above
11942         functions to their home place.
11944 2014-02-03  Allan McRae  <allan@archlinux.org>
11946         * po/sl.po: Update Slovenian translation from translation project.
11948 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11950         * manual/time.texi (timegm): Add missing blank after @c.
11951         Reported by Joseph Myers <joseph@codesourcery.com>.
11953 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11955         * manual/check-safety.sh: New.
11956         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11958         * manual/terminal.texi: Document MTASC-safety properties.
11960         * manual/filesys.texi: Document MTASC-safety properties.
11962         * manual/errno.texi: Document MTASC-safety properties.
11964         * manual/intro.texi: Document safety identifiers and
11965         conditionals.
11967         * manual/string.texi (wcstok): Fix prototype.
11968         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11970         * manual/time.texi: Document MTASC-safety properties.
11972         * manual/string.texi: Document MTASC-safety properties.
11974         * manual/threads.texi: Document MTASC-safety properties.
11976         * manual/stdio.texi: Document MTASC-safety properties.
11978         * manual/syslog.texi: Document MTASC-safety properties.
11980         * manual/sysinfo.texi: Document MTASC-safety properties.
11982         * manual/startup.texi: Document MTASC-safety properties.
11984         * manual/socket.texi: Document MTASC-safety properties.
11986         * manual/signal.texi: Document MTASC-safety properties.
11988 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11990         * manual/setjmp.texi: Document MTASC-safety properties.
11992         * manual/search.texi: Document MTASC-safety properties.
11994         * manual/resource.texi: Document MTASC-safety properties.
11996         * manual/process.texi: Document MTASC-safety properties.
11998         * manual/platform.texi: Document MTASC-safety properties.
12000         * manual/pipe.texi: Document MTASC-safety properties.
12002         * manual/pattern.texi: Document MTASC-safety properties.
12004         * manual/message.texi: Document MTASC-safety properties.
12006         [BZ #12751]
12007         * manual/memory.texi: Document MTASC-safety properties.
12009         * manual/math.texi: Document MTASC-safety properties.
12011         * manual/locale.texi: Document MTASC-safety properties.
12013         * manual/llio.texi: Document MTASC-safety properties.
12015         * manual/libdl.texi: New.
12017         * manual/lang.texi: Document MTASC-safety properties.
12019         * manual/job.texi: Document MTASC-safety properties.
12021         * manual/getopt.texi: Document MTASC-safety properties.
12023         * manual/ctype.texi: Document MTASC-safety properties.
12025 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12027         [BZ #16046]
12028         * csu/libc-tls.c (static_map): Remove variable.
12029         (__libc_setup_tls): Use main executable's link map for TLS data.
12030         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12031         casing for LM_ID_BASE and GL(dl_nns).
12032         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12033         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12034         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12035         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12036         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12037         member.
12038         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12039         l_phnum members.
12041 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12043         * manual/debug.texi: Document MTASC-safety properties.
12045 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12047         [BZ #16510]
12048         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12049         of __x86_64__ when disabling x87 inline functions.
12051 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12053         * manual/charset.texi: Document MTASC-safety properties.
12055         * manual/crypt.texi: Document MTASC-safety properties.
12057         * manual/conf.texi: Document MTASC-safety properties.
12059         * manual/arith.texi: Document MTASC-safety properties.
12061         * manual/argp.texi: Document MTASC-safety properties.
12063         * manual/macros.texi: Introduce macros to document multi
12064         thread, asynchronous signal and asynchronous cancellation
12065         safety properties.
12066         * manual/intro.texi: Introduce the properties themselves.
12068 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12070         * sysdeps/sh/sh4/Makefile: New file.
12072 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12074         * math/gen-libm-test.pl ($srcdir): New variable.
12075         ($auto_input): Use it.
12077 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12079         [BZ #16506]
12080         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12081         access beyond array bounds when parsing netgroups file.
12083         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12084         the old buffer before realloc.
12086 2014-01-27  Allan McRae  <allan@archlinux.org>
12088         * po/fr.po: Update French translation from translation project.
12090 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12092         * sysdeps/sh/libm-test-ulps: Regenerate.
12094 2014-01-24  David S. Miller  <davem@davemloft.net>
12096         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12098 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12100         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12101         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12103 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12105         [BZ #16474]
12106         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12107         string pointers after reallocation.
12109 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12111         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12112         __SH4A__ instead of __SH_FPU_ANY__.
12114 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12116         * sysdeps/sh/fpu_control.h: New file.
12117         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12118         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12119         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12120         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12121         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12122         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12123         * sysdeps/sh/sys/ucontext.h: Remove.
12124         * sysdeps/sh/sys: Remove directory.
12126 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12128         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12129         s390/sys/ucontext.h.
12130         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12131         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12133 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12135         [BZ #15605]
12136         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12138 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12140         [BZ#16431]
12141         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12142         Adjust the vDSO correctly for internal calls.
12143         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12145 2014-01-20  Allan McRae  <allan@archlinux.org>
12147         * po/ca.po: Update Catalan translation from translation project.
12149 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12151         * sysdeps/s390/sotruss-lib.c: New file.
12153 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12155         [BZ#16430]
12156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12157         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12158         local calls issues by not having a PLT stub required for IFUNC calls.
12159         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12161 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12163         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12164         * math/test-fpucw-static.c: Likewise.
12166 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12168         [BZ #16453]
12169         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12171 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12173         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12174         implementation for powerpc.
12176 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12178         [BZ #14782]
12179         * sysdeps/posix/system.c (__libc_system): Do not enable
12180         asynchronous cancellation.
12182 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12184         [BZ #16427]
12185         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12186         handling only for numbers special also in the IEEE case.
12188 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12190         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12192 2014-01-11  Allan McRae  <allan@archlinux.org>
12194         * po/bg.po: Update Bulgarian translation from translation project.
12196         * po/de.po: Update German translation from translation project.
12198 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12200         * sysdeps/generic/gcc-compat.h: New file.
12202 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12204         * benchtests/asin-inputs: Correct slow inputs.
12205         * benchtests/acos-inputs: Likewise.
12207 2014-01-10  Allan McRae  <allan@archlinux.org>
12209         * po:sv.po: Update Swedish translation from translation project.
12211         * po/vi.po: Update Vietnamese translation from translation project.
12213         * po/eo.po: Update Esperanto translation from translation project.
12215         * po/cs.po: Update Czech translation from translation project.
12217         * po/nl.po: Update Dutch translation from translation project.
12219         * po/pl.po: Update Polish translation from translation project.
12221         * po/ru.po: Update Russian translation from translation project.
12223         * po/uk.po: Update Ukrainian translation from translation project.
12225 2014-01-08  Brooks Moses  <bmoses@google.com>
12227         * elf/dl-load.c: Fix comment typo.
12229 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12231         * po/header.pot: Rename to...
12232         * po/pot.header: ... this.
12233         * po/Makefile: Use pot.header.
12235 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12236             Maxim Kuvyrkov  <maxim@kugelworks.com>
12238         [BZ #16394]
12239         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12240         SRC and DEST against LEN.
12242 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12244         [BZ #16414]
12245         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12246         implementation.
12247         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12249 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12253 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12255         [BZ #16408]
12256         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12257         for large positive arguments.
12259 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12261         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12263         * math/auto-libm-test-in: Mark various tests with
12264         xfail-rounding:ldbl-128ibm.
12265         * math/auto-libm-test-out: Regenerated.
12267         [BZ #16407]
12268         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12269         Increase overflow threshold.
12271 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12273         [BZ #14286]
12274         * stdio-common/vfprintf.c: Check for integer overflow.
12276 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12278         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12279         the first argument and return value of __tls_get_addr_internal.
12281 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12283         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12284         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12286 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12288         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12289         * sysdeps/s390/rtld-global-offsets.sym: New file.
12290         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12291         GLIBC_2.19 symbol.
12292         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12293         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12294         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12295         ... this.
12296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12297         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12298         ... this.
12299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12300         Regenerate.
12301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12302         Regenerate.
12303         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12304         halfs of GPRs for high_gprs contexts.
12305         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12306         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12307         field.
12308         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12309         uc_flags field.
12310         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12311         64 bit versions:
12312         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12313         for high GPRs (uc_high_gprs) and for future extensions
12314         (__reserved).
12315         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12316         for future extensions (__reserved).
12317         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12318         64 bit versions:
12319         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12320         SC_HIGHGPRS offset definition.
12321         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12322         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12324         * Versions.def: Add GLIBC_2.19 for libpthread.
12325         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12326         siglongjmp for libpthread with GLIBC_2.19 symver.
12327         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12328         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12329         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12330         * sysdeps/s390/__longjmp.c: New file.
12331         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12332         * sysdeps/s390/longjmp.c: New file.
12333         * sysdeps/s390/setjmp.S: New file.
12334         * sysdeps/s390/sigjmp.S: New file.
12335         * sysdeps/s390/v1-longjmp.c: New file.
12336         * sysdeps/s390/v1-setjmp.h: New file.
12337         * sysdeps/s390/v1-sigjmp.c: New file.
12338         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12339         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12340         GLIBC_2.19 version.
12341         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12342         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12343         versioned symbols for ____longjmp_chk.
12344         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12345         Likewise.
12346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12347         Regenerate.
12348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12349         Regenerate.
12350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12351         Regenerate.
12352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12353         Regenerate.
12354         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12355         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12356         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12357         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12358         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12359         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12360         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12361         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12362         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12363         * sysdeps/s390/rtld-__longjmp.c: New file.
12364         * sysdeps/s390/rtld-setjmp.S: New file.
12366 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12368         [BZ #16400]
12369         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12370         Return -__logl (x) for small positive arguments without evaluating
12371         a polynomial.
12373 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12375         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12376         Rename to ...
12377         (__ptrace_peeksiginfo_args): ... this.
12378         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12379         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12380         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12382 2014-01-06  Allan McRae  <allan@archlinux.org>
12384         * inet/netinet/in.h: Fix typo in comment.
12386 2014-01-05  Andreas Jaeger  <aj@suse.de>
12388         * sysdeps/i386/fpu/libm-test-ulps: Update.
12390 2014-01-05  Allan McRae  <allan@archlinux.org>
12392         * po/libc.pot: Regenerated.
12394         * malloc/memusagestat.c: Fix gettext call formatting.
12396 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12398         * nscd/nscd.c: Improve usage() output.
12400 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12402         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12403         * sysdeps/unix/sysv/linux/configure: Regenerated.
12404         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12405         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12407 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12409         [BZ #16390]
12410         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12411         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12413 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12416         extra tokens at end of #undef directive.
12417         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12418         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12419         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12421 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12423         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12425         * math/auto-libm-test-in: Mark various tests with
12426         xfail-rounding:ldbl-128ibm.
12427         * math/auto-libm-test-out: Regenerated.
12429 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12431         [BZ #16386]
12432         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12433         numbers with subnormal high part when calculating exponent.
12435         [BZ #16385]
12436         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12437         fabs.
12439         [BZ #16384]
12440         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12441         M_LN2l.
12442         (__ieee754_acoshl): Use __log1pl not __log1p.
12444 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12446         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12447         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12448         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12449         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12450         (reused_arena, arena_get2): Convert to GNU style.
12451         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12452         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12453         (memalign_check, __malloc_set_state): Likewise.
12454         * malloc/mallocbug.c (main): Likewise.
12455         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12456         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12457         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12458         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12459         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12460         (__posix_memalign, malloc_info): Likewise.
12461         * malloc/malloc.h: Likewise.
12462         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12463         (mallochook, memalignhook, reallochook, mabort): Likewise.
12464         * malloc/mcheck.h: Likewise.
12465         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12466         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12467         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12468         * malloc/morecore.c (__default_morecore): Likewise.
12469         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12470         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12471         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12472         (print_and_abort): Likewise.
12473         * malloc/obstack.h: Likewise.
12474         * malloc/set-freeres.c (__libc_freeres): Likewise.
12475         * malloc/tst-mallocstate.c (main): Likewise.
12476         * malloc/tst-mtrace.c (main): Likewise.
12477         * malloc/tst-realloc.c (do_test): Likewise.
12479 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12481         [BZ #16366]
12482         * nscd/netgroupcache.c (do_notfound): New function.
12483         (addgetnetgrentX): Use it.
12485         [BZ # 16365]
12486         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12487         NSS_STATUS_NOTFOUND.
12489 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12491         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494 2014-01-01  Allan McRae  <allan@archlinux.org>
12496         * scripts/update-copyrights: Update configure input file suffix.
12498         * NEWS: Update copyright year.
12499         * catgets/gencat.c: Likewise.
12500         * csu/version.c: Likewise.
12501         * debug/catchsegv.sh: Likewise.
12502         * debug/pcprofiledump.c: Likewise.
12503         * debug/xtrace.sh: Likewise.
12504         * elf/ldconfig.c: Likewise.
12505         * elf/ldd.bash.in: Likewise.
12506         * elf/pldd.c: Likewise.
12507         * elf/sotruss.ksh: Likewise.
12508         * elf/sprof.c: Likewise.
12509         * iconv/iconv_prog.c: Likewise.
12510         * iconv/iconvconfig.c: Likewise.
12511         * locale/programs/locale.c: Likewise.
12512         * locale/programs/localedef.c: Likewise.
12513         * login/programs/pt_chown.c: Likewise.
12514         * malloc/memusage.sh: Likewise.
12515         * malloc/memusagestat.c: Likewise.
12516         * malloc/mtrace.pl: Likewise.
12517         * manual/libc.texinfo: Likewise.
12518         * nscd/nscd.c: Likewise.
12519         * nss/getent.c: Likewise.
12520         * nss/makedb.c: Likewise.
12521         * posix/getconf.c: Likewise.
12522         * scripts/test-installation.pl: Likewise.
12524         * All files with FSF copyright notices: Update copyright dates
12525         using scripts/update-copyrights.
12526         * intl/plural.c: Regenerated.
12527         * locale/programs/charmap-kw.h: Likewise.
12528         * locale/programs/locfile-kw.h: Likewise.
12530 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12532         * sysdeps/unix/sysv/linux/configure: Regenerated.
12533         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12534         the linux/fanotify.h header.
12535         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12536         HAVE_LINUX_FANOTIFY_H is defined.
12538 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12540         * benchtests/cos-inputs: New inputs.
12541         * benchtests/sin-inputs: Likewise.
12543         * benchtests/atan-inputs: New inputs. Fix name of multiple
12544         precision fallback inputs.
12546         * benchtests/atanh-inputs: New inputs.
12547         * benchtests/tanh-inputs: Likewise.
12549         * benchtests/acosh-inputs: New inputs.
12550         * benchtests/asinh-inputs: Likewise.
12552         * benchtests/cosh-inputs: New inputs.
12553         * benchtests/sinh-inputs: Likewise.
12555         * benchtests/acos-inputs: Add more inputs.
12556         * benchtests/asin-inputs: Likewise.
12558 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12560         [BZ #16375]
12561         * manual/arith.texi: Fix spelling.
12562         * manual/charset.texi: Likewise.
12563         * manual/errno.texi: Likewise.
12564         * manual/filesys.texi: Likewise.
12565         * manual/lang.texi: Likewise.
12566         * manual/llio.texi: Likewise.
12567         * manual/locale.texi: Likewise.
12568         * manual/message.texi: Likewise.
12569         * manual/resource.texi: Likewise.
12570         * manual/search.texi: Likewise.
12571         * manual/setjmp.texi: Likewise.
12572         * manual/stdio.texi: Likewise.
12573         * manual/string.texi: Likewise.
12574         * manual/sysinfo.texi: Likewise.
12575         * manual/time.texi: Likewise.
12577 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12579         * po/sl.po: New file.
12581 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12583         * .gitignore: Add core/.gdbinit/.gdb_history.
12585 2013-12-27  Allan McRae  <allan@archlinux.org>
12587         [BZ #16369]
12588         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12589         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12591 2013-12-24  Brooks Moses  <bmoses@google.com>
12593         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12594         all compilers that claim C++98 compliance, not just GCC.
12595         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12596         Likewise.
12598 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12600         * NEWS: Restore accidentally deleted bug-fix entries.
12602 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12603             Ondřej Bílka  <neleai@seznam.cz>
12605         [BZ #15073]
12606         * malloc/malloc.c (_int_free): Perform sanity check only if we
12607         have_lock.
12609 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12611         [BZ #12986]
12612         * manual/stdio.texi (String Input Conversions): Clarify that character
12613         classes are not supported.
12615 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12619 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12621         [BZ #16337]
12622         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12623         Calculate results for small negative arguments directly rather
12624         than using reflection formula with special underflow handling.
12626         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12627         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12628         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12629         (fchflags): Likewise.
12630         (revoke): Likewise.
12631         (setlogin): Likewise.
12632         (sigaltstack): Likewise.
12633         (wait4): Likewise.
12634         (sigblock): Remove.
12635         (sigsetmask): Likewise.
12636         (wait3): Likewise.
12637         (waitpid): Likewise.
12638         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12639         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12640         file.
12641         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12642         * sysdeps/unix/bsd/Makefile: ... here.
12643         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12644         * sysdeps/unix/bsd/Versions: ... here.
12645         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12646         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12647         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12648         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12649         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12650         * sysdeps/unix/bsd/sigblock.c: ... here.
12651         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12652         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12653         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12654         * sysdeps/unix/bsd/sigvec.c: ... here.
12655         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12656         * sysdeps/unix/bsd/tcdrain.c: ... here.
12657         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12658         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12659         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12660         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12661         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12662         * sysdeps/unix/bsd/wait.c: ... here.
12663         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12664         * sysdeps/unix/bsd/wait3.c: ... here.
12665         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12666         * sysdeps/unix/bsd/waitpid.c: ... here.
12668 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12670         [BZ #16356]
12671         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12672         round-to-nearest for [!USE_AS_EXPM1L].
12673         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12674         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12675         more tests of exp and exp10.  Expect some exp10 tests to miss
12676         exceptions or fail in directed rounding modes.
12677         * math/auto-libm-test-out: Regenerated.
12678         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12679         (exp10_test_tonearest): New function.
12680         (exp10_towardzero_test_data): New array.
12681         (exp10_test_towardzero): New function.
12682         (exp10_downward_test_data): New array.
12683         (exp10_test_downward): New function.
12684         (exp10_upward_test_data): New array.
12685         (exp10_test_upward): New function.
12686         (main): Call the new functions.
12687         * sysdeps/i386/fpu/libm-test-ulps: Update.
12688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12690 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12692         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12693         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12694         * math/auto-libm-test-out: Regenerated.
12695         * math/libm-test.inc (acosh_test_data): Add more tests.
12696         (atanh_test_data): Likewise.
12697         (ceil_test_data): Likewise.
12698         (copysign_test_data): Likewise.
12699         * sysdeps/i386/fpu/libm-test-ulps: Update.
12700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702         * timezone/checktab.awk: Update from tzcode 2013i.
12703         * timezone/private.h: Likewise.
12704         * timezone/scheck.c: Likewise.
12705         * timezone/tzfile.h: Likewise.
12706         * timezone/tzselect.ksh: Likewise.
12707         * timezone/zdump.c: Likewise.
12708         * timezone/zic.c: Likewise.
12710         * math/auto-libm-test-in: Add tests of cpow.
12711         * math/auto-libm-test-out: Regenerated.
12712         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12714         mpc_cc_c.
12715         (func_calc_desc): Add mpc_cc_c union field.
12716         (test_functions): Add cpow.
12717         (special_fill_2pi): New function.
12718         (special_real_inputs): Add 2pi.
12719         (calc_generic_results): Handle mpc_cc_c.
12720         * sysdeps/i386/fpu/libm-test-ulps: Update.
12721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12723         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12724         csqrt, ctan and ctanh.
12725         * math/auto-libm-test-out: Regenerated.
12726         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12727         (TEST_COND_x86): Likewise.
12728         (ccos_test_data): Use AUTO_TESTS_c_c.
12729         (ccosh_test_data): Likewise.
12730         (cexp_test_data): Likewise.
12731         (clog_test_data): Likewise.
12732         (csqrt_test_data): Likewise.
12733         (ctan_test_data): Likewise.
12734         (ctan_tonearest_test_data): Likewise.
12735         (ctan_towardzero_test_data): Likewise.
12736         (ctan_downward_test_data): Likewise.
12737         (ctan_upward_test_data): Likewise.
12738         (ctanh_test_data): Likewise.
12739         (ctanh_tonearest_test_data): Likewise.
12740         (ctanh_towardzero_test_data): Likewise.
12741         (ctanh_downward_test_data): Likewise.
12742         (ctanh_upward_test_data): Likewise.
12743         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12744         mpc_c_c.
12745         (func_calc_desc): Add mpc_c_c union field.
12746         (FUNC_mpc_c_c): New macro.
12747         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12748         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12749         ctanh.
12750         (special_fill_min_subnorm_p120): New function.
12751         (special_real_inputs): Add min_subnorm_p120.
12752         (calc_generic_results): Handle mpc_c_c.
12753         * sysdeps/i386/fpu/libm-test-ulps: Update.
12754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12758         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12759         (do_sin_slow): New functions.
12760         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12761         (cslow2, csloww1, csloww2): Use the new functions.
12763         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12764         Use M to change sign of result instead of X.  Assume X is
12765         positive.
12766         (csloww1): Likewise.
12767         (__sin): Adjust.
12768         (__cos): Adjust.
12770         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12771         arguments A and DA.
12772         (__sin): Adjust.
12773         (__cos): Likewise.
12775         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12776         (__cos): Likewise.
12777         (sloww1): Don't adjust sign of DX.
12778         (csloww1): Likewise.
12779         (sloww2): Use X directly and don't adjust sign of DX.
12780         (csloww2): Likewise.
12782 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12784         * math/auto-libm-test-in: Add tests of cabs and carg.
12785         * math/auto-libm-test-out: Regenerated.
12786         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12787         (carg_test_data): Likewise.
12788         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12789         mpc_c_f.
12790         (func_calc_desc): Add mpc_c_f union field.
12791         (test_functions): Add cabs and carg.
12792         (calc_generic_results): Handle mpc_c_f.
12794         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12795         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12796         as a macro and a compat symbol.
12797         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12798         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12799         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12800         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12801         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12802         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12803         not use .hidden.
12804         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12805         Likewise.
12806         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12807         Likewise.
12808         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12809         Likewise.
12810         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12811         Likewise.
12812         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12813         Likewise.
12814         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12815         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12816         from GLIBC_2.3.2.
12818 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12822 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12824         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12825         trailing whitespace removed.
12826         * scripts/config.guess: Update to version 2013-11-29.
12827         * scripts/config.sub: Update to version 2013-10-01.
12829         * math/auto-libm-test-in: Add tests of sincos.
12830         * math/auto-libm-test-out: Regenerated.
12831         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12833         mpfr_f_11.
12834         (func_calc_desc): Add mpfr_f_11 union field.
12835         (test_functions): Add sincos.
12836         (calc_generic_results): Handle mpfr_f_11.
12837         * sysdeps/i386/fpu/libm-test-ulps: Update.
12838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12840 2013-12-19  Andreas Schwab  <schwab@suse.de>
12842         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12843         CALL_MCOUNT.
12844         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12846         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12848 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12850         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12851         * sysdeps/i386/fpu/libm-test-ulps: Update.
12852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12854         [BZ #16293]
12855         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12856         round-to-nearest mode when using frndint.
12857         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12858         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12859         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12860         Likewise.
12861         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12862         sinh test to fail.
12863         * math/auto-libm-test-out: Regenerated.
12864         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12865         (TEST_COND_x86): Likewise.
12866         (expm1_tonearest_test_data): New array.
12867         (expm1_test_tonearest): New function.
12868         (expm1_towardzero_test_data): New array.
12869         (expm1_test_towardzero): New function.
12870         (expm1_downward_test_data): New array.
12871         (expm1_test_downward): New function.
12872         (expm1_upward_test_data): New array.
12873         (expm1_test_upward): New function.
12874         (main): Run the new test functions.
12875         * sysdeps/i386/fpu/libm-test-ulps: Update.
12876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12878         * include/features.h: Update comment documenting feature test
12879         macros.  Mention _DEFAULT_SOURCE in comment.
12880         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12881         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12882         _BSD_SOURCE and _SVID_SOURCE.
12883         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12884         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12885         !_SVID_SOURCE]: Likewise.
12886         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12887         (__USE_POSIX_IMPLICITLY): Define.
12888         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12889         (_POSIX_SOURCE): Undefine and redefine.
12890         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12891         (_POSIX_C_SOURCE): Likewise.
12892         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12893         (Feature Test Macros): Update documentation of default features.
12895 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12897         * benchtests/Makefile: Add bench-strtok.
12898         * benchtests/bench-strtok.c: New file: strtok benchtest.
12900 2013-12-19  Allan McRae  <allan@archlinux.org>
12902         * manual/install.texi: Suppress menu for plain text output.
12903         * INSTALL: Regenerated.
12905 2013-12-18  Brooks Moses  <bmoses@google.com>
12907         [BZ #15846]
12908         * misc/getauxval.c: Include errno.h.
12909         (__getauxval): Set errno to ENOENT if the requested type is not
12910         found.
12911         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12912         don't declare with __attribute_const__.
12913         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12914         * manual/startup.texi: Document that getauxval sets errno.
12916 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12918         * math/auto-libm-test-in: Add tests of jn and yn.
12919         * math/auto-libm-test-out: Regenerated.
12920         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12921         (yn_test_data): Likewise.
12922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12923         mpfr_if_f.
12924         (func_calc_desc): Add mpfr_if_f union field.
12925         (FUNC_mpfr_if_f): New macro.
12926         (test_functions): Add jn and yn.
12927         (calc_generic_results): Assert type of second input for
12928         mpfr_ff_f.  Handle mpfr_if_f.
12929         (output_for_one_input_case): Disable all checking for arguments
12930         fitting floating-point types in case of an integer argument.
12931         * sysdeps/i386/fpu/libm-test-ulps: Update.
12932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12935         Don't expect fegetround reference in libm.so.
12937 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12939         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12940         $(config-cflags-nofma).
12942 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12944         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12945         * math/auto-libm-test-out: Regenerated.
12947         [BZ #16338]
12948         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12949         to determine exponent and adjust argument to have exponent of -1.
12950         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12951         log2.
12952         * math/auto-libm-test-out: Regenerated.
12953         * sysdeps/i386/fpu/libm-test-ulps: Update.
12954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12956 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12958         * manual/probes.texi: Remove cases when per-thread arenas are
12959         disabled.
12961 2013-12-18  Andreas Schwab  <schwab@suse.de>
12963         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12964         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12965         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12966         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12967         * sysdeps/i386/i686/multiarch/Makefile: Update.
12968         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12970 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12972         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12973         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12975 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12977         [BZ #15968]
12978         Support TZ transition times < 00:00:00.
12979         This is needed for version-3 tz-format files; it supports time
12980         stamps past 2037 for America/Godthab (the only entry in the tz
12981         database for which this change is relevant).
12982         * manual/time.texi (TZ Variable): Document transition times
12983         from -167:59:59 through -00:00:01.
12984         * time/tzset.c (tz_rule): Time of day is now signed.
12985         (__tzset_parse_tz): Parse negative time of day.
12987         Document TZ transition times >= 25:00:00.
12988         * manual/time.texi (TZ Variable): Document transition times from
12989         25:00:00 through 167:59:59.  These are already supported, and this
12990         support will help with version-3 tz-format files.
12992         * manual/time.texi (TZ Variable): Modernize North America example
12993         to reflect current (i.e., 2007-and-later) daylight saving rules.
12995         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12997 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12999         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13000         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13001         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13003         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13004         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13005         * sysdeps/unix/bsd/clock.c: Likewise.
13006         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13007         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13008         * sysdeps/unix/bsd/init-posix.c: Likewise.
13009         * sysdeps/unix/bsd/poll.c: Likewise.
13010         * sysdeps/unix/bsd/ptsname.c: Likewise.
13011         * sysdeps/unix/bsd/seekdir.c: Likewise.
13012         * sysdeps/unix/bsd/setegid.c: Likewise.
13013         * sysdeps/unix/bsd/seteuid.c: Likewise.
13014         * sysdeps/unix/bsd/setgid.c: Likewise.
13015         * sysdeps/unix/bsd/setrgid.c: Likewise.
13016         * sysdeps/unix/bsd/setruid.c: Likewise.
13017         * sysdeps/unix/bsd/setsid.c: Likewise.
13018         * sysdeps/unix/bsd/setuid.c: Likewise.
13019         * sysdeps/unix/bsd/sigaction.c: Likewise.
13020         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13021         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13022         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13023         * sysdeps/unix/bsd/telldir.c: Likewise.
13024         * sysdeps/unix/bsd/times.c: Likewise.
13025         * sysdeps/unix/bsd/usleep.c: Likewise.
13027         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13028         ($(objpfx)libbsd-compat.a): Remove rule.
13030         * include/features.h (__FAVOR_BSD): Do not define.
13031         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13032         features conflicting with POSIX.
13033         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13034         (_BSD_SOURCE): Remove description of not being a subset of other
13035         feature test macros.
13036         * manual/job.texi (getpgrp): Do not document BSD version.
13037         (getpgid): Do not document by reference to BSD getpgrp.
13038         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13039         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13040         * signal/signal.h [__FAVOR_BSD]: Likewise.
13041         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13042         instead of making contents conditional on [__FAVOR_BSD].
13043         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13045 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13049 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13051         [BZ #16314]
13052         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13053         values below 2**-450, not 2**-500.
13054         * math/auto-libm-test-in: Don't allow spurious underflow from
13055         hypot.
13056         * math/auto-libm-test-out: Regenerated.
13058         [BZ #16316]
13059         [BZ #16330]
13060         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13061         values of ha and hb and sort them after adjusting subnormal
13062         arguments.
13063         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13064         Likewise.
13065         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13066         values of ea and eb and sort them after adjusting subnormal
13067         arguments.
13068         * math/auto-libm-test-in: Do not expect some hypot tests of
13069         subnormals to fail.  Add more hypot tests.
13070         * math/auto-libm-test-out: Regenerated.
13072 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13074         [BZ #13304]
13075         * sysdeps/sh/s_fma.c: New file.
13076         * sysdeps/sh/s_fmaf.c: New file.
13077         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13078         version.
13079         * sysdeps/sh/Implies: Add sh/soft-fp.
13081 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13083         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13084         level of indirection to members `objname', `errstring', `malloced'.
13085         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13086         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13087         it as the __longjmp argument (just pass 1 instead).
13088         (_dl_catch_error): Initialize C with argument pointers and address of
13089         volatile local ERRCODE rather than copying values out of C at return.
13091 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13093         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13094         * math/auto-libm-test-out: Regenerated.
13095         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13096         (hypot_test_data): Likewise.
13097         (pow_test_data): Likewise.
13098         (pow_tonearest_test_data): Likewise.
13099         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13100         mpfr_ff_f.
13101         (func_calc_desc): Add mpfr_ff_f union field.
13102         (FUNC_mpfr_ff_f): New macro.
13103         (test_functions): Add atan2, hypot and pow.
13104         (special_fill_min): New function.
13105         (special_fill_minus_min): Likewise.
13106         (special_fill_min_subnorm): Likewise.
13107         (special_fill_minus_min_subnorm): Likewise.
13108         (special_real_inputs): Add min, -min, min_subnorm and
13109         -min_subnorm.
13110         (calc_generic_results): Handle mpfr_ff_f.
13111         * sysdeps/i386/fpu/libm-test-ulps: Update.
13112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13114 2013-12-16  Will Newton  <will.newton@linaro.org>
13116         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13117         (Aligned Memory Blocks): Add documentation for aligned_alloc
13118         and suggest it as an alternative to posix_memalign.
13119         (Hooks for Malloc): Document __memalign_hook is also called
13120         for aligned_alloc.  (Summary of Malloc): Add summary for
13121         aligned alloc.  Document __memalign_hook is also called
13122         for aligned_alloc.
13124 2013-12-16  Will Newton  <will.newton@linaro.org>
13126         * manual/memory.texi (Malloc Examples): Clarify default
13127         alignment documentation.  Suggest posix_memalign rather
13128         than memalign or valloc.
13129         (Aligned Memory Blocks): Remove suggestion to use memalign
13130         or valloc.  Remove obsolete comment about BSD.
13131         Document memalign errno values and mark the function obsolete.
13132         Document posix_memalign returned error codes.  Mark valloc
13133         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13134         called for posix_memalign and valloc.
13135         (Summary of Malloc): Add posix_memalign to function summary.
13136         __memalign_hook is also called for posix_memalign and valloc.
13138 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13141         TAYLOR_SIN.
13142         (__sin): Adjust.
13143         (__cos): Likewise.
13144         (sloww): Use mynumber union.  Expand ternary operator into
13145         if-else statements.
13146         (cslow): use mynumber union.
13148 2013-12-16  Allan McRae  <allan@archlinux.org>
13150         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13151         * configure: Regenerated.
13153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13155         [BZ #14120]
13156         * configure.ac: Added --enable-maintainer-mode. Check for
13157         autoconf when enabled.
13158         * configure: Regenerated.
13160         * nscd/nscd.service: New file.
13161         * nscd/nscd.tmpfiles: New file.
13163 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13165         [BZ #12100]
13166         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13167         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13168         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13169         (strstr): Add __strstr_sse2_unaligned ifunc.
13170         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13171         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13172         (strcasestr): Remove __strcasestr_sse42 ifunc.
13173         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13177 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13179         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13180         * sysdeps/sh/bits/fenv.h: ... here.
13181         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13183 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13185         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13188         hypotf multiarch implementations.
13189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13192         multiarch hypot for PPC64.
13193         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13196         multiarch hypotf for PPC64.
13198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13199         modff multiarch implementations.
13200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13203         multiarch modf for PPC64.
13204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13207         multiarch modff for PPC64.
13209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13210         and logl multiarch implementations.
13211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13214         multiarch logb for PPC64.
13215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13218         multiarch logb for PPC64.
13219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13222         multiarch logb for PPC64.
13224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13225         isinff multiarch implementation.
13226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13227         file.
13228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13230         multiarch isinf for PPC64.
13231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13232         file.
13233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13234         multiarch isinff for PPC64.
13236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13237         finitef multiarch implementation.
13238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13239         file.
13240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13242         multiarch finite for PPC64.
13243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13244         file.
13245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13246         multiarch finitef for PPC64.
13248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13249         lrint multiarch implementation.
13250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13251         file.
13252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13254         multiarch llrint for PPC64.
13255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13256         multiarch lrint for PPC64.
13258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13259         copysignf multiarch implementation.
13260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13261         file.
13262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13263         file.
13264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13265         multiarch copysign for PPC64.
13266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13267         multiarch copysignf for PPC64.
13269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13270         multiarch implementation.
13271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13272         file.
13273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13274         file.
13275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13276         file.
13277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13278         file.
13279         multiarch llround for PPC64.
13280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13281         multiarch trunc for PPC64.
13282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13283         multiarch truncf for PPC64.
13285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13286         multiarch implementation.
13287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13288         file.
13289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13290         file.
13291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13292         file.
13293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13294         file.
13295         multiarch llround for PPC64.
13296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13297         multiarch round for PPC64.
13298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13299         multiarch roundf for PPC64.
13301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13302         multiarch implementation.
13303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13304         file.
13305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13306         file.
13307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13308         file.
13309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13310         file.
13311         multiarch llround for PPC64.
13312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13313         multiarch floor for PPC64.
13314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13315         multiarch floorf for PPC64.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13318         multiarch implementation.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13320         file.
13321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13322         file.
13323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13324         file.
13325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13326         file.
13327         multiarch llround for PPC64.
13328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13329         multiarch ceil for PPC64.
13330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13331         multiarch ceilf for PPC64.
13333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13334         multiarch implementation.
13335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13336         file.
13337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13338         file.
13339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13340         file.
13341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13342         multiarch llround for PPC64.
13343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13344         multiarch lround for PPC64.
13346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13347         multiarch implementation.
13348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13351         file.
13352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13355         multiarch isnan for PPC64.
13356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13357         multiarch isnanf for PPC64.
13359         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13360         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13361         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13362         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13363         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13366         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13367         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13372         multiarch implementations.
13373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13374         (__libc_ifunc_impl_list): Likewise.
13375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13378         multiarch stpcpy for PPC64.
13380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13381         multiarch implementations.
13382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13383         (__libc_ifunc_impl_list): Likewise.
13384         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13386         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13387         multiarch strcpy for PPC64.
13389         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13390         redefine function name.
13391         (_wordcopy_fwd_dest_aligned): Likewise.
13392         (_wordcopy_bwd_aligned): Likewise.
13393         (_wordcopy_bwd_dest_aligned): Likewise.
13394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13395         multiarch implementations.
13396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13397         (__libc_ifunc_impl_list): Likewise.
13398         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13400         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13402         multiarch wcscpy for PPC64.
13404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13405         multiarch implementations.
13406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13407         (__libc_ifunc_impl_list): Likewise.
13408         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13410         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13411         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13412         multiarch wcscpy for PPC64.
13414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13415         multiarch implementations.
13416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13417         (__libc_ifunc_impl_list): Likewise.
13418         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13419         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13420         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13421         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13422         multiarch wcsrchr for PPC64.
13424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13425         multiarch implementations.
13426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13427         (__libc_ifunc_impl_list): Likewise.
13428         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13429         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13430         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13431         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13432         multiarch wcschr for PPC64.
13434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13435         multiarch implementations.
13436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13437         (__libc_ifunc_impl_list): Likewise.
13438         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13439         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13440         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13441         multiarch strchrnul for PPC64.
13443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13444         implementations.
13445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13446         (__libc_ifunc_impl_list): Likewise.
13447         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13448         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13449         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13450         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13451         strchr for PPC64.
13453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13454         implementations.
13455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13456         (__libc_ifunc_impl_list): Likewise.
13457         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13458         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13459         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13460         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13461         strncmp for PPC64.
13463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13464         multiarch implementations.
13465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13466         (__libc_ifunc_impl_list): Likewise.
13467         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13468         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13469         strncasecmp for PPC64.
13470         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13471         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13472         multiarch strncasecmp_l for PPC64.
13474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13475         multiarch implementations.
13476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13477         (__libc_ifunc_impl_list): Likewise.
13478         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13480         multiarch strcasecmp for PPC64.
13481         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13482         file.
13483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13484         multiarch strcasecmp_l for PPC64.
13486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13487         implementations.
13488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13489         (__libc_ifunc_impl_list): Likewise.
13490         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13491         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13492         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13493         strnlen for PPC64.
13495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13496         implementations.
13497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13498         (__libc_ifunc_impl_list): Likewise.
13499         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13500         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13501         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13502         strlen for PPC64.
13504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13505         implementations.
13506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13507         (__libc_ifunc_impl_list): Likewise.
13508         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13509         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13511         rawmemrchr for PPC64.
13513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13514         implementation.
13515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13516         (__libc_ifunc_impl_list): Likewise.
13517         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13518         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13519         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13520         memrchr for PPC64.
13522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13523         implementation.
13524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13525         (__libc_ifunc_impl_list): Likewise.
13526         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13527         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13528         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13529         memchr for PPC64.
13531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13532         implementation.
13533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13534         (__libc_ifunc_impl_list): Likewise.
13535         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13536         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13537         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13538         mempcpy for PPC64.
13540         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13541         avoid cretion of __bzero symbol.
13542         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13543         Likewise.
13544         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13545         Likewise.
13546         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13547         Likewise.
13548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13549         multiarch implementations.
13550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13551         (__libc_ifunc_impl_list): Likewise.
13552         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13553         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13554         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13555         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13556         bzero for PPC32.
13557         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13558         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13559         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13560         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13561         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13562         memset for PPC64.
13563         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13565         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13567         implementations.
13568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13569         (__libc_ifunc_impl_list): Likewise.
13570         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13572         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13573         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13574         memcmp for PPC64.
13576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13577         multiarch for POWER/PPC64.
13578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13579         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13580         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13582         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13586         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13587         memcpy for PPC64.
13589         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13590         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13591         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13592         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13593         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13594         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13595         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13596         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13597         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13598         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13599         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13600         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13601         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13602         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13603         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13612 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13614         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13616 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         * benchtests/Makefile (bench): Add exp2 and log2.
13619         (LDLIBS-bench-exp2): Add -lm.
13620         (LDLIBS-bench-log2): Likewise.
13621         * benchtests/exp2-inputs: New inputs file.
13622         * benchtests/log2-inputs: New inputs file.
13623         * benchtests/log-inputs: Add new inputs.
13624         * benchtests/tan-inputs: Likewise.
13626 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13628         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13629         definition...
13630         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13631         (csloww2): ... from here.
13633         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13634         instead of structures.
13635         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13636         (POLYNOMIAL): Likewise.
13637         (TAYLOR_SLOW): Likewise.
13638         (__sin): Likewise.
13639         (__cos): Likewise.
13640         (slow1): Likewise.
13641         (slow2): Likewise.
13642         (sloww): Likewise.
13643         (sloww1); Likewise.
13644         (sloww2): Likewise.
13645         (bsloww1): Likewise.
13646         (bsloww2): Likewise.
13647         (cslow2): Likewise.
13648         (csloww): Likewise.
13649         (csloww1): Likewise.
13650         (csloww2): Likewise.
13652 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13654         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13655         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13656         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13657         * malloc/hooks.c (realloc_check): Likewise.
13659         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13660         * malloc/arena.c: Remove PER_THREAD conditional.
13661         [!PER_THREAD]: Remove code.
13662         (ptmalloc_unlock_all2): Likewise.
13663         (ptmalloc_init): Likewise.
13664         (_int_new_arena): Likewise.
13665         (arena_get2): Likewise.
13666         * malloc/hooks.c (__malloc_get_state): Likewise.
13667         (__malloc_set_state): Likewise.
13668         * malloc/malloc.c: Likewise.
13669         (struct malloc_state): Likewise.
13670         (struct malloc_par): Likewise.
13671         (__libc_realloc): Likewise.
13672         (__libc_mallopt): Likewise.
13674 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13676         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13678 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13680         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13681         macro to a function.  Check for zero perturb_byte.
13682         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13684         * malloc/malloc.c: (force_reg): Remove.
13685         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13686         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13687         force_reg by atomic_forced_read.
13688         * malloc/arena.c (ptmalloc_init): Likewise.
13689         * malloc/hooks.c (top_check): Likewise.
13691 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13695 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13699 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13701         * math/auto-libm-test-in: Add tests of lgamma.
13702         * math/auto-libm-test-out: Regenerated.
13703         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13704         (M_LOG_2_SQRT_PIl): Likewise.
13705         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13706         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13707         mpfr_f_f1.
13708         (func_calc_desc): Add mpfr_f_f1 union field.
13709         (ARGS1): New macro.
13710         (ARGS2): Likewise.
13711         (ARGS3): Likewise.
13712         (ARGS4): Likewise.
13713         (RET1): Likewise.
13714         (RET2): Likewise.
13715         (CALC): Likewise.
13716         (FUNC): Likewise.
13717         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13718         (test_functions): Add lgamma.
13719         (calc_generic_results): Handle mpfr_f_f1.
13720         * sysdeps/i386/fpu/libm-test-ulps: Update.
13721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13723 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13725         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13726         __mpn_add_n for PowerPC64/POWER7.
13727         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13728         __mpn_sub_n for PowerPC64/POWER7.
13730         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13731         __mpn_addmul_1 for PowerPC64.
13732         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13733         __mpn_submul_1 for PowerPC64.
13734         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13735         for PowerPC64.
13736         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13737         for PowerPC64.
13739 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13741         [BZ #15089]
13742         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13744 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13746         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13748         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13749         add multiarch folders.
13750         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13751         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13752         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13753         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13754         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13755         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13756         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13757         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13758         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13759         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13760         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13769         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13771         New file.
13772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13773         New file.
13774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13775         multiarch __ieee754_hypot for PowerPC32.
13776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13777         New file.
13778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13779         New file.
13780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13781         multiarch __ieee754_hypotf for PowerPC32.
13783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13784         long_double_symbol only if __logbl is defined.
13785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13786         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13788         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13790         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13792         path for implementation.
13793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13794         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13796         logb, and logbl multiarch implementations for PowerPC32.
13797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13798         file.
13799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13800         file.
13801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13802         multiarch logb for PowerPC32.
13803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13804         file.
13805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13806         file.
13807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13808         multiarch logbf for PowerPC32.
13809         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13811         file.
13812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13813         multiarch logbl implementation for PowerPC32.
13815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13816         and modff multiarch implementations.
13817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13818         New file.
13819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13820         New file.
13821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13822         multiarch modf for PowerPC32.
13823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13824         New file.
13825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13826         New file.
13827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13828         multiarch modff for PowerPC32.
13830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13831         and lrintf multiarch implementations.
13832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13833         New file.
13834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13835         New file.
13836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13837         multiarch lrint for PowerPC32.
13838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13839         file: multiarch lrintf for PowerPC32.
13841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13842         and lroundf multiarch implementations.
13843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13844         New file.
13845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13846         New file.
13847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13848         New file.
13849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13850         multiarch lround for PowerPC32.
13851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13852         file: multiarch lroundf for PowerPC32.
13854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13855         copysign and copysignf multiarch implementations.
13856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13857         New file.
13858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13859         New file.
13860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13861         file: multiarch copysign for PowerPC32.
13862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13863         file: multiarch copysignf for PowerPC32.
13865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13866         and truncf multiarch implementations.
13867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13868         New file.
13869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13870         file.
13871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13872         multiarch trunc for PowerPC32.
13873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13874         New file.
13875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13876         New file.
13877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13878         multiarch truncf for PowerPC32.
13880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13881         and roundf multiarch implementations.
13882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13883         New file.
13884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13885         file.
13886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13887         multiarch round for PowerPC32.
13888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13889         New file.
13890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13891         New file.
13892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13893         multiarch roundf for PowerPC32.
13895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13896         and floorf multiarch implementations.
13897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13898         New file.
13899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13900         file.
13901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13902         multiarch floor for PowerPC32.
13903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13904         New file.
13905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13906         New file.
13907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13908         multiarch floorf for PowerPC32.
13910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13911         and ceilf multiarch implementations.
13912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13913         New file.
13914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13915         file.
13916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13917         multiarch ceil for PowerPC32.
13918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13919         New file.
13920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13921         file.
13922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13923         multiarch ceilf for PowerPC32.
13925         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13926         is defined.
13927         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13928         FINITEF is defined.
13929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13930         and finitef multiarch implementations.
13931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13932         New file.
13933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13934         file.
13935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13936         multiarch finite for PowerPC32.
13937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13938         New file.
13939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13940         file: multiarch finitef for PowerPC32.
13942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13943         and isinff multiarch implementations.
13944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13945         file.
13946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13947         file.
13948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13949         multiarch isinf for PowerPC32.
13950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13951         New file.
13952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13953         multiarch isinff for PowerPC32.
13955         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13956         alias when __isnan is defined.
13957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13958         and isnanf multiarch implementations.
13959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13960         file.
13961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13962         file.
13963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13964         file.
13965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13966         file.
13967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13968         multiarch isnan for PowerPC32.
13969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13970         New file.
13971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13972         New file.
13973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13974         multiarch isnanf for PowerPC32.
13976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13977         and sqrtf multiarch implementations.
13978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13979         file.
13980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13981         file.
13982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13983         multiarch sqrt for PowerPC32.
13984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13985         file.
13986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13987         file.
13988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13989         multiarch sqrtf for PowerPC32.
13991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13992         and llroundf multiarch implementations.
13993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13994         New file.
13995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13996         New file.
13997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13998         New file.
13999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14000         file: multiarch llround for PowerPC32.
14001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14002         file: multiarch llroundf for PowerPC32.
14004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14005         multiarch PowerPC32 fpu implementations.
14006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14007         New file.
14008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14009         New file.
14010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14011         multiarch llrint for PowerPC32.
14012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14013         New file.
14014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14015         New file.
14016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14017         file.
14019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14021         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14022         file.
14023         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14024         file.
14025         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14026         file.
14027         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14028         multiarch wordcopy for PPC32.
14029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14030         wordcopy objects.
14031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14032         (__libc_ifunc_impl_list): Likewise.
14033         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14034         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14035         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14036         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14037         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14038         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14040         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14042         file.
14043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14044         file.
14045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14046         file.
14047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14048         multiarch wcscpy for PPC32.
14049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14050         multiarch objects.
14051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14052         (__libc_ifunc_impl_list): Likewise.
14053         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14054         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14055         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14056         sysdeps/powerpc/power6/wcscpy.c.
14058         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14060         file.
14061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14062         file.
14063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14064         file.
14065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14066         multiarch wcsrchr for PPC32.
14067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14068         multiarch objects.
14069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14070         (__libc_ifunc_impl_list): Likewise.
14071         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14072         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14073         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14074         sysdeps/powerpc/power6/wcsrchr.c.
14076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14077         file.
14078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14079         file.
14080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14082         multiarch wcschr for PPc32.
14083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14084         multiarch objects.
14085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14086         (__libc_ifunc_impl_list): Likewise.
14087         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14088         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14089         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14090         sysdeps/powerpc/power6/wcschr.c.
14092         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14093         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14094         file.
14095         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14096         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14097         file: multiarch strchr for PPC32.
14098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14099         multiarch objects.
14100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14101         (__libc_ifunc_impl_list): Likewise.
14103         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14104         name.
14105         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14106         file.
14107         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14108         file.
14109         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14110         multiarch strchrnul for PPC32.
14111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14112         multiarch objects.
14113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14114         (__libc_ifunc_impl_list): Likewise.
14116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14117         file.
14118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14119         multiarch strncasecmp for PPC32.
14120         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14121         file.
14122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14123         multiarch strncasecmp_l for PPC32.
14124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14125         strncasecmp multiarch objects.
14126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14127         (__libc_ifunc_impl_list): Likewise.
14129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14130         file.
14131         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14132         multiarch strncasecmp for PPC32.
14133         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14134         New file.
14135         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14136         multiarch strcasecmp_l for PPC32.
14137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14138         multiarch objects.
14139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14140         (__libc_ifunc_impl_list): Likewise.
14142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14143         file.
14144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14145         file.
14146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14147         multiarch strncmp for PPC32.
14148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14149         multiarch objects.
14150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14151         (__libc_ifunc_impl_list): Likewise.
14153         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14154         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14155         file.
14156         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14157         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14159         multiarch objects.
14160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14161         (__libc_ifunc_impl_list): Likewise.
14163         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14164         file.
14165         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14166         file.
14167         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14169         multiarch objects.
14170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14171         (__libc_ifunc_impl_list): Likewise.
14173         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14174         file.
14175         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14176         file.
14177         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14178         multiarch rawmemchr for PPC32.
14179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14180         multiarch objects.
14181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14182         (__libc_ifunc_impl_list): Likewise.
14184         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14185         file.
14186         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14187         file.
14188         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14189         file: memrchr multiarch for PPC32.
14190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14191         multiarch objects.
14192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14193         (__libc_ifunc_impl_list): Likewise.
14195         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14196         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14197         file.
14198         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14200         multiarch memchr for PPC32.
14201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14202         multiarch objects.
14203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14204         (__libc_ifunc_impl_list): Likewise.
14206         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14207         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14208         file.
14209         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14210         file.
14211         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14212         file: multiarch mempcpy for PPC32.
14213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14214         multiarch objects.
14215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14216         (__libc_ifunc_impl_list): Likewise.
14218         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14220         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14221         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14222         multiarch bzero for PPC32.
14223         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14224         file.
14225         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14226         file.
14227         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14228         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14229         file: multiarch memset for PPC32.
14230         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14232         memset multiarch objects.
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14234         (__libc_ifunc_impl_list): Likewise.
14236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14237         file.
14238         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14239         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14240         memcmp for PPC32.
14241         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14243         multiarch objects.
14244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14245         (__libc_ifunc_impl_list): Likewise.
14247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14250         file.
14251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14252         file.
14253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14254         file.
14255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14256         multiarch memcpy for PPC32.
14257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14258         multiarch objects.
14259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14260         (__libc_ifunc_impl_list): Likewise.
14262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14263         support multiarch for POWER/PPC32.
14264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14265         Likewise.
14266         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14268         Implies file to make multiarch folder appers before the fpu and
14269         default folder for power4 configuration.
14271 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14273         * scripts/bench.pl: Append volatile keyword to type.
14275 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14277         * sysdeps/sh/sotruss-lib.c: New file.
14278         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14280 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14284 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14286         [BZ #6810]
14287         * math/w_tgamma.c: Include <errno.h>.
14288         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14289         * math/w_tgammaf.c: Include <errno.h>.
14290         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14291         * math/w_tgammal.c: Include <errno.h>.
14292         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14293         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14294         underflow.  Add more tgamma tests.
14295         * math/auto-libm-test-out: Regenerated.
14296         * sysdeps/i386/fpu/libm-test-ulps: Update.
14297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14299         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14300         sin, sinh, tan, tanh, tgamma, y0 and y1.
14301         * math/auto-libm-test-out: Regenerated.
14302         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14303         (TEST_COND_x86): Likewise.
14304         (M_E2l): Remove macro.
14305         (M_E3l): Likewise.
14306         (M_2_SQRT_PIl): Likewise.
14307         (M_SQRT_PIl): Likewise.
14308         (M_1_DIV_El): Likewise.
14309         (log_test_data): Use AUTO_TESTS_f_f.
14310         (log10_test_data): Likewise.
14311         (log1p_test_data): Likewise.
14312         (log2_test_data): Likewise.
14313         (sin_test_data): Likewise.
14314         (sin_tonearest_test_data): Likewise.
14315         (sin_towardzero_test_data): Likewise.
14316         (sin_downward_test_data): Likewise.
14317         (sin_upward_test_data): Likewise.
14318         (sinh_test_data): Likewise.
14319         (sinh_tonearest_test_data): Likewise.
14320         (sinh_towardzero_test_data): Likewise.
14321         (sinh_downward_test_data): Likewise.
14322         (sinh_upward_test_data): Likewise.
14323         (tan_test_data): Likewise.
14324         (tan_tonearest_test_data): Likewise.
14325         (tan_towardzero_test_data): Likewise.
14326         (tan_downward_test_data): Likewise.
14327         (tan_upward_test_data): Likewise.
14328         (tanh_test_data): Likewise.
14329         (tgamma_test_data): Likewise.
14330         (y0_test_data): Likewise.
14331         (y1_test_data): Likewise.
14332         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14333         (special_real_inputs): Add pi/4.
14334         * sysdeps/i386/fpu/libm-test-ulps: Update.
14335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14337 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14339         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14340         "longjmp_target" static probes.
14341         (__longjmp): Rename to __longjmp_symbol.
14342         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14343         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14344         on which longjmp to generate.
14345         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14346         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14347         probe.
14348         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14349         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14350         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14351         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14352         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14353         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14355         __longjmp_symbol based on which __longjmp to generate.
14356         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14357         probe.
14358         (setjmp): Rename to setjmp_symbol.
14359         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14360         (_setjmp): Rename to _setjmp_symbol.
14361         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14362         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14363         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14364         which setjmp to generate.
14365         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14366         "longjmp_target" static probes.
14368 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14370         * benchtests/README: Add note about output arguments.
14371         * benchtests/bench-sincos.c: Remove file.
14372         * benchtests/sincos-inputs: New file.
14373         * scripts/bench.pl: Identify output arguments and define
14374         static variables for them.
14376         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14378         [BZ #15941]
14379         * Makefile (INSTALL): Add install-plain.texi as the primary
14380         dependency.
14381         * manual/install-plain.texi: New file.
14382         * manual/install.texi: Include node directive only for
14383         non-plaintext output.
14385 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14387         * stdlib/longlong.h: Update from GCC.
14389         [BZ #6807]
14390         [BZ #15901]
14391         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14392         * math/w_j0f.c (y0f): Likewise.
14393         * math/w_j0l.c (__y0l): Likewise.
14394         * math/w_j1.c (y1): Likewise.
14395         * math/w_j1f.c (y1f): Likewise.
14396         * math/w_j1l.c (__y1l): Likewise
14397         * math/w_jn.c (yn): Likewise.
14398         * math/w_jnf.c (ynf): Likewise.
14399         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14400         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14401         value for Bessel function domain errors outside _SVID_ mode.
14402         Adjust sign of return value for yn (negative integer, 0).
14403         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14404         by zero in return for negative x and set sign appropriately for
14405         negative n.
14406         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14407         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14408         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14409         expectations in error cases.
14410         (y1_test_data): Likewise.
14411         (yn_test_data): Likewise.
14412         * sysdeps/i386/fpu/libm-test-ulps: Update.
14413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14415 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14417         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14418         "64" to "64-v1".  Add "64-v2".
14419         (abi-64-options): Rename to ...
14420         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14421         (abi-64-condition): Rename to ...
14422         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14423         (abi-64-ld-soname): Rename to ...
14424         (abi-64-v1-ld-soname): ... this.
14425         (abi-64-v2-options): Define.
14426         (abi-64-v2-condition): Likewise.
14427         (abi-64-v2-ld-soname): Likewise.
14428         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14429         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14434 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14435             Alan Modra  <amodra@gmail.com>
14437         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14438         New versions for use with the ELFv2 ABI.
14439         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14440         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14441         declaration.
14442         (struct La_ppc64v2_retval): Likewise.
14443         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14444         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14445         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14446         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14447         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14448         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14449         Do not save or restore CR.
14450         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14451         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14452         return values for ELFv2 ABI.  Fix location of FPR return registers.
14453         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14454         updated values for _CALL_ELF == 2.
14455         (La_regs, La_retval, int_retval): Likewise.
14457 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14459         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14460         (FRAME_MIN_SIZE_PARM): Likewise.
14461         (FRAME_BACKCHAIN): Likewise.
14462         (FRAME_CR_SAVE): Likewise.
14463         (FRAME_LR_SAVE): Likewise.
14464         (FRAME_TOC_SAVE): Likewise.
14465         (FRAME_PARM_SAVE): Likewise.
14466         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14467         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14468         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14469         (call_mcount_parm_offset): New macro.
14470         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14471         (PROF): Use symbolic stack frame offsets.
14472         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14473         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14474         Redefine in terms of FRAME_MIN_SIZE.
14475         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14476         (_dl_profile_resolve): Likewise.  Update comment.
14477         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14478         symbols stack frame offsets.
14479         (__sigsetjmp): Likewise.
14480         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14481         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14482         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14483         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14486         (FRAME_BACKCHAIN): Remove.
14487         (FRAME_CR_SAVE): Likewise.
14488         (FRAME_LR_SAVE): Likewise.
14489         (FRAME_COMPILER_DW): Likewise.
14490         (FRAME_LINKER_DW): Likewise.
14491         (FRAME_TOC_SAVE): Likewise.
14492         (FRAME_PARM_SAVE): Likewise.
14493         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14494         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14495         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14497         (CHECK_SP): Use symbolic stack frame offsets.
14498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14499         zone" instead of caller's parameter save area for temp storage.
14500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14501         Likewise.  Also, use symbolic stack frame offsets.
14502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14503         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14504         our own stack frame instead of the caller's.
14505         (__socket): Use symbolic stack frame offsets.
14507 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14508             Alan Modra  <amodra@gmail.com>
14510         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14511         Define.
14512         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14513         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14514         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14515         New function.
14516         (elf_machine_fixup_plt): Call it.
14517         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14518         reloc arguments.
14519         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14520         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14521         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14522         r2 before calling target.
14524 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14525             Alan Modra  <amodra@gmail.com>
14527         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14528         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14529         versions of macros to support ELFv2 ABI.
14530         (LOCALENTRY): New macro.
14531         (ENTRY, EALIGN): Use it.
14532         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14533         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14534         fall through into ENTRY entry point.
14535         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14536         Only define if _CALL_ELF != 2.
14538         (elf_machine_matches_host): Verify ABI version matches.
14539         (RTLD_START): Use LOCALENTRY.
14540         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14541         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14542         (PLT_ENTRY_WORDS): New macro.
14543         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14544         (elf_machine_runtime_setup): Support ELFv2 ABI.
14545         (elf_machine_fixup_plt): Likewise.
14546         (elf_machine_plt_conflict): Likewise.
14547         (resolve_ifunc): Likewise.
14548         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14549         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14550         Likewise.
14551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14552         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14554         (makecontext): Support ELFv2 ABI.
14555         * elf/elf.h (EF_PPC64_ABI): Define.
14557 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14559         * sysdeps/powerpc/powerpc64/sysdep.h
14560         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14561         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14562         (ENTRY) [ASSEMBLER]: ... but instead here ...
14563         (EALIGN) [ASSEMBLER]: ... and here.
14564         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14565         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14566         (ENTRY_2) [!ASSEMBLER]: Use it.
14567         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14568         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14570         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14571         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14573         Use PPC64_LOAD_FUNCPTR.
14575         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14577 2013-12-04  Alan Modra  <amodra@gmail.com>
14579         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14580         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14581         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14582         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14584         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14585         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14586         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14587         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14588         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14589         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14594         (__makecontext): Fix incorrect CFI when backtracing out of
14595         context created via makecontext.
14596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14597         (__setcontext): Fix incorrect CFI during switch to new context.
14598         (__novec_setcontext): Likewise.
14600 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14602         [BZ #4772]
14603         * time/strptime_l.c (__strptime_internal): Allow modifiers
14604         in strptime.
14605         * time/tst-strptime.c (day_tests): Add testcase.
14607 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14609         * scripts/bench.pl: Skip over blank lines.
14611 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14613         [BZ #926]
14614         * manual/time.texi (Calendar Time): Clarify what timezone functions
14615         use.
14617 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14621 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14623         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14624         implementation.
14625         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14626         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14627         * debug/memset_chk.c (__memset_chk): Likewise.
14628         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14629         * debug/strncpy_chk.c: Likewise.
14631 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14633         [BZ #15268]
14634         [BZ #15425]
14635         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14636         (__ieee754_exp): For possibly underflowing results, check size of
14637         result and force underflow exception if required.
14638         * math/auto-libm-test-in: Add more tests of exp.
14639         * math/auto-libm-test-out: Regenerated.
14640         * sysdeps/i386/fpu/libm-test-ulps: Update.
14641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14643         [BZ #16283]
14644         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14645         * math/w_exp2f.c (__exp2f): Likewise.
14646         * math/w_exp2l.c (__exp2l): Likewise.
14647         * math/auto-libm-test-in: Do not allow missing errno on exp2
14648         underflow.
14649         * math/auto-libm-test-out: Regenerated.
14651 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14653         [BZ #16274]
14654         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14655         handle filename validation.
14656         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14657         (do_open): Delete.
14659 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14661         [BZ #6786]
14662         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14663         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14664         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14665         <float.h>.
14666         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14667         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14668         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14669         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14670         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14672         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14673         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14674         Add more erfc tests.
14675         * math/auto-libm-test-out: Regenerated.
14676         * sysdeps/i386/fpu/libm-test-ulps: Update.
14677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14679         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14680         exp2, expm1, j0 and j1.
14681         * math/auto-libm-test-out: Regenerated.
14682         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14683         (erfc_test_data): Likewise.
14684         (exp_test_data): Likewise.
14685         (exp_tonearest_test_data): Likewise.
14686         (exp_towardzero_test_data): Likewise.
14687         (exp_downward_test_data): Likewise.
14688         (exp_upward_test_data): Likewise.
14689         (exp10_test_data): Likewise.
14690         (exp2_test_data): Likewise.
14691         (expm1_test_data): Likewise.
14692         (j0_test_data): Likewise.
14693         (j1_test_data): Likewise.
14694         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14695         (input_flag_type): Add flag_xfail_rounding.
14696         (input_flags): Add xfail-rounding.
14697         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14698         (output_for_one_input_case): Handle flag_xfail_rounding.
14699         * sysdeps/i386/fpu/libm-test-ulps: Update.
14700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14702 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14704         [BZ #16289]
14705         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14706         division by 0.
14708 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14710         [BZ #16195]
14711         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14712         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14713         (STAP_PROBE0): New macro.
14714         (STAP_PROBE1): Likewise.
14715         (STAP_PROBE2): Likewise.
14716         (STAP_PROBE3): Likewise.
14717         (STAP_PROBE4): Likewise.
14719 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14721         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14723 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14725         * benchtests/Makefile (bench): Add sqrt.
14726         (LDLIBS-bench-sqrt): New.
14727         * benchtests/sqrt-input: New.
14729 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14731         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14732         (GAIH_EAI): Likewise.
14733         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14734         (gaih_inet): Likewise.
14735         (getaddrinfo): Don't use GAIH_EAI.
14737         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14738         (struct gaih): Remove definition.
14740 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14742         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14743         Use HERRNOP directly.
14745 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14749 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14751         * math/gen-auto-libm-tests.c (test_functions): Add more
14752         single-argument functions.
14753         (special_fill_pi_2): New function.
14754         (special_fill_minus_pi_2): Likewise.
14755         (special_fill_pi_6): Likewise.
14756         (special_fill_minus_pi_6): Likewise.
14757         (special_fill_pi_3): Likewise.
14758         (special_fill_2pi_3): Likewise.
14759         (special_fill_e): Likewise.
14760         (special_fill_1_e): Likewise.
14761         (special_fill_e_minus_1): Likewise.
14762         (special_real_inputs): Add more special inputs.
14763         (output_for_one_input_case): Do not require ERANGE on underflow to
14764         zero if round-to-nearest result does not underflow to zero, unless
14765         exact results required.
14766         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14767         atan, atanh, cbrt, cos and cosh.
14768         * math/auto-libm-test-out: Regenerated.
14769         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14770         (acos_tonearest_test_data): Likewise.
14771         (acos_towardzero_test_data): Likewise.
14772         (acos_downward_test_data): Likewise.
14773         (acos_upward_test_data): Likewise.
14774         (acosh_test_data): Likewise.
14775         (asin_test_data): Likewise.
14776         (asin_tonearest_test_data): Likewise.
14777         (asin_towardzero_test_data): Likewise.
14778         (asin_upward_test_data): Likewise.
14779         (asinh_test_data): Likewise.
14780         (atan_test_data): Likewise.
14781         (atanh_test_data): Likewise.
14782         (cbrt_test_data): Likewise.
14783         (cos_test_data): Likewise.
14784         (cos_tonearest_test_data): Likewise.
14785         (cos_towardzero_test_data): Likewise.
14786         (cos_downward_test_data): Likewise.
14787         (cos_upward_test_data): Likewise.
14788         (cosh_test_data): Likewise.
14789         (cosh_tonearest_test_data): Likewise.
14790         (cosh_towardzero_test_data): Likewise.
14791         (cosh_downward_test_data): Likewise.
14792         (cosh_upward_test_data): Likewise.
14793         * sysdeps/i386/fpu/libm-test-ulps: Update.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14798         [BZ #6787]
14799         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14800         * math/w_exp10f.c (__exp10f): Likewise.
14801         * math/w_exp10l.c (__exp10l): Likewise.
14802         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14803         errno settings in existing tests.
14805         [BZ #14032]
14806         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14807         precision control set to double precision.
14808         * sysdeps/i386/fpu/w_sqrt.c: New file.
14809         * math/auto-libm-test-in: Add more tests.
14810         * math/auto-libm-test-out: Update.
14812         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14813         (sqrt_test_tonearest): New function.
14814         (sqrt_towardzero_test_data): New variable.
14815         (sqrt_test_towardzero): New function.
14816         (sqrt_downward_test_data): New variable.
14817         (sqrt_test_downward): New function.
14818         (sqrt_upward_test_data): New variable.
14819         (sqrt_test_upward): New function.
14820         (main): Call the new functions.
14822         * math/gen-auto-libm-tests.c: New file.
14823         * math/auto-libm-test-in: Likewise.
14824         * math/auto-libm-test-out: New generated file.
14825         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14826         variables.
14827         (%beautify): Add generated representations of zero.
14828         (top level): Set $auto_input and call parse_auto_input.
14829         (beautify): Remove trailing "f" from hex float constants.
14830         (parse_args): Handle XFAIL_TEST.
14831         (convert_condition): New function.
14832         (or_value): Likewise.
14833         (or_cond_value): Likewise.
14834         (generate_testfile): Handle AUTO_TESTS_* lines.
14835         (parse_auto_input): New function.
14836         * math/libm-test.inc (XFAIL_TEST): New macro.
14837         (ERRNO_UNCHANGED): Update value.
14838         (ERRNO_EDOM): Likewise.
14839         (ERRNO_ERANGE): Likewise.
14840         (IGNORE_RESULT): Likewise.
14841         (TEST_COND_flt_32): New macro.
14842         (TEST_COND_dbl_64): Likewise.
14843         (TEST_COND_ldbl_96_intel): Likewise.
14844         (TEST_COND_ldbl_96_m68k): Likewise.
14845         (TEST_COND_ldbl_128): Likewise.
14846         (TEST_COND_ldbl_128ibm): Likewise.
14847         (TEST_COND_long32): Likewise.
14848         (TEST_COND_long64): Likewise.
14849         (TEST_COND_before_rounding): Likewise.
14850         (TEST_COND_after_rounding): Likewise.
14851         (enable_test): Handle XFAIL_TEST flag.
14852         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14853         with finite results.
14854         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14855         auto-libm-test-out.
14857 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14858             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14860         [BZ #16214]
14861         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14862         __tls_get_addr_internal instead of __tls_get_offset in order to
14863         avoid GOT pointer dependency.  Make rtld export
14864         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14865         __tls_get_addr since we are a __tls_get_offset platform.
14866         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14867         GOT pointer being set up before.
14868         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14870 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14872         * manual/math.texi (Errors in Math Functions): Document accuracy
14873         goals.
14875         [BZ #15004]
14876         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14877         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14878         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14879         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14880         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14881         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14882         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14883         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14884         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14885         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14886         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14887         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14888         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14889         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14890         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14891         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14893         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14894         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14895         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14896         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14897         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14898         Likewise.
14899         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14900         Likewise.
14901         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14902         Likewise.
14903         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14904         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14905         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14906         atomic-feupdateenv and flt-rounds.
14907         * sysdeps/powerpc/nofpu/Versions (libc): Add
14908         __atomic_feholdexcept, __atomic_feclearexcept,
14909         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14910         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14911         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14912         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14913         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14914         here.
14915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14916         Update.
14918         * manual/arith.texi (FP Exceptions): Document that exceptions may
14919         not be raised when matherr is used.
14920         (Math Error Reporting): Document overflow in directed rounding
14921         modes.  Document that errno may not be set when finite values are
14922         returned on overflow.  Document intent to set errno on underflow
14923         only for underflow to zero.
14925         [BZ #16271]
14926         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14927         round-to-nearest then adjust result for other rounding modes.
14928         * include/fenv.h (fegetround): Use libm_hidden_proto.
14929         * math/fegetround.c (fegetround): Use libm_hidden_def.
14930         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14931         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14932         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14933         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14934         Likewise.
14935         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14936         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14937         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14938         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14940 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14942         [BZ #16077]
14943         * nss/Versions (libnss_files): Add
14944         _nss_files_gethostbyname3_r.
14945         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14946         New function.
14947         (HOST_DB_LOOKUP): Remove macro.
14948         (_nss_files_gethostbyname_r): Implement function without the
14949         HOST_DB_LOOKUP macro.
14950         (_nss_files_gethostbyname2_r): Likewise.
14952 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14954         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14956 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14958         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14959         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14960         warning.
14962 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14964         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14965         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14966         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14967         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14968         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14969         __fe_nomask_env_priv and attribute_hidden.
14970         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14971         (libc_feupdateenv_test_ppc): Likewise.
14972         (libc_feresetround_ppc): Likewise.
14973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14974         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14975         compat_symbol macro.
14976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14977         (__fe_nomask_env): Likewise.
14978         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14980 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14982         * string/Makefile: Remove ifunc tests.
14983         * string/test-string.h: Define TEST_IFUNC.
14984         * string/test-bcopy-ifunc.c: Remove.
14985         * string/test-bzero-ifunc.c: Likewise.
14986         * string/test-memccpy-ifunc.c: Likewise.
14987         * string/test-memchr-ifunc.c: Likewise.
14988         * string/test-memcmp-ifunc.c: Likewise.
14989         * string/test-memcpy-ifunc.c: Likewise.
14990         * string/test-memmem-ifunc.c: Likewise.
14991         * string/test-memmove-ifunc.c: Likewise.
14992         * string/test-mempcpy-ifunc.c: Likewise.
14993         * string/test-memrchr-ifunc.c: Likewise.
14994         * string/test-memset-ifunc.c: Likewise.
14995         * string/test-rawmemchr-ifunc.c: Likewise.
14996         * string/test-stpcpy-ifunc.c: Likewise.
14997         * string/test-stpncpy-ifunc.c: Likewise.
14998         * string/test-strcasecmp-ifunc.c: Likewise.
14999         * string/test-strcasestr-ifunc.c: Likewise.
15000         * string/test-strcat-ifunc.c: Likewise.
15001         * string/test-strchr-ifunc.c: Likewise.
15002         * string/test-strchrnul-ifunc.c: Likewise.
15003         * string/test-strcmp-ifunc.c: Likewise.
15004         * string/test-strcpy-ifunc.c: Likewise.
15005         * string/test-strcspn-ifunc.c: Likewise.
15006         * string/test-strlen-ifunc.c: Likewise.
15007         * string/test-strncasecmp-ifunc.c: Likewise.
15008         * string/test-strncat-ifunc.c: Likewise.
15009         * string/test-strncmp-ifunc.c: Likewise.
15010         * string/test-strncpy-ifunc.c: Likewise.
15011         * string/test-strnlen-ifunc.c: Likewise.
15012         * string/test-strpbrk-ifunc.c: Likewise.
15013         * string/test-strrchr-ifunc.c: Likewise.
15014         * string/test-strspn-ifunc.c: Likewise.
15015         * string/test-strstr-ifunc.c: Likewise.
15017 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15019         * benchtests/Makefile: Remove ifunc tests.
15020         * benchtests/bench-string.h: Define TEST_IFUNC.
15021         * benchtests/bench-bcopy-ifunc.c: Remove.
15022         * benchtests/bench-bzero-ifunc.c: Likewise.
15023         * benchtests/bench-memccpy-ifunc.c: Likewise.
15024         * benchtests/bench-memchr-ifunc.c: Likewise.
15025         * benchtests/bench-memcmp-ifunc.c: Likewise.
15026         * benchtests/bench-memcpy-ifunc.c: Likewise.
15027         * benchtests/bench-memmem-ifunc.c: Likewise.
15028         * benchtests/bench-memmove-ifunc.c: Likewise.
15029         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15030         * benchtests/bench-memrchr-ifunc.c: Likewise.
15031         * benchtests/bench-memset-ifunc.c: Likewise.
15032         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15033         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15034         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15035         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15036         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15037         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15038         * benchtests/bench-strcat-ifunc.c: Likewise.
15039         * benchtests/bench-strchr-ifunc.c: Likewise.
15040         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15041         * benchtests/bench-strcmp-ifunc.c: Likewise.
15042         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15043         * benchtests/bench-strcpy-ifunc.c: Likewise.
15044         * benchtests/bench-strcspn-ifunc.c: Likewise.
15045         * benchtests/bench-strlen-ifunc.c: Likewise.
15046         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15047         * benchtests/bench-strncat-ifunc.c: Likewise.
15048         * benchtests/bench-strncmp-ifunc.c: Likewise.
15049         * benchtests/bench-strncpy-ifunc.c: Likewise.
15050         * benchtests/bench-strnlen-ifunc.c: Likewise.
15051         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15052         * benchtests/bench-strrchr-ifunc.c: Likewise.
15053         * benchtests/bench-strsep-ifunc.c: Likewise.
15054         * benchtests/bench-strspn-ifunc.c: Likewise.
15055         * benchtests/bench-strstr-ifunc.c: Likewise.
15057 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15059         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15061 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15063         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15064         * rt/aio.h: Likewise.
15065         * sysdeps/gnu/bits/utmp.h: Likewise.
15066         * sysdeps/gnu/bits/utmpx.h: Likewise.
15067         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15068         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15069         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15070         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15071         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15072         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15073         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15074         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15075         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15076         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15078         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15079         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15081         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15082         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15083         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15084         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15085         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15086         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15087         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15088         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15089         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15090         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15091         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15093         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15094         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15095         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15096         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15097         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15098         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15099         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15100         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15101         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15102         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15103         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15104         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15105         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15106         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15107         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15108         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15110 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15112         [BZ #16245]
15113         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15114         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15116 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15118         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15119         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15120         Likewise.
15122 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15124         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15125         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15126         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15127         (__fesetround): Remove define.
15128         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15129         rounding and exceptions handling.
15130         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15131         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15132         (__fe_nomask_env): Likewise.
15133         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15134         __fegetround instead of fegetround.
15135         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15136         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15138 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15140         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15141         it's there.
15143         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15145 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15147         [BZ #11157]
15148         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15149         (encrypt_r): Likewise.
15150         * malloc/obstack.h (obstack_free): Likewise.
15151         * posix/unistd.h (encrypt): Likewise.
15153 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15155         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15156         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15157         DL_CALL_DT_FINI() that call the functions directly.
15158         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15159         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15160         * elf/dl-fini.c: Likewise.
15162 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15164         * malloc/hooks.c (memalign_check): Add alignment rounding.
15165         * malloc/malloc.c (_mid_memalign): New function.
15166         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15167         Implement by calling _mid_memalign.
15168         * manual/probes.texi (Memory Allocation Probes): Remove
15169         memory_valloc_retry and memory_pvalloc_retry.
15171 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15173         * locale/programs/locarchive.c (open_archive): Add const
15174         qualifier to ARCHIVEFNAME and copy default fname to
15175         DEFAULT_FNAME.
15177         [BZ #15601]
15178         * libio/tst-widetext.input: Rename Oriya to Odia.
15179         * locale/iso-639.def: Likewise.
15181         * manual/probes.texi (Mathematical Function Probes): Add
15182         documentation for sin, cos, asin and acos probes.
15183         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15184         (__sin32): Add slowasin probe.
15185         (__cos32): Add slowacos probe.
15186         (__mpsin): Add slowsin probe.
15187         (__mpcos): Add slowcos probe.
15189 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15191         [BZ #15483]
15192         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15193         thread-local __sim_exceptions_thread and global
15194         __sim_exceptions_global.
15195         (__sim_disabled_exceptions): Change to thread-local
15196         __sim_disabled_exceptions_thread and global
15197         __sim_disabled_exceptions_global.
15198         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15199         and global __sim_round_mode_global.
15200         (__simulate_exceptions): Use thread-local floating-point state and
15201         set global state from it as needed.
15202         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15203         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15204         __sim_round_mode_thread.
15205         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15206         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15207         and global __sim_exceptions_global.
15208         (__sim_disabled_exceptions): Change to thread-local
15209         __sim_disabled_exceptions_thread and global
15210         __sim_disabled_exceptions_global.
15211         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15212         and global __sim_round_mode_global.
15213         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15214         (SIM_SET_GLOBAL): Likewise.
15215         * sysdeps/powerpc/soft-fp/sfp-machine.h
15216         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15217         __sim_round_mode_thread.
15218         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15219         __sim_disabled_exceptions_thread.
15220         (__sim_exceptions): Change to __sim_exceptions_thread.
15221         (__sim_disabled_exceptions): Change to
15222         __sim_disabled_exceptions_thread.
15223         (__sim_round_mode): Change to __sim_round_mode_thread.
15224         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15225         thread-local floating-point state and set global state from it as
15226         needed.
15227         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15228         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15229         (__sim_disabled_exceptions): Remove extern declaration.
15230         (feenableexcept): Use thread-local floating-point state and set
15231         global state from it as needed.
15232         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15233         extern declaration.
15234         (__sim_disabled_exceptions): Likewise.
15235         (__sim_round_mode): Likewise.
15236         (__fegetenv): Use thread-local floating-point state.
15237         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15238         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15239         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15240         floating-point state and set global state from it as needed.
15241         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15242         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15243         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15244         Likewise.
15245         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15246         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15247         Likewise.
15248         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15249         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15250         Use __sim_round_mode_thread.
15251         * math/test-fenv-tls.c: New file.
15252         * math/Makefile (tests): Add test-fenv-tls.
15253         ($(objpfx)test-fenv-tls): Depend on
15254         $(common-objpfx)nptl/libpthread.so.
15256 2013-11-19  Andreas Schwab  <schwab@suse.de>
15258         * locale/programs/locale.c (show_info): Decode wordarray elements.
15259         * locale/categories.def (LC_MONETARY): Add element for
15260         _NL_MONETARY_CRNCYSTR.
15261         * locale/C-monetary.c (conversion_rate): New variable.
15262         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15263         element.
15265 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15267         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15268         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15270 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15272         * elf/Makefile (tst-auxv): New test.
15273         * elf/tst-auxv.c: New
15274         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15276 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15278         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15279         (hidden_proto): Caller changed.
15280         (hidden_tls_proto): New macro.
15281         (libc_hidden_tls_proto): Likewise.
15282         (rtld_hidden_tls_proto): Likewise.
15283         (libm_hidden_tls_proto): Likewise.
15284         (libresolv_hidden_tls_proto): Likewise.
15285         (librt_hidden_tls_proto): Likewise.
15286         (libdl_hidden_tls_proto): Likewise.
15287         (libnss_files_hidden_tls_proto): Likewise.
15288         (libnsl_hidden_tls_proto): Likewise.
15289         (libnss_nisplus_hidden_tls_proto): Likewise.
15290         (libutil_hidden_tls_proto): Likewise.
15292 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15294         [BZ #10253]
15295         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15296         (decompose_rpath): Defer expansion to fillin_rpath.
15297         (_dl_init_paths): Pass linkmap to fillin_rpath.
15299 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15301         * benchtests/Makefile: Add strsep.
15302         * benchtests/bench-strsep.c: New file: strsep benchtest.
15303         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15305 2013-11-18  Andreas Schwab  <schwab@suse.de>
15307         * locale/programs/locale.c (show_info) [case byte]: Check for
15308         '\377' instead of '\177'.
15309         * locale/C-monetary.c (not_available): Always use "\377".
15310         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15311         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15312         detect unavailable sign_posn locale elements.
15313         * locale/localeconv.c (__localeconv): For grouping and
15314         mon_grouping handle "\177" and "\377" like no grouping.
15315         (INT_ELEM): New macro.  Use it to set all numeric members.
15316         * locale/programs/ld-monetary.c (monetary_read)
15317         <tok_mon_grouping>: Normalize single -1 to the empty string.
15318         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15319         Likewise.
15321 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15323         [BZ #16055]
15324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15325         when we match (nil).
15326         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15328 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15330         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15331         (NO_TEST_INLINE): Update value.
15332         (ERRNO_UNCHANGED): Likewise.
15333         (ERRNO_EDOM): Likewise.
15334         (ERRNO_ERANGE): Likewise.
15335         (IGNORE_RESULT): Likewise.
15336         (check_float_internal): Check signs of NaN results if
15337         TEST_NAN_SIGN used.
15338         (check_complex): Pass TEST_NAN_SIGN flag through to second
15339         check_float_internal call.
15340         (copysign_test_data): Add tests with quiet NaNs as second
15341         argument.  Use TEST_NAN_SIGN.
15342         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15343         TEST_NAN_SIGN.
15344         (signbit_test_data): Add tests of quiet NaN argument.
15345         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15347         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15348         $ignore_result.
15349         (parse_args): Handle function results specified as IGNORE.
15350         * math/libm-test.inc (IGNORE_RESULT): New macro.
15351         (check_float_internal): Do not check numerical result if flag
15352         IGNORE_RESULT set.
15353         (check_complex): Pass through IGNORE_RESULT to second
15354         check_float_internal call.
15355         (check_int): Do not check numerical result if flag IGNORE_RESULT
15356         set.
15357         (check_long): Likewise.
15358         (check_bool): Likewise.
15359         (check_longlong): Likewise.
15360         (lrint_test_data): Add tests of infinite and NaN arguments.
15361         (lrint_tonearest_test_data): Likewise.
15362         (lrint_towardzero_test_data): Likewise.
15363         (lrint_downward_test_data): Likewise.
15364         (lrint_upward_test_data): Likewise.
15365         (llrint_test_data): Likewise.
15366         (llrint_tonearest_test_data): Likewise.
15367         (llrint_towardzero_test_data): Likewise.
15368         (llrint_downward_test_data): Likewise.
15369         (llrint_upward_test_data): Likewise.
15370         (lround_test_data): Likewise.
15371         (llround_test_data): Likewise.
15373         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15374         (ERRNO_UNCHANGED): Update value.
15375         (ERRNO_EDOM): Likewise.
15376         (ERRNO_ERANGE): Likewise.
15377         (NO_TEST_INLINE_FLOAT): New macro.
15378         (NO_TEST_INLINE_DOUBLE): Likewise.
15379         (enable_test): New function.
15380         (RUN_TEST_f_f): Check enable_test before running test.
15381         (RUN_TEST_2_f): Likewise.
15382         (RUN_TEST_fff_f): Likewise.
15383         (RUN_TEST_c_f): Likewise.
15384         (RUN_TEST_f_f1): Likewise.
15385         (RUN_TEST_fF_f1): Likewise.
15386         (RUN_TEST_fI_f1): Likewise.
15387         (RUN_TEST_ffI_f1): Likewise.
15388         (RUN_TEST_c_c): Likewise.
15389         (RUN_TEST_cc_c): Likewise.
15390         (RUN_TEST_f_i): Likewise.
15391         (RUN_TEST_f_i_tg): Likewise.
15392         (RUN_TEST_ff_i_tg): Likewise.
15393         (RUN_TEST_f_b): Likewise.
15394         (RUN_TEST_f_b_tg): Likewise.
15395         (RUN_TEST_f_l): Likewise.
15396         (RUN_TEST_f_L): Likewise.
15397         (RUN_TEST_fFF_11): Likewise.
15398         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15399         conditionals.
15400         (cosh_test_data): Likewise.
15401         (exp_test_data): Likewise.
15402         (expm1_test_data): Likewise.
15403         (hypot_test_data): Likewise.
15404         (pow_test_data): Likewise.
15405         (sinh_test_data): Likewise.
15406         (tanh_test_data): Likewise.
15407         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15408         flags argument.
15410         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15411         tests with quiet NaN input and output.
15412         (acosh_test_data): Likewise.
15413         (asin_test_data): Likewise.
15414         (asinh_test_data): Likewise.
15415         (atan_test_data): Likewise.
15416         (atanh_test_data): Likewise.
15417         (atan2_test_data): Likewise.
15418         (cbrt_test_data): Likewise.
15419         (cos_test_data): Likewise.
15420         (cosh_test_data): Likewise.
15421         (erf_test_data): Likewise.
15422         (erfc_test_data): Likewise.
15423         (exp_test_data): Likewise.
15424         (exp10_test_data): Likewise.
15425         (exp2_test_data): Likewise.
15426         (expm1_test_data): Likewise.
15427         (hypot_test_data): Likewise.
15428         (j0_test_data): Likewise.
15429         (j1_test_data): Likewise.
15430         (jn_test_data): Likewise.
15431         (lgamma_test_data): Likewise.
15432         (log_test_data): Likewise.
15433         (log10_test_data): Likewise.
15434         (log1p_test_data): Likewise.
15435         (log2_test_data): Likewise.
15436         (pow_test_data): Likewise.
15437         (scalb_test_data): Likewise.
15438         (sin_test_data): Likewise.
15439         (sincos_test_data): Likewise.
15440         (sinh_test_data): Likewise.
15441         (tan_test_data): Likewise.
15442         (tanh_test_data): Likewise.
15443         (tgamma_test_data): Likewise.
15444         (y0_test_data): Likewise.
15445         (y1_test_data): Likewise.
15446         (yn_test_data): Likewise.
15448         [BZ #16167]
15449         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15450         argument being NaN and avoid computations with second argument in
15451         that case.
15452         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15453         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15454         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15456 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15458         * locale/iso-639.def: Add Chitwani Tharu (the).
15460 2013-11-14  Andreas Schwab  <schwab@suse.de>
15462         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15463         word instead of empty string.
15465 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15468         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15470         (__fe_nomask_env): Likewise.
15472 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15474         * benchtests/bench-timing.h: Include time.h.
15476 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15478         [BZ #15997]
15479         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15480         to 3.4.0 for x32.
15481         * sysdeps/unix/sysv/linux/configure: Regenerated.
15483 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15485         [BZ #16151]
15486         * stdlib/strtod_l.c (round_and_return): Do not consider
15487         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15488         exponent one less than half the least subnormal exponent.
15489         * stdlib/test-strtod-round-data: Add more tests.
15490         * stdlib/tst-strtod-round.c (tests): Regenerated.
15492 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15494         [BZ #14143]
15495         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15496         (__fe_mask_env): Likewise.
15497         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15498         libm_hidden_proto and add function prototype.
15499         (__fe_mask_env): Add function prototype.
15500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15501         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15503         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15505         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15507 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15509         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15510         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15512 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15514         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15515         of htab_find_slot().
15517 2013-11-11  David S. Miller  <davem@davemloft.net>
15519         [BZ #16150]
15520         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15521         symbol in the non-vis3 case in static builds.
15522         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15523         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15524         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15525         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15527 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15529         [BZ #387]
15530         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15531         it is empty.
15533 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15535         * benchtests/Makefile: Add bench-strtod.
15536         * benchtests/bench-strtod.c: New file: strtod benchtest
15538 2013-11-11  Andreas Schwab  <schwab@suse.de>
15540         [BZ #16153]
15541         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15542         terminating NUL in key length.
15544 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15546         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15547         Add artificial ODP entry for vDSO symbol for PPC64.
15548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15549         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15551 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15553         [BZ #15374]
15554         * nss/getent.c (services_keys): Recognize services starting with digit.
15556 2013-11-06  David S. Miller  <davem@davemloft.net>
15558         [BZ #15985]
15559         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15560         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15562 2013-11-06  Will Newton  <will.newton@linaro.org>
15564         * manual/memory.texi (Malloc Examples): Remove register
15565         keyword from examples.
15567 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15569         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15571 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15573         [BZ #6981]
15574         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15575         depending on [__GCC_IEC_559 > 0].
15576         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15577         depending on [__GCC_IEC_559_COMPLEX > 0].
15579 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15581         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15582         to iso-639.def.
15584 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15586         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15588 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15590         [BZ #16112]
15591         * malloc/malloc (malloc_info): Do not handle first bin as
15592         special case.
15594 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15596         * locale/iso-639.def: Add Central Nahuatl (nhn).
15598 2013-11-01  Bruno Haible  <bruno@clisp.org>
15600         [BZ #7003]
15601         * manual/math.texi (BSD Random): Specify range upper bound as
15602         in POSIX.
15604 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15606         * locale/iso-639.def: Add Meadow Mari (mhr).
15608 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15610         [BZ #14752], [BZ #15763]
15611         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15612         Validate name.
15613         * rt/tst_shm.c: Add test for escaping directory.
15615 2013-10-31  Andreas Schwab  <schwab@suse.de>
15617         [BZ #15917]
15618         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15619         followed by 'x' as part of digit sequence.
15620         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15622 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15624         [BZ #16037]
15625         * configure.ac: allow GNU Make 4.0 and greater.
15626         * configure: Regenerated.
15628 2013-10-30  Will Newton  <will.newton@linaro.org>
15630         [BZ #16038]
15631         * malloc/hooks.c (memalign_check): Limit alignment to the
15632         maximum representable power of two.
15633         * malloc/malloc.c (__libc_memalign): Likewise.
15634         * malloc/tst-memalign.c (do_test): Add test for very
15635         large alignment values.
15636         * malloc/tst-posix_memalign.c (do_test): Likewise.
15638 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15640         [BZ #11087]
15641         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15642         (munmap_chunk): Likewise.
15643         (mremap_chunk): Likewise.
15645 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15647         [BZ #15799]
15648         * stdlib/div.c (div): Remove obsolete code.
15649         * stdlib/ldiv.c (ldiv): Likewise.
15650         * stdlib/lldiv.c (lldiv): Likewise.
15652 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15654         [BZ #16071]
15655         * nss/nss_files/files-XXX.c (get_contents_ret): New
15656         enumerator.
15657         (get_contents): New function.
15658         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15660 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15662         * configure.in: Moved to ...
15663         * configure.ac: ... here. Change reference to configure.in
15664         to configure.ac.
15665         * sysdeps/arm/preconfigure.ac: ... here.
15666         configure.in to configure.ac.
15667         * sysdeps/gnu/configure.in: Moved to ...
15668         * sysdeps/gnu/configure.ac: ... here.
15669         * sysdeps/i386/configure.in: Moved to ...
15670         * sysdeps/i386/configure.ac: ... here.
15671         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15672         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15673         * sysdeps/mach/configure.in: Moved to ...
15674         * sysdeps/mach/configure.ac: ... here.
15675         * sysdeps/mach/hurd/configure.in: Moved to ...
15676         * sysdeps/mach/hurd/configure.ac: ... here.
15677         * sysdeps/powerpc/configure.in: Moved to ...
15678         * sysdeps/powerpc/configure.ac: ... here.
15679         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15680         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15681         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15682         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15683         * sysdeps/s390/s390-32/configure.in: Moved to ...
15684         * sysdeps/s390/s390-32/configure.ac: ... here.
15685         * sysdeps/s390/s390-64/configure.in: Moved to ...
15686         * sysdeps/s390/s390-64/configure.ac: ... here.
15687         * sysdeps/sh/configure.in: Moved to ...
15688         * sysdeps/sh/configure.ac: ... here.
15689         * sysdeps/sparc/configure.in: Moved to ...
15690         * sysdeps/sparc/configure.ac: ... here.
15691         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15692         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15693         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15694         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15695         * sysdeps/x86_64/configure.in: Moved to ...
15696         * sysdeps/x86_64/configure.ac: ... here.
15697         * sysdeps/x86_64/preconfigure.in: Moved to ...
15698         * sysdeps/x86_64/preconfigure.ac: ... here.
15699         * aclocal.m4: Change reference to configure.in to configure.ac.
15700         * config.h.in: Likewise.
15701         * manual/install.texi: Likewise.
15702         * manual/maint.texi: Likewise.
15703         * Makefile: Likewise.
15704         * malloc/Makefile: Likewise.
15705         * nscd/Makefile: Likewise.
15706         * Makeconfig: Change reference to configure.in and
15707         preconfigure.in to configure.ac and preconfigure.ac
15708         respectively.
15709         * INSTALL: Regenerated.
15710         * configure: Likewise.
15711         * sysdeps/gnu/configure: Likewise.
15712         * sysdeps/i386/configure: Likewise.
15713         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15714         * sysdeps/mach/configure: Likewise.
15715         * sysdeps/mach/hurd/configure: Likewise.
15716         * sysdeps/powerpc/configure: Likewise.
15717         * sysdeps/powerpc/powerpc32/configure: Likewise.
15718         * sysdeps/powerpc/powerpc64/configure: Likewise.
15719         * sysdeps/s390/s390-32/configure: Likewise.
15720         * sysdeps/s390/s390-64/configure: Likewise.
15721         * sysdeps/sh/configure: Likewise.
15722         * sysdeps/sparc/configure: Likewise.
15723         * sysdeps/unix/sysv/linux/configure: Likewise.
15724         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15725         * sysdeps/x86_64/configure: Likewise.
15726         * sysdeps/x86_64/preconfigure: Likewise.
15728 2013-10-29  Andreas Schwab  <schwab@suse.de>
15730         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15732 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15734         * benchtests/pow-inputs: Add new inputs.
15736         * benchtests/exp-inputs: Add new inputs.
15738         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15739         conditional check for return value.
15740         (__cos32): Likewise.
15742 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15744         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15745         to provide a boost for large inputs with word alignment.
15746         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15747         implementation based on optimized PPC64 strcpy.
15748         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15749         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15750         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15751         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15753 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15755         [BZ #2801]
15756         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15758 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15760         [BZ #14876]
15761         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15762         * time/tst-strptime.c (day_tests): Add testcase.
15764 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15766         [BZ #14029]
15767         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15769 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15771         [BZ #16074]
15772         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15773         MAP_FAILED on error.
15775 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15777         [BZ #16072]
15778         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15779         heap for large requests.
15781 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15783         [BZ #9954]
15784         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15785         result if the result has no associated interface.
15786         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15787         interface for all 127.X.Y.Z addresses.
15789 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15791         * locale/iso-639.def: Add Ligurian (lij)
15793 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15795         [BZ #15825]
15796         * sunrpc/rpc_main.c: Document rpcgen -5.
15798 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15800         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15802 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15804         [BZ #10278]
15805         * posix/glob.c: Match only directories when trailing slash is present.
15806         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15807         (main): Add testcase.
15809 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15811         [BZ #15670]
15812         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15814 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15816         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15817         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15818         AUTH_DES and cindex for FIPS 140-2.
15819         (DES Encryption): Add cindex FIPS 46-3.
15821         * locale/locarchive.h (struct locarhandle): Add fname.
15822         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15823         if an optional argument was specified to --list-archive,
15824         otherwise NULL.
15825         * locale/programs/locarchive.c (show_archive_content): Take new
15826         argument fname and pass it via ah.fname to open_archive.
15827         * locale/programs/localedef.h: Update decl.
15828         (open_archive): If AH->fname is non-null, open that file
15829         rather than the default file name, and don't ignore ENOENT.
15830         (create_archive): Set AH.fname to NULL.
15831         (delete_locales_from_archive): Likewise.
15832         (add_locales_to_archive): Likewise.
15833         * locale/programs/locfile.c (write_all_categories): Likewise.
15835 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15836             Aldy Hernandez  <aldyh@redhat.com>
15838         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15839         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15840         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15841         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15842         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15843         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15844         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15845         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15846         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15847         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15849         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15850         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15851         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15852         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15853         Likewise.
15854         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15855         Likewise.
15856         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15857         Likewise.
15858         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15859         Likewise.
15860         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15861         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15862         Likewise.
15863         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15864         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15865         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15866         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15867         Likewise.
15868         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15869         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15870         * sysdeps/powerpc/preconfigure: Likewise.
15871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15872         Likewise.
15873         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15874         Replace contents of file by #include of <fenv_libc.h>.
15875         * sysdeps/powerpc/soft-fp/sfp-machine.h
15876         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15877         and <sys/prctl.h>.
15878         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15891         Allow copysignl PLT reference to be missing.
15893 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15894             Joseph Myers  <joseph@codesourcery.com
15896         [BZ #15948]
15897         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15898         single character.
15899         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15901 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15903         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15904         * elf/tst-tls1.c: Likewise.
15905         * elf/tst-tls10.h: Likewise.
15906         * elf/tst-tls14.c: Likewise.
15907         * elf/tst-tls2.c: Likewise.
15908         * elf/tst-tls3.c: Likewise.
15909         * elf/tst-tls4.c: Likewise.
15910         * elf/tst-tls5.c: Likewise.
15911         * elf/tst-tls6.c: Likewise.
15912         * elf/tst-tls7.c: Likewise.
15913         * elf/tst-tls8.c: Likewise.
15914         * elf/tst-tls9.c: Likewise.
15915         * elf/tst-tlsmod1.c: Likewise.
15916         * elf/tst-tlsmod13.c: Likewise.
15917         * elf/tst-tlsmod13a.c: Likewise.
15918         * elf/tst-tlsmod14a.c: Likewise.
15919         * elf/tst-tlsmod16a.c: Likewise.
15920         * elf/tst-tlsmod16b.c: Likewise.
15921         * elf/tst-tlsmod2.c: Likewise.
15922         * elf/tst-tlsmod3.c: Likewise.
15923         * elf/tst-tlsmod4.c: Likewise.
15924         * elf/tst-tlsmod5.c: Likewise.
15925         * elf/tst-tlsmod6.c: Likewise.
15927 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15929         [BZ #12486]
15930         * malloc/malloc.c: remove checks for statistics.
15932 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15934         [BZ #15277]
15935         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15936         * inet/tst-network.c: Add testcase.
15938 2013-10-17  Andreas Schwab  <schwab@suse.de>
15940         [BZ #15218]
15941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15942         to determine canonical name.
15944 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15946         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15947         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15948         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15949         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15951         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15952         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15953         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15954         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15955         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15956         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15957         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15958         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15959         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15960         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15961         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15963         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15964         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15965         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15966         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15968         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15969         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15970         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15971         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15972         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15973         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15974         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15975         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15976         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15977         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15978         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15979         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15980         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15981         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15982         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15983         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15984         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15985         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15986         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15987         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15988         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15989         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15990         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15991         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15992         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15993         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15994         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15995         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15996         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15997         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15998         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15999         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16000         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16001         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16003         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16005 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16007         [BZ #16041]
16008         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16009         make result into a quiet NaN.
16011 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16013         * soft-fp/adddf3.c: Fix horizontal whitespace.
16014         * soft-fp/addsf3.c: Likewise.
16015         * soft-fp/addtf3.c: Likewise.
16016         * soft-fp/divdf3.c: Likewise.
16017         * soft-fp/divsf3.c: Likewise.
16018         * soft-fp/divtf3.c: Likewise.
16019         * soft-fp/double.h: Likewise.
16020         * soft-fp/eqdf2.c: Likewise.
16021         * soft-fp/eqsf2.c: Likewise.
16022         * soft-fp/eqtf2.c: Likewise.
16023         * soft-fp/extenddftf2.c: Likewise.
16024         * soft-fp/extended.h: Likewise.
16025         * soft-fp/extendsfdf2.c: Likewise.
16026         * soft-fp/extendsftf2.c: Likewise.
16027         * soft-fp/extendxftf2.c: Likewise.
16028         * soft-fp/fixdfdi.c: Likewise.
16029         * soft-fp/fixdfsi.c: Likewise.
16030         * soft-fp/fixdfti.c: Likewise.
16031         * soft-fp/fixsfdi.c: Likewise.
16032         * soft-fp/fixsfsi.c: Likewise.
16033         * soft-fp/fixsfti.c: Likewise.
16034         * soft-fp/fixtfdi.c: Likewise.
16035         * soft-fp/fixtfsi.c: Likewise.
16036         * soft-fp/fixtfti.c: Likewise.
16037         * soft-fp/fixunsdfdi.c: Likewise.
16038         * soft-fp/fixunsdfsi.c: Likewise.
16039         * soft-fp/fixunsdfti.c: Likewise.
16040         * soft-fp/fixunssfdi.c: Likewise.
16041         * soft-fp/fixunssfsi.c: Likewise.
16042         * soft-fp/fixunssfti.c: Likewise.
16043         * soft-fp/fixunstfdi.c: Likewise.
16044         * soft-fp/fixunstfsi.c: Likewise.
16045         * soft-fp/fixunstfti.c: Likewise.
16046         * soft-fp/floatdidf.c: Likewise.
16047         * soft-fp/floatdisf.c: Likewise.
16048         * soft-fp/floatditf.c: Likewise.
16049         * soft-fp/floatsidf.c: Likewise.
16050         * soft-fp/floatsisf.c: Likewise.
16051         * soft-fp/floatsitf.c: Likewise.
16052         * soft-fp/floattidf.c: Likewise.
16053         * soft-fp/floattisf.c: Likewise.
16054         * soft-fp/floattitf.c: Likewise.
16055         * soft-fp/floatundidf.c: Likewise.
16056         * soft-fp/floatundisf.c: Likewise.
16057         * soft-fp/floatunditf.c: Likewise.
16058         * soft-fp/floatunsidf.c: Likewise.
16059         * soft-fp/floatunsisf.c: Likewise.
16060         * soft-fp/floatunsitf.c: Likewise.
16061         * soft-fp/floatuntidf.c: Likewise.
16062         * soft-fp/floatuntisf.c: Likewise.
16063         * soft-fp/floatuntitf.c: Likewise.
16064         * soft-fp/fmadf4.c: Likewise.
16065         * soft-fp/fmasf4.c: Likewise.
16066         * soft-fp/fmatf4.c: Likewise.
16067         * soft-fp/gedf2.c: Likewise.
16068         * soft-fp/gesf2.c: Likewise.
16069         * soft-fp/getf2.c: Likewise.
16070         * soft-fp/ledf2.c: Likewise.
16071         * soft-fp/lesf2.c: Likewise.
16072         * soft-fp/letf2.c: Likewise.
16073         * soft-fp/muldf3.c: Likewise.
16074         * soft-fp/mulsf3.c: Likewise.
16075         * soft-fp/multf3.c: Likewise.
16076         * soft-fp/negdf2.c: Likewise.
16077         * soft-fp/negsf2.c: Likewise.
16078         * soft-fp/negtf2.c: Likewise.
16079         * soft-fp/op-1.h: Likewise.
16080         * soft-fp/op-2.h: Likewise.
16081         * soft-fp/op-4.h: Likewise.
16082         * soft-fp/op-8.h: Likewise.
16083         * soft-fp/op-common.h: Likewise.
16084         * soft-fp/quad.h: Likewise.
16085         * soft-fp/single.h: Likewise.
16086         * soft-fp/soft-fp.h: Likewise.
16087         * soft-fp/sqrtdf2.c: Likewise.
16088         * soft-fp/sqrtsf2.c: Likewise.
16089         * soft-fp/sqrttf2.c: Likewise.
16090         * soft-fp/subdf3.c: Likewise.
16091         * soft-fp/subsf3.c: Likewise.
16092         * soft-fp/subtf3.c: Likewise.
16093         * soft-fp/truncdfsf2.c: Likewise.
16094         * soft-fp/trunctfdf2.c: Likewise.
16095         * soft-fp/trunctfsf2.c: Likewise.
16096         * soft-fp/trunctfxf2.c: Likewise.
16097         * soft-fp/unorddf2.c: Likewise.
16098         * soft-fp/unordsf2.c: Likewise.
16099         * soft-fp/unordtf2.c: Likewise.
16101 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16103         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16104         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16106 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16108         * elf/dl-libc.c: Clear initfini list after freeing.
16110 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16112         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16113         * soft-fp/addsf3.c: Likewise.
16114         * soft-fp/addtf3.c: Likewise.
16115         * soft-fp/divdf3.c: Likewise.
16116         * soft-fp/divsf3.c: Likewise.
16117         * soft-fp/divtf3.c: Likewise.
16118         * soft-fp/double.h: Likewise.
16119         * soft-fp/eqdf2.c: Likewise.
16120         * soft-fp/eqsf2.c: Likewise.
16121         * soft-fp/eqtf2.c: Likewise.
16122         * soft-fp/extenddftf2.c: Likewise.
16123         * soft-fp/extended.h: Likewise.
16124         * soft-fp/extendsfdf2.c: Likewise.
16125         * soft-fp/extendsftf2.c: Likewise.
16126         * soft-fp/extendxftf2.c: Likewise.
16127         * soft-fp/fixdfdi.c: Likewise.
16128         * soft-fp/fixdfsi.c: Likewise.
16129         * soft-fp/fixdfti.c: Likewise.
16130         * soft-fp/fixsfdi.c: Likewise.
16131         * soft-fp/fixsfsi.c: Likewise.
16132         * soft-fp/fixsfti.c: Likewise.
16133         * soft-fp/fixtfdi.c: Likewise.
16134         * soft-fp/fixtfsi.c: Likewise.
16135         * soft-fp/fixtfti.c: Likewise.
16136         * soft-fp/fixunsdfdi.c: Likewise.
16137         * soft-fp/fixunsdfsi.c: Likewise.
16138         * soft-fp/fixunsdfti.c: Likewise.
16139         * soft-fp/fixunssfdi.c: Likewise.
16140         * soft-fp/fixunssfsi.c: Likewise.
16141         * soft-fp/fixunssfti.c: Likewise.
16142         * soft-fp/fixunstfdi.c: Likewise.
16143         * soft-fp/fixunstfsi.c: Likewise.
16144         * soft-fp/fixunstfti.c: Likewise.
16145         * soft-fp/floatdidf.c: Likewise.
16146         * soft-fp/floatdisf.c: Likewise.
16147         * soft-fp/floatditf.c: Likewise.
16148         * soft-fp/floatsidf.c: Likewise.
16149         * soft-fp/floatsisf.c: Likewise.
16150         * soft-fp/floatsitf.c: Likewise.
16151         * soft-fp/floattidf.c: Likewise.
16152         * soft-fp/floattisf.c: Likewise.
16153         * soft-fp/floattitf.c: Likewise.
16154         * soft-fp/floatundidf.c: Likewise.
16155         * soft-fp/floatundisf.c: Likewise.
16156         * soft-fp/floatunsidf.c: Likewise.
16157         * soft-fp/floatunsisf.c: Likewise.
16158         * soft-fp/floatuntidf.c: Likewise.
16159         * soft-fp/floatuntisf.c: Likewise.
16160         * soft-fp/floatuntitf.c: Likewise.
16161         * soft-fp/fmadf4.c: Likewise.
16162         * soft-fp/fmasf4.c: Likewise.
16163         * soft-fp/fmatf4.c: Likewise.
16164         * soft-fp/gedf2.c: Likewise.
16165         * soft-fp/gesf2.c: Likewise.
16166         * soft-fp/getf2.c: Likewise.
16167         * soft-fp/ledf2.c: Likewise.
16168         * soft-fp/lesf2.c: Likewise.
16169         * soft-fp/letf2.c: Likewise.
16170         * soft-fp/muldf3.c: Likewise.
16171         * soft-fp/mulsf3.c: Likewise.
16172         * soft-fp/multf3.c: Likewise.
16173         * soft-fp/negdf2.c: Likewise.
16174         * soft-fp/negsf2.c: Likewise.
16175         * soft-fp/negtf2.c: Likewise.
16176         * soft-fp/op-1.h: Likewise.
16177         * soft-fp/op-2.h: Likewise.
16178         * soft-fp/op-4.h: Likewise.
16179         * soft-fp/op-8.h: Likewise.
16180         * soft-fp/op-common.h: Likewise.
16181         * soft-fp/quad.h: Likewise.
16182         * soft-fp/single.h: Likewise.
16183         * soft-fp/soft-fp.h: Likewise.
16184         * soft-fp/sqrtdf2.c: Likewise.
16185         * soft-fp/sqrtsf2.c: Likewise.
16186         * soft-fp/sqrttf2.c: Likewise.
16187         * soft-fp/subdf3.c: Likewise.
16188         * soft-fp/subsf3.c: Likewise.
16189         * soft-fp/subtf3.c: Likewise.
16190         * soft-fp/truncdfsf2.c: Likewise.
16191         * soft-fp/trunctfdf2.c: Likewise.
16192         * soft-fp/trunctfsf2.c: Likewise.
16193         * soft-fp/trunctfxf2.c: Likewise.
16194         * soft-fp/unorddf2.c: Likewise.
16195         * soft-fp/unordsf2.c: Likewise.
16196         * soft-fp/unordtf2.c: Likewise.
16198 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16200         [BZ #15672]
16201         * misc/error.c (error_tail): Fix possible buffer overflow.
16203 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16205         [BZ #13028]
16206         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16207         address.
16209 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16211         [BZ #832]
16212         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16213         testing pipefail option.
16215 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16217         * soft-fp/double.h: Indent preprocessor directives inside #if.
16218         * soft-fp/extended.h: Likewise.
16219         * soft-fp/op-2.h: Likewise.
16220         * soft-fp/op-4.h: Likewise.
16221         * soft-fp/op-common.h: Likewise.
16222         * soft-fp/quad.h: Likewise.
16223         * soft-fp/single.h: Likewise.
16224         * soft-fp/soft-fp.h: Likewise.
16226 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16228         * iconv/iconv_prog.c: Fix typos.
16229         * stdio-common/psiginfo-data.h: Likewise.
16231 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16233         [BZ #15764]
16234         * locale/setlocale.c: Fix typo.
16236 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16238         [BZ #16036]
16239         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16240         signaling NaN arguments.
16241         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16242         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16244         [BZ #14910]
16245         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16246         unordered operands.
16247         * soft-fp/gesf2.c (__gesf2): Likewise.
16248         * soft-fp/getf2.c (__getf2): Likewise.
16249         * soft-fp/ledf2.c (__ledf2): Likewise.
16250         * soft-fp/lesf2.c (__lesf2): Likewise.
16251         * soft-fp/letf2.c (__letf2): Likewise.
16253         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16254         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16255         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16256         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16257         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16258         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16259         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16260         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16261         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16262         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16263         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16264         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16265         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16266         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16267         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16268         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16269         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16270         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16271         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16272         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16273         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16274         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16275         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16276         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16277         * soft-fp/floattidf.c (__floattidf): Likewise.
16278         * soft-fp/floattisf.c (__floattisf): Likewise.
16279         * soft-fp/floattitf.c (__floattitf): Likewise.
16280         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16281         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16282         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16283         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16284         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16285         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16286         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16287         * soft-fp/gesf2.c (__gesf2): Likewise.
16288         * soft-fp/getf2.c (__getf2): Likewise.
16289         * soft-fp/ledf2.c (__ledf2): Likewise.
16290         * soft-fp/lesf2.c (__lesf2): Likewise.
16291         * soft-fp/letf2.c (__letf2): Likewise.
16293         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16294         Undefine and redefine.
16295         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16296         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16297         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16298         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16299         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16300         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16301         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16302         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16303         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16304         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16305         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16306         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16307         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16308         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16309         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16311         [BZ #16032]
16312         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16313         without decrementing exponent if mantissa >= that for the
16314         denominator, not >.
16315         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16316         denominator, not >.  Decrement exponent in < case instead of
16317         incrementing in >= case.
16318         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16319         without decrementing exponent if mantissa >= that for the
16320         denominator, not >.
16322         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16323         computing saturated result for unsigned overflow.
16325 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16326             Jeff Law  <law@redhat.com>
16328         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16329         (atan2Mp): Add systemtap probe marker.
16330         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16331         (__ieee754_log): Add systemtap probe marker.
16332         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16333         (atanMp): Add systemtap probe marker.
16334         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16335         (tanMp): Add systemtap probe marker.
16336         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16337         (__slowexp): Add systemtap probe marker.
16338         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16339         (__slowpow): Add systemtap probe marker.
16340         * manual/probes.texi: Document probes.
16342 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16344         [BZ #15362]
16345         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16346         written.
16347         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16348         written.
16349         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16350         written to buffer but not flushed.
16351         * libio/iofwrite_u.c:  Likewise.
16352         * libio/iopadn.c:  Return bytes returned even if EOF was
16353         encountered.
16354         * libio/iowpadn.c:  Likewise.
16355         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16356         if _IO_padn does not write the whole buffer.
16357         [!COMPILE_WPRINTF] (PAD): Likewise.
16359 2013-10-10  David S. Miller  <davem@davemloft.net>
16361         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16362         directory block.
16364 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16366         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16367         instead of FSF address.
16368         * soft-fp/fixdfti.c: Likewise.
16369         * soft-fp/fixsfti.c: Likewise.
16370         * soft-fp/fixtfti.c: Likewise.
16371         * soft-fp/fixunsdfti.c: Likewise.
16372         * soft-fp/fixunssfti.c: Likewise.
16373         * soft-fp/fixunstfti.c: Likewise.
16374         * soft-fp/floattidf.c: Likewise.
16375         * soft-fp/floattisf.c: Likewise.
16376         * soft-fp/floattitf.c: Likewise.
16377         * soft-fp/floatuntidf.c: Likewise.
16378         * soft-fp/floatuntisf.c: Likewise.
16379         * soft-fp/floatuntitf.c: Likewise.
16380         * soft-fp/trunctfxf2.c: Likewise.
16382         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16383         * soft-fp/fixdfti.c: Likewise.
16384         * soft-fp/fixsfti.c: Likewise.
16385         * soft-fp/fixtfti.c: Likewise.
16386         * soft-fp/fixunsdfti.c: Likewise.
16387         * soft-fp/fixunssfti.c: Likewise.
16388         * soft-fp/fixunstfti.c: Likewise.
16389         * soft-fp/floattidf.c: Likewise.
16390         * soft-fp/floattisf.c: Likewise.
16391         * soft-fp/floattitf.c: Likewise.
16392         * soft-fp/floatuntidf.c: Likewise.
16393         * soft-fp/floatuntisf.c: Likewise.
16394         * soft-fp/floatuntitf.c: Likewise.
16395         * soft-fp/trunctfxf2.c: Likewise.
16397 2013-10-10  David S. Miller  <davem@davemloft.net>
16399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16401 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16403         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16404         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16405         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16406         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16407         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16408         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16409         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16412         for NaNs before doing comparisons on argument.
16413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16414         Likewise.
16416 2013-10-10  Will Newton  <will.newton@linaro.org>
16418         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16419         passed to _int_memalign does not overflow.
16421 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16423         * scripts/bench.pl: Add include-sources directive.
16424         * benchtests/README: Update documentation.
16426 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16428         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16429         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16430         instead of FP_INIT_ROUNDMODE.
16431         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16432         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16434         [BZ #16034]
16435         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16436         copy class of input value.
16437         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16438         not handle exceptions.
16439         * soft-fp/negsf2.c (__negsf2): Likewise.
16440         * soft-fp/negtf2.c (__negtf2): Likewise.
16441         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16443 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16445         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16446         semicolon.  From Linux kernel.
16448 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16450         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16452 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16454         [BZ #156]
16455         * manual/socket.texi: Added statement about buffer
16456         for gethostbyname2_r.
16458 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16460         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16461         Use .p2align directive instead, throughout.
16462         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16463         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16464         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16466         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16467         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16468         * sysdeps/x86_64/strchr.S: Likewise.
16469         * sysdeps/x86_64/strrchr.S: Likewise.
16471 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16473         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16475         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16477         * sysdeps/generic/math_private.h (__mpsin1): Remove
16478         declaration.
16479         (__mpcos1): Likewise.
16480         (__mpsin): New argument __range_reduce.
16481         (__mpcos): Likewise.
16482         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16483         (slow): Use __mpsin and __mpcos.
16484         (slow1): Likewise.
16485         (slow2): Likewise.
16486         (sloww): Likewise.
16487         (sloww1): Likewise.
16488         (sloww2): Likewise.
16489         (bsloww): Likewise.
16490         (bsloww1): Likewise.
16491         (bsloww2): Likewise.
16492         (cslow2): Likewise.
16493         (csloww): Likewise.
16494         (csloww1): Likewise.
16495         (csloww2): Likewise.
16496         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16497         range_reduce.  Merge in __mpsin1.
16498         (__mpcos): Likewise.
16499         (__mpsin1): Remove.
16500         (__mpcos1): Likewise.
16502 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16504         * locale/loadlocale.c (_nl_intern_locale_data): Use
16505         LOCFILE_ALIGNED_P.
16506         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16507         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16508         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16509         obstack data is appropriately aligned.
16510         (obstack_int32_grow_fast): Likewise.
16511         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16512         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16513         (add_locale_uint32_array): Likewise.
16515 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16517         * benchtests/Makefile: Remove ARGLIST and RET variables.
16518         ($(objpfx)bench-%.c): Pass only function name to the script.
16519         * benchtests/README: Update documentation.
16520         * benchtests/acos-inputs: Add new directives.
16521         * benchtests/acosh-inputs: Likewise.
16522         * benchtests/asin-inputs: Likewise.
16523         * benchtests/asinh-inputs: Likewise.
16524         * benchtests/atan-inputs: Likewise.
16525         * benchtests/atanh-inputs: Likewise.
16526         * benchtests/cos-inputs: Likewise.
16527         * benchtests/cosh-inputs: Likewise.
16528         * benchtests/exp-inputs: Likewise.
16529         * benchtests/log-inputs: Likewise.
16530         * benchtests/pow-inputs: Likewise.
16531         * benchtests/rint-inputs: Likewise.
16532         * benchtests/sin-inputs: Likewise.
16533         * benchtests/sinh-inputs: Likewise.
16534         * benchtests/tan-inputs: Likewise.
16535         * benchtests/tanh-inputs: Likewise.
16536         * scripts/bench.pl: Add support for new directives.
16538 2013-10-07  Alan Modra  <amodra@gmail.com>
16540         * README: Fix careless merge.
16542 2013-10-05  Alan Modra  <amodra@gmail.com>
16544         * NEWS: Mention powerpc64le support and bugs fixed.
16545         * README: Both big-endian and little-endian powerpc64 supported.
16547 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16549         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16550         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16551         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16552         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16554 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16556         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16557         match prototype.
16559 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16561         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16562         Move -mhard-float appending from
16563         ports/sysdeps/powerpc/powerpc32/Makefile.
16564         [$(with-fp) = yes] (ASFLAGS): Likewise.
16565         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16566         * sysdeps/powerpc/nofpu: Move directory from
16567         ports/sysdeps/powerpc/nofpu.
16568         * sysdeps/powerpc/soft-fp: Move directory from
16569         ports/sysdeps/powerpc/soft-fp.
16570         * sysdeps/powerpc/powerpc32/405: Move directory from
16571         ports/sysdeps/powerpc/powerpc32/405.
16572         * sysdeps/powerpc/powerpc32/440: Move directory from
16573         ports/sysdeps/powerpc/powerpc32/440.
16574         * sysdeps/powerpc/powerpc32/464: Move directory from
16575         ports/sysdeps/powerpc/powerpc32/464.
16576         * sysdeps/powerpc/powerpc32/476: Move directory from
16577         ports/sysdeps/powerpc/powerpc32/476.
16578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16579         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16581         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16583         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16585         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16587         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16588         * README: Update for powerpc-*-linux-gnu software floating point
16589         support in libc.
16591         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16592         case to powerpc/powerpc32*.
16593         * sysdeps/unix/sysv/linux/configure: Regenerated.
16595         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16596         (_FPU_MASK_OM): Define as 0x04.
16597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16599         0x00c10080.
16600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16601         0x0000003c.
16602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16605         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16606         getcontext_e500.
16607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16608         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16609         setcontext_e500.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16611         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16612         and setcontext_e500.
16614 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16616         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16618 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16620         * manual/threads.texi (Default Thread Attributes): Fix typo.
16622 2013-10-04  Will Newton  <will.newton@linaro.org>
16624         * malloc/Makefile: Add tst-memalign.
16625         * malloc/tst-memalign.c: New file.
16627         * malloc/tst-posix_memalign.c: Add comments.
16628         (do_test): Add comments and call free on all potentially
16629         allocated pointers. Add space after cast.
16631         * malloc/tst-pvalloc.c: Add comments.
16632         (do_test): Add comments and call free on all potentially
16633         allocated pointers. Remove duplicate check for NULL pointer.
16634         Add space after cast.
16636         * malloc/tst-valloc.c: Add comments.
16637         (do_test): Add comments and call free on all potentially
16638         allocated pointers. Remove duplicate check for NULL pointer.
16639         Add space after cast.
16641 2013-10-04  Alan Modra  <amodra@gmail.com>
16643         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16644         Use stdint types in rather than __attribute__((mode())).
16645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16647 2013-10-04  Alan Modra  <amodra@gmail.com>
16649         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16650         Correct handling of unaligned relocs for little-endian.
16651         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16653 2013-10-04  Alan Modra  <amodra@gmail.com>
16655         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16656         * configure: Regenerate.
16657         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16658         * shlib-versions: Likewise.
16660 2013-10-04  Alan Modra  <amodra@gmail.com>
16662         * string/tester.c (test_memrchr): Increment reported test cycle.
16664 2013-10-04  Alan Modra  <amodra@gmail.com>
16666         * string/test-memcpy.c (do_one_test): When reporting errors, print
16667         string address and don't overrun end of string.
16669 2013-10-04  Alan Modra  <amodra@gmail.com>
16671         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16672         insrdi.  Make better use of reg selection to speed exit slightly.
16673         Schedule entry path a little better.  Remove useless "are we done"
16674         checks on entry to main loop.  Handle wrapping around zero address.
16675         Correct main loop count.  Handle single left-over word from main
16676         loop inline rather than by using loop_small.  Remove extra word
16677         case in loop_small caused by wrong loop count.  Add little-endian
16678         support.
16679         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16680         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16681         cache hint.
16682         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16683         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16684         support.  Avoid rlwimi.
16685         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16687 2013-10-04  Alan Modra  <amodra@gmail.com>
16689         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16690         insrdi.  Formatting.
16691         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16692         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16693         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16694         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16695         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16696         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16698 2013-10-04  Alan Modra  <amodra@gmail.com>
16700         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16701         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16702         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16703         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16704         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16705         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16706         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16707         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16708         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16709         use of regs.  Use power7 mtocrf.  Tidy function tails.
16711 2013-10-04  Alan Modra  <amodra@gmail.com>
16713         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16714         Formatting.  Consistently use rXXX register defines or rN defines.
16715         Use early exit labels that avoid restoring unused non-volatile regs.
16716         Make cr field use more consistent with rWORDn compares.  Rename
16717         regs used as shift registers for unaligned loop, using rN defines
16718         for short lifetime/multiple use regs.
16719         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16720         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16721         addi 1,1,64 to pop stack frame.  Simplify return value code.
16722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16724 2013-10-04  Alan Modra  <amodra@gmail.com>
16726         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16727         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16728         rather than rlwimi.
16729         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16730         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16731         little-endian support.  Correct typos.
16732         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16733         rather than rlwimi.
16734         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16735         in loop and entry code to keep "and." results.
16736         (strchr): Add little-endian support.  Comment.  Move cntlzd
16737         earlier in tail.
16738         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16740 2013-10-04  Alan Modra  <amodra@gmail.com>
16742         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16743         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16744         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16745         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16747 2013-10-04  Alan Modra  <amodra@gmail.com>
16749         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16750         (rTMP): Define as r11.
16751         (strcmp): Add little-endian support.  Optimise tail.
16752         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16753         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16754         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16755         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16756         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16758         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16760 2013-10-04  Alan Modra  <amodra@gmail.com>
16762         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16763         little-endian support.  Remove unnecessary "are we done" tests.
16764         Handle "s" wrapping around zero and extremely large "size".
16765         Correct main loop count.  Handle single left-over word from main
16766         loop inline rather than by using small_loop.  Correct comments.
16767         Delete "zero" tail, use "end_max" instead.
16768         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16770 2013-10-04  Alan Modra  <amodra@gmail.com>
16772         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16773         support.  Don't branch over align.
16774         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16775         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16776         support.  Rearrange tmp reg use to suit.  Comment.
16777         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16779 2013-10-04  Alan Modra  <amodra@gmail.com>
16781         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16783 2013-10-04  Alan Modra  <amodra@gmail.com>
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16786         conditional form of branch and link when obtaining pc.
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16789 2013-10-04  Alan Modra  <amodra@gmail.com>
16791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16792         HIWORD/LOWORD.
16793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16796 2013-10-04  Alan Modra  <amodra@gmail.com>
16798         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16799         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16800         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16801         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16802         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16803         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16804         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16805         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16806         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16807         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16809 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16810             Alistair Popple <alistair@ozlabs.au.ibm.com>
16811             Alan Modra <amodra@gmail.com>
16813         [BZ #15723]
16814         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16815         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16816         _dl_hwcap access for little-endian.
16817         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16818         destroy vmx regs when saving unaligned.
16819         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16820         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16821         destroy vmx regs when saving unaligned.
16823 2013-10-04  Alan Modra  <amodra@gmail.com>
16825         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16826         Don't use a union to pack hi/low value.
16828 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16830         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16831         for little-endian.
16832         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16834         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16835         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16836         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16838 2013-10-04  Alan Modra  <amodra@gmail.com>
16840         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16841         constants to usual value for .cst8 section, and remove redundant
16842         high address load.
16843         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16844         constant for 0x1p52.  Load little-endian words of double from
16845         correct stack offsets.
16847 2013-10-04  Alan Modra  <amodra@gmail.com>
16849         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16850         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16851         words of double from correct stack offsets.
16852         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16853         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16854         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16855         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16856         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16857         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16858         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16859         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16860         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16861         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16862         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16863         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16864         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16865         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16866         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16867         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16868         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16870 2013-10-04  Alan Modra  <amodra@gmail.com>
16872         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16873         64-bit int/double union.
16874         (_FPU_SETCW): Likewise.
16875         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16876         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16878 2013-10-04  Alan Modra  <amodra@gmail.com>
16880         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16881         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16883 2013-10-04  Alan Modra  <amodra@gmail.com>
16885         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16886         use vector int constants.
16887         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16889 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16891         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16892         array with long long.
16893         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16894         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16895         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16896         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16897         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16898         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16899         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16900         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16901         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16902         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16903         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16904         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16905         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16907 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16909         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16910         (__signbit): Likewise.  Correct for little-endian.
16911         (__signbitl): Call __signbit.
16912         (lrint): Correct for little-endian.
16913         (lrintf): Call lrint.
16915 2013-10-04  Alan Modra  <amodra@gmail.com>
16917         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16918         union 32-bit int array member with 64-bit int array.
16919         (t515, tm256): Double rather than long double.
16920         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16922 2013-10-04  Alan Modra  <amodra@gmail.com>
16924         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16925         Delete.
16926         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16928         version of math_ldbl.h.
16930 2013-10-04  Alan Modra  <amodra@gmail.com>
16932         [BZ #15734], [BZ #15735]
16933         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16934         all uses of ieee875 long double macros and unions.  Simplify test
16935         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16936         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16937         normalize after ldbl_extract_mantissa, and don't add hidden bit
16938         already handled.  Don't treat low word of ieee854 mantissa like
16939         low word of IBM long double and mask off bit when testing for
16940         zero.
16941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16942         all uses of ieee875 long double macros and unions.  Simplify tests
16943         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16944         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16945         two1022, instead use their values.  Recognise that tests for large
16946         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16947         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16948         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16949         test for 0.0L and nan.  Correct negation.
16950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16951         ieee875 long double macros and unions.  Correct output for large
16952         magnitude x.  Correct absolute value calculation.
16953         (__erfcl): Likewise.
16954         * math/libm-test.inc: Add tests for errors discovered in IBM long
16955         double versions of fmodl, remainderl, erfl and erfcl.
16957 2013-10-04  Alan Modra  <amodra@gmail.com>
16959         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16960         all uses of ieee854 long double macros and unions.  Simplify tests
16961         for long doubles that are fully specified by the high double.
16962         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16963         Likewise.
16964         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16965         Remove dead code too.
16966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16967         (__ieee754_ynl): Likewise.
16968         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16969         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16971         Remove dead code too.
16972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16973         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16974         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16975         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16976         Simplify.
16977         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16978         Simplify.
16979         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16980         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16981         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16982         Comment on variable precision.
16983         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16985         Likewise.
16986         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16987         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16988         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16989         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16990         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16992 2013-10-04  Alan Modra  <amodra@gmail.com>
16994         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16996         all uses of ieee854 long double macros and unions.
16997         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16998         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17000         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17001         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17002         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17003         Likewise.
17004         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17005         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17006         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17007         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17008         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17009         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17010         Simplify sign and nan test too.
17011         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17012         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17013         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17014         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17015         Likewise.
17016         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17017         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17018         Likewise.
17019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17020         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17021         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17022         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17023         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17026 2013-10-04  Alan Modra  <amodra@gmail.com>
17028         * stdio-common/printf_size.c (__printf_size): Don't use
17029         union ieee854_long_double in fpnum union.
17030         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17031         signbit macro to retrieve sign from long double.
17032         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17033         retrieve sign from long double.
17034         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17035         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17036         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17037         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17038         * math/test-misc.c (main): Don't use union ieee854_long_double.
17040 2013-10-04  Alan Modra  <amodra@gmail.com>
17042         [BZ #15680]
17043         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17044         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17045         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17046         calculation.  Remove unnecessary test for denormal exponent.
17047         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17048         Correct handling of denormals.  Avoid undefined shift behaviour.
17049         Correct normalisation of low mantissa when low double is denormal.
17050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17051         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17052         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17053         Correct normalisation of low mantissa.  Test for overflow of high
17054         mantissa and normalise.
17055         (ldbl_nearbyint): Use more readable constant for two52.
17056         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17057         (__mpn_construct_long_double): Fix test for overflow of high
17058         mantissa and correct normalisation.  Avoid undefined shift.
17060 2013-10-04  Alan Modra  <amodra@gmail.com>
17062         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17063         (union ibm_extended_long_double): Define as an array of ieee754_double.
17064         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17065         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17066         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17067         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17069         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17070         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17071         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17072         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17073         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17074         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17076 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17078         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17079         page size instead of calling getpagesize.
17081         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17082         (LOCFILE_ALIGN_MASK): Likewise.
17083         (LOCFILE_ALIGN_UP): Likewise.
17084         (LOCFILE_ALIGNED_P): Likewise.
17085         * locale/programs/ld-collate.c (collate_output): Use the new
17086         macros instead of __alignof__ (int32_t).
17087         * locale/weight.h (findidx): Likewise.
17089 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17091         [BZ #431]
17092         * manual/string.texi: Fix strncat and wcsncat.
17094 2013-10-03  Brooks Moses  <bmoses@google.com>
17096         [BZ #15915]
17097         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17098         * Makerules: ...here, and adjust associated comments.
17100 2013-10-02  Will Newton  <will.newton@linaro.org>
17102         * malloc/Makefile: Add tst-pvalloc.
17103         * malloc/tst-pvalloc.c: New file.
17105 2013-10-02  Will Newton  <will.newton@linaro.org>
17107         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17108         improve test coverage.
17110 2013-10-02  Will Newton  <will.newton@linaro.org>
17112         * malloc/Makefile: Add tst-posix_memalign.
17113         * malloc/tst-posix_memalign.c: New file.
17115 2013-10-01  Eric Blake  <eblake@redhat.com>
17117         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17118         Use __THROWNL rather than __THROW on static functions.
17120 2013-09-30  Petr Machata  <pmachata@redhat.com>
17122         * elf/elf.h (R_AARCH64_ABS16): New macro.
17123         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17124         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17125         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17126         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17127         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17128         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17129         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17130         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17131         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17132         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17133         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17134         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17135         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17136         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17137         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17138         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17139         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17140         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17141         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17142         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17143         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17144         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17145         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17146         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17147         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17148         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17149         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17150         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17151         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17152         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17153         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17154         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17155         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17156         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17157         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17158         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17159         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17160         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17161         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17162         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17163         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17164         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17165         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17166         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17167         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17168         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17169         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17170         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17171         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17172         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17173         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17174         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17175         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17176         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17177         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17178         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17179         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17180         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17181         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17182         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17183         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17184         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17185         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17186         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17187         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17188         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17189         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17190         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17191         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17192         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17193         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17194         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17195         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17196         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17197         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17198         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17199         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17200         (R_AARCH64_TLSDESC_LDR): Likewise.
17201         (R_AARCH64_TLSDESC_ADD): Likewise.
17202         (R_AARCH64_TLSDESC_CALL): Likewise.
17204 2013-09-30  Andreas Schwab  <schwab@suse.de>
17206         [BZ #15048]
17207         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17208         the nss database lookup.
17209         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17212 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17214         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17216 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17218         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17219         ${Bash-specific parameter/pattern/string} parameter expansion.
17220         * sysdeps/unix/make-syscalls.sh: Likewise.
17222 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17224         * sysdeps/sh/stackguard-macros.h: New file.
17226 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17230         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17231         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17232         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17233         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17235 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17237         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17238         Fix thread ID register.
17240 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17242         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17243         [POSIX || UNIX98]: Require rather than permitting all symbols from
17244         <time.h>.
17245         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17246         element of struct sched_param.
17247         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17248         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17249         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17250         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17251         constant.
17253 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17255         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17256         argument calculation.
17258 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17260         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17261         Expect macro.
17262         [POSIX] (pthread_attr_t): Do not require type.
17263         [POSIX] (pthread_cond_t): Likewise.
17264         [POSIX] (pthread_condattr_t): Likewise.
17265         [POSIX] (pthread_key_t): Likewise.
17266         [POSIX] (pthread_mutex_t): Likewise.
17267         [POSIX] (pthread_mutexattr_t): Likewise.
17268         [POSIX] (pthread_once_t): Likewise.
17269         [POSIX] (pthread_t): Likewise.
17270         [POSIX-based standards] (pthread_atfork): Expect function.
17272 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17273             Richard Sandiford  <richard@codesourcery.com>
17275         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17276         (swap_endianness_p): New extern variable.
17277         (set_big_endian): New inline function.
17278         (maybe_swap_uint32): Likewise.
17279         (maybe_swap_uint32_array): Likewise.
17280         (maybe_swap_uint32_obstack): Likewise.
17281         * locale/programs/locfile.c: Include <stdbool.h>.
17282         (swap_endianness_p): New variable.
17283         (add_locale_uint32): Call maybe_swap_uint32.
17284         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17285         (write_locale_data): Call maybe_swap_uint32_array.
17286         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17287         maybe_swap_uint32.
17288         (obstack_int32_grow_fast): Likewise.
17289         (output_weightwc): Call maybe_swap_uint32_obstack.
17290         (collate_output): Likewise.
17291         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17292         (OPT_LITTLE_ENDIAN): Likewise.
17293         (options): Add --little-endian and --big-endian options.
17294         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17295         * locale/programs/locarchive.c: Include "locfile.h".
17296         (GET): New macro.
17297         (SET): Likewise.
17298         (INC): Likewise.
17299         (create_archive): Use the new macros to access fields of
17300         structures directly mapped from or written to locale archives.
17301         (oldlocrecentcmp): Likewise.
17302         (enlarge_archive): Likewise.
17303         (insert_name): Likewise.
17304         (add_alias): Likewise.
17305         (add_locale): Likewise.
17306         (delete_locales_from_archive): Likewise.
17307         (show_archive_content): Likewise.
17308         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17309         locale data.
17311 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17313         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17314         http://www.gnu.org/doc/freemanuals.texi.
17315         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17317 2013-09-24  Will Newton  <will.newton@linaro.org>
17319         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17320         macro.
17322 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17324         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17325         unsigned char.
17327 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17329         * manual/threads.texi (POSIX Threads): Fix a typo.
17331 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17333         [BZ #14547]
17334         * string/tst-strcoll-overflow.c: New test case.
17335         * string/Makefile (xtests): Add tst-strcoll-overflow.
17336         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17337         cache if string sizes may cause integer overflow.
17339         [BZ #14547]
17340         * string/strcoll_l.c (coll_seq): New members rule, idx,
17341         save_idx and back_us.
17342         (get_next_seq_nocache): New function.
17343         (do_compare_nocache): New function.
17344         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17345         when malloc fails.
17347 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17349         [BZ #15754]
17350         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17351         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17352         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17354         [BZ #15754]
17355         * elf/Makefile (tests): Add tst-ptrguard1.
17356         (tests-static): Add tst-ptrguard1-static.
17357         (tst-ptrguard1-ARGS): Define.
17358         (tst-ptrguard1-static-ARGS): Define.
17359         * elf/tst-ptrguard1.c: New file.
17360         * elf/tst-ptrguard1-static.c: New file.
17361         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17362         * sysdeps/i386/stackguard-macros.h: Likewise.
17363         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17364         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17365         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17366         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17367         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17368         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17370 2013-09-23  Hector Marco  <hecmargi@upv.es>
17371             Ismael Ripoll  <iripoll@disca.upv.es>
17372             Carlos O'Donell  <carlos@redhat.com>
17374         [BZ #15754]
17375         * sysdeps/generic/stackguard-macros.h: Define
17376         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17377         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17378         Define __pointer_chk_guard_local.
17379         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17380         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17382 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17384         [BZ #15859]
17385         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17387 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17389         * include/string.h (__ffs): Declare as hidden.
17390         * string/ffs.c (__ffs): Define as hidden.
17391         * sysdeps/i386/ffs.c (__ffs): Likewise.
17392         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17393         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17394         * sysdeps/s390/ffs.c (__ffs): Likewise.
17395         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17397 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17399         * NEWS: Mention malloc probes.
17401         * malloc/arena.c (new_heap): New memory_heap_new probe.
17402         (grow_heap): New memory_heap_more probe.
17403         (shrink_heap): New memory_heap_less probe.
17404         (heap_trim): New memory_heap_free probe.
17405         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17406         (systrim): New memory_sbrk_less probe.
17407         * manual/probes.texi: Document them.
17409         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17410         * manual/probes.texi: Document it.
17412         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17413         (__libc_realloc): Add memory_realloc_retry probe.
17414         (__libc_memalign): Add memory_memalign_retry probe.
17415         (__libc_valloc): Add memory_valloc_retry probe.
17416         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17417         (__libc_calloc): Add memory_calloc_retry probe.
17418         * manual/probes.texi: Document them.
17420         * malloc/arena.c (get_free_list): Add probe
17421         memory_arena_reuse_free_list.
17422         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17423         and memory_arena_reuse.
17424         (arena_get2) [!PER_THREAD]: Likewise.
17425         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17426         memory_arena_reuse_realloc.
17427         * manual/probes.texi: Document them.
17429         * malloc/malloc.c (__libc_free): Add
17430         memory_mallopt_free_dyn_thresholds probe.
17431         (__libc_mallopt): Add multiple memory_mallopt probes.
17432         * manual/probes.texi: Document them.
17434         * malloc/malloc.c: Include stap-probe.h.
17435         (__libc_mallopt): Add memory_mallopt probe.
17436         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17437         * manual/probes.texi: New.
17438         * manual/Makefile (chapters): Add probes.
17439         * manual/threads.texi: Set next node.
17441 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17443         [BZ #15963, #13985]
17444         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17445         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17446         Add `Chinese' to `nan' entry name.
17448 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17450         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17451         (POLYNOMIAL): Likewise.
17452         (TAYLOR_SINCOS): Likewise.
17453         (TAYLOR_SLOW): Likewise.
17454         (__sin): Use TAYLOR_SINCOS.
17455         (__cos): Likewise.
17456         (slow): Use TAYLOR_SLOW.
17457         (sloww): Likewise.
17458         (bsloww): Likewise.
17459         (csloww): Likewise.
17461 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17463         * stdlib/strtod_l.c: Fix buffer overrun.
17465 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17467         * benchtests/Makefile (bench): Add sincos.
17468         * benchtests/bench-sincos.c: New file.
17470         * math/libm-test.inc (cos_test_data): New test inputs.
17471         (sin_test_data): Likewise.
17473         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17474         macro.
17475         (__sin): Use it.
17476         (__cos): Likewise.
17477         (slow1): Likewise.
17478         (slow2): Likewise.
17479         (sloww1): Likewise.
17480         (sloww2): Likewise.
17481         (bsloww1): Likewise.
17482         (bsloww2): Likewise.
17483         (cslow2): Likewise.
17484         (csloww1): Likewise.
17485         (csloww2): Likewise.
17487         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17488         function.
17489         (__sin): Use it.
17490         (__cos): Likewise.
17492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17493         gotos.
17494         (__cos): Likewise.
17496 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17498         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17499         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17500         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17501         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17502         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17503         * elf/cache.c (print_entry): Handle the new cache flags.
17505 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17506             Aldy Hernandez  <aldyh@redhat.com>
17508         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17509         Change condition to [_SOFT_FLOAT].
17510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17522         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17525         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17526         declaration.
17528 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17530         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17531         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17532         (__longjmp): Use LOAD_GP to load saved GPRs.
17533         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17534         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17535         (__sigsetjmp): Use SAVE_GP to save GPRs.
17537         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17538         Do not append -msoft-float.
17539         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17541 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17545 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17547         [BZ #15966]
17548         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17549         (_FPU_GETCW): Use initial "__" on variable and field names but not
17550         on macro parameter name.
17551         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17552         parentheses around reference to macro parameter.
17554 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17556         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17557         prototype.
17558         (ctype_startup): Use uint32_t in cast and sizeof for
17559         ctype->charnames.
17561 2013-09-11  Jia Liu  <proljc@gmail.com>
17563         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17564         __daddr_t_defined.
17565         [__FreeBSD__]: Likewise.
17567 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17570         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17571         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17572         (strchr): Remove __strchr_sse42 ifunc selection.
17573         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17574         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17576 2013-09-11  Will Newton  <will.newton@linaro.org>
17578         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17579         parameter to RES. Remove hardcoded 1000 value.
17580         * benchtests/bench-skeleton.c (main): Pass RES parameter
17581         to TIMING_INIT and multiply result by 1000.
17583 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17587 2013-09-11  Andreas Schwab  <schwab@suse.de>
17589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17590         if not defined.
17591         (O_TMPFILE) [__USE_GNU]: Define.
17592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17593         Define.
17595 2013-09-11  Will Newton  <will.newton@linaro.org>
17597         [BZ #15857]
17598         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17599         does not overflow.
17601 2013-09-11  Will Newton  <will.newton@linaro.org>
17603         [BZ #15856]
17604         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17605         does not overflow.
17607 2013-09-11  Will Newton  <will.newton@linaro.org>
17609         [BZ #15855]
17610         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17611         does not overflow.
17613 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17615         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17616         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17617         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17618         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17619         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17621 2013-09-10  Allan McRae  <allan@archlinux.org>
17623         [BZ #15748]
17624         * manual/arith.texi (Parsing of Floats): Clarify
17625         cross-reference.
17627         [BZ #15849]
17628         * manual/install.texi (Running make install): Mention
17629         --enable-pt-chown.
17630         * INSTALL: Regenerated.
17632 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17634         * csu/init-first.c (_init): Remove the !SHARED condition around
17635         FPU control word initialization.
17636         * elf/dl-support.c (_dl_fpu_control): New variable.
17637         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17638         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17639         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17640         * math/test-fpucw-static.c: New file.
17641         * math/test-fpucw-ieee.c: New file.
17642         * math/test-fpucw-ieee-static.c: New file.
17643         * math/Makefile (tests): Add `test-fpucw-ieee' and
17644         `$(tests-static)'.
17645         (tests-static): New variable.
17646         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17647         dependency to...
17648         [($(build-shared),yes)]
17649         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17650         ... this.
17651         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17652         New dependency.
17654 2013-09-09  Allan McRae  <allan@archlinux.org>
17656         [BZ #15939]
17657         * manual/string.texi (Collation Functions): Fix typo in
17658         strcoll example.
17659         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17661         [BZ #15893]
17662         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17664         [BZ #15892]
17665         * libio/memstream.c (open_memstream): Fix memory leak.
17666         * libio/wmemstream.c (open_wmemstream): Likewise.
17668         [BZ #15895]
17669         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17671 2013-09-09  Will Newton  <will.newton@linaro.org>
17673         * malloc/Makefile: Add tst-realloc to tests.
17674         * malloc/tst-realloc.c: New file.
17676 2013-09-09  Allan McRae  <allan@archlinux.org>
17678         [BZ #15844]
17679         * COPYING: Update from GNU website to fix FSF address.
17680         * COPYING.LIB: Likewise.
17682 2013-09-06  David S. Miller  <davem@davemloft.net>
17684         * po/zh_TW.po: Update Chinese (traditional) translation from
17685         translation project.
17687 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17688             Joseph Myers  <joseph@codesourcery.com>
17690         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17691         "localeinfo.h".
17692         (obstack_chunk_alloc): New macro.
17693         (obstack_chunk_free): Likewise.
17694         (record_offset): New function.
17695         (init_locale_data): Likewise.
17696         (align_locale_data): Likewise.
17697         (add_locale_empty): Likewise.
17698         (add_locale_raw_data): Likewise.
17699         (add_locale_raw_obstack): Likewise.
17700         (add_locale_string): Likewise.
17701         (add_locale_wstring): Likewise.
17702         (add_locale_uint32): Likewise.
17703         (add_locale_uint32_array): Likewise.
17704         (add_locale_char): Likewise.
17705         (start_locale_structure): Likewise.
17706         (end_locale_structure): Likewise.
17707         (start_locale_prelude): Likewise.
17708         (end_locale_prelude): Likewise.
17709         (write_locale_data): Take locale_file structure rather than an
17710         iovec.
17711         * locale/programs/locfile.h: Include "obstack.h".
17712         (struct locale_file): Change to store locale file contents instead
17713         of header.
17714         (init_locale_data): New prototype.
17715         (align_locale_data): Likewise.
17716         (add_locale_empty): Likewise.
17717         (add_locale_raw_data): Likewise.
17718         (add_locale_raw_obstack): Likewise.
17719         (add_locale_string): Likewise.
17720         (add_locale_wstring): Likewise.
17721         (add_locale_uint32): Likewise.
17722         (add_locale_uint32_array): Likewise.
17723         (add_locale_char): Likewise.
17724         (start_locale_structure): Likewise.
17725         (end_locale_structure): Likewise.
17726         (start_locale_prelude): Likewise.
17727         (end_locale_prelude): Likewise.
17728         (write_locale_data): Update prototype.
17729         * locale/programs/3level.h (struct TABLE): Remove result field.
17730         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17731         Use new locale_file interface.
17732         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17733         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17734         * locale/programs/ld-address.c (address_output): Use new
17735         locale_file interface.
17736         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17737         NO_ADD_LOCALE.
17738         (collate_finish): Don't call collseq_table_finalize.
17739         (collate_output): Use new locale_file interface.
17740         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17741         in file.
17742         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17743         (TABLE): Move defines earlier in file.
17744         (ELEMENT): Likewise.
17745         (DEFAULT): Likewise.
17746         (wctrans_table_add): Move macro and inline function earlier in
17747         file.
17748         (struct wctype_table): Move type earlier in file.
17749         (add_locale_wctype_table): New static prototype.
17750         (struct locale_ctype_t): Use logical types instead of struct iovec
17751         pointers for members.
17752         (ctype_output): Use new locale_file interface.
17753         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17754         new locale_file interface.
17755         (allocate_arrays): Update for use of new locale_file interface.
17756         * locale/programs/ld-identification.c (identification_output): Use
17757         new locale_file interface.
17758         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17759         * locale/programs/ld-messages.c (messages_output): Likewise.
17760         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17761         * locale/programs/ld-name.c (name_output): Likewise.
17762         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17763         * locale/programs/ld-paper.c (paper_output): Likewise.
17764         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17765         * locale/programs/ld-time.c (time_output): Likewise.
17767 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17769         * benchtests/Makefile: Add memrchr benchmark.
17770         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17771         benchmark as memrchr.
17772         * benchtests/bench-memrchr-ifunc.c: New file.
17773         * benchtests/bench-memrchr.c: New file.
17775 2013-09-06   Will Newton  <will.newton@linaro.org>
17777         * benchtests/Makefile (string-bench): Add memcpy.
17779 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17780             Cong Wang  <amwang@redhat.com>
17782         [BZ #15850]
17783         * sysdeps/unix/sysv/linux/bits/in.h
17784         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17785         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17786         before __USE_KERNEL_IPV6_DEFS uses.
17787         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17788         IPPROTO_BEETPH.
17789         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17790         sockaddr_in6, or ipv6_mreq.
17792 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17794         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17795         memory access for final bytes in some large inputs.
17796         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17798 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17800         * string/test-memrchr.c: New file.
17801         * string/test-memrchr-ifunc.c: New file.
17802         * string/Makefile: Add new memrchr testcase.
17804 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17806         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17807         fanotify_init returns EPERM.
17809 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17811         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17812         errors.
17813         (top level): Treat second token from macro or constant entries for
17814         allowed headers as allowed.
17815         * include/complex.h: Condition internal declarations on
17816         [!_ISOMAC].
17817         * include/fenv.h: Condition include of <stdbool.h> and internal
17818         declarations on [!_ISOMAC].
17820 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17822         [BZ #15923]
17823         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17825 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17827         * configure.in (--enable-versioning): Remove configure option.
17828         (libc_cv_asm_symver_directive): Remove configure test.
17829         (libc_cv_ld_version_script_option): Likewise.
17830         (VERSIONING): Remove variable and AC_SUBST.
17831         (DO_VERSIONING): Remove AC_DEFINE.
17832         * configure: Regenerated.
17833         * config.h.in (DO_VERSIONING): Remove macro.
17834         * Makerules [$(versioning) = yes]: Change conditionals to
17835         [$(build-shared) = yes].
17836         * config.make.in (versioning): Remove variable.
17837         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17838         [$(build-shared) = yes].
17839         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17840         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17841         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17842         [$(build-shared) = yes].
17843         * extra-lib.mk [$(versioning) = yes]: Likewise.
17844         * hurd/Makefile [$(versioning) = yes]: Likewise.
17845         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17846         [SHARED].
17847         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17848         [SHARED].
17849         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17850         [SHARED && !NO_HIDDEN].
17851         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17852         [SHARED].
17853         [SHARED && DO_VERSIONING]: Likewise..
17854         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17855         [$(build-shared) = yes].
17856         * manual/install.texi (--disable-versioning): Remove
17857         documentation.
17858         * INSTALL: Regenerated.
17859         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17860         to [SHARED].
17861         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17862         [$(build-shared) = yes].
17863         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17864         * sysdeps/i386/i686/multiarch/strstr-c.c
17865         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17866         [SHARED && !NO_HIDDEN].
17867         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17868         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17869         * sysdeps/powerpc/powerpc32/dl-machine.c
17870         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17871         * sysdeps/powerpc/powerpc32/sysdep.h
17872         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17873         to [SHARED && PIC && !NO_HIDDEN].
17874         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17875         conditional to [SHARED].
17877 2013-09-04   Will Newton  <will.newton@linaro.org>
17879         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17880         * benchtests/bench-string.h: Include bench-timing.h instead
17881         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17882         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17883         call to HP_TIMING_DIFF_INIT.
17884         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17885         instead of hp-timing.h macros.
17886         * benchtests/bench-memchr.c: Likewise.
17887         * benchtests/bench-memcmp.c: Likewise.
17888         * benchtests/bench-memcpy.c: Likewise.
17889         * benchtests/bench-memmem.c: Likewise.
17890         * benchtests/bench-memmove.c: Likewise.
17891         * benchtests/bench-memset.c: Likewise.
17892         * benchtests/bench-rawmemchr.c: Likewise.
17893         * benchtests/bench-strcasecmp.c: Likewise.
17894         * benchtests/bench-strcasestr.c: Likewise.
17895         * benchtests/bench-strcat.c: Likewise.
17896         * benchtests/bench-strchr.c: Likewise.
17897         * benchtests/bench-strcmp.c: Likewise.
17898         * benchtests/bench-strcpy.c: Likewise.
17899         * benchtests/bench-strcpy_chk.c: Likewise.
17900         * benchtests/bench-strlen.c: Likewise.
17901         * benchtests/bench-strncasecmp.c: Likewise.
17902         * benchtests/bench-strncat.c: Likewise.
17903         * benchtests/bench-strncmp.c: Likewise.
17904         * benchtests/bench-strncpy.c: Likewise.
17905         * benchtests/bench-strnlen.c: Likewise.
17906         * benchtests/bench-strpbrk.c: Likewise.
17907         * benchtests/bench-strrchr.c: Likewise.
17908         * benchtests/bench-strspn.c: Likewise.
17909         * benchtests/bench-strstr.c: Likewise.
17911 2013-09-04  Will Newton  <will.newton@linaro.org>
17913         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17915 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17917         [BZ #15427]
17918         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17919         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17920         * math/libm-test.inc (lgamma_test_data): Add more tests.
17921         * sysdeps/i386/fpu/libm-test-ulps: Update.
17922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17924 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17926         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17928         Add ifunc.
17929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17930         Add strcmp-sse2-unaligned
17931         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17933 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17935         * Versions.def (libc): Add GLIBC_2.19.
17937 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17939         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17940         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17942 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17944         [BZ #14155]
17945         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17946         intermediate calculations in recurrence.
17947         (__ieee754_ynf): Likewise.
17948         * math/libm-test.inc (jn_test_data): Do not allow spurious
17949         underflow exception.  Add more tests.
17950         (yn_test_data): Add more tests.
17951         * sysdeps/i386/fpu/libm-test-ulps: Update.
17952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17954 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17956         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17958 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17960         * csu/init-first.c: Fix then/than typos.
17961         * locale/programs/ld-collate.c: Likewise.
17962         * locale/programs/linereader.h: Likewise.
17963         * manual/charset.texi: Likewise.
17964         * manual/filesys.texi: Likewise.
17965         * manual/stdio.texi: Likewise.
17966         * manual/string.texi: Likewise.
17967         * stdlib/fmtmsg.c: Likewise.
17968         * sysdeps/i386/stpncpy.S: Likewise.
17969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17970         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17971         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17972         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17974 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17976         * elf/dl-open.c: Fix typos.
17977         * iconvdata/gbbig5.c: Likewise.
17978         * iconvdata/iso-2022-jp.c: Likewise.
17979         * iconv/gconv_int.h: Likewise.
17980         * iconv/loop.c: Likewise.
17981         * nis/rpcsvc/nis.h: Likewise.
17982         * resolv/ns_name.c: Likewise.
17983         * stdio-common/vfscanf.c: Likewise.
17984         * streams/stropts.h: Likewise.
17985         * sunrpc/rpc_thread.c: Likewise.
17986         * sysdeps/i386/strpbrk.S: Likewise.
17987         * sysdeps/ieee754/k_standard.c: Likewise.
17988         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17989         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17990         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17991         * sysdeps/mach/hurd/profil.c: Likewise.
17992         * sysdeps/s390/dl-procinfo.h: Likewise.
17993         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17994         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17995         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17996         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17997         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17999 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18001         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18002         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18004 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18006         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18007         aix specific files.
18008         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18009         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18010         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18011         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18012         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18013         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18014         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18015         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18017 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18018             Roland McGrath  <roland@hack.frob.com>
18020         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18021         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18023 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18025         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18026         __executable_start symbol instead of _start.
18028 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18030         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18031         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18032         Move macros to...
18033         * sysdeps/gnu/ldsodefs.h: ... this new file.
18035         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18036         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18037         instead of ELFOSABI_LINUX.
18039         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18040         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18041         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18042         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18043         Likewise.
18044         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18045         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18046         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18047         Likewise.
18048         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18049         (ibm_extended_long_double): Add ieee_nan member.
18050         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18051         (do_test): New function.
18053         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18054         TEST_TRUNC.
18055         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18056         functions, renamed from truncdfsf_test, trunctfsf_test,
18057         trunctfdf_test.
18058         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18059         functions.
18060         (do_test): Run all these.
18062 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18064         * argp/argp-help.c: Fix typos.
18065         * argp/argp-parse.c: Likewise.
18066         * debug/backtracesyms.c: Likewise.
18067         * elf/elf.h: Likewise.
18068         * malloc/malloc.c: Likewise.
18069         * nis/nis_print.c: Likewise.
18070         * resolv/res_comp.c: Likewise.
18071         * stdlib/stdlib.h: Likewise.
18072         * sunrpc/clnt_tcp.c: Likewise.
18073         * sunrpc/clnt_udp.c: Likewise.
18074         * sunrpc/clnt_unix.c: Likewise.
18075         * sysdeps/unix/bsd/ptsname.c: Likewise.
18076         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18077         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18079         Likewise.
18080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18081         Likewise.
18082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18083         Likewise.
18084         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18086 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18088         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18091 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18093         [BZ #15897]
18094         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18095         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18096         ($(objpfx)bug-dl-leaf): New rule.
18097         ($(objpfx)bug-dl-leaf.so): Likewise.
18098         ($(objpfx)bug-dl-leaf.out): Likewise.
18099         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18100         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18101         * dlfcn/bug-dl-leaf.c: New test.
18102         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18103         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18104         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18105         (dlclose): Likewise.
18106         (dlmopen): Likewise.
18108 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18110         * include/netdb.h [!_ISOMAC]:
18111         Don't include <tls.h>.
18112         (h_errno, __libc_h_errno): Move declaration and macros out of
18113         [_LIBC_REENTRANT].
18115         * include/resolv.h [_RESOLV_H_]:
18116         Don't include <tls.h>.
18117         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18118         * resolv/res_libc.c: Don't include <tls.h>.
18119         (_res): Use __attribute__ ((nocommon)) in place of
18120         __attribute__ ((section (".bss"))).
18122         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18123         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18125         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18127         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18128         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18130         * resolv/res_mkquery.c: Include <sys/time.h>.
18132         * inet/ifreq.c: Moved to ...
18133         * sysdeps/unix/ifreq.c: ... here.
18134         * inet/ifreq.c: New file, true stub version.
18136         * socket/sa_len.c: New file.
18137         * socket/Makefile (aux): Add it.
18138         * sysdeps/unix/sysv/linux/Makefile
18139         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18140         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18141         and #include <socket/sa_len.c>.
18142         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18143         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18145         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18146         * bits/socket.h: ... here.
18148         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18149         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18150         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18152 2013-08-27  Andreas Schwab  <schwab@suse.de>
18154         [BZ #15736]
18155         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18156         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18157         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18158         * string/test-strcasecmp.c (test_main): Run tests in several
18159         locales.
18160         * string/test-strncasecmp.c (test_main): Likewise.
18162         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18163         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18164         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18166         (__strncasecmp_ssse3) [PIC]: Likewise.
18168 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18170         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18172         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18173         instead of explicitly declaring xdecrypt.
18174         * nis/nss_nis/nis-publickey.c: Likewise.
18176 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18178         [BZ #15890]
18179         * nscd/aicache.c: Include res_hconf.h.
18180         (addhstaiX): Initialize res_hconf.
18182 2013-08-26  Andreas Schwab  <schwab@suse.de>
18184         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18185         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18187 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18189         * nscd/aicache.c (addhstaiX): Fix indentation.
18191 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18193         * configure.ac: Quote $build_pt_chown test.
18194         * configure: Regenerated.
18196 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18198         [BZ #15532]
18199         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18200         * math/s_cexpf.c (__cexpf): Likewise.
18201         * math/s_cexpl.c (__cexpl): Likewise.
18202         * math/libm-test.inc (cexp_test_data): Correct expected return
18203         value for NaN + i0.  Add another test.
18205 2013-08-22  David S. Miller  <davem@davemloft.net>
18207         * po/ca.po: Update Catalan translation from translation project.
18208         * po/uk.po: Add Ukrainian translations from translation project.
18210 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18212         [BZ #15797]
18213         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18214         is infinite, not alongside NaN test.
18215         * math/s_fdimf.c (__fdimf): Likewise.
18216         * math/s_fdiml.c (__fdiml): Likewise.
18217         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18218         errno is unchanged.
18220 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18222         * argp/argp-help.c: Fix typos.
18223         * crypt/speeds.c: Likewise.
18224         * csu/check_fds.c: Likewise.
18225         * elf/dl-load.c: Likewise.
18226         * elf/dl-open.c: Likewise.
18227         * elf/reldep3.c: Likewise.
18228         * elf/reldep.c: Likewise.
18229         * elf/sprof.c: Likewise.
18230         * iconv/iconv_charmap.c: Likewise.
18231         * iconv/skeleton.c: Likewise.
18232         * iconv/strtab.c: Likewise.
18233         * io/lockf64.c: Likewise.
18234         * libio/libioP.h: Likewise.
18235         * resolv/gai_notify.c: Likewise.
18236         * resolv/ns_name.c: Likewise.
18237         * resolv/ns_samedomain.c: Likewise.
18238         * resolv/res_send.c: Likewise.
18239         * stdlib/random.c: Likewise.
18240         * sunrpc/rpc/xdr.h: Likewise.
18241         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18242         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18243         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18244         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18245         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18248         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18249         * sysdeps/mach/hurd/check_fds.c: Likewise.
18250         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18251         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18253         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18254         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18255         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18256         * sysdeps/pthread/aio_notify.c: Likewise.
18257         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18258         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18259         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18260         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18261         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18263 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18265         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18266         version if bit_Slow_SSE4_2 is set.
18267         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18268         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18270 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18272         [BZ #15867]
18273         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18274         trampoline stack frame information.
18275         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18276         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18277         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18278         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18279         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18280         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18281         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18282         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18283         sa_flags value.
18284         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18285         interrupting a syscall and set with option SA_SIGINFO.
18287 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18289         [BZ #15531]
18290         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18291         argument is infinite.
18292         * math/s_cprojf.c (__cprojf): Likewise.
18293         * math/s_cprojl.c (__cprojl): Likewise.
18294         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18295         * math/libm-test.inc (cproj_test_data): Add more tests.
18297         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18299         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18300         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18301         size.  Use __ffs to determine corresponding shift.
18303 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18304             Roland McGrath  <roland@hack.frob.com>
18306         * Makefile (INSTALL): Remove trailing blank lines from output of
18307         makeinfo.
18309 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18311         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18312         Align 32 bit compat elf_greg to 8 bytes.
18314 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18316         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18318 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18320         * string/strcoll_l.c (coll_seq): New structure.
18321         (get_next_seq_cached): New function.
18322         (get_next_seq): New function.
18323         (do_compare): New function.
18324         (STRCOLL): Use GNU style definition.  Simplify implementation
18325         by using get_next_seq, get_next_seq_cached and do_compare.
18327 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18329         [BZ #14699]
18330         CVE-2013-4237
18331         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18332         member.
18333         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18334         member.
18335         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18336         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18337         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18338         conditional.
18339         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18340         GETDENTS_64BIT_ALIGNED.
18341         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18342         * manual/filesys.texi (Reading/Closing Directory): Document
18343         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18344         strongly.
18345         * manual/conf.texi (Limits for Files): Add portability note to
18346         NAME_MAX, PATH_MAX.
18347         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18349 2013-08-13  Andreas Schwab  <schwab@suse.de>
18351         [BZ #15749]
18352         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18353         of fabs.
18354         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18355         LDBL_MAX_EXP >= 16384]: Add tests for it.
18357 2013-08-12  David S. Miller  <davem@davemloft.net>
18359         * version.h (RELEASE): Set to "development".
18360         (VERSION): Set to "2.18.90".
18361         * NEWS: Add 2.19 section.
18363 2013-08-03  David S. Miller  <davem@davemloft.net>
18365         * po/ko.po: Update Korean translation from translation project.
18367 2013-08-01  David S. Miller  <davem@davemloft.net>
18369         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18370         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18371         Bilka.
18373 2013-07-30  David S. Miller  <davem@davemloft.net>
18375         * po/fr.po: Update French translation from translation project.
18377 2013-07-28  David S. Miller  <davem@davemloft.net>
18379         * po/cs.po: Update Czech translation from translation project.
18381         * po/sv.po: Update Swedish translation from translation project.
18383 2013-07-27  David S. Miller  <davem@davemloft.net>
18385         * po/eo.po: Update Esperanto translation from translation project.
18387         * po/vi.po: Update Vietnamese translation from translation project.
18389         * po/de.po: Update German translation from translation project.
18391 2013-07-26  David S. Miller  <davem@davemloft.net>
18393         * po/bg.po: Update Bulgarian translation from translation project.
18395         * po/nl.po: Update Dutch translation from translation project.
18396         * po/pl.po: Update Polish translation from translation project.
18397         * po/ru.po: Update Russian translation from translation project.
18399 2013-07-24  David S. Miller  <davem@davemloft.net>
18401         * po/libc.pot: Update.
18403 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18405         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18406         variable page size.
18407         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18408         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18409         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18411 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18413         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18415 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18416             Andreas Schwab  <schwab@suse.de>
18417             Roland McGrath  <roland@hack.frob.com>
18418             Joseph Myers  <joseph@codesourcery.com>
18419             Carlos O'Donell  <carlos@redhat.com>
18421         [BZ #15755]
18422         * config.h.in: Define HAVE_PT_CHOWN.
18423         * config.make.in (build-pt-chown): New variable.
18424         * configure.in (--enable-pt_chown): New configure option.
18425         * configure: Regenerate.
18426         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18427         build-pt-chown is enabled.
18428         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18429         pt_chown to fix pty ownership.
18430         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18431         CLOSE_ALL_FDS.
18432         * manual/install.texi (Configuring and compiling): Mention
18433         --enable-pt_chown. Add @findex for grantpt.
18434         * INSTALL: Regenerate.
18436 2013-07-20  David S. Miller  <davem@davemloft.net>
18438         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18439         difference between 32-bit and 64-bit.
18441 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18443         [BZ #15711]
18444         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18445         Avoid system header dependency with -ffreestanding.
18446         ($(objpfx)bits/syscall%d): Likewise.
18448 2013-07-13  David S. Miller  <davem@davemloft.net>
18450         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18451         underflows from atanl/atan2l due to bug 15319.
18452         (casinh_test_data): Likewise.
18454 2013-07-07  David S. Miller  <davem@davemloft.net>
18456         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18458 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18460         * sysdeps/i386/fpu/libm-test-ulps: Update.
18461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18463 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18465         * configure.in (--enable-lock-elision): Fix message text.
18466         * INSTALL: Regenerate.
18467         * configure: Regenerate.
18469 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18473 2013-07-03  Andreas Jaeger  <aj@suse.de>
18475         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18476         define.
18477         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18478         (ptrace_peeksiginfo_args): Add.
18479         (__ptrace_peeksiginfo_flags): Add.
18480         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18481         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18482         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18484 2013-07-03  Allan McRae  <allan@archlinux.org>
18486         * sysdeps/i386/fpu/libm-test-ulps: Update.
18488 2013-07-02  David S. Miller  <davem@davemloft.net>
18490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18492 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18496 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18498         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18501 2013-07-02  Andi Kleen <ak@linux.intel.com>
18503         * config.h.in (ENABLE_LOCK_ELISION): Add.
18504         * configure.in (--enable-lock-elision): Add option.
18505         * manual/install.texi: Document --enable lock elision.
18506         * configure: Regenerate
18507         * INSTALL: Regenerate.
18509 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18511         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18512         SSE4.2 strcasecmp for libc.a.
18513         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18515 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18517         [BZ #13304]
18518         * soft-fp/op-common.h (_FP_FMA): New macro.
18519         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18520         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18521         (_FP_MUL_MEAT_1_imm): ... here.
18522         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18523         (_FP_MUL_MEAT_1_wide): ... here.
18524         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18525         (_FP_MUL_MEAT_1_hard): ... here.
18526         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18527         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18528         (_FP_MUL_MEAT_2_wide): ... here.
18529         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18530         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18531         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18532         (_FP_MUL_MEAT_2_gmp): ... here.
18533         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18534         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18535         (_FP_MUL_MEAT_4_wide): ... here.
18536         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18537         (_FP_MUL_MEAT_4_gmp): ... here.
18538         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18539         (_FP_WFRACBITS_DW_S): Likewise.
18540         (_FP_WFRACXBITS_DW_S): Likewise.
18541         (_FP_HIGHBIT_DW_S): Likewise.
18542         (FP_FMA_S): Likewise.
18543         (_FP_FRAC_HIGH_DW_S): Likewise.
18544         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18545         (_FP_WFRACBITS_DW_D): Likewise.
18546         (_FP_WFRACXBITS_DW_D): Likewise.
18547         (_FP_HIGHBIT_DW_D): Likewise.
18548         (FP_FMA_D): Likewise.
18549         (_FP_FRAC_HIGH_DW_D): Likewise.
18550         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18551         (_FP_WFRACBITS_DW_E): Likewise.
18552         (_FP_WFRACXBITS_DW_E): Likewise.
18553         (_FP_HIGHBIT_DW_E): Likewise.
18554         (FP_FMA_E): Likewise.
18555         (_FP_FRAC_HIGH_DW_E): Likewise.
18556         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18557         (_FP_WFRACBITS_DW_Q): Likewise.
18558         (_FP_WFRACXBITS_DW_Q): Likewise.
18559         (_FP_HIGHBIT_DW_Q): Likewise.
18560         (FP_FMA_Q): Likewise.
18561         (_FP_FRAC_HIGH_DW_Q): Likewise.
18562         * soft-fp/fmasf4.c: New file.
18563         * soft-fp/fmadf4.c: Likewise.
18564         * soft-fp/fmatf4.c: Likewise.
18566 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18569         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18570         Silvermont.
18571         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18572         macro.
18573         (index_Slow_SSE4_2): Likewise.
18574         (index_Prefer_PMINUB_for_stringop): Likewise.
18575         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18576         bit_Slow_SSE4_2 is set.
18577         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18578         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18580 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18582         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18583         rtld_global._dl_hwcap2.
18584         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18585         POWER8.
18586         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18587         POWER8 feature descriptions defined in _dl_hwcap2.
18588         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18589         string handling for POWER8 feature bits.
18590         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18591         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18592         _dl_powerpc_cap_flags.
18593         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18594         * sysdeps/powerpc/rtld-global-offsets.sym
18595         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18596         _dl_hwcap2 in the rtld_global_ro structure.
18598 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18600         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18601         hardware capabilities in support of AT_HWCAP2.
18602         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18603         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18604         GLRO(dl_hwcap2).
18605         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18606         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18607         explicitly the unknown a_type display mechanism is used.
18608         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18609         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18610         struct member.
18611         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18612         to macro prototype for AT_HWCAP2 support.
18613         * sysdeps/i386/dl-procinfo.h: Likewise.
18614         * sysdeps/s390/dl-procinfo.h: Likewise.
18615         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18616         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18617         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18618         return -1 for unknown a_type display fallback.
18619         * sysdeps/sparc/dl-procinfo.h: Likewise.
18620         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18621         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18623 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18625         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18626         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18628 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18630         [BZ #12492]
18631         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18632         mprotect making __stack_prot writable.
18634 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18635             Joseph Myers  <joseph@codesourcery.com>
18637         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18638         as being properly aligned.
18640 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18642         * dlfcn/modstatic5.c: New file.
18643         * dlfcn/tststatic5.c: New file.
18644         * dlfcn/Makefile (tests): Add tststatic5.
18645         (tests-static): Likewise.
18646         (modules-names): Add modstatic5.
18647         (tststatic5-ENV): New variable.
18648         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18650         [BZ #15022]
18651         * elf/dl-support.c (_dl_main_map): New variable.
18652         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18653         (_dl_nns, _dl_load_adds): Set to 1.
18654         (_dl_initial_searchlist): Refer to _dl_main_map.
18655         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18656         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18657         call to _dl_get_origin.
18658         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18659         around call_map.
18660         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18661         * dlfcn/modstatic3.c: New file.
18662         * dlfcn/tststatic3.c: New file.
18663         * dlfcn/tststatic4.c: New file.
18664         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18665         (tests-static): Likewise.
18666         (modules-names): Add modstatic3.
18667         (tststatic3-ENV, tststatic4-ENV): New variables.
18668         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18669         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18671 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18673         * configure.in (CC): Require GCC version 4.4 or later.
18674         * configure: Regenerated.
18675         * manual/install.texi (Tools for Compilation): Update GCC version
18676         requirement.
18677         * INSTALL: Regenerated.
18679 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18681         [BZ #15674]
18682         * string/test-memcmp.c (check2): New.
18683         (main): Call check2.
18685         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18687 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18689         [BZ #15022]
18690         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18691         over to...
18692         (dl_open_worker) [!SHARED]: ... here.
18694 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18696         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18698 2013-06-25  Richard Henderson  <rth@redhat.com>
18700         * locale/programs/locarchive.c: Include <libc-internal.h>
18702 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18704         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18705         trailing whitespace removed.
18707 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18709         [BZ #10283]
18710         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18711         * locale/programs/locarchive.c: Include libc-mmap.h.
18712         (prepare_address_space): Take two new outputs (the mmap base and len).
18713         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18714         values.
18715         (create_archive): Declare new mmap base and len values for
18716         prepare_address_space, and store the result in ah.
18717         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18718         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18719         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18720         Declare new mmap base and len values for
18721         prepare_address_space, and store the result in new_ah.
18722         (open_archive): Declare new mmap base and len values for
18723         prepare_address_space, and store the result in ah.
18724         (close_archive): If ah->mmap_base is not NULL, use that and
18725         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18726         * sysdeps/generic/libc-mmap.h: New file.
18728 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18730         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18731         (ALIGN_UP): Likewise.
18732         (PTR_ALIGN_DOWN): Likewise.
18733         (PTR_ALIGN_UP): Likewise.
18735 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18737         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18738         entry mapped to PPC_PLATFORM_POWER8.
18739         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18740         POWER8.
18741         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18742         (_dl_string_platform): Add case for exporting platform position for
18743         POWER8.
18744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18745         search path to sysdeps/powerpc/powerpc32/power8 directory.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18747         search path to sysdeps/powerpc/powerpc64/power8 directory.
18748         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18749         power7 directories.
18750         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18751         power7 directories.
18753 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18755         * INSTALL: Regenerate.
18757         * nscd/connections.c (nscd_init): Fix comment.
18759 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18761         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18763         [BZ #15667]
18764         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18765         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18767 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18769         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18770         DL_DST_REQ_STATIC.
18771         (DL_DST_REQ_STATIC): Remove macro.
18773 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #7006]
18776         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18777         with a shift of 0 bits.
18779 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18781         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18782         $(tststatic-ENV).
18784 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18786         [BZ #15655]
18787         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18789 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18791         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18792         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18793         accepts -fno-tree-loop-distribute-patterns.
18794         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18795         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18796         recursive call.
18797         * string/memset.c (memset): Likewise.
18798         * string/test-memmove.c (simple_memmove): Disable loop transformation
18799         to library calls.
18800         * string/test-memset.c (simple_memset): Likewise.
18801         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18802         * benchtests/bench-memset.c (simple_memset): Likewise.
18803         * configure: Regenerated.
18805 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18807         * math/test-misc.c (main): Ignore fesetround failure when failures
18808         of subsequent rounding tests would be ignored.
18810         [BZ #15654]
18811         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18812         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18813         * math/fegetenv.c (__fegetenv): Return 0.
18814         * math/fegetexcept.c (fegetexcept): Return 0.
18815         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18816         FE_TONEAREST.
18817         * math/feholdexcpt.c (feholdexcept): Return 0.
18818         * math/fesetenv.c (__fesetenv): Return 0.
18819         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18820         argument FE_TONEAREST.
18821         * math/feupdateenv.c (__feupdateenv): Return 0.
18822         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18824 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18826         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18827         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18828         ($(objpfx)rtld-%.os rules): Use them.
18830 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18832         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18833         fields.
18835 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18837         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18838         length of target pattern, then descending length of dependency pattern.
18839         * configure.in (AWK): Require gawk 3.1.2 or newer.
18840         * manual/install.texi (Tools for Compilation): Say that we do.
18841         * configure: Regenerated.
18843         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18844         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18845         * scripts/sysd-rules.awk: ... this new script.
18846         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18847         than a glob-style pattern.
18849 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18851         * math/test-misc.c (main): Do not treat incorrectly rounded
18852         conversions as failure unless ROUNDING_TESTS passes.
18854 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18856         [BZ #15631]
18857         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18858         restore exception state around main square root computation, then
18859         check for inexactness explicitly.
18861         * math/libm-test.inc (fma_test_data): Add another test.
18863 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18865         * manual/threads.texi (Non-POSIX Extensions): New document
18866         node.  Document pthread_getattr_default_np and
18867         pthread_setattr_default_np.
18869         * Versions.def (libpthread): Add GLIBC_2.18.
18870         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18872         Likewise.
18873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18874         Likewise.
18875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18876         Likewise.
18877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18878         Likewise.
18879         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18880         Likewise.
18881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18882         Likewise.
18883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18884         Likewise.
18885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18886         Likewise.
18887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18888         Likewise.
18890 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18893         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18895 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18896             H.J. Lu  <hjl.tools@gmail.com>
18898         [BZ #15627]
18899         * sysdeps/x86_64/rtld-memset.c: Remove file.
18900         * sysdeps/x86_64/rtld-memset.S: New file.
18902 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18904         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18905         (test_in_one_mode): Take arguments for whether the rounding mode
18906         is supported for each floating-point type.
18907         (do_test): Pass new arguments to test_in_one_mode using
18908         ROUNDING_TESTS.
18910 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18912         * posix/tst-waitid.c (do_test): Distinguish different instances of
18913         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18914         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18915         before entering the kernel for waitpid.
18917 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18919         * NEWS: Fix note on clock function precision.  Text by Roland
18920         McGrath.
18922 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18924         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18925         it into place only when and if the sanity check passes.
18927 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18929         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18930         output for whether conversion result is exact.  Take argument
18931         indicating whether type is IBM long double.
18932         (round_for_all): Change need_exact field to ibm_ld.
18933         * stdlib/tst-strtod-round.c (struct exactness): New type.
18934         (struct test): Change bool ld_ok field to struct exactness exact.
18935         (TEST): Update all definitions for change to field.
18936         (tests): Regenerate array contents.
18937         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18938         field value.  Check for IBM long double here.
18939         (do_test): Update calls to test_in_one_mode.
18941 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18943         [BZ #12515]
18944         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18945         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18947 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18949         [BZ #15605]
18950         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18951         generated by the compiler on loop optimizations.
18952         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18953         general definitions.
18955 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18957         * math/bug-nextafter.c: Include <math-tests.h>.
18958         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18959         the relevant type.
18960         * math/bug-nexttoward.c: Include <math-tests.h>.
18961         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18962         the relevant type.
18963         * math/test-misc.c: Include <math-tests.h>.
18964         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18965         the relevant type.
18967 2013-06-12  Andreas Jaeger  <aj@suse.de>
18969         * po/ia.po: Update Interlingua translation from translation
18970         project.
18972 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18974         * include/fenv.h: Include stdbool.h.
18975         (struct rm_ctx): New structure.
18976         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18977         Define macro.
18978         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18979         (SET_RESTORE_ROUNDF): Likewise.
18980         (SET_RESTORE_ROUNDL): Likewise.
18981         (SET_RESTORE_ROUND_NOEX): Likewise.
18982         (SET_RESTORE_ROUND_NOEXF): Likewise.
18983         (SET_RESTORE_ROUND_NOEXL): Likewise.
18984         (SET_RESTORE_ROUND_53BIT): Likewise.
18985         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18986         (libc_feresetround_noexf_ctx): Likewise.
18987         (libc_feresetround_noexl_ctx): Likewise.
18988         (libc_feholdsetround_53bit_ctx): Likewise.
18989         (libc_feresetround_53bit_ctx): Likewise.
18990         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18991         (libc_feholdexcept_setround_sse_ctx): New function.
18992         (libc_fesetenv_sse_ctx): Likewise.
18993         (libc_feupdateenv_sse_ctx): Likewise.
18994         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18995         (libc_feholdexcept_setround_387_ctx): Likewise.
18996         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18997         (libc_feholdsetround_387_prec_ctx): Likewise.
18998         (libc_feholdsetround_387_ctx): Likewise.
18999         (libc_feholdsetround_387_53bit_ctx): Likewise.
19000         (libc_feholdsetround_sse_ctx): Likewise.
19001         (libc_feresetround_sse_ctx): Likewise.
19002         (libc_feresetround_387_ctx): Likewise.
19003         (libc_feupdateenv_387_ctx): Likewise.
19004         (libc_feholdexcept_setroundf_ctx): Define macro.
19005         (libc_fesetenvf_ctx): Likewise.
19006         (libc_feupdateenvf_ctx): Likewise.
19007         (libc_feholdsetroundf_ctx): Likewise.
19008         (libc_feresetroundf_ctx): Likewise.
19009         (libc_feholdexcept_setround_ctx): Likewise.
19010         (libc_fesetenv_ctx): Likewise.
19011         (libc_feupdateenv_ctx): Likewise.
19012         (libc_feholdsetround_ctx): Likewise.
19013         (libc_feresetround_ctx): Likewise.
19014         (libc_feholdexcept_setroundl_ctx): Likewise.
19015         (libc_feupdateenvl_ctx): Likewise.
19016         (libc_feholdsetroundl_ctx): Likewise.
19017         (libc_feresetroundl_ctx): Likewise.
19018         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19019         (libc_feresetround_53bit_ctx): Likewise.
19021 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19023         * locale/iso-639.def: Convert to UTF-8.
19025 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19027         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19028         (EXCEPTION_TESTS_double): Likewise.
19029         (EXCEPTION_TESTS_long_double): Likewise.
19030         (EXCEPTION_TESTS): Likewise.
19031         * math/libm-test.inc (test_exceptions): Only test exceptions if
19032         EXCEPTION_TESTS (FLOAT).
19034 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19036         * benchtests/Makefile (string-bench): Add strcpy_chk and
19037         stpcpy_chk.
19038         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19039         * benchtests/bench-stpcpy_chk.c: New file.
19040         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19041         * benchtests/bench-strcpy_chk.c: New file.
19042         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19043         code.
19044         (do_test): Likewise.
19046 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19048         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19049         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19050         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19051         with tabs where appropriate.
19052         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19053         dl-procinfo.h.
19054         [PPC_PLATFORM_PPC440]: Likewise.
19055         [PPC_PLATFORM_PPC464]: Likewise.
19056         [PPC_PLATFORM_PPC476]: Likewise.
19057         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19058         ppc464, and ppc476 platform strings merging from ports/
19059         dl-procinfo.h.
19061 2013-06-11  Andreas Schwab  <schwab@suse.de>
19063         [BZ #14991]
19064         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19065         (from_ucs4_idx): Regenerate.
19066         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19067         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19068         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19069         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19070         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19071         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19072         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19073         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19074         from FROM_LOOP and TO_LOOP specific macros.
19075         (BODY): Handle combining characters.
19076         * iconvdata/BIG5HKSCS.irreversible: Update.
19077         * iconvdata/BIG5HKSCS.precomposed: New file.
19078         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19079         characters.
19080         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19082 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19084         * include/sys/time.h: Fix indentation and add copyright header.
19086         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19087         (do_test): Likewise.
19088         * string/test-memchr.c (do_one_test): Likewise.
19089         (do_test): Likewise.
19090         * string/test-memcmp.c (do_one_test): Likewise.
19091         (do_test): Likewise.
19092         * string/test-memcpy.c (do_one_test): Likewise.
19093         (do_test): Likewise.
19094         * string/test-memmem.c (do_one_test): Likewise.
19095         (do_test): Likewise.
19096         (do_random_tests): Likewise.
19097         * string/test-memmove.c (do_one_test): Likewise.
19098         (do_test): Likewise.
19099         * string/test-memset.c (do_one_test): Likewise.
19100         (do_test): Likewise.
19101         * string/test-rawmemchr.c (do_one_test): Likewise.
19102         (do_test): Likewise.
19103         * string/test-strcasecmp.c (do_one_test): Likewise.
19104         (do_test): Likewise.
19105         * string/test-strcasestr.c (do_one_test): Likewise.
19106         (do_test): Likewise.
19107         * string/test-strcat.c (do_one_test): Likewise.
19108         (do_test): Likewise.
19109         * string/test-strchr.c (do_one_test): Likewise.
19110         (do_test): Likewise.
19111         * string/test-strcmp.c (do_one_test): Likewise.
19112         (do_test): Likewise.
19113         * string/test-strcpy.c (do_one_test): Likewise.
19114         (do_test): Likewise.
19115         * string/test-string.h: Likewise.
19116         (test_init): Likewise.
19117         * string/test-strlen.c (do_one_test): Likewise.
19118         (do_test): Likewise.
19119         * string/test-strncasecmp.c (do_one_test): Likewise.
19120         (do_test): Likewise.
19121         * string/test-strncat.c (do_one_test): Likewise.
19122         (do_test): Likewise.
19123         * string/test-strncmp.c (do_one_test): Likewise.
19124         (do_test_limit): Likewise.
19125         (do_test): Likewise.
19126         * string/test-strncpy.c (do_one_test): Likewise.
19127         (do_test): Likewise.
19128         * string/test-strnlen.c (do_one_test): Likewise.
19129         (do_test): Likewise.
19130         * string/test-strpbrk.c (do_one_test): Likewise.
19131         (do_test): Likewise.
19132         * string/test-strrchr.c (do_one_test): Likewise.
19133         (do_test): Likewise.
19134         * string/test-strspn.c (do_one_test): Likewise.
19135         (do_test): Likewise.
19136         * string/test-strstr.c (do_one_test): Likewise.
19137         (do_test): Likewise.
19139         * benchtests/Makefile (string-bench): Add string benchmarks.
19140         * benchtests/bench-bcopy-ifunc.c: New file.
19141         * benchtests/bench-bcopy.c: New file.
19142         * benchtests/bench-bzero-ifunc.c: New file.
19143         * benchtests/bench-bzero.c: New file.
19144         * benchtests/bench-memccpy-ifunc.c: New file.
19145         * benchtests/bench-memccpy.c: New file.
19146         * benchtests/bench-memchr-ifunc.c: New file.
19147         * benchtests/bench-memchr.c: New file.
19148         * benchtests/bench-memcmp-ifunc.c: New file.
19149         * benchtests/bench-memcmp.c: New file.
19150         * benchtests/bench-memmem-ifunc.c: New file.
19151         * benchtests/bench-memmem.c: New file.
19152         * benchtests/bench-memmove-ifunc.c: New file.
19153         * benchtests/bench-memmove.c: New file.
19154         * benchtests/bench-mempcpy-ifunc.c: New file.
19155         * benchtests/bench-mempcpy.c: New file.
19156         * benchtests/bench-memset-ifunc.c: New file.
19157         * benchtests/bench-memset.c: New file.
19158         * benchtests/bench-rawmemchr-ifunc.c: New file.
19159         * benchtests/bench-rawmemchr.c: New file.
19160         * benchtests/bench-stpcpy-ifunc.c: New file.
19161         * benchtests/bench-stpcpy.c: New file.
19162         * benchtests/bench-stpncpy-ifunc.c: New file.
19163         * benchtests/bench-stpncpy.c: New file.
19164         * benchtests/bench-strcasecmp-ifunc.c: New file.
19165         * benchtests/bench-strcasecmp.c: New file.
19166         * benchtests/bench-strcasestr-ifunc.c: New file.
19167         * benchtests/bench-strcasestr.c: New file.
19168         * benchtests/bench-strcat-ifunc.c: New file.
19169         * benchtests/bench-strcat.c: New file.
19170         * benchtests/bench-strchr-ifunc.c: New file.
19171         * benchtests/bench-strchr.c: New file.
19172         * benchtests/bench-strchrnul-ifunc.c: New file.
19173         * benchtests/bench-strchrnul.c: New file.
19174         * benchtests/bench-strcmp-ifunc.c: New file.
19175         * benchtests/bench-strcmp.c: New file.
19176         * benchtests/bench-strcpy-ifunc.c: New file.
19177         * benchtests/bench-strcpy.c: New file.
19178         * benchtests/bench-strcspn-ifunc.c: New file.
19179         * benchtests/bench-strcspn.c: New file.
19180         * benchtests/bench-strlen-ifunc.c: New file.
19181         * benchtests/bench-strlen.c: New file.
19182         * benchtests/bench-strncasecmp-ifunc.c: New file.
19183         * benchtests/bench-strncasecmp.c: New file.
19184         * benchtests/bench-strncat-ifunc.c: New file.
19185         * benchtests/bench-strncat.c: New file.
19186         * benchtests/bench-strncmp-ifunc.c: New file.
19187         * benchtests/bench-strncmp.c: New file.
19188         * benchtests/bench-strncpy-ifunc.c: New file.
19189         * benchtests/bench-strncpy.c: New file.
19190         * benchtests/bench-strnlen-ifunc.c: New file.
19191         * benchtests/bench-strnlen.c: New file.
19192         * benchtests/bench-strpbrk-ifunc.c: New file.
19193         * benchtests/bench-strpbrk.c: New file.
19194         * benchtests/bench-strrchr-ifunc.c: New file.
19195         * benchtests/bench-strrchr.c: New file.
19196         * benchtests/bench-strspn-ifunc.c: New file.
19197         * benchtests/bench-strspn.c: New file.
19198         * benchtests/bench-strstr-ifunc.c: New file.
19199         * benchtests/bench-strstr.c: New file.
19201         * benchtests/Makefile: Disable parallel execution of targets.
19202         (string-bench): Add memcpy.
19203         (benchset): New variable to store a list of benchmark sets.
19204         (bench-func): Renamed from bench.
19205         (bench-set): New target.
19206         (bench): Depend on bench-func and bench-set.
19207         * benchtests/README: Add section on benchmark sets.
19208         * benchtests/bench-memcpy-ifunc.c: New file.
19209         * benchtests/bench-memcpy.c: New file.
19210         * benchtests/bench-string.h: New file.
19212 2013-06-11  Andreas Schwab  <schwab@suse.de>
19214         [BZ #15577]
19215         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19216         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19217         values in the triple.
19218         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19219         terminator in the group key.
19221 2013-06-11  Andreas Jaeger  <aj@suse.de>
19223         * po/zh_TW.po: Update Chinese (traditional) translation from
19224         translation project.
19226 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19228         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19229         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19230         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19231         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19232         (clock_getcpuclockid): Likewise.
19233         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19234         Add weak_alias and libc_hidden_def.
19235         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19236         * rt/clock_gettime.c (clock_gettime): Rename to
19237         __clock_gettime.  Add weak_alias and libc_hidden_def.
19238         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19239         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19240         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19241         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19242         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19243         Likewise.
19244         * rt/clock_settime.c (clock_settime): Rename to
19245         __clock_settime.  Add weak_alias and libc_hidden_def.
19246         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19248 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19250         * mach/err_boot.sub: Remove trailing whitespace.
19251         * mach/err_ipc.sub: Likewise.
19252         * mach/err_mach.sub: Likewise.
19254         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19255         (ROUNDING_TESTS_double): Likewise.
19256         (ROUNDING_TESTS_long_double): Likewise.
19257         (ROUNDING_TESTS): Likewise.
19258         * math/libm-test.inc: Include <math-tests.h>.
19259         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19260         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19261         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19262         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19264 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19266         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19267         of assigning.
19269 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19271         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19272         otherwise empty TRANS lines.
19273         * sysdeps/gnu/errlist.c: Regenerated.
19275         * catgets/gencat.c (error_print): Use (void) in function
19276         definition.
19277         * crypt/crypt_util.c (__init_des): Likewise.
19278         * crypt/speeds.c (Stop): Likewise.
19279         (main): Likewise.
19280         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19281         * inet/ruserpass.c (token): Likewise.
19282         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19283         * intl/localealias.c (extend_alias_table): Likewise.
19284         * intl/plural-exp.c (init_germanic_plural): Likewise.
19285         * libio/fcloseall.c (__fcloseall): Likewise.
19286         * libio/genops.c (_IO_flush_all): Likewise.
19287         (_IO_flush_all_linebuffered): Likewise.
19288         (_IO_cleanup): Likewise.
19289         (_IO_iter_begin): Likewise.
19290         (_IO_iter_end): Likewise.
19291         (_IO_list_lock): Likewise.
19292         (_IO_list_unlock): Likewise.
19293         (_IO_list_resetlock): Likewise.
19294         * libio/getchar.c (getchar): Likewise.
19295         * libio/getchar_u.c (getchar_unlocked): Likewise.
19296         * libio/getwchar.c (getwchar): Likewise.
19297         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19298         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19299         * login/getpt.c (__getpt): Likewise.
19300         * login/tst-utmp.c (main): Likewise.
19301         * malloc/hooks.c (__malloc_check_init): Likewise.
19302         * malloc/malloc.c (__malloc_stats): Likewise.
19303         * malloc/mtrace.c (tr_break): Likewise.
19304         (mtrace): Likewise.
19305         (muntrace): Likewise.
19306         * misc/fstab.c (endfsent): Likewise.
19307         * misc/getclktck.c (__getclktck): Likewise.
19308         * misc/getdtsz.c (__getdtablesize): Likewise.
19309         * misc/gethostid.c (gethostid): Likewise.
19310         * misc/getpagesize.c (__getpagesize): Likewise.
19311         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19312         (__get_nprocs): Likewise.
19313         (__get_phys_pages): Likewise.
19314         (__get_avphys_pages): Likewise.
19315         * misc/getttyent.c (getttyent): Likewise.
19316         (setttyent): Likewise.
19317         (endttyent): Likewise.
19318         * misc/getusershell.c (getusershell): Likewise.
19319         (endusershell): Likewise.
19320         (setusershell): Likewise.
19321         (initshells): Likewise.
19322         * misc/hsearch.c (__hdestroy): Likewise.
19323         * misc/sync.c (sync): Likewise.
19324         * misc/syslog.c (closelog_internal): Likewise.
19325         (closelog): Likewise.
19326         * misc/ttyslot.c (ttyslot): Likewise.
19327         * misc/vhangup.c (vhangup): Likewise.
19328         * posix/fork.c (__fork): Likewise.
19329         * posix/getegid.c (__getegid): Likewise.
19330         * posix/geteuid.c (__geteuid): Likewise.
19331         * posix/getgid.c (__getgid): Likewise.
19332         * posix/getpid.c (__getpid): Likewise.
19333         * posix/getppid.c (__getppid): Likewise.
19334         * posix/getuid.c (__getuid): Likewise.
19335         * posix/pause.c (pause): Likewise.
19336         * posix/setpgrp.c (setpgrp): Likewise.
19337         * posix/setsid.c (__setsid): Likewise.
19338         * posix/test-vfork.c (noop): Likewise.
19339         * resolv/gethnamaddr.c (_endhtent): Likewise.
19340         (_gethtent): Likewise.
19341         (ht_endhostent): Likewise.
19342         (gethostent): Likewise.
19343         (dns_service): Likewise.
19344         * stdlib/drand48.c (drand48): Likewise.
19345         * stdlib/lrand48.c (lrand48): Likewise.
19346         * stdlib/mrand48.c (mrand48): Likewise.
19347         * stdlib/rand.c (rand): Likewise.
19348         * stdlib/random.c (__random): Likewise.
19349         * stdlib/setenv.c (clearenv): Likewise.
19350         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19351         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19352         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19353         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19354         (__get_nprocs): Likewise.
19355         (__get_phys_pages): Likewise.
19356         (__get_avphys_pages): Likewise.
19357         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19358         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19359         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19360         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19361         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19362         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19363         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19364         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19365         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19366         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19367         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19368         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19369         * sysdeps/posix/clock.c (clock): Likewise.
19370         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19371         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19372         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19373         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19374         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19375         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19376         (__get_nprocs_conf): Likewise.
19377         (__get_phys_pages): Likewise.
19378         (__get_avphys_pages): Likewise.
19379         * time/clock.c (clock): Likewise.
19380         * time/tzset.c (__tzname_max): Likewise.
19382 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19384         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19385         (__bswap_32): Do not use "register".
19386         * crypt/crypt.c (_ufc_doit_r): Likewise.
19387         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19388         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19389         * gmon/gmon.c (__monstartup): Likewise.
19390         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19391         * hurd/hurdmalloc.c (more_memory): Likewise.
19392         (malloc): Likewise.
19393         (free): Likewise.
19394         (realloc): Likewise.
19395         (malloc_fork_prepare): Likewise.
19396         (malloc_fork_parent): Likewise.
19397         (malloc_fork_child): Likewise.
19398         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19399         (_svcauth_des): Likewise.
19400         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19401         * inet/inet_net.c (inet_network): Likewise.
19402         * inet/inet_netof.c (inet_netof): Likewise.
19403         * inet/rcmd.c (__validuser2_sa): Likewise.
19404         * io/fts.c (fts_open): Likewise.
19405         (fts_load): Likewise.
19406         (fts_close): Likewise.
19407         (fts_read): Likewise.
19408         (fts_children): Likewise.
19409         (fts_build): Likewise.
19410         (fts_stat): Likewise.
19411         (fts_sort): Likewise.
19412         (fts_alloc): Likewise.
19413         (fts_lfree): Likewise.
19414         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19415         (_IO_file_xsgetn): Likewise.
19416         (_IO_file_xsgetn_mmap): Likewise.
19417         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19418         (_IO_cookie_write): Likewise.
19419         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19420         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19421         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19422         * malloc/obstack.c (_obstack_begin): Likewise.
19423         (_obstack_begin_1): Likewise.
19424         (_obstack_newchunk): Likewise.
19425         (_obstack_allocated_p): Likewise.
19426         (obstack_free): Likewise.
19427         (_obstack_memory_used): Likewise.
19428         * misc/getttyent.c (getttynam): Likewise.
19429         (getttyent): Likewise.
19430         (skip): Likewise.
19431         (value): Likewise.
19432         * misc/getusershell.c (initshells): Likewise.
19433         * misc/syslog.c (__vsyslog_chk): Likewise.
19434         * misc/ttyslot.c (ttyslot): Likewise.
19435         * nis/nis_hash.c (__nis_hash): Likewise.
19436         * posix/fnmatch_loop.c (FCT): Likewise.
19437         * posix/getconf.c (print_all): Likewise.
19438         (main): Likewise.
19439         * posix/getopt.c (exchange): Likewise.
19440         * posix/glob.c (globfree): Likewise.
19441         (prefix_array): Likewise.
19442         (__glob_pattern_type): Likewise.
19443         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19444         (NS_GET32): Likewise.
19445         (NS_PUT16): Likewise.
19446         (NS_PUT32): Likewise.
19447         * resolv/gethnamaddr.c (getanswer): Likewise.
19448         (gethostbyname2): Likewise.
19449         (gethostbyaddr): Likewise.
19450         (_gethtent): Likewise.
19451         (_gethtbyname2): Likewise.
19452         (_gethtbyaddr): Likewise.
19453         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19454         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19455         * resolv/res_init.c (__res_vinit): Likewise.
19456         (net_mask): Likewise.
19457         * resolv/res_mkquery.c (outchar): Likewise.
19458         (PRINT): Likewise.
19459         * stdio-common/printf_fp.c (outchar): Likewise.
19460         (PRINT): Likewise.
19461         * stdio-common/printf_fphex.c (outchar): Likewise.
19462         (PRINT): Likewise.
19463         * stdio-common/printf_size.c (outchar): Likewise.
19464         (PRINT): Likewise.
19465         * stdio-common/test_rdwr.c (main): Likewise.
19466         * stdio-common/tfformat.c (matches): Likewise.
19467         * stdio-common/vfprintf.c (outchar): Likewise.
19468         (printf_unknown): Likewise.
19469         (buffered_vfprintf): Likewise.
19470         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19471         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19472         (ReadFile): Likewise.
19473         * stdlib/qsort.c (SWAP): Likewise.
19474         (_quicksort): Likewise.
19475         * stdlib/setenv.c (__add_to_environ): Likewise.
19476         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19477         * stdlib/strtol_l.c (__strtol_l): Likewise.
19478         * stdlib/tst-strtod.c (main): Likewise.
19479         * stdlib/tst-strtol.c (main): Likewise.
19480         * stdlib/tst-strtoll.c (main): Likewise.
19481         * string/bits/string2.h (__strcmp_cc): Likewise.
19482         (__strcmp_cg): Likewise.
19483         (__strcspn_c1): Likewise.
19484         (__strcspn_c2): Likewise.
19485         (__strcspn_c3): Likewise.
19486         (__strspn_c1): Likewise.
19487         (__strspn_c2): Likewise.
19488         (__strspn_c3): Likewise.
19489         (__strsep_1c): Likewise.
19490         (__strsep_2c): Likewise.
19491         (__strsep_3c): Likewise.
19492         * string/memccpy.c (__memccpy): Likewise.
19493         * string/stpcpy.c (__stpcpy): Likewise.
19494         * string/strcmp.c (strcmp): Likewise.
19495         * string/strrchr.c (strrchr): Likewise.
19496         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19497         Likewise.
19498         * sysdeps/mach/hurd/getcwd.c
19499         (_hurd_canonicalize_directory_name_internal): Likewise.
19500         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19501         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19502         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19503         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19504         Likewise, in both definitions.
19505         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19506         definitions.
19507         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19508         64] (__bswap_64): Likewise.
19509         * time/test_time.c (main): Likewise.
19510         * time/tzfile.c (__tzfile_read): Likewise.
19511         (__tzfile_compute): Likewise.
19512         * time/tzset.c (__tzset_parse_tz): Likewise.
19513         (tzset_internal): Likewise.
19514         (compute_change): Likewise.
19515         * wcsmbs/wcscat.c (__wcscat): Likewise.
19516         * wcsmbs/wcschr.c (wcschr): Likewise.
19517         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19518         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19519         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19520         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19521         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19522         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19523         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19524         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19525         * wcsmbs/wmemset.c (wmemset): Likewise.
19527 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19529         * scripts/config.guess: Update to version 2013-05-16.
19530         * scripts/config.sub: Update to version 2013-04-24.
19531         * scripts/install-sh: Update to version 2011-11-20.07.
19532         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19533         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19535 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19537         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19538         * elf/sln.c: Likewise.
19539         * hurd/hurd/ioctl.h: Likewise.
19540         * hurd/hurdmalloc.c: Likewise.
19541         * hurd/xattr.c: Likewise.
19542         * include/shlib-compat.h: Likewise.
19543         * inet/ruserpass.c: Likewise.
19544         * libio/iofgets_u.c: Likewise.
19545         * libio/iofgetws_u.c: Likewise.
19546         * locale/programs/ld-identification.c: Likewise.
19547         * locale/programs/ld-time.c: Likewise.
19548         * mach/msg-destroy.c: Likewise.
19549         * nss/nss_files/files-netgrp.c: Likewise.
19550         * resolv/res_data.c: Likewise.
19551         * soft-fp/op-1.h: Likewise.
19552         * soft-fp/op-2.h: Likewise.
19553         * soft-fp/op-4.h: Likewise.
19554         * soft-fp/op-common.h: Likewise.
19555         * stdio-common/printf_fphex.c: Likewise.
19556         * stdlib/strtod_l.c: Likewise.
19557         * sunrpc/rpc/clnt.h: Likewise.
19558         * sysdeps/generic/framestate.c: Likewise.
19559         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19560         * sysdeps/i386/bsd-setjmp.S: Likewise.
19561         * sysdeps/i386/__longjmp.S: Likewise.
19562         * sysdeps/i386/setjmp.S: Likewise.
19563         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19564         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19565         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19566         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19567         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19568         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19569         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19570         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19571         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19572         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19573         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19574         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19575         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19577         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19578         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19579         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19580         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19581         * sysdeps/ieee754/support.c: Likewise.
19582         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19583         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19584         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19585         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19586         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19587         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19588         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19589         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19590         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19591         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19592         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19593         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19594         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19595         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19596         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19597         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19598         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19601 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19603         * posix/transbug.c: Remove executable mode.
19605 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19607         * crypt/speeds.c: Remove trailing whitespace.
19608         * dlfcn/default.c: Likewise.
19609         * elf/ifuncdep2.c: Likewise.
19610         * elf/ifuncmain1.c: Likewise.
19611         * elf/ifuncmain1vis.c: Likewise.
19612         * elf/testobj.h: Likewise.
19613         * elf/tst-stackguard1.c: Likewise.
19614         * gmon/sys/gmon.h: Likewise.
19615         * hurd/hurdmsg.c: Likewise.
19616         * hurd/new-fd.c: Likewise.
19617         * hurd/ports-get.c: Likewise.
19618         * iconvdata/ibm1008_420.c: Likewise.
19619         * inet/tst-getni1.c: Likewise.
19620         * inet/tst-getni2.c: Likewise.
19621         * libio/ioungetc.c: Likewise.
19622         * libio/wfiledoalloc.c: Likewise.
19623         * manual/libm-err-tab.pl: Likewise.
19624         * math/w_dremf.c: Likewise.
19625         * misc/ftruncate.c: Likewise.
19626         * posix/bug-glob2.c: Likewise.
19627         * posix/tst-pcre.c: Likewise.
19628         * posix/wait4.c: Likewise.
19629         * resolv/README: Likewise.
19630         * resolv/res_debug.h: Likewise.
19631         * resolv/tst-inet_ntop.c: Likewise.
19632         * setjmp/bug269-setjmp.c: Likewise.
19633         * soft-fp/extended.h: Likewise.
19634         * soft-fp/op-1.h: Likewise.
19635         * soft-fp/op-2.h: Likewise.
19636         * soft-fp/op-4.h: Likewise.
19637         * soft-fp/op-8.h: Likewise.
19638         * soft-fp/testit.c: Likewise.
19639         * stdio-common/bug16.c: Likewise.
19640         * stdlib/random.c: Likewise.
19641         * sunrpc/rpcsvc/rquota.x: Likewise.
19642         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19643         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19645         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19646         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19647         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19648         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19649         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19650         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19651         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19652         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19653         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19654         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19655         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19656         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19657         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19658         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19659         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19660         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19661         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19662         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19663         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19664         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19665         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19669         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19670         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19671         * sysdeps/ieee754/s_lib_version.c: Likewise.
19672         * sysdeps/mach/hurd/check_fds.c: Likewise.
19673         * sysdeps/mach/hurd/getsockname.c: Likewise.
19674         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19675         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19676         * sysdeps/powerpc/bits/link.h: Likewise.
19677         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19678         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19679         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19680         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19681         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19682         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19683         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19684         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19685         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19686         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19687         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19688         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19689         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19690         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19691         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19692         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19693         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19694         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19695         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19696         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19697         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19698         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19699         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19700         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19701         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19702         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19704         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19706         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19709         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19710         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19711         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19712         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19713         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19714         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19715         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19716         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19717         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19718         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19719         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19720         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19721         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19722         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19723         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19724         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19725         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19726         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19727         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19729         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19730         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19731         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19732         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19733         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19734         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19735         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19736         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19737         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19738         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19739         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19740         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19741         * sysdeps/powerpc/sysdep.h: Likewise.
19742         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19743         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19744         * sysdeps/sh/dl-trampoline.S: Likewise.
19745         * sysdeps/sh/memset.S: Likewise.
19746         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19747         * sysdeps/sh/strlen.S: Likewise.
19748         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19749         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19750         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19751         * sysdeps/sparc/sparc32/rem.S: Likewise.
19752         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19753         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19754         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19755         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19756         * sysdeps/sparc/sparc32/urem.S: Likewise.
19757         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19758         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19759         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19760         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19761         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19762         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19763         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19764         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19765         * sysdeps/unix/bsd/times.c: Likewise.
19766         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19767         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19771         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19772         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19773         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19774         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19775         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19776         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19777         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19778         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19779         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19780         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19781         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19782         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19783         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19784         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19785         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19786         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19787         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19788         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19789         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19790         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19791         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19792         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19793         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19794         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19795         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19796         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19797         * sysdeps/x86_64/strcspn.S: Likewise.
19799 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19801         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19802         generated file.  Regenerate properly from gen-translit.pl.
19803         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19804         locale/C-translit.h.
19806 2013-06-05  Andreas Schwab  <schwab@suse.de>
19808         [BZ #15100]
19809         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19810         week as 6 instead of -1.
19811         * time/tst-strptime.c (day_tests): Add test case.
19813 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19815         * sysdeps/generic/math_private.h
19816         (libc_feholdexcept_setround_53bit): Replace with
19817         libc_feholdsetround_53bit.
19818         (libc_feupdateenv_53bit): Replace with
19819         libc_feresetround_53bit.
19820         (SET_RESTORE_ROUND_53BIT): Adjust.
19822 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19824         * string/test-strchrnul.c: Add copyright header.
19826         * posix/tst-getaddrinfo4.c: Increase test timeout.
19828 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19830         [BZ #15536]
19831         * math/libm-test.inc (MAX_EXP): Remove
19832         (MIN_EXP): Define.
19833         (ulp): Use MIN_EXP - MANT_DIG.
19834         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19836 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19838         * po/be.po: Revert last change.
19839         * po/zh_CN.po: Likewise.
19840         * po/header.pot: Likewise.
19842 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19844         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19845         link-libc-deps to empty as target-specific variable.
19846         * Makerules (link-libc-args): New variable.
19847         (libc-for-link): Likewise.
19848         (link-libc-deps): Likewise.
19849         (lib%.so): Depend on $(link-libc-deps).  Link with
19850         $(link-libc-args).
19851         (build-module): Link with $(link-libc-args).
19852         (build-module-asneeded): Likewise.
19853         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19854         list of objects.
19855         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19856         target-specific variable.
19857         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19858         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19859         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19860         libc.
19861         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19862         libc and ld.so.
19863         ($(objpfx)libpcprofile.so): Likewise.
19864         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19865         libc_nonshared.a.
19866         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19867         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19868         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19869         $(link-libc-deps).
19870         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19871         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19872         * login/Makefile ($(objpfx)libutil.so): Likewise.
19873         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19874         * math/Makefile ($(objpfx)libm.so): Likewise.
19875         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19876         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19877         variable instead of depending directly on libc.
19878         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19879         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19880         $(link-libc-deps).
19881         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19882         libc.
19883         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19884         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19885         ($(objpfx)libanl.so): Likewise.
19886         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19887         ld.so.
19888         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19889         $(link-libc-deps).
19890         * sysdeps/i386/fpu/Makefile: Remove file.
19891         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19892         ($(objpfx)libm.so): Remove dependency on ld.so.
19894 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19896         [BZ # 15553]
19897         * nis/yp_xdr.c (XDRMAXNAME): Define.
19898         (XDRMAXRECORD): Define.
19899         (xdr_domainname): Use XDRMAXNAME.
19900         (xdr_mapname): Likewise.
19901         (xdr_peername): Likewise.
19902         (xdr_keydat): Use XDRMAXRECORD.
19903         (xdr_valdat): Likewise.
19905 2013-05-30  Jeff Law  <law@redhat.com>
19907         [BZ #14256]
19908         * manual/errno.texi (ESTALE): Update to account for more than
19909         just NFS file systems.
19910         * sysdeps/gnu/errlist.c: Regenerated.
19912 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19914         [BZ #15465]
19915         * elf/Makefile (tests): Add tst-null-argv.
19916         (modules-names):  Add tst-null-argv-lib.
19917         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19918         (tst-null-argv-ENV): Set environment for tst-null-argv.
19919         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19920         (RTLD_PROGNAME): New macro.
19921         * elf/tst-null-argv.c: New test case.
19922         * elf/tst-null-argv-lib.c: Library for test case.
19923         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19924         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19925         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19926         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19927         * elf/dl-init.c (call_init): Likewise.
19928         (_dl_init): Likewise.
19929         * elf/dl-load.c (print_search_path): Likewise.
19930         (_dl_map_object): Likewise.
19931         * elf/dl-lookup.c (do_lookup_x): Likewise.
19932         (add_dependency): Likewise.
19933         (_dl_lookup_symbol_x): Likewise.
19934         (_dl_debug_bindings): Likewise.
19935         * elf/dl-open.c (_dl_show_scope): Likewise.
19936         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19937         * elf/dl-version.c (match_symbol): Likewise.
19938         (_dl_check_map_versions): Likewise.
19939         * elf/rtld.c (dl_main): Likewise.
19940         (print_unresolved): Use RTLD_PROGNAME.
19941         (print_missing_version): Likewise.
19942         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19943         (elf_machine_rela): Likewise.
19944         * sysdeps/powerpc/powerpc32/dl-machine.c
19945         (__process_machine_rela): Likewise.
19946         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19947         Likewise.
19948         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19949         Likewise.
19950         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19951         Likewise.
19952         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19953         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19954         Likewise.
19955         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19956         Likewise.
19957         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19959 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19961         * po/be.po: Add descriptive title.
19962         * po/zh_CN.po: Likewise.
19963         * po/header.pot: Likewise.
19965 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19967         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19968         error message.
19969         (enlarge_archive): Likewise.
19971 2013-05-28  Ben North  <ben@redfrontdoor.org>
19973         * manual/arith.texi (frexp): It is the magnitude of the return
19974         value which lies in [0.5, 1), not the return value itself.
19976 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19980 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19982         * stdio-common/bug26.c (main): Correct fscanf template.
19984         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19985         declare _dl_skip_args.
19987         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19988         Don't declare.
19990         * manual/platform.texi: Add missing @end deftypefun.
19992 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19994         [BZ #15529]
19995         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19996         bit of mantissa of 2^16382.
19997         * math/libm-test.inc (hypot_test_data): Add more tests.
19999         * math/libm-test.inc: Add drem and pow10 to list of tested
20000         functions.
20001         (pow10_test): New function.
20002         (drem_test): Likewise.
20003         (drem_test_tonearest): Likewise.
20004         (drem_test_towardzero): Likewise.
20005         (drem_test_downward): Likewise.
20006         (drem_test_upward): Likewise.
20007         (main): Call the new functions.
20009         * math/libm-test.inc (finite_test_data): Remove.
20010         (finite_test): Run tests from isfinite_test_data.
20011         (gamma_test_data): Remove.
20012         (gamma_test): Run tests from lgamma_test_data.
20013         * sysdeps/i386/fpu/libm-test-ulps: Update.
20014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20016 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20018         * manual/platform.texi: Add PowerPC PPR function set documentation.
20019         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20020         implementation.
20022 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20024         * math/libm-test.inc (MAX_EXP): Define.
20025         (ULPDIFF): Define.
20026         (ulp): New function.
20027         (check_float_internal): Use ULPDIFF.
20028         (cpow_test): Disable failing test.
20029         (check_ulp): Test ulp() implemetnation.
20030         (main): Call check_ulp before starting tests.
20032 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20034         * math/gen-libm-test.pl (generate_testfile): Do not handle
20035         START_DATA and END_DATA.
20036         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20037         END_DATA.
20038         (acos_tonearest_test_data): Likewise.
20039         (acos_towardzero_test_data): Likewise.
20040         (acos_downward_test_data): Likewise.
20041         (acos_upward_test_data): Likewise.
20042         (acosh_test_data): Likewise.
20043         (asin_test_data): Likewise.
20044         (asin_tonearest_test_data): Likewise.
20045         (asin_towardzero_test_data): Likewise.
20046         (asin_downward_test_data): Likewise.
20047         (asin_upward_test_data): Likewise.
20048         (asinh_test_data): Likewise.
20049         (atan_test_data): Likewise.
20050         (atanh_test_data): Likewise.
20051         (atan2_test_data): Likewise.
20052         (cabs_test_data): Likewise.
20053         (cacos_test_data): Likewise.
20054         (cacosh_test_data): Likewise.
20055         (carg_test_data): Likewise.
20056         (casin_test_data): Likewise.
20057         (casinh_test_data): Likewise.
20058         (catan_test_data): Likewise.
20059         (catanh_test_data): Likewise.
20060         (cbrt_test_data): Likewise.
20061         (ccos_test_data): Likewise.
20062         (ccosh_test_data): Likewise.
20063         (ceil_test_data): Likewise.
20064         (cexp_test_data): Likewise.
20065         (cimag_test_data): Likewise.
20066         (clog_test_data): Likewise.
20067         (clog10_test_data): Likewise.
20068         (conj_test_data): Likewise.
20069         (copysign_test_data): Likewise.
20070         (cos_test_data): Likewise.
20071         (cos_tonearest_test_data): Likewise.
20072         (cos_towardzero_test_data): Likewise.
20073         (cos_downward_test_data): Likewise.
20074         (cos_upward_test_data): Likewise.
20075         (cosh_test_data): Likewise.
20076         (cosh_tonearest_test_data): Likewise.
20077         (cosh_towardzero_test_data): Likewise.
20078         (cosh_downward_test_data): Likewise.
20079         (cosh_upward_test_data): Likewise.
20080         (cpow_test_data): Likewise.
20081         (cproj_test_data): Likewise.
20082         (creal_test_data): Likewise.
20083         (csin_test_data): Likewise.
20084         (csinh_test_data): Likewise.
20085         (csqrt_test_data): Likewise.
20086         (ctan_test_data): Likewise.
20087         (ctan_tonearest_test_data): Likewise.
20088         (ctan_towardzero_test_data): Likewise.
20089         (ctan_downward_test_data): Likewise.
20090         (ctan_upward_test_data): Likewise.
20091         (ctanh_test_data): Likewise.
20092         (ctanh_tonearest_test_data): Likewise.
20093         (ctanh_towardzero_test_data): Likewise.
20094         (ctanh_downward_test_data): Likewise.
20095         (ctanh_upward_test_data): Likewise.
20096         (erf_test_data): Likewise.
20097         (erfc_test_data): Likewise.
20098         (exp_test_data): Likewise.
20099         (exp_tonearest_test_data): Likewise.
20100         (exp_towardzero_test_data): Likewise.
20101         (exp_downward_test_data): Likewise.
20102         (exp_upward_test_data): Likewise.
20103         (exp10_test_data): Likewise.
20104         (exp2_test_data): Likewise.
20105         (expm1_test_data): Likewise.
20106         (fabs_test_data): Likewise.
20107         (fdim_test_data): Likewise.
20108         (finite_test_data): Likewise.
20109         (floor_test_data): Likewise.
20110         (fma_test_data): Likewise.
20111         (fma_towardzero_test_data): Likewise.
20112         (fma_downward_test_data): Likewise.
20113         (fma_upward_test_data): Likewise.
20114         (fmax_test_data): Likewise.
20115         (fmin_test_data): Likewise.
20116         (fmod_test_data): Likewise.
20117         (fpclassify_test_data): Likewise.
20118         (frexp_test_data): Likewise.
20119         (gamma_test_data): Likewise.
20120         (hypot_test_data): Likewise.
20121         (ilogb_test_data): Likewise.
20122         (isfinite_test_data): Likewise.
20123         (isgreater_test_data): Likewise.
20124         (isgreaterequal_test_data): Likewise.
20125         (isinf_test_data): Likewise.
20126         (isless_test_data): Likewise.
20127         (islessequal_test_data): Likewise.
20128         (islessgreater_test_data): Likewise.
20129         (isnan_test_data): Likewise.
20130         (isnormal_test_data): Likewise.
20131         (issignaling_test_data): Likewise.
20132         (isunordered_test_data): Likewise.
20133         (j0_test_data): Likewise.
20134         (j1_test_data): Likewise.
20135         (jn_test_data): Likewise.
20136         (ldexp_test_data): Likewise.
20137         (lgamma_test_data): Likewise.
20138         (lrint_test_data): Likewise.
20139         (lrint_tonearest_test_data): Likewise.
20140         (lrint_towardzero_test_data): Likewise.
20141         (lrint_downward_test_data): Likewise.
20142         (lrint_upward_test_data): Likewise.
20143         (llrint_test_data): Likewise.
20144         (llrint_tonearest_test_data): Likewise.
20145         (llrint_towardzero_test_data): Likewise.
20146         (llrint_downward_test_data): Likewise.
20147         (llrint_upward_test_data): Likewise.
20148         (log_test_data): Likewise.
20149         (log10_test_data): Likewise.
20150         (log1p_test_data): Likewise.
20151         (log2_test_data): Likewise.
20152         (logb_test_data): Likewise.
20153         (logb_downward_test_data): Likewise.
20154         (lround_test_data): Likewise.
20155         (llround_test_data): Likewise.
20156         (modf_test_data): Likewise.
20157         (nearbyint_test_data): Likewise.
20158         (nextafter_test_data): Likewise.
20159         (nexttoward_test_data): Likewise.
20160         (pow_test_data): Likewise.
20161         (pow_tonearest_test_data): Likewise.
20162         (pow_towardzero_test_data): Likewise.
20163         (pow_downward_test_data): Likewise.
20164         (pow_upward_test_data): Likewise.
20165         (remainder_test_data): Likewise.
20166         (remainder_tonearest_test_data): Likewise.
20167         (remainder_towardzero_test_data): Likewise.
20168         (remainder_downward_test_data): Likewise.
20169         (remainder_upward_test_data): Likewise.
20170         (remquo_test_data): Likewise.
20171         (rint_test_data): Likewise.
20172         (rint_tonearest_test_data): Likewise.
20173         (rint_towardzero_test_data): Likewise.
20174         (rint_downward_test_data): Likewise.
20175         (rint_upward_test_data): Likewise.
20176         (round_test_data): Likewise.
20177         (scalb_test_data): Likewise.
20178         (scalbn_test_data): Likewise.
20179         (scalbln_test_data): Likewise.
20180         (signbit_test_data): Likewise.
20181         (sin_test_data): Likewise.
20182         (sin_tonearest_test_data): Likewise.
20183         (sin_towardzero_test_data): Likewise.
20184         (sin_downward_test_data): Likewise.
20185         (sin_upward_test_data): Likewise.
20186         (sincos_test_data): Likewise.
20187         (sinh_test_data): Likewise.
20188         (sinh_tonearest_test_data): Likewise.
20189         (sinh_towardzero_test_data): Likewise.
20190         (sinh_downward_test_data): Likewise.
20191         (sinh_upward_test_data): Likewise.
20192         (sqrt_test_data): Likewise.
20193         (tan_test_data): Likewise.
20194         (tan_tonearest_test_data): Likewise.
20195         (tan_towardzero_test_data): Likewise.
20196         (tan_downward_test_data): Likewise.
20197         (tan_upward_test_data): Likewise.
20198         (tanh_test_data): Likewise.
20199         (tgamma_test_data): Likewise.
20200         (trunc_test_data): Likewise.
20201         (y0_test_data): Likewise.
20202         (y1_test_data): Likewise.
20203         (yn_test_data): Likewise.
20204         (significand_test_data): Likewise.
20206         * math/gen-libm-test.pl (@functions): Remove variable.
20207         (generate_testfile): Don't handle START and END lines.
20208         * math/libm-test.inc (START): New macro.
20209         (END): Likewise.
20210         (END_COMPLEX): Likewise.
20211         (acos_test): Use END macro without arguments.
20212         (acos_test_tonearest): Likewise.
20213         (acos_test_towardzero): Likewise.
20214         (acos_test_downward): Likewise.
20215         (acos_test_upward): Likewise.
20216         (acosh_test): Likewise.
20217         (asin_test): Likewise.
20218         (asin_test_tonearest): Likewise.
20219         (asin_test_towardzero): Likewise.
20220         (asin_test_downward): Likewise.
20221         (asin_test_upward): Likewise.
20222         (asinh_test): Likewise.
20223         (atan_test): Likewise.
20224         (atanh_test): Likewise.
20225         (atan2_test): Likewise.
20226         (cabs_test): Likewise.
20227         (cacos_test): Use END_COMPLEX macro without arguments.
20228         (cacosh_test): Likewise.
20229         (carg_test): Use END macro without arguments.
20230         (casin_test): Use END_COMPLEX macro without arguments.
20231         (casinh_test): Likewise.
20232         (catan_test): Likewise.
20233         (catanh_test): Likewise.
20234         (cbrt_test): Use END macro without arguments.
20235         (ccos_test): Use END_COMPLEX macro without arguments.
20236         (ccosh_test): Likewise.
20237         (ceil_test): Use END macro without arguments.
20238         (cexp_test): Use END_COMPLEX macro without arguments.
20239         (cimag_test): Use END macro without arguments.
20240         (clog_test): Use END_COMPLEX macro without arguments.
20241         (clog10_test): Likewise.
20242         (conj_test): Likewise.
20243         (copysign_test): Use END macro without arguments.
20244         (cos_test): Likewise.
20245         (cos_test_tonearest): Likewise.
20246         (cos_test_towardzero): Likewise.
20247         (cos_test_downward): Likewise.
20248         (cos_test_upward): Likewise.
20249         (cosh_test): Likewise.
20250         (cosh_test_tonearest): Likewise.
20251         (cosh_test_towardzero): Likewise.
20252         (cosh_test_downward): Likewise.
20253         (cosh_test_upward): Likewise.
20254         (cpow_test): Use END_COMPLEX macro without arguments.
20255         (cproj_test): Likewise.
20256         (creal_test): Use END macro without arguments.
20257         (csin_test): Use END_COMPLEX macro without arguments.
20258         (csinh_test): Likewise.
20259         (csqrt_test): Likewise.
20260         (ctan_test): Likewise.
20261         (ctan_test_tonearest): Likewise.
20262         (ctan_test_towardzero): Likewise.
20263         (ctan_test_downward): Likewise.
20264         (ctan_test_upward): Likewise.
20265         (ctanh_test): Likewise.
20266         (ctanh_test_tonearest): Likewise.
20267         (ctanh_test_towardzero): Likewise.
20268         (ctanh_test_downward): Likewise.
20269         (ctanh_test_upward): Likewise.
20270         (erf_test): Use END macro without arguments.
20271         (erfc_test): Likewise.
20272         (exp_test): Likewise.
20273         (exp_test_tonearest): Likewise.
20274         (exp_test_towardzero): Likewise.
20275         (exp_test_downward): Likewise.
20276         (exp_test_upward): Likewise.
20277         (exp10_test): Likewise.
20278         (exp2_test): Likewise.
20279         (expm1_test): Likewise.
20280         (fabs_test): Likewise.
20281         (fdim_test): Likewise.
20282         (finite_test): Likewise.
20283         (floor_test): Likewise.
20284         (fma_test): Likewise.
20285         (fma_test_towardzero): Likewise.
20286         (fma_test_downward): Likewise.
20287         (fma_test_upward): Likewise.
20288         (fmax_test): Likewise.
20289         (fmin_test): Likewise.
20290         (fmod_test): Likewise.
20291         (fpclassify_test): Likewise.
20292         (frexp_test): Likewise.
20293         (gamma_test): Likewise.
20294         (hypot_test): Likewise.
20295         (ilogb_test): Likewise.
20296         (isfinite_test): Likewise.
20297         (isgreater_test): Likewise.
20298         (isgreaterequal_test): Likewise.
20299         (isinf_test): Likewise.
20300         (isless_test): Likewise.
20301         (islessequal_test): Likewise.
20302         (islessgreater_test): Likewise.
20303         (isnan_test): Likewise.
20304         (isnormal_test): Likewise.
20305         (issignaling_test): Likewise.
20306         (isunordered_test): Likewise.
20307         (j0_test): Likewise.
20308         (j1_test): Likewise.
20309         (jn_test): Likewise.
20310         (ldexp_test): Likewise.
20311         (lgamma_test): Likewise.
20312         (lrint_test): Likewise.
20313         (lrint_test_tonearest): Likewise.
20314         (lrint_test_towardzero): Likewise.
20315         (lrint_test_downward): Likewise.
20316         (lrint_test_upward): Likewise.
20317         (llrint_test): Likewise.
20318         (llrint_test_tonearest): Likewise.
20319         (llrint_test_towardzero): Likewise.
20320         (llrint_test_downward): Likewise.
20321         (llrint_test_upward): Likewise.
20322         (log_test): Likewise.
20323         (log10_test): Likewise.
20324         (log1p_test): Likewise.
20325         (log2_test): Likewise.
20326         (logb_test): Likewise.
20327         (logb_test_downward): Likewise.
20328         (lround_test): Likewise.
20329         (llround_test): Likewise.
20330         (modf_test): Likewise.
20331         (nearbyint_test): Likewise.
20332         (nextafter_test): Likewise.
20333         (nexttoward_test): Likewise.
20334         (pow_test): Likewise.
20335         (pow_test_tonearest): Likewise.
20336         (pow_test_towardzero): Likewise.
20337         (pow_test_downward): Likewise.
20338         (pow_test_upward): Likewise.
20339         (remainder_test): Likewise.
20340         (remainder_test_tonearest): Likewise.
20341         (remainder_test_towardzero): Likewise.
20342         (remainder_test_downward): Likewise.
20343         (remainder_test_upward): Likewise.
20344         (remquo_test): Likewise.
20345         (rint_test): Likewise.
20346         (rint_test_tonearest): Likewise.
20347         (rint_test_towardzero): Likewise.
20348         (rint_test_downward): Likewise.
20349         (rint_test_upward): Likewise.
20350         (round_test): Likewise.
20351         (scalb_test): Likewise.
20352         (scalbn_test): Likewise.
20353         (scalbln_test): Likewise.
20354         (signbit_test): Likewise.
20355         (sin_test): Likewise.
20356         (sin_test_tonearest): Likewise.
20357         (sin_test_towardzero): Likewise.
20358         (sin_test_downward): Likewise.
20359         (sin_test_upward): Likewise.
20360         (sincos_test): Likewise.
20361         (sinh_test): Likewise.
20362         (sinh_test_tonearest): Likewise.
20363         (sinh_test_towardzero): Likewise.
20364         (sinh_test_downward): Likewise.
20365         (sinh_test_upward): Likewise.
20366         (sqrt_test): Likewise.
20367         (tan_test): Likewise.
20368         (tan_test_tonearest): Likewise.
20369         (tan_test_towardzero): Likewise.
20370         (tan_test_downward): Likewise.
20371         (tan_test_upward): Likewise.
20372         (tanh_test): Likewise.
20373         (tgamma_test): Likewise.
20374         (trunc_test): Likewise.
20375         (y0_test): Likewise.
20376         (y1_test): Likewise.
20377         (yn_test): Likewise.
20378         (significand_test): Likewise.
20380 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20382         [BZ #15381]
20383         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20385 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20387         [BZ #14894]
20388         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20389         __ppc_mdoio and __ppc_mdoom.
20390         * manual/platform.texi: Document new functions __ppc_yield,
20391         __ppc_mdoio and __ppc_mdoom.
20393 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20395         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20396         (main): Mention "tls" pseudo-hwcap is legacy.
20397         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20399 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20401         * math/gen-libm-test.pl (parse_args): Output only string of
20402         arguments as text for test name, not full call or descriptions of
20403         tests for extra outputs.
20404         (generate_testfile): Do not pass function name to parse_args.
20405         Generate this_func variable from START.
20406         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20407         field to arg_str.
20408         (struct test_ff_f_data): Likewise.
20409         (test_ff_f_data_nexttoward): Likewise.
20410         (struct test_fi_f_data): Likewise.
20411         (struct test_fl_f_data): Likewise.
20412         (struct test_if_f_data): Likewise.
20413         (struct test_fff_f_data): Likewise.
20414         (struct test_c_f_data): Likewise.
20415         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20416         (struct test_fF_f1_data): Likewise.
20417         (struct test_ffI_f1_data): Likewise.
20418         (struct test_c_c_data): Rename test_name field to arg_str.
20419         (struct test_cc_c_data): Likewise.
20420         (struct test_f_i_data): Likewise.
20421         (struct test_ff_i_data): Likewise.
20422         (struct test_f_l_data): Likewise.
20423         (struct test_f_L_data): Likewise.
20424         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20425         and extra2_name.
20426         (COMMON_TEST_SETUP): New macro.
20427         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20428         (COMMON_TEST_CLEANUP): Likewise.
20429         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20430         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20431         macros.
20432         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20433         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20434         macros.
20435         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20436         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20437         cleanup macros.
20438         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20439         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20440         macros.
20441         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20442         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20443         macros.
20444         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20445         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20446         cleanup macros.
20447         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20448         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20449         cleanup macros.
20450         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20451         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20452         cleanup macros.
20453         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20454         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20455         macros.
20456         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20457         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20458         macros.
20459         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20460         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20461         macros.
20462         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20463         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20464         cleanup macros.
20465         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20466         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20467         cleanup macros.
20468         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20469         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20470         macros.
20471         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20472         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20473         cleanup macros.
20474         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20475         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20476         macros.
20477         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20478         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20479         macros.
20480         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20481         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20482         cleanup macros.
20483         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20485 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20487         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20488         to _sifields.sigfault.
20489         (si_addr_lsb): Define new macro.
20490         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20491         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20492         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20494 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20496         [BZ #15441]
20497         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20498         returns -1.
20499         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20500         null return -1.
20501         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20502         loading the domain.
20504 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20506         * math/gen-libm-test.pl (parse_args): Do not include expected
20507         result in test name.
20508         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20511         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20512         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20515 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20517         * benchtests/Makefile: Sort function entries.
20519         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20520         tanh, asinh, acosh, atanh.
20521         * benchtests/acos-inputs: New file.
20522         * benchtests/acosh-inputs: New file.
20523         * benchtests/asin-inputs: New file.
20524         * benchtests/asinh-inputs: New file.
20525         * benchtests/atanh-inputs: New file.
20526         * benchtests/cosh-inputs: New file.
20527         * benchtests/log-inputs: New file.
20528         * benchtests/sinh-inputs: New file.
20529         * benchtests/tanh-inputs: New file.
20531 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20533         [BZ #15339]
20534         * posix/tst-getaddrinfo4.c: New test.
20535         * posix/Makefile (tests): Add it.
20537 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20539         [BZ #15339]
20540         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20541         when no services were used.
20542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20543         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20545 2013-05-21  Andreas Schwab  <schwab@suse.de>
20547         [BZ #15014]
20548         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20549         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20550         successful.
20551         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20552         redundant variable declarations and reallocation of buffer when
20553         parsing as IPv6 address.  Always set NSS status when called from
20554         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20555         buffer too small.  Correct computation of needed size.
20556         * nss/Makefile (tests): Add test-digits-dots.
20557         * nss/test-digits-dots.c: New test.
20559 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20561         * benchtests/Makefile: Remove instructions for adding
20562         benchmark tests.
20563         * benchtests/README: New file to explain how to execute and
20564         enhance the benchmark tests.
20566 2013-05-21  Andreas Schwab  <schwab@suse.de>
20568         [BZ #15493]
20569         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20570         * setjmp/tst-sigsetjmp.c: New test.
20572 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20574         * sysdeps/x86_64/memset.S (memset): New implementation.
20575         (__bzero): Likewise.
20576         (__memset_tail): New function.
20578 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20580         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20581         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20582         __memcpy_sse2_unaligned ifunc selection.
20583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20584         Add memcpy-sse2-unaligned.S.
20585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20586         Add: __memcpy_sse2_unaligned.
20588 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20590         [BZ #15490]
20591         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20592         math_force_eval before restoring floating-point envrionment.
20593         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20594         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20595         Likewise.
20596         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20597         <math_private.h>.
20598         (__nearbyintl): Use math_force_eval before restoring
20599         floating-point environment.
20600         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20602         * math/gen-libm-test.pl (special_functions): Remove.
20603         (parse_args): Don't handle TEST_extra.  Handle functions with no
20604         return value.
20605         * math/libm-test.inc (struct test_sincos_data): Replace with
20606         struct test_fFF_11_data.
20607         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20608         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20609         (sincos_test_data): Change element type to struct
20610         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20611         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20612         RUN_TEST_LOOP_sincos.
20613         * math/README.libm-test: Don't mention special handling of
20614         individual functions.
20615         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20617         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20618         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20619         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20622         * math/gen-libm-test.pl (get_variable): Remove function.
20623         (parse_args): Don't show pointer parameters to call in test
20624         names.  Use "extra output N" in test names for extra outputs
20625         rather than naming variables.
20627 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #15488]
20630         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20631         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20632         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20633         double tests.
20634         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20635         disable.
20636         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20637         check_long_double.
20639         * math/gen-libm-test.pl (@tests): Remove variable.
20640         ($count): Likewise.
20641         (new_test): Remove function.
20642         (show_exceptions): New function.
20643         (special_functions): Use show_exceptions instead of new_test.
20644         (parse_args): Likewise.
20645         (generate_testfile): Pass only function name in generated call to
20646         print_max_error or print_complex_max_error.
20647         (get_ulps): Do not handle complex tests specially.
20648         (output_test): Rename to ...
20649         (get_all_ulps_for_test): ... this.  Return a string rather than
20650         printing to a file.  Require ulps to be present.
20651         (output_ulps): Generate arrays rather than #defines.
20652         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20653         (struct ulp_data): New type.
20654         (BUILD_COMPLEX_ULP): Remove macro.
20655         (compare_ulp_data): New function.
20656         (find_ulps): Likewise.
20657         (find_test_ulps): Likewise.
20658         (find_function_ulps): Likewise.
20659         (find_complex_function_ulps): Likewise.
20660         (print_max_error): Determine allowed ulps using
20661         find_function_ulps.
20662         (print_complex_max_error): Determine allowed ulps using
20663         find_complex_function_ulps.
20664         (check_float_internal): Determine max ulps using find_test_ulps.
20665         (check_float): Do not take max_ulp parameter.  Update call to
20666         check_float_internal.
20667         (check_complex): Likewise.
20668         (check_int): Do not take max_ulp parameter.
20669         (check_long): Likewise.
20670         (check_bool): Likewise.
20671         (check_longlong): Likewise.
20672         (struct test_f_f_data): Remove max_ulp field.
20673         (struct test_ff_f_data): Likewise.
20674         (struct test_ff_f_data_nexttoward): Likewise.
20675         (struct test_fi_f_data): Likewise.
20676         (struct test_fl_f_data): Likewise.
20677         (struct test_if_f_data): Likewise.
20678         (struct test_fff_f_data): Likewise.
20679         (struct test_c_f_data): Likewise.
20680         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20681         (struct test_fF_f1_data): Likewise.
20682         (struct test_ffI_f1_data): Likewise.
20683         (struct test_c_c_data): Remove max_ulp field.
20684         (struct test_cc_c_data): Likewise.
20685         (struct test_f_i_data): Likewise.
20686         (struct test_ff_i_data): Likewise.
20687         (struct test_f_l_data): Likewise.
20688         (struct test_f_L_data): Likewise.
20689         (struct test_sincos_data): Likewise.
20690         (RUN_TEST_f_f): Do not handle ulps.
20691         (RUN_TEST_LOOP_f_f): Likewise.
20692         (RUN_TEST_2_f): Likewise.
20693         (RUN_TEST_LOOP_2_f): Likewise.
20694         (RUN_TEST_fff_f): Likewise.
20695         (RUN_TEST_LOOP_fff_f): Likewise.
20696         (RUN_TEST_c_f): Likewise.
20697         (RUN_TEST_LOOP_c_f): Likewise.
20698         (RUN_TEST_f_f1): Likewise.
20699         (RUN_TEST_LOOP_f_f1): Likewise.
20700         (RUN_TEST_fF_f1): Likewise.
20701         (RUN_TEST_LOOP_fF_f1): Likewise.
20702         (RUN_TEST_fI_f1): Likewise.
20703         (RUN_TEST_LOOP_fI_f1): Likewise.
20704         (RUN_TEST_ffI_f1): Likewise.
20705         (RUN_TEST_LOOP_ffI_f1): Likewise.
20706         (RUN_TEST_c_c): Likewise.
20707         (RUN_TEST_LOOP_c_c): Likewise.
20708         (RUN_TEST_cc_c): Likewise.
20709         (RUN_TEST_LOOP_cc_c): Likewise.
20710         (RUN_TEST_f_i): Likewise.
20711         (RUN_TEST_LOOP_f_i): Likewise.
20712         (RUN_TEST_f_i_tg): Likewise.
20713         (RUN_TEST_LOOP_f_i_tg): Likewise.
20714         (RUN_TEST_ff_i_tg): Likewise.
20715         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20716         (RUN_TEST_f_b): Likewise.
20717         (RUN_TEST_LOOP_f_b): Likewise.
20718         (RUN_TEST_f_b_tg): Likewise.
20719         (RUN_TEST_LOOP_f_b_tg): Likewise.
20720         (RUN_TEST_f_l): Likewise.
20721         (RUN_TEST_LOOP_f_l): Likewise.
20722         (RUN_TEST_f_L): Likewise.
20723         (RUN_TEST_LOOP_f_L): Likewise.
20724         (RUN_TEST_sincos): Likewise.
20725         (RUN_TEST_LOOP_sincos): Likewise.
20727 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20729         [BZ #15480]
20730         [BZ #15485]
20731         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20732         main case of finite arguments, set rounding mode to FE_TONEAREST
20733         and discard exceptions.
20734         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20735         exceptions.
20736         (remainder_tonearest_test_data): New variable.
20737         (remainder_test_tonearest): New function.
20738         (remainder_towardzero_test_data): New variable.
20739         (remainder_test_towardzero): New function.
20740         (remainder_downward_test_data): New variable.
20741         (remainder_test_downward): New function.
20742         (remainder_upward_test_data): New variable.
20743         (remainder_test_upward): New function.
20744         (main): Call the new test functions.
20746         * math/libm-test.inc (struct test_f_f1_data): Remove field
20747         extra_init.
20748         (struct test_fF_f1_data): Likewise.
20749         (struct test_ffI_f1_data): Likewise.
20750         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20751         based on value of EXTRA_EXPECTED.
20752         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20753         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20754         EXTRA_VAR based on value of EXTRA_EXPECTED.
20755         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20756         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20757         EXTRA_VAR based on value of EXTRA_EXPECTED.
20758         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20759         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20760         EXTRA_VAR based on value of EXTRA_EXPECTED.
20761         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20762         * math/gen-libm-test.pl (parse_args): Don't output initializers
20763         for extra output values.
20765         * math/libm-test.inc (check_int): Expect result to be exactly
20766         equal to expected value and do not handle ulps.
20767         (check_long): Likewise.
20768         (check_longlong): Likewise.
20770         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20771         exceptions.
20772         (cimag_test_data): Likewise.
20773         (conj_test_data): Likewise.
20774         (copysign_test_data): Likewise.
20775         (cproj_test_data): Likewise.
20776         (creal_test_data): Likewise.
20777         (fabs_test_data): Likewise.
20778         (fdim_test_data): Likewise.
20779         (finite_test_data): Likewise.
20780         (floor_test_data): Likewise.
20781         (fmax_test_data): Likewise.
20782         (fmin_test_data): Likewise.
20783         (fmod_test_data): Likewise.
20784         (fpclassify_test_data): Likewise.
20785         (frexp_test_data): Likewise.
20786         (ilogb_test_data): Likewise.
20787         (isfinite_test_data): Likewise.
20788         (isgreater_test_data): Likewise.
20789         (isgreaterequal_test_data): Likewise.
20790         (isinf_test_data): Likewise.
20791         (isless_test_data): Likewise.
20792         (islessequal_test_data): Likewise.
20793         (islessgreater_test_data): Likewise.
20794         (isnan_test_data): Likewise.
20795         (isnormal_test_data): Likewise.
20796         (issignaling_test_data): Likewise.
20797         (isunordered_test_data): Likewise.
20798         (ldexp_test_data): Likewise.
20799         (lrint_test_data): Likewise.
20800         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20801         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20802         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20803         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20804         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20805         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20806         test input.
20807         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20808         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20809         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20810         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20811         that test input.
20812         (lrint_downward_test_data): Test for "inexact" exceptions.
20813         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20814         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20815         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20816         test input.
20817         (lrint_upward_test_data): Test for "inexact" exceptions.
20818         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20819         test input.
20820         (llrint_test_data): Test for "inexact" exceptions.
20821         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20822         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20823         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20824         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20825         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20826         (llrint_downward_test_data): Test for "inexact" exceptions.
20827         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20828         (llrint_upward_test_data): Test for "inexact" exceptions.
20829         (logb_test_data): Likewise.
20830         (logb_downward_test_data): Likewise.
20831         (nextafter_test_data): Likewise.
20832         (nexttoward_test_data): Likewise.
20833         (remainder_test_data): Likewise.
20834         (remquo_test_data): Likewise.
20835         (scalbn_test_data): Likewise.
20836         (scalbln_test_data): Likewise.
20837         (signbit_test_data): Likewise.
20838         (sqrt_test_data): Likewise.
20839         (significand_test_data): Likewise.
20841 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20843         [BZ #15424]
20844         * benchtests/bench-modf.c (struct args): Mark arg0 as
20845         volatile.
20846         * scripts/bench.pl: Mark members of struct args as volatile.
20848 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20850         [BZ # 15497]
20851         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20852         negative infinity on POWER6 or lower.
20853         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20855 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20857         [BZ #15442]
20858         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20859         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20860         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20861         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20862         (_FP_SETQNAN): New macro.
20863         (_FP_SETQNAN_SEMIRAW): Likewise.
20864         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20865         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20866         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20867         (FP_EXTEND): Use _FP_FRAC_SNANP.
20868         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20869         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20870         into account.
20871         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20872         New macro.
20873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20874         Likewise.
20876 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20878         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20879         with DIVIDE_BY_ZERO_EXCEPTION.
20880         (gamma_test_data): Likewise.
20881         (lgamma_test_data): Likewise.
20882         (log_test_data): Likewise.
20883         (log10_test_data): Likewise.
20884         (log2_test_data): Likewise.
20885         (tgamma_test_data): Likewise.
20887         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20888         (acos_test_tonearest): Likewise.
20889         (acos_test_towardzero): Likewise.
20890         (acos_test_downward): Likewise.
20891         (acos_test_upward): Likewise.
20892         (acosh_test): Likewise.
20893         (asin_test): Likewise.
20894         (asin_test_tonearest): Likewise.
20895         (asin_test_towardzero): Likewise.
20896         (asin_test_downward): Likewise.
20897         (asin_test_upward): Likewise.
20898         (asinh_test): Likewise.
20899         (atan_test): Likewise.
20900         (atanh_test): Likewise.
20901         (atan2_test): Likewise.
20902         (cabs_test): Likewise.
20903         (cacos_test): Likewise.
20904         (cacosh_test): Likewise.
20905         (casin_test): Likewise.
20906         (casinh_test): Likewise.
20907         (catan_test): Likewise.
20908         (catanh_test): Likewise.
20909         (cbrt_test): Likewise.
20910         (ccos_test): Likewise.
20911         (ccosh_test): Likewise.
20912         (cexp_test): Likewise.
20913         (clog_test): Likewise.
20914         (clog10_test): Likewise.
20915         (cos_test): Likewise.
20916         (cos_test_tonearest): Likewise.
20917         (cos_test_towardzero): Likewise.
20918         (cos_test_downward): Likewise.
20919         (cos_test_upward): Likewise.
20920         (cosh_test): Likewise.
20921         (cosh_test_tonearest): Likewise.
20922         (cosh_test_towardzero): Likewise.
20923         (cosh_test_downward): Likewise.
20924         (cosh_test_upward): Likewise.
20925         (cpow_test): Likewise.
20926         (csin_test): Likewise.
20927         (csinh_test): Likewise.
20928         (csqrt_test): Likewise.
20929         (ctan_test): Likewise.
20930         (ctan_test_tonearest): Likewise.
20931         (ctan_test_towardzero): Likewise.
20932         (ctan_test_downward): Likewise.
20933         (ctan_test_upward): Likewise.
20934         (ctanh_test): Likewise.
20935         (ctanh_test_tonearest): Likewise.
20936         (ctanh_test_towardzero): Likewise.
20937         (ctanh_test_downward): Likewise.
20938         (ctanh_test_upward): Likewise.
20939         (erf_test): Likewise.
20940         (erfc_test): Likewise.
20941         (exp_test): Likewise.
20942         (exp_test_tonearest): Likewise.
20943         (exp_test_towardzero): Likewise.
20944         (exp_test_downward): Likewise.
20945         (exp_test_upward): Likewise.
20946         (exp10_test): Likewise.
20947         (exp2_test): Likewise.
20948         (expm1_test): Likewise.
20949         (fmod_test): Likewise.
20950         (gamma_test): Likewise.
20951         (hypot_test): Likewise.
20952         (j0_test): Likewise.
20953         (j1_test): Likewise.
20954         (jn_test): Likewise.
20955         (lgamma_test): Likewise.
20956         (log_test): Likewise.
20957         (log10_test): Likewise.
20958         (log1p_test): Likewise.
20959         (log2_test): Likewise.
20960         (logb_test_downward): Likewise.
20961         (pow_test): Likewise.
20962         (pow_test_tonearest): Likewise.
20963         (pow_test_towardzero): Likewise.
20964         (pow_test_downward): Likewise.
20965         (pow_test_upward): Likewise.
20966         (remainder_test): Likewise.
20967         (remquo_test): Likewise.
20968         (sin_test): Likewise.
20969         (sin_test_tonearest): Likewise.
20970         (sin_test_towardzero): Likewise.
20971         (sin_test_downward): Likewise.
20972         (sin_test_upward): Likewise.
20973         (sincos_test): Likewise.
20974         (sinh_test): Likewise.
20975         (sinh_test_tonearest): Likewise.
20976         (sinh_test_towardzero): Likewise.
20977         (sinh_test_downward): Likewise.
20978         (sinh_test_upward): Likewise.
20979         (sqrt_test): Likewise.
20980         (tan_test): Likewise.
20981         (tan_test_tonearest): Likewise.
20982         (tan_test_towardzero): Likewise.
20983         (tan_test_downward): Likewise.
20984         (tan_test_upward): Likewise.
20985         (tanh_test): Likewise.
20986         (tgamma_test): Likewise.
20987         (y0_test): Likewise.
20988         (y1_test): Likewise.
20989         (yn_test): Likewise.
20991         * math/gen-libm-test.pl (adjust_arg): Remove function.
20992         (special_function): Remove argument $in_func.  Only handle
20993         generating output for tables of tests, not inside functions.
20994         (parse_args): Likewise.
20995         (generate_testfile): Remove variable $in_func.  Update call to
20996         parse_args.
20997         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20998         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20999         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21000         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21001         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21002         (MAX_VALUE_INIT): Rename macro to max_value.
21003         (MIN_VALUE_INIT): Rename macro to min_value.
21004         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21005         (plus_zero): Remove variable.
21006         (minus_zero): Likewise.
21007         (plus_infty): Likewise.
21008         (minus_infty): Likewise.
21009         (qnan_value): Likewise.
21010         (max_value): Likewise.
21011         (min_value): Likewise.
21012         (min_subnorm_value): Likewise.
21014 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21016         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21017         uint64_t or uint32_t usage.
21018         * crypt/sha256-block.c: Likewise.
21019         * crypt/sha256-crypt.c: Likewise.
21020         * crypt/sha256.c: Likewise.
21021         * crypt/sha512-block.c: Likewise.
21022         * crypt/sha512-crypt.c: Likewise.
21023         * crypt/sha512.c: Likewise.
21024         * debug/backtrace-tst.c: Likewise.
21025         * debug/pcprofiledump.c: Likewise.
21026         * elf/cache.c: Likewise.
21027         * elf/dl-cache.c: Likewise.
21028         * elf/dl-misc.c: Likewise.
21029         * elf/dl-profile.c: Likewise.
21030         * elf/dl-support.c: Likewise.
21031         * elf/ldconfig.c: Likewise.
21032         * elf/sprof.c: Likewise.
21033         * iconv/dummy-repertoire.c: Likewise.
21034         * iconv/iconv_charmap.c: Likewise.
21035         * iconv/skeleton.c: Likewise.
21036         * iconvdata/8bit-generic.c: Likewise.
21037         * iconvdata/cp737.h: Likewise.
21038         * iconvdata/cp775.h: Likewise.
21039         * iconvdata/ibm1008.h: Likewise.
21040         * iconvdata/ibm1025.h: Likewise.
21041         * iconvdata/ibm1046.h: Likewise.
21042         * iconvdata/ibm1097.h: Likewise.
21043         * iconvdata/ibm1112.h: Likewise.
21044         * iconvdata/ibm1122.h: Likewise.
21045         * iconvdata/ibm1123.h: Likewise.
21046         * iconvdata/ibm1124.h: Likewise.
21047         * iconvdata/ibm1129.h: Likewise.
21048         * iconvdata/ibm1130.h: Likewise.
21049         * iconvdata/ibm1132.h: Likewise.
21050         * iconvdata/ibm1133.h: Likewise.
21051         * iconvdata/ibm1137.h: Likewise.
21052         * iconvdata/ibm1140.h: Likewise.
21053         * iconvdata/ibm1141.h: Likewise.
21054         * iconvdata/ibm1142.h: Likewise.
21055         * iconvdata/ibm1143.h: Likewise.
21056         * iconvdata/ibm1144.h: Likewise.
21057         * iconvdata/ibm1145.h: Likewise.
21058         * iconvdata/ibm1146.h: Likewise.
21059         * iconvdata/ibm1147.h: Likewise.
21060         * iconvdata/ibm1148.h: Likewise.
21061         * iconvdata/ibm1149.h: Likewise.
21062         * iconvdata/ibm1153.h: Likewise.
21063         * iconvdata/ibm1154.h: Likewise.
21064         * iconvdata/ibm1155.h: Likewise.
21065         * iconvdata/ibm1156.h: Likewise.
21066         * iconvdata/ibm1157.h: Likewise.
21067         * iconvdata/ibm1158.h: Likewise.
21068         * iconvdata/ibm1160.h: Likewise.
21069         * iconvdata/ibm1161.h: Likewise.
21070         * iconvdata/ibm1162.h: Likewise.
21071         * iconvdata/ibm1163.h: Likewise.
21072         * iconvdata/ibm1164.h: Likewise.
21073         * iconvdata/ibm1166.h: Likewise.
21074         * iconvdata/ibm1167.h: Likewise.
21075         * iconvdata/ibm12712.h: Likewise.
21076         * iconvdata/ibm1390.h: Likewise.
21077         * iconvdata/ibm1399.h: Likewise.
21078         * iconvdata/ibm16804.h: Likewise.
21079         * iconvdata/ibm4517.h: Likewise.
21080         * iconvdata/ibm4899.h: Likewise.
21081         * iconvdata/ibm4909.h: Likewise.
21082         * iconvdata/ibm4971.h: Likewise.
21083         * iconvdata/ibm5347.h: Likewise.
21084         * iconvdata/ibm803.h: Likewise.
21085         * iconvdata/ibm856.h: Likewise.
21086         * iconvdata/ibm901.h: Likewise.
21087         * iconvdata/ibm902.h: Likewise.
21088         * iconvdata/ibm9030.h: Likewise.
21089         * iconvdata/ibm9066.h: Likewise.
21090         * iconvdata/ibm921.h: Likewise.
21091         * iconvdata/ibm922.h: Likewise.
21092         * iconvdata/ibm9448.h: Likewise.
21093         * iconvdata/isiri-3342.h: Likewise.
21094         * iconvdata/jis0201.h: Likewise.
21095         * include/link.h: Likewise.
21096         * include/netdb.h: Likewise.
21097         * inet/check_native.c: Likewise.
21098         * inet/check_pf.c: Likewise.
21099         * inet/getipv4sourcefilter.c: Likewise.
21100         * inet/getnameinfo.c: Likewise.
21101         * inet/getsourcefilter.c: Likewise.
21102         * inet/htonl.c: Likewise.
21103         * inet/setipv4sourcefilter.c: Likewise.
21104         * inet/setsourcefilter.c: Likewise.
21105         * inet/test-inet6_opt.c: Likewise.
21106         * inet/tst-network.c: Likewise.
21107         * locale/C-collate.c: Likewise.
21108         * locale/C-ctype.c: Likewise.
21109         * locale/C-time.c: Likewise.
21110         * locale/C-translit.h: Likewise.
21111         * locale/loadarchive.c: Likewise.
21112         * locale/programs/3level.h: Likewise.
21113         * locale/programs/charmap.c: Likewise.
21114         * locale/programs/charmap.h: Likewise.
21115         * locale/programs/ld-address.c: Likewise.
21116         * locale/programs/ld-collate.c: Likewise.
21117         * locale/programs/ld-ctype.c: Likewise.
21118         * locale/programs/ld-identification.c: Likewise.
21119         * locale/programs/ld-measurement.c: Likewise.
21120         * locale/programs/ld-messages.c: Likewise.
21121         * locale/programs/ld-monetary.c: Likewise.
21122         * locale/programs/ld-name.c: Likewise.
21123         * locale/programs/ld-numeric.c: Likewise.
21124         * locale/programs/ld-paper.c: Likewise.
21125         * locale/programs/ld-telephone.c: Likewise.
21126         * locale/programs/ld-time.c: Likewise.
21127         * locale/programs/linereader.c: Likewise.
21128         * locale/programs/locale.c: Likewise.
21129         * locale/programs/locarchive.c: Likewise.
21130         * locale/programs/locfile.h: Likewise.
21131         * locale/programs/repertoire.c: Likewise.
21132         * locale/programs/simple-hash.c: Likewise.
21133         * locale/programs/simple-hash.h: Likewise.
21134         * malloc/memusage.c: Likewise.
21135         * malloc/memusagestat.c: Likewise.
21136         * nis/nis_defaults.c: Likewise.
21137         * nis/nis_hash.c: Likewise.
21138         * nis/nis_print.c: Likewise.
21139         * nis/nis_xdr.c: Likewise.
21140         * nscd/connections.c: Likewise.
21141         * nscd/hstcache.c: Likewise.
21142         * nscd/nscd_gethst_r.c: Likewise.
21143         * nscd/nscd_getserv_r.c: Likewise.
21144         * nscd/nscd_helper.c: Likewise.
21145         * nscd/servicescache.c: Likewise.
21146         * nss/makedb.c: Likewise.
21147         * nss/nss_db/db-XXX.c: Likewise.
21148         * nss/nss_db/db-initgroups.c: Likewise.
21149         * nss/nss_db/db-netgrp.c: Likewise.
21150         * nss/nss_files/files-network.c: Likewise.
21151         * nss/nss_files/files-parse.c: Likewise.
21152         * posix/bug-regex5.c: Likewise.
21153         * posix/fnmatch_loop.c: Likewise.
21154         * posix/regcomp.c: Likewise.
21155         * posix/regexec.c: Likewise.
21156         * posix/tst-rfc3484-2.c: Likewise.
21157         * posix/tst-rfc3484-3.c: Likewise.
21158         * posix/tst-rfc3484.c: Likewise.
21159         * resolv/nss_dns/dns-canon.c: Likewise.
21160         * resolv/nss_dns/dns-network.c: Likewise.
21161         * resolv/res_init.c: Likewise.
21162         * resolv/res_mkquery.c: Likewise.
21163         * resolv/tst-aton.c: Likewise.
21164         * stdlib/cxa_atexit.c: Likewise.
21165         * stdlib/cxa_finalize.c: Likewise.
21166         * stdlib/gen-fpioconst.c: Likewise.
21167         * stdlib/strtol_l.c: Likewise.
21168         * string/tst-endian.c: Likewise.
21169         * sunrpc/auth_des.c: Likewise.
21170         * sunrpc/clnt_udp.c: Likewise.
21171         * sunrpc/rtime.c: Likewise.
21172         * sunrpc/svcauth_des.c: Likewise.
21173         * sunrpc/xdr.c: Likewise.
21174         * sunrpc/xdr_intXX_t.c: Likewise.
21175         * sunrpc/xdr_rec.c: Likewise.
21176         * sysdeps/generic/ldconfig.h: Likewise.
21177         * sysdeps/generic/ldsodefs.h: Likewise.
21178         * sysdeps/generic/memusage.h: Likewise.
21179         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21180         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21181         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21183         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21184         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21185         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21186         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21187         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21189         * sysdeps/posix/getaddrinfo.c: Likewise.
21190         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21191         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21192         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21193         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21194         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21195         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21196         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21197         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21198         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21199         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21200         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21201         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21202         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21203         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21204         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21205         * sysdeps/x86_64/dl-tls.h: Likewise.
21206         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21207         * time/alt_digit.c: Likewise.
21208         * time/era.c: Likewise.
21209         * wcsmbs/tst-c16c32-1.c: Likewise.
21211 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21213         * math/libm-test.inc (struct test_sincos_data): New type.
21214         (RUN_TEST_LOOP_sincos): New macro.
21215         (sincos_test_data): New variable.
21216         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21218 2013-05-16  Richard Henderson  <rth@redhat.com>
21220         * math/atest-exp2.c (LIMB64): New macro.
21221         (CONSTSZ): New macro.
21222         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21223         (hexdig): Move ...
21224         (print_mpn_fp): ... to function scope.
21225         (read_mpn_hex): Remove.
21226         (get_log2): Remove.
21227         (exp2_mpn): Use mp_log2.
21228         (main): Use mp_exp1.
21230 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21232         * math/libm-test.inc: Remove comment about not testing "inexact"
21233         exceptions.
21234         (INEXACT_EXCEPTION): New macro.
21235         (NO_INEXACT_EXCEPTION): Likewise.
21236         (INVALID_EXCEPTION_OK): Update value.
21237         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21238         (OVERFLOW_EXCEPTION_OK): Likewise.
21239         (UNDERFLOW_EXCEPTION_OK): Likewise.
21240         (IGNORE_ZERO_INF_SIGN): Likewise.
21241         (ERRNO_UNCHANGED): Likewise.
21242         (ERRNO_EDOM): Likewise.
21243         (ERRNO_ERANGE): Likewise.
21244         (test_exceptions): Handle testing "inexact" exceptions.
21245         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21246         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21247         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21248         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21249         INEXACT_EXCEPTION.
21250         (rint_towardzero_test_data): Likewise.
21251         (rint_downward_test_data): Likewise.
21252         (rint_upward_test_data): Likewise.
21254         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21255         with OVERFLOW_EXCEPTION.
21256         (exp10_test_data): Likewise.
21257         (exp2_test_data): Likewise.
21258         (expm1_test_data): Likewise.
21259         (lgamma_test_data): Likewise.
21260         (pow_test_data): Likewise.
21261         (tgamma_test_data): Likewise.
21262         (yn_test_data): Remove duplicate test of overflow.
21264         * math/libm-test.inc (struct test_cc_c_data): New type.
21265         (RUN_TEST_LOOP_cc_c): New macro.
21266         (cpow_test_data): New variable.
21267         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21269         * math/libm-test.inc (struct test_f_L_data): New type.
21270         (RUN_TEST_LOOP_f_L): New macro.
21271         (llrint_test_data): New variable.
21272         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21273         (llrint_tonearest_test_data): New variable.
21274         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21275         (llrint_towardzero_test_data): New variable.
21276         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21277         (llrint_downward_test_data): New variable.
21278         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21279         (llrint_upward_test_data): New variable.
21280         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21281         (llround_test_data): New variable.
21282         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21284 2013-05-13  Peter Collingbourne  <pcc@google.com>
21286         * math/atest-exp2.c (get_log2): Remove const attribute.
21288 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21290         * math/libm-test.inc (struct test_f_l_data): New type.
21291         (RUN_TEST_LOOP_f_l): New macro.
21292         (lrint_test_data): New variable.
21293         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21294         (lrint_tonearest_test_data): New variable.
21295         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21296         (lrint_towardzero_test_data): New variable.
21297         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21298         (lrint_downward_test_data): New variable.
21299         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21300         (lrint_upward_test_data): New variable.
21301         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21302         (lround_test_data): New variable.
21303         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21305 2013-05-15  Peter Collingbourne  <pcc@google.com>
21307         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21308         (EXTRACT_WORDS64) Use where appropriate.
21309         (INSERT_WORDS64) Likewise.
21311         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21312         constraints with x constraints.
21313         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21315         * malloc/obstack.c (_obstack_compat): Add initializer.
21317 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21319         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21320         si_trapno and add si_addr_lsb to _sifields.sigfault.
21321         (si_trapno): Remove macro.
21322         (si_addr_lsb): Define new macro.
21323         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21325 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21327         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21328         instead of TEST_f_l.
21329         (llrint_test_tonearest): Likewise.
21330         (llrint_test_towardzero): Likewise.
21331         (llrint_test_downward): Likewise.
21332         (llrint_test_upward): Likewise.
21333         (llround_test): Likewise.
21335         * math/libm-test.inc (struct test_f_i_data): Add comment.
21336         (RUN_TEST_LOOP_f_b): New macro.
21337         (RUN_TEST_LOOP_f_b_tg): Likewise.
21338         (finite_test_data): New variable.
21339         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21340         (isfinite_test_data): New variable.
21341         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21342         (isinf_test_data): New variable.
21343         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21344         (isnan_test_data): New variable.
21345         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21346         (isnormal_test_data): New variable.
21347         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21348         (issignaling_test_data): New variable.
21349         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21350         (signbit_test_data): New variable.
21351         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21353         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21354         with INVALID_EXCEPTION.
21355         (acosh_test_data): Likewise.
21356         (asin_test_data): Likewise.
21357         (atanh_test_data): Likewise.
21358         (fmod_test_data): Likewise.
21359         (log_test_data): Likewise.
21360         (log10_test_data): Likewise.
21361         (log2_test_data): Likewise.
21362         (pow_test_data): Likewise.
21363         (sqrt_test_data): Likewise.
21364         (y0_test_data): Likewise.
21365         (y1_test_data): Likewise.
21366         (yn_test_data): Likewise.
21368         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21369         function contents.
21371         * math/libm-test.inc (struct test_ff_i_data): New type.
21372         (RUN_TEST_LOOP_ff_i_tg): New macro.
21373         (isgreater_test_data): New variable.
21374         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21375         (isgreaterequal_test_data): New variable.
21376         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21377         (isless_test_data): New variable.
21378         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21379         (islessequal_test_data): New variable.
21380         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21381         (islessgreater_test_data): New variable.
21382         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21383         (isunordered_test_data): New variable.
21384         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21386 2013-05-14  David S. Miller  <davem@davemloft.net>
21388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21390 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21392         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21394         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21395         extra_test to int.
21396         (struct test_f_i_data): Change type of max_ulp to int.
21398         * math/libm-test.inc (test_ffI_f1_data): New type.
21399         (RUN_TEST_LOOP_ffI_f1): New macro.
21400         (remquo_test_data): New variable.
21401         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21403         * setjmp/tst-setjmp-fp.c: New file.
21404         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21405         (link-libm): New variable.
21406         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21408         * math/libm-test.inc (struct test_f_i_data): New type.
21409         (RUN_TEST_LOOP_f_i): New macro.
21410         (RUN_TEST_LOOP_f_i_tg): Likewise.
21411         (fpclassify_test_data): New variable.
21412         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21413         (ilogb_test_data): New variable.
21414         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21416         * math/libm-test.inc (scalbln_test): Correct function name in END
21417         call.
21419         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21420         (RUN_TEST_LOOP_fI_f1): New macro.
21421         (frexp_test_data): New variable.
21422         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21424         * math/libm-test.inc (struct test_fF_f1_data): New type.
21425         (RUN_TEST_LOOP_fF_f1): New macro.
21426         (modf_test_data): New variable.
21427         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21429         * math/libm-test.inc (struct test_f_f1_data): New type.
21430         (RUN_TEST_LOOP_f_f1): New macro.
21431         (gamma_test_data): New variable.
21432         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21433         (lgamma_test_data): New variable.
21434         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21436 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21439         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21440         (main): Comment "tls" pseudo-hwcap.
21442 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21444         * math/libm-test.inc (struct test_fl_f_data): New type.
21445         (RUN_TEST_LOOP_fl_f): New variable.
21446         (scalbln_test_data): New variable.
21447         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21449         * math/libm-test.inc (struct test_fi_f_data): New type.
21450         (RUN_TEST_LOOP_fi_f): New macro.
21451         (ldexp_test_data): New variable.
21452         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21453         (scalbn_test_data): New variable.
21454         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21456         * math/libm-test.inc (struct test_c_f_data): New type.
21457         (RUN_TEST_LOOP_c_f): New macro.
21458         (cabs_test_data): New variable.
21459         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21460         (carg_test_data): New variable.
21461         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21462         (cimag_test_data): New variable.
21463         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21464         (creal_test_data): New variable.
21465         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21467         * math/libm-test.inc (struct test_if_f_data): New type.
21468         (RUN_TEST_LOOP_if_f): New macro.
21469         (jn_test_data): New variable.
21470         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21471         (yn_test_data): New variable.
21472         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21474         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21476 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21478         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21479         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21481 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21483         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21484         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21485         (bench-deps): Add bench-timing.h.
21486         * benchtests-bench-skeleton.c: Include bench-timing.h.
21487         (main): Use TIMING_* macros instead of clock_gettime.
21488         * benchtests/bench-timing.h: New file.
21490         [BZ #14582]
21491         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21492         Renamed from _LIB_VERSION.
21493         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21495 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21497         * math/libm-test.inc (struct test_fff_f_data): New type.
21498         (RUN_TEST_LOOP_fff_f): New macro.
21499         (fma_test_data): New variable.
21500         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21501         (fma_towardzero_test_data): New variable.
21502         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21503         (fma_downward_test_data): New variable.
21504         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21505         (fma_upward_test_data): New variable.
21506         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21508         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21509         (struct test_c_c_data): New type.
21510         (RUN_TEST_LOOP_c_c): New macro.
21511         (cacos_test_data): New variable.
21512         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21513         (cacosh_test_data): New variable.
21514         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21515         (casin_test_data): New variable.
21516         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21517         (casinh_test_data): New variable.
21518         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21519         (catan_test_data): New variable.
21520         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21521         (catanh_test_data): New variable.
21522         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21523         (ccos_test_data): New variable.
21524         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21525         (ccosh_test_data): New variable.
21526         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21527         (cexp_test_data): New variable.
21528         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21529         (clog_test_data): New variable.
21530         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21531         (clog10_test_data): New variable.
21532         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21533         (conj_test_data): New variable.
21534         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21535         (cproj_test_data): New variable.
21536         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21537         (csin_test_data): New variable.
21538         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21539         (csinh_test_data): New variable.
21540         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21541         (csqrt_test_data): New variable.
21542         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21543         (ctan_test_data): New variable.
21544         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21545         (ctan_tonearest_test_data): New variable.
21546         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21547         (ctan_towardzero_test_data): New variable.
21548         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21549         (ctan_downward_test_data): New variable.
21550         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21551         (ctan_upward_test_data): New variable.
21552         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21553         (ctanh_test_data): New variable.
21554         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21555         (ctanh_tonearest_test_data): New variable.
21556         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21557         (ctanh_towardzero_test_data): New variable.
21558         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21559         (ctanh_downward_test_data): New variable.
21560         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21561         (ctanh_upward_test_data): New variable.
21562         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21563         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21564         of BUILD_COMPLEX.
21566         * math/libm-test.inc (struct test_ff_f_data): New type.
21567         (struct test_ff_f_data_nexttoward): Likewise.
21568         (RUN_TEST_LOOP_2_f): New macro.
21569         (RUN_TEST_LOOP_ff_f): Likewise.
21570         (atan2_test_data): New variable.
21571         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21572         (copysign_test_data): New variable.
21573         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21574         (fdim_test_data): New variable.
21575         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21576         (fmax_test_data): New variable.
21577         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21578         (fmin_test_data): New variable.
21579         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21580         (fmod_test_data): New variable.
21581         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21582         (hypot_test_data): New variable.
21583         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21584         (nextafter_test_data): New variable.
21585         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21586         (nexttoward_test_data): New variable.
21587         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21588         (pow_test_data): New variable.
21589         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21590         (pow_tonearest_test_data): New variable.
21591         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21592         (pow_towardzero_test_data): New variable.
21593         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21594         (pow_downward_test_data): New variable.
21595         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21596         (pow_upward_test_data): New variable.
21597         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21598         (remainder_test_data): New variable.
21599         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21600         (scalb_test_data): New variable.
21601         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21602         * sysdeps/i386/fpu/libm-test-ulps: Update.
21604 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21606         * math/libm-test.inc (fma_test): Use max_value instead of local
21607         variable fltmax.
21608         (nextafter_test): Likewise.
21610         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21611         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21612         (acos_downward_test_data): New variable.
21613         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21614         (acos_upward_test_data): New variable.
21615         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21616         (acosh_test_data): New variable.
21617         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21618         (asin_test_data): New variable.
21619         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21620         (asin_tonearest_test_data): New variable.
21621         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21622         (asin_towardzero_test_data): New variable.
21623         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21624         (asin_downward_test_data): New variable.
21625         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21626         (asin_upward_test_data): New variable.
21627         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21628         (asinh_test_data): New variable.
21629         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21630         (atan_test_data): New variable.
21631         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21632         (atanh_test_data): New variable.
21633         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21634         (cbrt_test_data): New variable.
21635         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21636         (ceil_test_data): New variable.
21637         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21638         (cos_test_data): New variable.
21639         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21640         (cos_tonearest_test_data): New variable.
21641         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21642         (cos_towardzero_test_data): New variable.
21643         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21644         (cos_downward_test_data): New variable.
21645         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21646         (cos_upward_test_data): New variable.
21647         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21648         (cosh_test_data): New variable.
21649         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21650         (cosh_tonearest_test_data): New variable.
21651         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21652         (cosh_towardzero_test_data): New variable.
21653         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21654         (cosh_downward_test_data): New variable.
21655         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21656         (cosh_upward_test_data): New variable.
21657         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21658         (erf_test_data): New variable.
21659         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21660         (erfc_test_data): New variable.
21661         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21662         (exp_test_data): New variable.
21663         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21664         (exp_tonearest_test_data): New variable.
21665         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21666         (exp_towardzero_test_data): New variable.
21667         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21668         (exp_downward_test_data): New variable.
21669         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21670         (exp_upward_test_data): New variable.
21671         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21672         (exp10_test_data): New variable.
21673         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21674         (exp2_test_data): New variable.
21675         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21676         (expm1_test_data): New variable.
21677         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21678         (fabs_test_data): New variable.
21679         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21680         (floor_test_data): New variable.
21681         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21682         (j0_test_data): New variable.
21683         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21684         (j1_test_data): New variable.
21685         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21686         (log_test_data): New variable.
21687         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21688         (log10_test_data): New variable.
21689         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21690         (log1p_test_data): New variable.
21691         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21692         (log2_test_data): New variable.
21693         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21694         (logb_test_data): New variable.
21695         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21696         (logb_downward_test_data): New variable.
21697         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21698         (nearbyint_test_data): New variable.
21699         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21700         (rint_test_data): New variable.
21701         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21702         (rint_tonearest_test_data): New variable.
21703         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21704         (rint_towardzero_test_data): New variable.
21705         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21706         (rint_downward_test_data): New variable.
21707         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21708         (rint_upward_test_data): New variable.
21709         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21710         (round_test_data): New variable.
21711         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21712         (sin_test_data): New variable.
21713         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21714         (sin_tonearest_test_data): New variable.
21715         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21716         (sin_towardzero_test_data): New variable.
21717         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21718         (sin_downward_test_data): New variable.
21719         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21720         (sin_upward_test_data): New variable.
21721         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21722         (sinh_test_data): New variable.
21723         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21724         (sinh_tonearest_test_data): New variable.
21725         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21726         (sinh_towardzero_test_data): New variable.
21727         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21728         (sinh_downward_test_data): New variable.
21729         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21730         (sinh_upward_test_data): New variable.
21731         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21732         (sqrt_test_data): New variable.
21733         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21734         (tan_test_data): New variable.
21735         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21736         (tan_tonearest_test_data): New variable.
21737         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21738         (tan_towardzero_test_data): New variable.
21739         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21740         (tan_downward_test_data): New variable.
21741         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21742         (tan_upward_test_data): New variable.
21743         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21744         (tanh_test_data): New variable.
21745         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21746         (tgamma_test_data): New variable.
21747         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21748         (trunc_test_data): New variable.
21749         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21750         (y0_test_data): New variable.
21751         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21752         (y1_test_data): New variable.
21753         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21754         (significand_test_data): New variable.
21755         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21757 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21759         [BZ #12387]
21760         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21762 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21764         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21766 2013-05-10  Andreas Jaeger  <aj@suse.de>
21768         [BZ #15448]
21769         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21770         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21772 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21774         * math/gen-libm-test.pl (adjust_arg): New function.
21775         (special_functions): Handle generating output in both functions
21776         and arrays.
21777         (parse_args): Likewise.
21778         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21779         $in_func argument to parse_args.
21780         * math/libm-test.inc (struct test_f_f_data): New type.
21781         (IF_ROUND_INIT_): New macro.
21782         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21783         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21784         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21785         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21786         (ROUND_RESTORE_): Likewise.
21787         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21788         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21789         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21790         (ROUND_RESTORE_FE_UPWARD): Likewise.
21791         (RUN_TEST_LOOP_f_f): New macro.
21792         (acos_test_data): New variable.
21793         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21794         (acos_tonearest_test_data): New variable.
21795         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21797 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21799         * benchtests/bench-skeleton.c (startup): Fix coding style.
21801 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21803         [BZ #6809]
21804         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21805         negative infinity argument.
21806         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21807         negative infinity argument.
21808         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21809         negative infinity argument.
21810         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21811         domain errors.
21813 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21815         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21816         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21817         * iconv/iconv_prog.c (main): Likewise.
21818         * locale/programs/charmap-dir.c (charmap_readdir)
21819         (fopen_uncompressed): Likewise.
21820         * locale/programs/locfile.c (siblings_uncached)
21821         (write_locale_data): Use lstat64 instead of lstat.
21822         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21823         stat.
21825 2013-05-10  Andreas Jaeger  <aj@suse.de>
21827         [BZ #15395]
21828         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21829         localization.
21830         Include <locale.h>.
21832 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21834         * elf/dl-close.c (_dl_close_worker): Add comments.
21836 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21838         [BZ #15359]
21839         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21840         high part of pi/2.
21841         (__ieee754_rem_pio2l): Update comments.
21843         [BZ #15429]
21844         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21845         high part of pi/2.
21846         (__ieee754_rem_pio2l): Update comments.
21848         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21849         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21851         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21852         M_PI_4l.
21854         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21855         (M_PI_34_LOG10El): Likewise.
21856         (M_PI2_LOG10El): Likewise.
21857         (M_PI4_LOG10El): Likewise.
21858         (M_PI_LOG10El): Likewise.
21860 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21864 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21866         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21867         (MINUS_ZERO_INIT): Likewise.
21868         (PLUS_INFTY_INIT): Likewise.
21869         (MINUS_INFTY_INIT): Likewise.
21870         (QNAN_VALUE_INIT): Likewise.
21871         (MAX_VALUE_INIT): Likewise.
21872         (MIN_VALUE_INIT): Likewise.
21873         (MIN_SUBNORM_VALUE_INIT): Likewise.
21874         (plus_zero): Initialize with PLUS_ZERO_INIT.
21875         (minus_zero): Initialize with MINUS_ZERO_INIT.
21876         (plus_infty): Initialize with PLUS_INFTY_INIT.
21877         (minus_infty): Initialize with MINUS_INFTY_INIT.
21878         (qnan_value): Initialize with QNAN_VALUE_INIT.
21879         (max_value): Initialize with MAX_VALUE_INIT.
21880         (min_value): Initialize with MIN_VALUE_INIT.
21881         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21883         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21884         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21885         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21886         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21888         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21889         (RUN_TEST_2_f): Likewise.
21890         (RUN_TEST_ff_f): Likewise.
21891         (RUN_TEST_fi_f): Likewise.
21892         (RUN_TEST_fl_f): Likewise.
21893         (RUN_TEST_fff_f): Likewise.
21894         (RUN_TEST_c_f): Likewise.
21895         (RUN_TEST_f_f1): Likewise.
21896         (RUN_TEST_fF_f1): Likewise.
21897         (RUN_TEST_fI_f1): Likewise.
21898         (RUN_TEST_ffI_f1): Likewise.
21899         (RUN_TEST_c_c): Likewise.
21900         (RUN_TEST_cc_c): Likewise.
21901         (RUN_TEST_f_i): Likewise.
21902         (RUN_TEST_f_i_tg): Likewise.
21903         (RUN_TEST_ff_i_tg): Likewise.
21904         (RUN_TEST_f_b): Likewise.
21905         (RUN_TEST_f_b_tg): Likewise.
21906         (RUN_TEST_f_l): Likewise.
21907         (RUN_TEST_f_L): Likewise.
21908         (RUN_TEST_sincos): Likewise.
21909         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21910         whether to show exceptions.  Do not include ");\n" in return
21911         value.
21912         (special_functions): Output call to RUN_TEST_sincos instead of
21913         check_float calls.  Update calls to new_test.
21914         (parse_args): Output call to single RUN_TEST_* macro instead of
21915         check_* calls and other assignments.  Update calls to new_test.
21917         [BZ #2546]
21918         [BZ #2560]
21919         [BZ #5159]
21920         [BZ #15426]
21921         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21922         input to result for tgamma overflow.
21923         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21924         (gamma_coeff): New variable.
21925         (NCOEFF): New macro.
21926         (gamma_positive): New function.
21927         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21928         underflow here.  Use gamma_positive instead of exp (lgamma) for
21929         other arguments.
21930         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21931         (gamma_coeff): New variable.
21932         (NCOEFF): New macro.
21933         (gammaf_positive): New function.
21934         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21935         underflow here.  Use gamma_positive instead of exp (lgamma) for
21936         other arguments.
21937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21938         (gamma_coeff): New variable.
21939         (NCOEFF): New macro.
21940         (gammal_positive): New function.
21941         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21942         underflow here.  Use gamma_positive instead of exp (lgamma) for
21943         other arguments.
21944         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21945         (gamma_coeff): New variable.
21946         (NCOEFF): New macro.
21947         (gammal_positive): New function.
21948         (__ieee754_gammal_r): Handle positive infinity, overflow and
21949         underflow here.  Handle NaN the same as positive infinity.  Remove
21950         check x < 0xffffffff for negative integers.  Use gamma_positive
21951         instead of exp (lgamma) for other arguments.
21952         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21953         (gamma_coeff): New variable.
21954         (NCOEFF): New macro.
21955         (gammal_positive): New function.
21956         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21957         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21958         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21959         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21960         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21961         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21962         * sysdeps/generic/math_private.h (__gamma_productf): New
21963         prototype.
21964         (__gamma_product): Likewise.
21965         (__gamma_productl): Likewise.
21966         * math/Makefile (libm-calls): Add gamma_product.
21967         * math/libm-test.inc (tgamma_test): Add more tests.
21968         * sysdeps/i386/fpu/libm-test-ulps: Update.
21969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21973         * benchtests/bench-skeleton.c (main): Preheat CPU.
21975 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21977         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21979 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21981         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21982         and _dl_skip_args_internal.
21984 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21986         * manual/message.texi (Message Translation): Talk about users.
21987         Message to key mapping impacts design.
21989 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21991         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21993         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21995         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21996         * sysdeps/wordsize-64/glob64.c: ... here.
21998         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21999         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22000         New macros.
22002         * debug/getlogin_r_chk.c: Moved to ...
22003         * login/getlogin_r_chk.c: ... here.
22004         * debug/Makefile (routines): Move getlogin_r_chk to ...
22005         * login/Makefile (routines): ... here.
22006         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22007         * login/Versions (libc: GLIBC_2.4): ... here.
22009         * io/poll.c (__poll): Renamed from poll.
22010         Add libc_hidden_def.
22011         (poll): Define as weak alias.
22013         * debug/ptsname_r_chk.c: Moved to ...
22014         * login/ptsname_r_chk.c: ... here.
22015         * debug/Makefile (routines): Move ptsname_r_chk to ...
22016         * login/Makefile (routines): ... here.
22017         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22018         * login/Versions (libc: GLIBC_2.4): ... here.
22020         * posix/getlogin.c: Moved to ...
22021         * login/getlogin.c: ... here.
22022         * posix/getlogin_r.c: Moved to ...
22023         * login/getlogin_r.c: ... here.
22024         * posix/getlogin_r.c: Moved to ...
22025         * login/getlogin_r.c: ... here.
22026         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22027         * login/Makefile (routines): ... here.
22028         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22029         * login/Versions (libc: GLIBC_2.0): ... here.
22031         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22032         (setrlimit): Define as weak alias.
22034         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22035         Call __ names for open, ftruncate, and close.
22036         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22037         (truncate): Define as weak alias.
22039 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22041         * math/gen-libm-test.pl (parse_args): Initialize x before each
22042         test of frexp, modf and remquo.
22044         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22045         test signgam value.
22047 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22049         [BZ #15418]
22050         [BZ #15419]
22051         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22052         internal tests.
22053         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22055 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22057         * elf/dl-writev.h: New file.
22058         * elf/dl-misc.c: Include it.
22059         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22060         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22062 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22064         * math/libm-test.inc (noXFails): Remove variable.
22065         (noXPasses): Likewise.
22066         (BUILD_COMPLEX_INT): Remove macro.
22067         (print_screen): Remove xfail argument.
22068         (print_screen_max_error): Likewise.
22069         (update_stats): Likewise.
22070         (print_max_error): Likewise.  Update calls to other affected
22071         functions.
22072         (print_complex_max_error): Likewise.
22073         (test_single_exception): Update calls to print_screen.
22074         (test_single_errno): Likewise.
22075         (check_float_internal): Remove xfail argument.  Update calls to
22076         other affected functions.
22077         (check_float): Likewise.
22078         (check_complex): Likewise.
22079         (check_int): Likewise.
22080         (check_long): Likewise.
22081         (check_bool): Likewise.
22082         (check_longlong): Likewise.
22083         (main): Don't print noXFails and noXPasses.
22084         * math/gen-libm-test.pl (top level): Don't mention expected
22085         failure handling in comment.
22086         (new_test): Don't handle expected failures.
22087         (parse_args): Don't mention expected failure handling in comment.
22088         (generate_testfile): Don't handle expected failures.
22089         (parse_ulps): Likewise.
22090         (print_ulps_file): Likewise.
22091         (get_failure): Remove function.
22092         (output_test): Don't handle expected failures.
22093         * make/README.libm-test: Don't mention expected failure handling.
22095         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22096         (minus_zero): Likewise.
22097         (plus_infty): Likewise.
22098         (minus_infty): Likewise.
22099         (qnan_value): Likewise.
22100         (max_value): Likewise.
22101         (min_value): Likewise.
22102         (min_subnorm_value): Likewise.
22103         (initialize): Do not initialize those variables dynamically.
22105 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22107         * io/open.c (__open_2): Moved to ...
22108         * io/open_2.c: ... this new file.
22109         * io/open64.c (__open64_2): Moved to ...
22110         * io/open64_2.c: ... this new file.
22111         * io/openat.c (__openat_2): Moved to ...
22112         * io/openat_2.c: ... this new file.
22113         * io/openat64.c (__openat64_2): Moved to ...
22114         * io/openat64_2.c: ... this new file.
22115         * io/Makefile (routines): Add them.
22116         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22117         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22118         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22119         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22120         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22121         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22122         (__openat64): Add hidden_ver.
22123         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22124         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22126         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22127         Separately conditionalize setting of GLRO(dl_sysinfo) so
22128         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22129         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22131 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22133         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22134         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22135         definition.
22136         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22137         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22138         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22139         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22140         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22142 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22144         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22145         test signgam value.
22147         * math/libm-test.inc (hypot_test): Do not use
22148         IGNORE_ZERO_INF_SIGN.
22150 2013-05-03  Andreas Jaeger  <aj@suse.de>
22152         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22153         Linux 3.9.
22154         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22155         (PF_MAX): Adjust for VSOCK change.
22157 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22161 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22163         [BZ #15264]
22164         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22165         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22166         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22168 2013-05-02  David S. Miller  <davem@davemloft.net>
22170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22172 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22174         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22176 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22178         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22180 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22182         [BZ #14952]
22183         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22184         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22185         Use __attribute__ ((__gnu_inline__)).
22186         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22187         Don't use __attribute__ ((__gnu_inline__)).
22189 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22191         [BZ #15423]
22192         * math/s_catan.c (__catan): Handle small real or imaginary part of
22193         input specially to avoid spurious underflow.
22194         * math/s_catanf.c (__catanf): Likewise.
22195         * math/s_catanh.c (__catanh): Likewise.
22196         * math/s_catanhf.c (__catanhf): Likewise.
22197         * math/s_catanhl.c (__catanhl): Likewise.
22198         * math/s_catanl.c (__catanl): Likewise.
22199         * math/libm-test.inc (catan_test): Add more tests.
22200         (catanh_test): Likewise.
22201         * sysdeps/i386/fpu/libm-test-ulps: Update.
22202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22204 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22208 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22210         [BZ #15416]
22211         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22212         accurately for denominator in atan2.
22213         * math/s_catanf.c (__catanf): Likewise.
22214         * math/s_catanh.c (__catanh): Likewise.
22215         * math/s_catanhf.c (__catanhf): Likewise.
22216         * math/s_catanhl.c (__catanhl): Likewise.
22217         * math/s_catanl.c (__catanl): Likewise.
22218         * math/libm-test.inc (catan_test): Add more tests.
22219         (catanh_test): Likewise.
22220         * sysdeps/i386/fpu/libm-test-ulps: Update.
22221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22225         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22227         * benchtests/Makefile (bench): Remove slow benchmarks.
22228         * benchtests/atan-inputs: Add slow benchmark inputs.
22229         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22230         (BENCH_FUNC): Accept variant offset.
22231         (VARIANT): Define.
22232         * benchtests/bench-skeleton.c (main): Run benchmark for each
22233         variant.
22234         * benchtests/cos-inputs: Add slow benchmark inputs.
22235         * benchtests/exp-inputs: Likewise.
22236         * benchtests/pow-inputs: Likewise.
22237         * benchtests/sin-inputs: Likewise.
22238         * benchtests/slowatan-inputs: Remove.
22239         * benchtests/slowatan.c: Remove.
22240         * benchtests/slowcos-inputs: Remove.
22241         * benchtests/slowcos.c: Remove.
22242         * benchtests/slowexp-inputs: Remove.
22243         * benchtests/slowexp.c: Remove.
22244         * benchtests/slowpow-inputs: Remove.
22245         * benchtests/slowpow.c: Remove.
22246         * benchtests/slowsin-inputs: Remove.
22247         * benchtests/slowsin.c: Remove.
22248         * benchtests/slowtan-inputs: Remove.
22249         * benchtests/slowtan.c: Remove.
22250         * benchtests/tan-inputs: Add slow benchmark inputs.
22251         * scripts/bench.pl: Parse comments and directives.
22253         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22254         in CPPFLAGS.
22255         ($(objpfx)bench-%.c): Remove *-ITER.
22256         * benchtests/bench-modf.c: Remove definition of ITER.
22257         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22258         (main): Loop for DURATION seconds instead of fixed number of
22259         iterations.
22260         * scripts/bench.pl: Don't expect iterations in parameters.
22262 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22264         * io/fchdir.c (__fchdir): Renamed from fchdir.
22265         (fchdir): Define as weak alias.
22267 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22269         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22270         (ERRNO_EDOM): Likewise.
22271         (ERRNO_ERANGE): Likewise.
22272         (noErrnoTests): New variable.
22273         (init_max_error): Set errno to 0.
22274         (test_single_errno): New function.
22275         (test_errno): Likewise.
22276         (check_float_internal): Call test_errno.  Set errno to 0.
22277         (check_complex): Refer to errno tests in comment.
22278         (check_int): Call test_errno.  Set errno to 0.
22279         (check_long): Likewise.
22280         (check_bool): Likewise.
22281         (check_longlong): Likewise.
22282         (cos_test): Use ERRNO_* flags for errno tests instead of
22283         check_int.
22284         (expm1_test): Likewise.
22285         (fmod_test): Likewise.
22286         (ilogb_test): Likewise.
22287         (lgamma_test): Likewise.
22288         (pow_test): Likewise.
22289         (remainder_test): Likewise.
22290         (sin_test): Likewise.
22291         (tan_test): Likewise.
22292         (yn_test): Likewise.
22293         (initialize): Set errno to 0.
22294         (main): Print number of errno tests.
22295         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22297 2013-04-29  Andreas Jaeger  <aj@suse.de>
22299         [BZ #15084]
22300         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22301         and RES_USEVC.
22303         [BZ #15085]
22304         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22305         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22306         unimplemented.
22308         [BZ #15380]
22309         * stdlib/random.c (__initstate): Return NULL if
22310         __initstate fails.
22312         [BZ #15086]
22313         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22314         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22315         RES_SNGLKUPREOP.
22317 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22321 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22323         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22324         of individual tests.
22325         (casin_test): Likewise.
22326         (casinh_test): Likewise.
22328 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22330         [BZ #15409]
22331         * math/s_catan.c (__catan): Handle arguments with large real or
22332         imaginary part separately without squaring.
22333         * math/s_catanf.c (__catanf): Likewise.
22334         * math/s_catanh.c (__catanh): Likewise.
22335         * math/s_catanhf.c (__catanhf): Likewise.
22336         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22337         and redefine.
22338         (__catanhl): Handle arguments with large real or imaginary part
22339         separately without squaring.
22340         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22341         and redefine.
22342         (__catanl): Handle arguments with large real or imaginary part
22343         separately without squaring.
22344         * math/libm-test.inc (catan_test): Add more tests.
22345         (catanh_test): Likewise.
22346         * sysdeps/i386/fpu/libm-test-ulps: Update.
22347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22349 2013-04-27  Andreas Jaeger  <aj@suse.de>
22351         [BZ #15007]
22352         * stdlib/stdlib.h: Update guards for qecvt.
22353         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22354         <stdlib.h>.
22356 2013-04-27  Allan McRae  <allan@archlinux.org>
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22360 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22362         [BZ #15406]
22363         * math/s_catan.c: Include <float.h>.
22364         (__catan): Ensure underflow exception occurs for underflowed
22365         result.
22366         * math/s_catanf.c: Include <float.h>.
22367         (__catanf): Ensure underflow exception occurs for underflowed
22368         result.
22369         * math/s_catanh.c: Include <float.h>.
22370         (__catanh): Ensure underflow exception occurs for underflowed
22371         result.
22372         * math/s_catanhf.c: Include <float.h>.
22373         (__catanhf): Ensure underflow exception occurs for underflowed
22374         result.
22375         * math/s_catanhl.c: Include <float.h>.
22376         (__catanhl): Ensure underflow exception occurs for underflowed
22377         result.
22378         * math/s_catanl.c: Include <float.h>.
22379         (__catanl): Ensure underflow exception occurs for underflowed
22380         result.
22381         * math/libm-test.inc (catan_test): Add more tests.
22382         (catanh_test): Likewise.
22384         [BZ #15405]
22385         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22386         underflowed result.
22387         * math/s_ccoshf.c (__ccoshf): Likewise.
22388         * math/s_ccoshl.c (__ccoshl): Likewise.
22389         * math/s_csin.c (__csin): Likewise.
22390         * math/s_csinf.c (__csinf): Likewise.
22391         * math/s_csinh.c (__csinh): Likewise.
22392         * math/s_csinhf.c (__csinhf): Likewise.
22393         * math/s_csinhl.c (__csinhl): Likewise.
22394         * math/s_csinl.c (__csinl): Likewise.
22395         * math/libm-test.inc (ccos_test): Add more tests.
22396         (ccosh_test): Likewise.
22397         (csin_test): Likewise.
22398         (csinh_test): Likewise.
22400 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22402         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22403         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22404         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22405         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22406         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22407         powerpc/power5+/fpu folders.
22408         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22411 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22415 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22417         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22418         additions to variable.
22419         [$(config-machine) = x86_64] (modules-names): Likewise.
22420         ($(objpfx)tst-audit3): Remove dependency.
22421         ($(objpfx)tst-audit3.out): Likewise.
22422         ($(objpfx)tst-audit4): Likewise.
22423         ($(objpfx)tst-audit4.out): Likewise.
22424         ($(objpfx)tst-audit5): Likewise.
22425         ($(objpfx)tst-audit5.out): Likewise.
22426         ($(objpfx)tst-audit6): Likewise.
22427         ($(objpfx)tst-audit6.out): Likewise.
22428         ($(objpfx)tst-audit7): Likewise.
22429         ($(objpfx)tst-audit7.out): Likewise.
22430         (tst-audit3-ENV): Remove variable.
22431         (tst-audit4-ENV): Likewise.
22432         (tst-audit5-ENV): Likewise.
22433         (tst-audit6-ENV): Likewise.
22434         (tst-audit7-ENV): Likewise.
22435         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22436         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22437         addition to variable.
22438         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22439         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22440         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22441         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22442         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22443         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22444         tst-audit3, tst-audit4 and tst-audit5.
22445         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22446         tst-audit6 and tst-audit7.
22447         [$(subdir) = elf] (modules-names): Add audit modules for those
22448         tests.
22449         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22450         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22451         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22452         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22453         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22454         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22455         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22456         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22457         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22458         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22459         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22460         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22461         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22462         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22463         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22464         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22465         Likewise.
22466         [$(subdir) = elf && $(config-cflags-avx) = yes]
22467         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22468         [$(subdir) = elf && $(config-cflags-avx) = yes]
22469         (CFLAGS-tst-auditmod4a.c): Likewise.
22470         [$(subdir) = elf && $(config-cflags-avx) = yes]
22471         (CFLAGS-tst-auditmod4b.c): Likewise.
22472         [$(subdir) = elf && $(config-cflags-avx) = yes]
22473         (CFLAGS-tst-auditmod6b.c): Likewise.
22474         [$(subdir) = elf && $(config-cflags-avx) = yes]
22475         (CFLAGS-tst-auditmod6c.c): Likewise.
22476         [$(subdir) = elf && $(config-cflags-avx) = yes]
22477         (CFLAGS-tst-auditmod7b.c): Likewise.
22478         * elf/tst-audit3.c: Move to ...
22479         * sysdeps/x86_64/tst-audit3.c: ... here.
22480         * elf/tst-audit4.c: Move to ...
22481         * sysdeps/x86_64/tst-audit4.c: ... here.
22482         * elf/tst-audit5.c: Move to ...
22483         * sysdeps/x86_64/tst-audit5.c: ... here.
22484         * elf/tst-audit6.c: Move to ...
22485         * sysdeps/x86_64/tst-audit6.c: ... here.
22486         * elf/tst-audit7.c: Move to ...
22487         * sysdeps/x86_64/tst-audit7.c: ... here.
22488         * elf/tst-auditmod3a.c: Move to ...
22489         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22490         * elf/tst-auditmod3b.c: Move to ...
22491         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22492         * elf/tst-auditmod4a.c: Move to ...
22493         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22494         * elf/tst-auditmod4b.c: Move to ...
22495         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22496         * elf/tst-auditmod5a.c: Move to ...
22497         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22498         * elf/tst-auditmod5b.c: Move to ...
22499         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22500         * elf/tst-auditmod6a.c: Move to ...
22501         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22502         * elf/tst-auditmod6b.c: Move to ...
22503         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22504         * elf/tst-auditmod6c.c: Move to ...
22505         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22506         * elf/tst-auditmod7a.c: Move to ...
22507         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22508         * elf/tst-auditmod7b.c: Move to ...
22509         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22511 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22513         [BZ #15366]
22514         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22515         define unconditionally.
22516         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22517         define unconditionally.
22518         (INT8_C, INT16_C, etc.): Likewise.
22520 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22522         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22523         __ehdr_start with hidden visibility.
22525         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22527 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22529         * math/libm-test.inc (cos_test): Use accurate hex constants.
22530         (sincost_test): Likewise.
22532 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22534         * math/libm-test.inc (catan_test): Add more tests.
22535         (catanh_test): Likewise.
22537         * math/s_catanf.c (__catanf): Use suffixed floating-point
22538         constants.
22539         * math/s_catanhf.c (__catanhf): Likewise.
22540         * math/s_catanhl.c (__catanhl): Likewise.
22541         * math/s_catanl.c (__catanl): Likewise.
22543         [BZ #15394]
22544         * math/s_catan.c (__catan): Calculate imaginary part of result
22545         with log1p not log unless computing log of number close to 0.
22546         * math/s_catanf.c (__catanf): Likewise.
22547         * math/s_catanl.c (__catanl): Likewise.
22548         * math/s_catanh.c (__catanh): Calculate real part of result with
22549         log1p not log unless computing log of number close to 0.
22550         * math/s_catanhf.c (__catanhf): Likewise.
22551         * math/s_catanhl.c (__catanhl): Likewise.
22552         * math/libm-test.inc (catan_test): Add more tests.
22553         (catanh_test): Likewise.
22554         * sysdeps/i386/fpu/libm-test-ulps: Update.
22555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22557 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22559         * benchtests/Makefile: Mention files in which fast and slow
22560         paths of math functions are implemented.
22562 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22564         * sysdeps/posix/timespec_get.c: New file.
22566 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22568         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22569         POWER.
22570         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22571         for POWER.
22572         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22573         powerpc/power5/fpu folders.
22574         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22575         * benchtests/Makefile: Add modf testcase.
22576         * benchtests/bench-modf.c: New file: Benchmark test for mo
22578 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22580         [BZ #14888]
22581         * time/Makefile (tests): Add tst-strptime-whitespace.
22582         * time/strptime_l.c (get_number): Use ISSPACE.
22583         (__strptime_internal): Likewise.
22584         * time/tst-strptime-whitespace.c: New test case.
22586 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22588         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22589         member.
22590         (_nss_files_init): Set it here.
22592 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22594         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22595         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22596         unsigned.
22598 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22600         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22602 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22604         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22605         size just once.
22607 2013-04-21  David S. Miller  <davem@davemloft.net>
22609         * po/ru.po: Update Russion translation from translation project.
22611 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22613         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22614         and setfsgid.
22616 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22618         * configure.in: Remove i386 configure warning. Remove i386 case.
22619         * configure: Regenerate.
22620         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22621         Add example to error message.
22622         * sysdeps/i386/configure: Regenerate.
22624 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22626         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22627         slowtan.
22628         * benchtests/cos-inputs: New file.
22629         * benchtests/slowcos-inputs: New file.
22630         * benchtests/slowcos.c: New file.
22631         * benchtests/slowtan-inputs: New file.
22632         * benchtests/slowtan.c: New file.
22633         * benchtests/tan-inputs: New file.
22635 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22637         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22638         considered kosher.
22640 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22642         * benchtests/Makefile: Include cppflags-iterator.mk to add
22643         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22645         * Makefile.in (bench-clean): New target.
22646         * benchtests/Makefile (bench-clean): Likewise.
22648 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22650         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22652 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22654         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22656 2013-04-15  Andreas Schwab  <schwab@suse.de>
22658         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22659         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22660         * nscd/pwdcache.c (cache_addpw): Likewise.
22661         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22662         more than recsize.
22664 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22666         * benchtests/Makefile (bench): Write all output to
22667         bench-out.tmp together.
22669 2013-04-15  Andreas Schwab  <schwab@suse.de>
22671         * nscd/nscd.c (main): Don't fork again after closing files.
22673 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22675         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22677         * benchtests/Rules (bench-deps): Collect dependencies into a
22678         single variable.  Add Makefile to dependencies.
22679         ($(objpfx)bench-%.c): Depend on bench-deps.
22681 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22682             Xavier Roche  <roche+kml2@exalead.com>
22684         [BZ #15361]
22685         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22686         just that it's a file descriptor.
22687         * manual/llio.texi (Synchronizing AIO Operations): Update description
22688         for EBADF error from aio_fsync.
22690 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22692         * Rules (bench): Move target definition...
22693         * benchtests/Makefile: ... here.
22695 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22697         * math/libm-test.inc (cos_test): Fix PI/2 test.
22698         (sincos_test): Likewise.
22699         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22700         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22702 2013-04-11  Andreas Schwab  <schwab@suse.de>
22704         [BZ #13988]
22705         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22706         accept exponent character only when digits were seen.
22707         * stdio-common/Makefile (tests): Add bug26.
22708         * stdio-common/bug26.c: New file.
22710         [BZ #14293]
22711         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22712         non-freeable.
22714 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22716         * Makeconfig (rtld-prefix): Define built linker prefix.
22717         * Rules (run-bench): Use it.
22718         * math/Makefile (run-regen-ulps): Likewise.
22720         * Rules (bench): Remove eval.
22722 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22723             Roland McGrath  <roland@hack.frob.com>
22724             Ondrej Bilka  <neleai@seznam.cz>
22726         [BZ #15346]
22727         * time/getdate.c: Include ctype.h and alloca.h.
22728         (__getdate_r): Trim leading and trailing spaces of input.
22729         * time/tst-getdate.c (tests): Add tests with leading and
22730         trailing spaces.
22732 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22734         [BZ #14280]
22735         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22736         when computing value.
22738 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22740         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22741         Use testrun.sh to run libm tests.
22743         [BZ #15309]
22744         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22746 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22748         [BZ #15264]
22749         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22751 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22753         * Makefile.in (regen-ulps): New target.
22754         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22755         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22756         [ifneq (no,$(PERL)] (regen-ulps): New target.
22757         [ifeq (no,$(PERL)] (regen-ulps): New target.
22758         * math/libm-test.inc (ulps_file_name): Define.
22759         (output_dir): New variable.
22760         (options): Add "output-dir" option.
22761         (parse_opt): Handle 'o' case.
22762         (main): If output_dir is non-NULL use it as a prefix
22763         otherwise use "".
22764         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22766 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22768         [BZ #10060, #10062]
22769         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22770         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22771         fail configure if __sync_val_compare_and_swap is not inlined.
22772         * sysdeps/i386/configure: Regenerate.
22773         * configure.in: Build for i686 when configured for i386.
22774         * configure: Regenerate.
22775         * README: Remove i386 reference.
22777 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22779         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22782 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22784         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22785         (lmsnanval): New variables.
22786         (F): Add conversion tests.
22787         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22788         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22790         * stdio-common/tstdiomisc.c (F): Properly collect individual
22791         tests' results.
22793         [BZ #14686, #15336]
22794         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22795         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22796         Instead, use input NaN values or generate a qNaN by arithmetic
22797         operation.  Also fix bugs to comply with the standard.
22798         * math/libm-test.inc (remainder_test): Add more tests.
22800         [BZ #15335, #15342]
22801         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22803         input NaN values or generate a qNaN by arithmetic operation.
22805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22806         unreachable code.
22808         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22809         definitions.
22811 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22813         [BZ #14478]
22814         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22815         underflowed result.
22816         * math/s_cexpf.c (__cexpf): Likewise.
22817         * math/s_cexpl.c (__cexpl): Likewise.
22818         * math/libm-test.inc (cexp_test): Add more tests.
22820 2013-04-03  Andreas Schwab  <schwab@suse.de>
22822         [BZ #15330]
22823         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22824         order arrays from heap if bigger than alloca cutoff.
22826 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22828         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22829         (SNAN_TESTS_double): Refer to GCC PR56831.
22830         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22831         GCC PR56828.
22833 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22835         * Rules (bench): Move bench.out after the run is complete.
22837         * Rules (bench): Echo currently running benchmark.
22839         * benchtests/Makefile (bench): Add atan and slowatan.
22840         * benchtests/atan-inputs: New file.
22841         * benchtests/slowatan-inputs: New file.
22842         * benchtests/slowatan.c: New file.
22844         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22845         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22846         its value.
22848         [BZ #15305]
22849         * sysdeps/unix/sysv/linux/kernel-features.h
22850         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22851         __ASSUME_XFS_RESTRICTED_CHOWN.
22852         * sysdeps/unix/sysv/linux/pathconf.c
22853         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22854         Save and restore errno.
22856 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22858         [BZ #15327]
22859         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22860         arguments using __kernel_casinh.
22861         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22862         arguments using __kernel_casinhf.
22863         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22864         arguments using __kernel_casinhl.
22865         * math/libm-test.inc (cacosh_test): Add more tests.
22866         * sysdeps/i386/fpu/libm-test-ulps: Update.
22867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22869 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22871         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22874         * bench/Makefile (bench): Add sin and slowsin.
22875         * benchtests/sin-inputs: New file.
22876         * benchtests/slowsin-inputs: New file.
22877         * benchtests/slowsin.c: New file.
22879         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22880         (bench): Add slowexp and slowpow.
22881         (exp-ITER): Increase iterations.
22882         (pow-ITER): Likewise.
22883         * benchtests/exp-inputs: Change input.
22884         * benchtests/pow-inputs: Likewise.
22885         * benchtests/slowexp-inputs: New file.
22886         * benchtests/slowexp.c: New file.
22887         * benchtests/slowpow-inputs: New file.
22888         * benchtests/slowpow.c: New file.
22890 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22892         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22893         instructions.
22894         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22895         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22896         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22897         * benchtests/Makefile: Add rint benchtest.
22898         * benchtests/rint-inputs: Input for rint benchtest.
22900 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22902         * Versions.def (libm): Add GLIBC_2.18.
22903         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22904         hidden libm prototypes.
22905         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22906         * math/Makefile (libm-calls): Add s_issignaling.
22907         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22908         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22909         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22910         declaration.
22911         * math/math.h [__USE_GNU] (issignaling): New macro.
22912         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22913         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22914         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22915         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22916         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22917         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22918         * manual/arith.texi (issignaling): New section.
22919         * manual/libm-err-tab.pl (@all_functions): Update comment.
22920         * math/gen-libm-test.pl (parse_args): Apply special handling for
22921         issignaling.
22922         * math/libm-test.inc (print_float, issignaling_test): New
22923         functions.
22924         (check_float_internal): Add issignaling checks.
22925         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22926         default definition.
22927         * sysdeps/powerpc/math-tests.h: New file.
22928         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22929         tests.
22930         * math/test-snan.c (TEST_FUNC): Likewise.
22932 2013-03-30  David S. Miller  <davem@davemloft.net>
22934         * po/de.po: Update from translation team.
22936 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22938         [BZ #10357]
22939         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22940         imaginary part less than 1.0 and real part less than 0.5
22941         specially.
22942         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22943         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22944         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22945         (cacos_test): Add more tests.
22946         (casin_test): Likewise.
22947         (casinh_test): Likewise.
22948         * sysdeps/i386/fpu/libm-test-ulps: Update.
22949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22951 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22953         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22954         ONE with its value.
22956         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22957         (__pow_mp): Replace ONE and MONE with their values.
22958         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22960         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22961         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22962         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22963         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22965         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22967         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22968         (__pow_mp): Replace ZERO and MZERO with their values.
22969         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22970         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22971         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22972         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22973         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22974         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22975         (__sqr): Likewise.
22977         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22979         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22981 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22983         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22984         Declare with __attribute__ ((weak)).
22985         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22986         Call __call_tls_dtors only if it's not NULL.
22988 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22990         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22991         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22992         magic __ehdr_start linker symbol if it's defined.
22993         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22994         them up here if it was already done.
22996         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22997         (_dl_aux_init): Use const in cast when setting it.
22998         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22999         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23000         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23002         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23003         Declare them here.
23004         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23005         * csu/libc-tls.c: Nor here.
23006         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23008         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23009         (__libc_message): Never call vsyslog.
23011 2013-03-28  Alan Modra  <amodra@gmail.com>
23013         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23014         Define as empty.
23015         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23016         Likewise.
23018 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23020         [BZ #15214]
23021         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23022         underflow.
23023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23025 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23027         [BZ #15304]
23028         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23029         Don't add gid passed as argument.
23031         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23033 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23035         [BZ #15307]
23036         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23037         imaginary part between 1.0 and 1.5 and real part less than 0.5
23038         specially.
23039         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23040         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23041         * math/libm-test.inc (cacos_test): Add more tests.
23042         (casin_test): Likewise.
23043         (casinh_test): Likewise.
23044         * sysdeps/i386/fpu/libm-test-ulps: Update.
23045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23047 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23049         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23050         constants.
23051         (norm): Likewise.
23052         (denorm): Likewise.
23053         (__dbl_mp): Likewise.
23054         (add_magnitudes): Likewise.
23055         (sub_magnitudes): Likewise.
23056         (__add): Likewise.
23057         (__sub): Likewise.
23058         (__mul): Likewise.
23059         (__sqr): Likewise.
23060         (__inv): Likewise.
23061         (__dvd): Likewise.
23063         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23064         commented code.
23065         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23066         (__dubcos): Likewise.
23067         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23068         (__ieee754_acos): Likewise.
23069         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23070         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23071         (__exp1): Likewise.
23072         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23074         (log1): Likewise.
23075         (my_log2): Likewise.
23076         (checkint): Likewise.
23077         * sysdeps/ieee754/dbl-64/e_remainder.c
23078         (__ieee754_remainder): Likewise.
23079         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23080         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23081         (bsloww): Likewise.
23082         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23084         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23085         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23086         MANTISSA_STORE_T to store computations on mantissa.  Use
23087         macros for rounding and division.
23088         (denorm): Likewise.
23089         (__dbl_mp): Likewise.
23090         (add_magnitudes): Likewise.
23091         (sub_magnitudes): Likewise.
23092         (__mul): Likewise.
23093         (__sqr): Likewise.
23094         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23095         powers of two in terms of TWOPOW macro.
23096         (mp_no): Make type of mantissa as MANTISSA_T.
23097         [!RADIXI]: Define RADIXI.
23098         [!TWO52]: Define TWO52.
23099         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23101 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23103         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23104         llroundl symbol when building for PPC32.
23106 2013-03-24  Mark H Weaver  <mhw@netris.org>
23108         * manual/arith.texi (Normalization Functions): Fix prototypes for
23109         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23111 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23113         [BZ #13889]
23114         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23115         high value to check if expl overflow.
23116         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23117         to check for underflow and overflow.
23118         * math/libm-test.inc: Add exp test.
23120 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23122         [BZ #11120]
23123         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23124         with NOT_IN_libc.
23126 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23128         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23129         symbol.
23131 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23133         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23134         wrap blocks consisting of several statements.
23136         * sysdeps/generic/math-tests.h: New file.
23137         * sysdeps/i386/fpu/math-tests.h: Likewise.
23138         * math/test-snan.c: Include it.
23139         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23141 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23143         [BZ #15285]
23144         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23145         (__ieee754_j0l): Do not improve calculations using cos of twice
23146         input for inputs above LDBL_MAX / 2.0L.
23147         (__ieee754_y0l): Likewise.
23148         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23149         (__ieee754_j1l): Do not improve calculations using cos of twice
23150         input for inputs above LDBL_MAX / 2.0L.
23151         (__ieee754_y1l): Likewise.
23152         * math/libm-test.inc (j0_test): Add another test.
23153         (j1_test): Likewise.
23154         (y0_test): Likewise.
23155         (y1_test): Likewise.
23156         * sysdeps/i386/fpu/libm-test-ulps: Update.
23158 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23160         * Rules ($(objpfx)bench-%.c): Include code from a C source
23161         file.
23163 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23165         [BZ #15287]
23166         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23167         imaginary part 1.0 and real part less than 0.5 specially.
23168         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23169         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23170         * math/libm-test.inc (cacos_test): Add more tests.
23171         (casin_test): Likewise.
23172         (casinh_test): Likewise.
23173         * sysdeps/i386/fpu/libm-test-ulps: Update.
23174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23176 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23178         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23179         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23181 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23183         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23184         * config.make.in (config-cflags-sse4): Remove variable.
23185         (config-cflags-avx): Likewise.
23186         (config-cflags-sse2avx): Likewise.
23187         (config-cflags-novzeroupper): Likewise.
23188         (config-asflags-i686): Likewise.
23189         (have-mfma4): Likewise.
23190         (have-as-vis3): Likewise.
23191         (MIG): Likewise.
23192         * configure.in (MIG): Do not AC_SUBST.
23193         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23194         (libc_cv_cc_sse4): Do not AC_SUBST.
23195         (libc_cv_cc_avx): Likewise.
23196         (libc_cv_cc_sse2avx): Likewise.
23197         (libc_cv_cc_novzeroupper): Likewise.
23198         (libc_cv_cc_fma4): Likewise.
23199         (libc_cv_as_i686): Likewise.
23200         (libc_cv_sparc_as_vis3): Likewise.
23201         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23202         LIBC_CONFIG_VAR.
23203         (config-asflags-i686): Likewise.
23204         (config-cflags-avx): Likewise.
23205         (config-cflags-sse2avx): Likewise.
23206         (have-mfma4): Likewise.
23207         (config-cflags-novzeroupper): Likewise.
23208         * sysdeps/mach/configure.in (MIG): Likewise.
23209         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23210         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23211         LIBC_CONFIG_VAR.
23212         (config-cflags-avx): Likewise.
23213         (config-cflags-sse2avx): Likewise.
23214         (have-mfma4): Likewise.
23215         (config-cflags-novzeroupper): Likewise.
23216         * configure: Regenerated.
23217         * sysdeps/i386/configure: Likewise.
23218         * sysdeps/mach/configure: Likewise.
23219         * sysdeps/sparc/configure: Likewise.
23220         * sysdeps/x86_64/configure: Likewise.
23222 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23224         [BZ #14812]
23225         * locale/programs/localedef.c (options): Put N_ translation marker
23226         on argument names, not just descriptions.
23228 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23230         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23232 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23234         [BZ #14176]
23235         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23237 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23239         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23240         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23241         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23242         [!BEFORE_ABORT] (before_abort): New function.
23243         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23244         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23245         (writev_for_fatal): New function.
23246         (WRITEV_FOR_FATAL): New macro; call that.
23247         (backtrace_and_maps): New function.
23248         (BEFORE_ABORT): New macro; call that.
23249         (struct str_list): Type removed.
23250         (__libc_message, __libc_fatal): Functions removed.
23251         Include <sysdeps/posix/libc_fatal.c> instead.
23253 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23255         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23256         constants.
23257         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23258         double constants.
23260 2013-03-19  Andreas Schwab  <schwab@suse.de>
23262         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23263         * sysdeps/gnu/configure: Regenerate.
23265         * configure.in: Substitute libc_cv_rtlddir.
23266         * configure: Regenerate.
23267         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23268         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23269         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23270         * elf/Makefile (install-others, CFLAGS-interp.c)
23271         (ldso_install, common-ldd-rewrite): Likewise.
23272         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23273         $(inst_slibdir)/$(rtld-installed-name).
23274         * scripts/rellns-sh: Add -p option.
23275         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23276         for source.
23278 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23280         * manual/nptl.texi: Renamed to ...
23281         * manual/threads.texi: ... this.
23282         * manual/Makefile (chapters): Update.
23284 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23286         [BZ #14812]
23287         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23288         on argument names, not just descriptions.
23289         * malloc/memusagestat.c (options): Likewise.
23290         * nss/getent.c (options): Likewise.
23292 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23294         [BZ #14812]
23295         * iconv/iconv_prog.c (options): Put N_ translation marker
23296         on argument names, not just descriptions.
23297         * iconv/iconvconfig.c (options): Likewise.
23299 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23301         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23302         implementation which is faster on all x86_64 architectures.
23303         Tested on AMD, Intel Nehalem, SNB, IVB.
23304         * sysdeps/x86_64/strnlen.S: Likewise.
23306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23307         Remove all multiarch strlen and strnlen versions.
23308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23309         Remove strlen and strnlen related parts.
23311         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23312         Inline strlen part.
23313         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23315         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23316         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23317         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23318         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23319         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23320         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23322 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23324         * manual/memory.texi (Malloc Tunable Parameters):
23325         Sort parameters alphabetically. Add comments for missing entries.
23327 2013-03-17  David S. Miller  <davem@davemloft.net>
23329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23331 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23333         [BZ #15283]
23334         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23335         for arguments at most half maximum finite value.
23336         * math/libm-test.inc (j0_test): Add more tests.
23337         (j1_test): Likewise.
23338         (y0_test): Likewise.
23339         (y1_test): Likewise.
23340         * sysdeps/i386/fpu/libm-test-ulps: Update.
23341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23343         [BZ #14155]
23344         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23345         1 / x and functions P and Q for arguments above 0x1p256L.
23346         (__ieee754_y0l): Likewise.
23347         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23348         (__ieee754_y1l): Likewise.
23349         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23350         (j1_test): Likewise.
23351         (y0_test): Likewise.
23352         (y1_test): Likewise.
23354 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23356         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23357         variable.
23359 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23361         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23362         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23363         zero since it's initialized to EXEC_PAGESIZE.
23365         * sysdeps/unix/sysv/linux/ldsodefs.h
23366         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23367         * sysdeps/generic/ldsodefs.h: ... here.
23369 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23371         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23373         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23374         math/test-snan.c.
23375         * math/test-snan.c: Renamed from
23376         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23377         * math/Makefile (tests): Add test-snan.
23378         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23379         test-powerpc-snan.
23381         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23382         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23383         functions.
23384         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23385         __builtin_nan family of functions.
23386         * math/libm-test.inc (initialize): Initialize qnan_value with
23387         __builtin_nan family of functions.
23388         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23389         Remove variables.
23390         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23391         Remove functions.
23392         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23393         storage class.  Initialize qNaN_var and sNaN_var with
23394         __builtin_nan and __builtin_nans families of functions,
23395         respectively.
23397         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23398         (sqrt_test): Remove duplicate test with qNaN input.
23399         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23400         (round_test, signbit_test, significand_test): Note missing +/-Inf
23401         as well as qNaN tests.
23403         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23404         qNaN_var.  Fix a few strings, too.
23405         * math/libm-test.inc (nan_value): Rename to qnan_value.
23406         * math/gen-libm-test.pl (%beautify): Adjust to that.
23407         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23408         * math/test-misc.c (main): Likewise.
23409         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23410         to __qnan_bytes, and __qnan_union, respectively.
23411         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23412         Likewise.
23413         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23414         and lqnanval, respectively.
23415         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23416         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23417         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23418         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23420         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23421         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23422         doubles.
23424         * math/test-misc.c (main): Fix copy'n'pastos.
23425         * misc/tst-efgcvt.c (special): Likewise.
23427         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23428         Remove declarations.
23430 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23432         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23433         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23434         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23435         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23437 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23439         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23440         macro to return vdso values correctly in IFUNC implementations.
23441         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23442         Optimization by using IFUNC.
23444 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23445             Richard Henderson  <rth@redhat.com>
23446             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23448         * Makefile.in (bench): New target.
23449         * NEWS: Mention the benchmark framework.
23450         * Rules (bench): Likewise.
23451         (binaries-bench): Generate binaries for functions to
23452         benchmark.
23453         * benchtests/Makefile: New makefile for benchmark tests.
23454         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23455         programs.
23456         * benchtests/exp-inputs: New input file for EXP function.
23457         * benchtests/pow-inputs: New input file for POW function.
23458         * scripts/bench.pl: New script to generate source files for
23459         benchmark programs.
23461 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23463         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23464         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23465         computations on mantissa.  Use macros for rounding and
23466         division.
23467         (denorm): Likewise.
23468         (__dbl_mp): Likewise.
23469         (add_magnitudes): Likewise.
23470         (sub_magnitudes): Likewise.
23471         (__mul): Likewise.
23472         (__sqr): Likewise.
23473         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23474         powers of two in terms of TWOPOW macro.
23475         (mp_no): Make type of mantissa as MANTISSA_T.
23476         [!RADIXI]: Define RADIXI.
23477         [!TWO52]: Define TWO52.
23478         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23480         * manual/nptl.texi (cindex): Modify threads to pthreads.
23482 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23484         * sysdeps/x86_64/preconfigure: Regenerated.
23486 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23488         [BZ #14155]
23489         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23490         0x1p28 and above.
23491         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23492         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23493         0x1p28 and above.
23494         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23495         * math/libm-test.inc (j0_test): Do not allow one spurious
23496         underflow exception.
23497         (y1_test): Likewise.
23499 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23501         * manual/Makefile (chapters): Add nptl.
23502         * manual/debug.texi (Debugging Support): Add link to Threads
23503         chapter.
23504         * manual/nptl.texi: New file.
23506         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23508 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23510         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23511         for non-NULL pointer before the memory validity test. Pointed
23512         out by Holger Brunck <holger.brunck@keymile.com>.
23514 2013-03-13  Andreas Schwab  <schwab@suse.de>
23516         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23517         instead of .os.
23519 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23521         * timezone/zic.c: Update from tzcode 2013b.
23523 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23525         * manual/install.texi (Configuring and compiling):
23526         Mention i686 and i586.
23527         * INSTALL: Regenerate.
23529 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23531         * sysdeps/init_array/elf-init.c: New file.
23532         * csu/elf-init.c
23533         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23534         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23536         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23537         __gmon_start__ as global, but as static with a .preinit_array pointer.
23538         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23539         * sysdeps/init_array/crti.S: New file, empty except for comments.
23540         * sysdeps/init_array/crtn.S: Likewise.
23542 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23544         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23545         definining bcopy.
23546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23547         Remove Prefer_SSE_for_memop.
23548         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23549         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23550         HAS_PREFER_SSE_FOR_MEMOP.
23551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23552         memset-x86-64.
23553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23554         Remove bzero, memset ifunc support.
23555         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23556         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23557         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23558         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23560 2013-03-11  Andreas Schwab  <schwab@suse.de>
23562         [BZ #15234]
23563         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23564         by SHLIB_COMPAT.
23565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23566         (GLIBC_2.16): Remove pthread_atfork.
23568 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23570         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23571         (ptestcases.h): Likewise.
23573 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23575         * Makeconfig ($(common-objpfx)config.status): Depend on
23576         sysdeps/*/preconfigure{,.in} too.
23578 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23580         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23581         (__free_hook): Use void * instead of __malloc_ptr_t.
23582         (__malloc_hook): Likewise.
23583         (__realloc_hook): Likewise.
23584         (__memalign_hook): Likewise.
23585         (__after_morecore_hook): Likewise.
23586         * malloc/arena.c (save_malloc_hook): Likewise.
23587         (save_free_hook): Likewise.
23588         * malloc/hooks.c (malloc_hook_ini): Likewise.
23589         (realloc_hook_ini): Likewise.
23590         (memalign_hook_ini): Likewise.
23591         * malloc/malloc.c (malloc_hook_ini): Likewise.
23592         (realloc_hook_ini): Likewise.
23593         (memalign_hook_ini): Likewise.
23594         (__free_hook): Likewise.
23595         (__malloc_hook): Likewise.
23596         (__realloc_hook): Likewise.
23597         (__memalign_hook): Likewise.
23598         (__libc_malloc): Likewise.
23599         (__libc_free): Likewise.
23600         (__libc_realloc): Likewise.
23601         (__libc_memalign): Likewise.
23602         (__libc_valloc): Likewise.
23603         (__libc_pvalloc): Likewise.
23604         (__libc_calloc): Likewise.
23605         (__posix_memalign): Likewise.
23606         * malloc/morecore.c (__sbrk): Likewise.
23607         (__default_morecore): Likewise.
23609         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23611         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23612         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23613         __malloc_ptrdiff_t.
23615         * malloc/malloc.h (__malloc_size_t): Remove macro.
23616         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23617         __malloc_size_t.
23618         (old_memalign_hook): Likewise.
23619         (old_realloc_hook): Likewise.
23620         (struct hdr): Likewise.
23621         (flood): Likewise.
23622         (mallochook): Likewise.
23623         (memalignhook): Likewise.
23624         (reallochook): Likewise.
23625         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23626         (tr_old_realloc_hook): Likewise.
23627         (tr_old_memalign_hook): Likewise.
23628         (tr_mallochook): Likewise.
23629         (tr_reallochook): Likewise.
23630         (tr_memalignhook): Likewise.
23632 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23634         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23635         default_ldbl_pack and using as default implementation.
23636         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23637         implementation.
23638         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23639         redundant definition.
23640         (ldbl_insert_mantissa): Likewise.
23641         (ldbl_canonicalize): Likewise.
23642         (ldbl_nearbyint): Likewise.
23643         (ldbl_pack): Rename to ldbl_pack_ppc.
23644         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23645         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23646         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23648 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23651         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23652         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23653         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23655         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23656         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23657         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23659 2013-03-07  Andreas Jaeger  <aj@suse.de>
23661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23662         bits/mman-linux.h.
23664 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23666         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23667         Include mpa.h and declare __MPEXP.
23668         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23669         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23670         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23671         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23672         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23673         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23674         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23676         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23677         (__slowpow): Use long double EXPL and LOGL functions to
23678         compute POW.
23679         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23680         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23681         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23682         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23683         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23684         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23687         intermediate variable to calculate exponent.
23688         (__sqr): Likewise.
23689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23690         Likewise.
23691         (__sqr): Likewise.
23693         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23694         [!NO__SQR]: Define __sqr.
23695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23696         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23697         sysdeps/ieee754/dbl-64/mpa.c.
23698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23700         [BZ #12723]
23701         * posix/Makefile (tests): Add tst-pathconf.
23702         * posix/tst-pathconf.c: New test case.
23703         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23704         _PC_PIPE_BUF.
23705         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23707 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23709         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23711 2013-03-06  Andreas Jaeger  <aj@suse.de>
23713         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23714         definition via __MAP_ANONYMOUS.
23716         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23717         it's not part of Linux headers.
23719         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23720         (MAP_HUGE_MASK): Define.
23722         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23723         Define.
23724         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23725         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23726         Define.
23727         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23728         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23729         Define.
23730         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23731         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23732         Define.
23733         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23735         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23736         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23737         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23738         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23739         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23740         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23742         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23743         Handle f2fs.
23745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23746         Handle f2fs and efivarfs.
23748         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23749         f2fs.
23751         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23752         (EFIVARFS_MAGIC): Add.
23753         (F2FS_LINK_MAX): Add.
23755 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23757         * stdio-common/vfprintf.c: Replace __builtin_expect with
23758         __glibc_unlikely.
23760 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23762         [BZ #13550]
23763         * sysdeps/generic/bp-sym.h: Remove file.
23764         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23765         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23766         <bp-sym.h> and <bp-asm.h>.
23767         (__longjmp): Don't use BP_SYM.
23768         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23769         and <bp-asm.h>.
23770         (memcpy): Don't use BP_SYM.
23771         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23772         <bp-sym.h> and <bp-asm.h>.
23773         (memcpy): Don't use BP_SYM.
23774         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23775         <bp-asm.h>.
23776         (memcpy): Don't use BP_SYM.
23777         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23778         <bp-asm.h>.
23779         (memset): Don't use BP_SYM.
23780         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23781         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23782         (__bzero): Don't use BP_SYM.
23783         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23784         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23785         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23786         <bp-sym.h> and <bp-asm.h>.
23787         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23788         pointers.
23789         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23790         <bp-sym.h> and <bp-asm.h>.
23791         (memcpy): Don't use BP_SYM.
23792         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23793         <bp-sym.h> and <bp-asm.h>.
23794         (memset): Don't use BP_SYM.
23795         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23796         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23797         (__bzero): Don't use BP_SYM.
23798         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23799         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23800         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23801         <bp-sym.h> and <bp-asm.h>.
23802         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23803         pointers.
23804         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23805         <bp-sym.h> and <bp-asm.h>.
23806         (memcpy): Don't use BP_SYM.
23807         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23808         <bp-sym.h> and <bp-asm.h>.
23809         (memset): Don't use BP_SYM.
23810         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23811         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23812         (__bzero): Don't use BP_SYM.
23813         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23814         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23816         <bp-sym.h> and <bp-asm.h>.
23817         (__memchr): Don't use BP_SYM.
23818         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23819         <bp-sym.h> and <bp-asm.h>.
23820         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23821         pointers.
23822         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23823         <bp-sym.h> and <bp-asm.h>.
23824         (memcpy): Don't use BP_SYM.
23825         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23826         <bp-sym.h> and <bp-asm.h>.
23827         (__mempcpy): Don't use BP_SYM.
23828         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23829         <bp-sym.h> and <bp-asm.h>.
23830         (__memrchr): Don't use BP_SYM.
23831         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23832         <bp-sym.h> and <bp-asm.h>.
23833         (memset): Don't use BP_SYM.
23834         (__bzero): Likewise.
23835         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23836         <bp-sym.h> and <bp-asm.h>.
23837         (__rawmemchr): Don't use BP_SYM.
23838         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23839         <bp-sym.h> and <bp-asm.h>.
23840         (__STRCMP): Don't use BP_SYM.
23841         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23842         <bp-sym.h> and <bp-asm.h>.
23843         (strchr): Don't use BP_SYM.
23844         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23845         <bp-sym.h> and <bp-asm.h>.
23846         (__strchrnul): Don't use BP_SYM.
23847         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23848         <bp-sym.h> and <bp-asm.h>.
23849         (strlen): Don't use BP_SYM.
23850         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23851         <bp-sym.h> and <bp-asm.h>.
23852         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23853         pointers.
23854         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23855         <bp-sym.h> and <bp-asm.h>.
23856         (__strnlen): Don't use BP_SYM.
23857         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23858         <bp-sym.h> and <bp-asm.h>.
23859         (__GI__setjmp): Don't use BP_SYM.
23860         (_setjmp): Likewise.
23861         (__sigsetjmp): Likewise.
23862         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23863         (L(start_addresses)): Don't use BP_SYM.
23864         (_start): Likewise.
23865         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23866         <bp-asm.h>.
23867         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23868         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23869         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23870         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23871         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23872         <bp-asm.h>.
23873         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23874         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23875         about bounded pointers.
23876         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23877         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23878         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23879         <bp-asm.h>.
23880         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23881         about bounded pointers.  Remove GKM FIXME comments.
23882         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23883         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23884         <bp-asm.h>.
23885         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23886         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23887         Remove GKM FIXME comments.
23888         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23889         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23890         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23891         <bp-asm.h>.
23892         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23893         about bounded pointers.  Remove GKM FIXME comment.
23894         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23895         and <bp-asm.h>.
23896         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23897         pointers.
23898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23899         <bp-sym.h> and <bp-asm.h>.
23900         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23902         <bp-sym.h> and <bp-asm.h>.
23903         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23904         comment.
23906 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23908         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23909         call free(NULL).
23911 2013-03-05  David S. Miller  <davem@davemloft.net>
23913         * po/es.po: Update from translation team.
23915 2013-03-05  Andreas Jaeger  <aj@suse.de>
23917         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23918         <bits/mman-linux.h>.
23919         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23920         is fine.
23921         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23922         <bits/mman-linux.h> to end of file.
23923         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23924         is fine.
23925         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23926         <bits/mman-linux.h> to end of file.
23927         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23928         is fine.
23929         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23930         <bits/mman-linux.h> to end of file.
23932         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23933         (MCL_CURRENT, MCL_FUTURE): Define here.
23935 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23937         [BZ #15232]
23938         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23939         attribute_hidden.
23940         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23942 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23944         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23945         fourth parameter needed for rt_sigprocmask syscall.
23946         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23947         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23948         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23949         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23950         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23951         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23953 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23955         [BZ #13550]
23956         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23957         comment about bounded pointers.
23958         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23959         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23961 2013-03-04  Andreas Jaeger  <aj@suse.de>
23963         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23964         common definitions.
23966         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23967         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23968         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23969         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23970         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23971         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23973 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23975         [BZ #15055]
23976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23977         __ieee754_sqrl instead of __sqrl.
23979 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23981         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23982         * sysdeps/powerpc/fpu_control.h: ... here.
23983         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23984         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23985         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23986         * sysdeps/powerpc/bits/mathinline.h: ... here.
23988 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23990         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23991         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23992         to just [NEED_DL_SYSINFO_DSO].
23993         * elf/dl-support.c: Likewise.
23994         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23995         * elf/rtld.c (dl_main): Likewise.
23996         * elf/setup-vdso.h (setup_vdso): Likewise.
23997         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23998         * sysdeps/unix/sysv/linux/dl-sysdep.c
23999         (_dl_discover_osversion): Likewise.
24001 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24003         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24004         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24006 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24008         * NEWS: Mention libm performance improvements and non-x86 PI
24009         futex support.
24011         * csu/libc-start.c (__pthread_initialize_minimal): Change
24012         function arguments.
24013         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24015 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24017         [BZ #13550]
24018         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24019         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24020         <bp-sym.h> and <bp-asm.h>.
24021         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24022         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24023         and <bp-asm.h>.
24024         (memcpy): Don't use BP_SYM.
24025         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24026         <bp-asm.h>.
24027         (__mpn_add_n): Don't use BP_SYM.
24028         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24029         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24030         and <bp-asm.h>.
24031         (__mpn_addmul_1): Don't use BP_SYM.
24032         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24033         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24034         <bp-sym.h>.
24035         (_setjmp): Don't use BP_SYM.
24036         (__novmx_setjmp): Likewise.
24037         (__GI__setjmp): Likewise.
24038         (__vmx_setjmp): Likewise.
24039         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24040         <bp-sym.h>.
24041         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24042         (__bzero): Don't use BP_SYM.
24043         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24044         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24045         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24046         <bp-sym.h> and <bp-asm.h>.
24047         (memcpy): Don't use BP_SYM.
24048         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24049         <bp-sym.h> and <bp-asm.h>.
24050         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24051         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24052         <bp-sym.h> and <bp-asm.h>.
24053         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24054         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24055         <bp-asm.h>.
24056         (__mpn_lshift): Don't use BP_SYM.
24057         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24058         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24059         <bp-asm.h>.
24060         (memset): Don't use BP_SYM.
24061         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24062         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24063         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24064         <bp-asm.h>.
24065         (__mpn_mul_1): Don't use BP_SYM.
24066         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24068         <bp-sym.h> and <bp-asm.h>.
24069         (memcmp): Don't use BP_SYM.
24070         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24071         <bp-sym.h> and <bp-asm.h>.
24072         (memcpy): Don't use BP_SYM.
24073         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24074         <bp-sym.h> and <bp-asm.h>.
24075         (memset): Don't use BP_SYM.
24076         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24077         <bp-sym.h> and <bp-asm.h>.
24078         (strncmp): Don't use BP_SYM.
24079         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24080         <bp-sym.h> and <bp-asm.h>.
24081         (memcpy): Don't use BP_SYM.
24082         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24083         <bp-sym.h> and <bp-asm.h>.
24084         (memset): Don't use BP_SYM.
24085         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24086         <bp-sym.h> and <bp-asm.h>.
24087         (__memchr): Don't use BP_SYM.
24088         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24089         <bp-sym.h> and <bp-asm.h>.
24090         (memcmp): Don't use BP_SYM.
24091         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24092         <bp-sym.h> and <bp-asm.h>.
24093         (memcpy): Don't use BP_SYM.
24094         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24095         <bp-sym.h> and <bp-asm.h>.
24096         (__mempcpy): Don't use BP_SYM.
24097         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24098         <bp-sym.h> and <bp-asm.h>.
24099         (__memrchr): Don't use BP_SYM.
24100         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24101         <bp-sym.h> and <bp-asm.h>.
24102         (memset): Don't use BP_SYM.
24103         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24104         <bp-sym.h> and <bp-asm.h>.
24105         (__rawmemchr): Don't use BP_SYM.
24106         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24107         <bp-sym.h> and <bp-asm.h>.
24108         (__STRCMP): Don't use BP_SYM.
24109         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24110         <bp-sym.h> and <bp-asm.h>.
24111         (strchr): Don't use BP_SYM.
24112         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24113         <bp-sym.h> and <bp-asm.h>.
24114         (__strchrnul): Don't use BP_SYM.
24115         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24116         <bp-sym.h> and <bp-asm.h>.
24117         (strlen): Don't use BP_SYM.
24118         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24119         <bp-sym.h> and <bp-asm.h>.
24120         (strncmp): Don't use BP_SYM.
24121         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24122         <bp-sym.h> and <bp-asm.h>.
24123         (__strnlen): Don't use BP_SYM.
24124         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24125         <bp-asm.h>.
24126         (__mpn_rshift): Don't use BP_SYM.
24127         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24128         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24129         <bp-sym.h> and <bp-asm.h>.
24130         (__sigsetjmp): Don't use BP_SYM.
24131         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24132         (L(start_addresses)): Don't use BP_SYM.
24133         (_start): Likewise.
24134         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24135         <bp-asm.h>.
24136         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24137         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24138         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24139         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24140         <bp-asm.h>.
24141         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24142         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24143         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24144         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24145         <bp-asm.h>.
24146         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24147         comments.
24148         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24149         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24150         <bp-asm.h>.
24151         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24152         FIXME comments.
24153         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24154         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24155         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24156         <bp-asm.h>.
24157         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24158         comment.
24159         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24160         and <bp-asm.h>.
24161         (strncmp): Don't use BP_SYM,
24162         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24163         <bp-asm.h>.
24164         (__mpn_sub_n): Don't use BP_SYM.
24165         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24166         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24167         and <bp-asm.h>.
24168         (__mpn_submul_1): Don't use BP_SYM.
24169         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24171         <bp-sym.h> and <bp-asm.h>.
24172         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24174         <bp-sym.h> and <bp-asm.h>.
24175         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24176         comment.
24178 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24181         Use ZK to minimize writes to Z.
24182         (sub_magnitudes): Simplify code a bit.
24183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24184         Use ZK to minimize writes to Z.
24185         (sub_magnitudes): Simplify code a bit.
24187 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24189         * csu/gmon-start.c: Add special exception to license text.
24191 2013-02-27  Richard Henderson  <rth@redhat.com>
24193         * scripts/config.guess: Update from config.git.
24194         * scripts/config.sub: Likewise.
24196 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24198         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24200         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24202         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24204         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24206         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24208 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24210         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24211         [$(build-shared = yes].
24213 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24215         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24216         (__mul): Reduce iterations for calculating mantissa.
24218         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24219         MPTWO.
24220         (__mpranred): Likewise.
24222         [BZ #15160]
24223         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24224         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24226 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24228         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24229         Define __attribute__.
24231 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24233         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24234         unused.
24235         * posix/regex_internal.h (__attribute): Remove.
24236         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24237         (re_string_context_at): Likewise.
24238         (bitset_not): Use __attribute__ and mark function as possibly
24239         unused.
24240         (bitset_merge): Likewise.
24241         (bitset_mask): Likewise.
24242         (re_string_char_size_at): Likewise.
24243         (re_string_wchar_at): Likewise.
24244         (re_string_elem_size_at): Likewise.
24246 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24248         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24249         code.
24250         (cc32): Likewise.
24252         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24253         (__acr): Likewise.
24254         (__cpy): Likewise.
24255         (norm): Likewise.
24256         (denorm): Likewise.
24257         (__dbl_mp): Likewise.
24258         (add_magnitudes): Likewise.
24259         (sub_magnitudes): Likewise.
24260         (__mul): Likewise.
24261         (__inv): Likewise.
24263         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24264         style.
24266         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24267         style.
24269         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24270         code.
24272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24273         up changes with default code.
24274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24275         Likewise.
24277 2013-02-24  Allan McRae  <allan@archlinux.org>
24279         * manual/socket.texi (The Internet Namespace): Order menu items
24280         to match that in the file.
24282         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24283         node listing of the info page menu.
24285 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24287         [BZ #13550]
24288         * sysdeps/i386/bp-asm.h: Remove file.
24289         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24290         (PARMS): Do not use macros from bp-asm.h.
24291         (S1): Likewise.
24292         (S2): Likewise.
24293         (SIZE): Likewise.
24294         (__mpn_add_n): Do not use BP_SYM
24295         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24296         "bp-asm.h".
24297         (PARMS): Do not use macros from bp-asm.h.
24298         (S1): Likewise.
24299         (SIZE): Likewise.
24300         (__mpn_addmul_1): Do not use BP_SYM
24301         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24302         "bp-asm.h".
24303         (PARMS): Do not use macros from bp-asm.h.
24304         (SIGMSK): Likewise.
24305         (_setjmp): Likewise.  Do not use BP_SYM.
24306         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24307         "bp-asm.h".
24308         (PARMS): Do not use macros from bp-asm.h.
24309         (SIGMSK): Likewise.
24310         (setjmp): Likewise.  Do not use BP_SYM.
24311         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24312         "bp-asm.h".
24313         (PARMS): Do not use macros from bp-asm.h.
24314         (__frexp): Do not use BP_SYM.
24315         (frexp): Likewise.
24316         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24317         "bp-asm.h".
24318         (PARMS): Do not use macros from bp-asm.h.
24319         (__frexpf): Do not use BP_SYM.
24320         (frexpf): Likewise.
24321         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24322         "bp-asm.h".
24323         (PARMS): Do not use macros from bp-asm.h.
24324         (__frexpl): Do not use BP_SYM.
24325         (frexpl): Likewise.
24326         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24327         "bp-asm.h".
24328         (PARMS): Do not use macros from bp-asm.h.
24329         (__remquo): Do not use BP_SYM.
24330         (remquo): Likewise.
24331         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24332         "bp-asm.h".
24333         (PARMS): Do not use macros from bp-asm.h.
24334         (__remquof): Do not use BP_SYM.
24335         (remquof): Likewise.
24336         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24337         "bp-asm.h".
24338         (PARMS): Do not use macros from bp-asm.h.
24339         (__remquol): Do not use BP_SYM.
24340         (remquol): Likewise.
24341         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24342         "bp-asm.h".
24343         (PARMS): Do not use macros from bp-asm.h.
24344         (DEST): Likewise.
24345         (SRC): Likewise.
24346         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24347         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24348         "bp-asm.h".
24349         (PARMS): Do not use macros from bp-asm.h.
24350         (strlen): Do not use BP_SYM.
24351         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24352         "bp-asm.h".
24353         (PARMS): Do not use macros from bp-asm.h.
24354         (S1): Likewise.
24355         (S2): Likewise.
24356         (SIZE): Likewise.
24357         (__mpn_add_n): Do not use BP_SYM.
24358         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24359         "bp-asm.h".
24360         (PARMS): Do not use macros from bp-asm.h.
24361         (S1): Likewise.
24362         (SIZE): Likewise.
24363         (__mpn_addmul_1): Do not use BP_SYM.
24364         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24365         weak_alias.
24366         (bzero): Likewise.
24367         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24368         "bp-asm.h".
24369         (PARMS): Do not use macros from bp-asm.h.
24370         (S): Likewise.
24371         (SIZE): Likewise.
24372         (__mpn_lshift): Do not use BP_SYM.
24373         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24374         "bp-asm.h".
24375         (PARMS): Do not use macros from bp-asm.h.
24376         (DEST): Likewise.
24377         (SRC): Likewise.
24378         (LEN): Likewise.
24379         (memcpy): Likewise.  Do not use BP_SYM.
24380         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24381         libc_hidden_def and weak_alias.
24382         (mempcpy): Do not use BP_SYM in weak_alias.
24383         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24384         "bp-asm.h".
24385         (PARMS): Do not use macros from bp-asm.h.
24386         (DEST): Likewise.
24387         (LEN): Likewise.
24388         [!BZERO_P] (CHR): Likewise.
24389         (memset): Likewise.  Do not use BP_SYM.
24390         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24391         "bp-asm.h".
24392         (PARMS): Do not use macros from bp-asm.h.
24393         (S1): Likewise.
24394         (SIZE): Likewise.
24395         (__mpn_mul_1): Do not use BP_SYM.
24396         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24397         "bp-asm.h".
24398         (PARMS): Do not use macros from bp-asm.h.
24399         (S): Likewise.
24400         (SIZE): Likewise.
24401         (__mpn_rshift): Do not use BP_SYM.
24402         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24403         "bp-asm.h".
24404         (PARMS): Do not use macros from bp-asm.h.
24405         (STR): Likewise.
24406         (CHR): Likewise.
24407         (strchr): Likewise.  Do not use BP_SYM.
24408         (index): Do not use BP_SYM in weak_alias.
24409         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24410         "bp-asm.h".
24411         (PARMS): Do not use macros from bp-asm.h.
24412         (DEST): Likewise.
24413         (SRC): Likewise.
24414         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24415         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24416         "bp-asm.h".
24417         (PARMS): Do not use macros from bp-asm.h.
24418         (strlen): Do not use BP_SYM.
24419         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24420         "bp-asm.h".
24421         (PARMS): Do not use macros from bp-asm.h.
24422         (S1): Likewise.
24423         (S2): Likewise.
24424         (SIZE): Likewise.
24425         (__mpn_sub_n): Do not use BP_SYM.
24426         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24427         "bp-asm.h".
24428         (PARMS): Do not use macros from bp-asm.h.
24429         (S1): Likewise.
24430         (SIZE): Likewise.
24431         (__mpn_submul_1): Do not use BP_SYM.
24432         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24433         "bp-asm.h".
24434         (PARMS): Do not use macros from bp-asm.h.
24435         (S1): Likewise.
24436         (S2): Likewise.
24437         (SIZE): Likewise.
24438         (__mpn_add_n): Do not use BP_SYM.
24439         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24440         weak_alias.
24441         (bzero): Likewise.
24442         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24443         "bp-asm.h".
24444         (PARMS): Do not use macros from bp-asm.h.
24445         (BLK2): Likewise.
24446         (LEN): Likewise.
24447         (memcmp): Do not use BP_SYM.
24448         (bcmp): Do not use BP_SYM in weak_alias.
24449         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24450         "bp-asm.h".
24451         (PARMS): Do not use macros from bp-asm.h.
24452         (DEST): Likewise.
24453         (SRC): Likewise.
24454         (LEN): Likewise.
24455         (memcpy): Likewise.  Do not use BP_SYM.
24456         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24457         "bp-asm.h".
24458         (PARMS): Do not use macros from bp-asm.h.
24459         (DEST): Likewise.
24460         (SRC): Likewise.
24461         (LEN): Likewise.
24462         (memmove): Likewise.  Do not use BP_SYM.
24463         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24464         "bp-asm.h".
24465         (PARMS): Do not use macros from bp-asm.h.
24466         (DEST): Likewise.
24467         (SRC): Likewise.
24468         (LEN): Likewise.
24469         (__mempcpy): Likewise.  Do not use BP_SYM.
24470         (mempcpy): Do not use BP_SYM in weak_alias.
24471         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24472         "bp-asm.h".
24473         (PARMS): Do not use macros from bp-asm.h.
24474         (DEST): Likewise.
24475         (LEN): Likewise.
24476         [!BZERO_P] (CHR): Likewise.
24477         (memset): Likewise.  Do not use BP_SYM.
24478         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24479         "bp-asm.h".
24480         (PARMS): Do not use macros from bp-asm.h.
24481         (STR2): Likewise.
24482         (strcmp): Do not use BP_SYM.
24483         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24484         "bp-asm.h".
24485         (PARMS): Do not use macros from bp-asm.h.
24486         (STR): Likewise.
24487         (DELIM): Likewise.
24488         [USE_AS_STRTOK_R] (SAVE): Likewise.
24489         (FUNCTION): Likewise.  Do not use BP_SYM.
24490         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24491         aliases.
24492         (strtok_r): Likewise.
24493         (__GI___strtok_r): Likewise.
24494         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24495         (PARMS): Do not use macros from bp-asm.h.
24496         (S): Likewise.
24497         (SIZE): Likewise.
24498         (__mpn_lshift): Do not use BP_SYM.
24499         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24500         (PARMS): Do not use macros from bp-asm.h.
24501         (STR): Likewise.
24502         (CHR): Likewise.
24503         (__memchr): Do not use BP_SYM.
24504         (memchr): Do not use BP_SYM in weak_alias.
24505         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24506         (PARMS): Do not use macros from bp-asm.h.
24507         (BLK2): Likewise.
24508         (LEN): Likewise.
24509         (memcmp): Do not use BP_SYM.
24510         (bcmp): Do not use BP_SYM in weak_alias.
24511         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24512         (PARMS): Do not use macros from bp-asm.h.
24513         (S1): Likewise.
24514         (SIZE): Likewise.
24515         (__mpn_mul_1): Do not use BP_SYM.
24516         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24517         "bp-asm.h".
24518         (PARMS): Do not use macros from bp-asm.h.
24519         (STR): Likewise.
24520         (CHR): Likewise.
24521         (__rawmemchr): Do not use BP_SYM.
24522         (rawmemchr): Do not use BP_SYM in weak_alias.
24523         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24524         (PARMS): Do not use macros from bp-asm.h.
24525         (S): Likewise.
24526         (SIZE): Likewise.
24527         (__mpn_rshift): Do not use BP_SYM.
24528         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24529         (PARMS): Do not use macros from bp-asm.h.
24530         (SIGMSK): Likewise.
24531         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24532         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24533         (_start): Do not use BP_SYM.
24534         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24535         (PARMS): Do not use macros from bp-asm.h.
24536         (DEST): Likewise.
24537         (SRC): Likewise.
24538         (__stpcpy): Likewise.  Do not use BP_SYM.
24539         (stpcpy): Do not use BP_SYM in weak_alias.
24540         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24541         "bp-asm.h".
24542         (PARMS): Do not use macros from bp-asm.h.
24543         (DEST): Likewise.
24544         (SRC): Likewise.
24545         (LEN): Likewise.
24546         (__stpncpy): Likewise.  Do not use BP_SYM.
24547         (stpncpy): Do not use BP_SYM in weak_alias.
24548         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24549         (PARMS): Do not use macros from bp-asm.h.
24550         (STR): Likewise.
24551         (CHR): Likewise.
24552         (strchr): Likewise.  Do not use BP_SYM.
24553         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24554         "bp-asm.h".
24555         (PARMS): Do not use macros from bp-asm.h.
24556         (STR): Likewise.
24557         (CHR): Likewise.
24558         (__strchrnul): Likewise.  Do not use BP_SYM.
24559         (strchrnul): Do not use BP_SYM in weak_alias.
24560         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24561         "bp-asm.h".
24562         (PARMS): Do not use macros from bp-asm.h.
24563         (STOP): Likewise.
24564         (strcspn): Do not use BP_SYM.
24565         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24566         "bp-asm.h".
24567         (PARMS): Do not use macros from bp-asm.h.
24568         (STR): Likewise.
24569         (STOP): Likewise.
24570         (strpbrk): Likewise.  Do not use BP_SYM.
24571         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24572         "bp-asm.h".
24573         (PARMS): Do not use macros from bp-asm.h.
24574         (STR): Likewise.
24575         (CHR): Likewise.
24576         (strrchr): Likewise.  Do not use BP_SYM.
24577         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24578         (PARMS): Do not use macros from bp-asm.h.
24579         (SKIP): Likewise.
24580         (strspn): Do not use BP_SYM.
24581         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24582         (PARMS): Do not use macros from bp-asm.h.
24583         (STR): Likewise.
24584         (DELIM): Likewise.
24585         (SAVE): Likewise.
24586         (FUNCTION): Likewise.  Do not use BP_SYM.
24587         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24588         aliases.
24589         (strtok_r): Likewise.
24590         (__GI___strtok_r): Likewise.
24591         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24592         (PARMS): Do not use macros from bp-asm.h.
24593         (S1): Likewise.
24594         (S2): Likewise.
24595         (SIZE): Likewise.
24596         (__mpn_sub_n): Do not use BP_SYM.
24597         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24598         "bp-asm.h".
24599         (PARMS): Do not use macros from bp-asm.h.
24600         (S1): Likewise.
24601         (SIZE): Likewise.
24602         (__mpn_submul_1): Do not use BP_SYM.
24603         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24604         <bp-sym.h>.
24605         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24606         and <bp-asm.h>.
24607         (PARMS): Do not use macros from bp-asm.h.
24608         (FLAGS): Likewise.
24609         (PTID): Likewise.
24610         (TLS): Likewise.
24611         (CTID): Likewise.
24612         (__clone): Do not use BP_SYM.
24613         (clone): Do not use BP_SYM in weak_alias.
24614         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24615         and <bp-asm.h>.
24616         (PARMS): Do not use macros from bp-asm.h.
24617         (LEN): Likewise.
24618         (__mmap64): Do not use BP_SYM.
24619         (mmap64): Do not use BP_SYM in weak_alias.
24620         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24621         <bp-sym.h> and <bp-asm.h>.
24622         (PARMS): Do not use macros from bp-asm.h.
24623         (__posix_fadvise64_l64): Do not use BP_SYM.
24624         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24625         (PARMS): Do not use macros from bp-asm.h.
24626         (NSOPS): Likewise.
24627         (semtimedop): Do not use BP_SYM.
24628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24629         and <bp-asm.h>.
24631 2013-02-21  Allan McRae  <allan@archlinux.org>
24633         * manual/message.texi (Charset conversion in gettext):
24634         Move @end statement to beginning of line.
24636 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24639         static.
24640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24641         Likewise.
24643         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24644         (denorm): Likewise.
24645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24648 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24650         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24651         tail-call to the resolved function if pltexit isn't needed.
24653 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24656         or Y being zero as being unlikely.
24657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24658         Likewise.
24660 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24662         * manual/nss.texi (System Databases and Name Service Switch):
24663         Remove frobnicate @pxref.
24665 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24667         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24668         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24670 2013-02-20  Petr Machata  <pmachata@redhat.com>
24672         * elf/elf.h (R_ARM_TARGET1): New macro.
24673         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24674         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24675         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24676         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24677         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24678         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24679         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24680         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24681         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24682         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24683         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24684         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24685         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24686         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24687         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24688         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24689         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24690         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24691         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24692         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24693         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24694         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24695         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24696         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24697         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24698         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24699         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24700         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24701         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24702         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24703         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24704         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24705         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24706         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24707         (R_ARM_THM_GOT_BREL12): Likewise.
24708         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24709         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24710         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24711         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24712         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24713         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24714         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24715         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24716         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24718 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24720         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24721         __attribute_used__ to __attribute__ ((unused)).
24723 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24725         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24726         powerpc mpa.c.
24727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24728         comment formatting.
24729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24731 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24733         [BZ #13550]
24734         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24735         Remove macro.
24736         (ENTER): Remove both macro definitions.
24737         (LEAVE): Likewise.
24738         (CHECK_BOUNDS_LOW): Likewise.
24739         (CHECK_BOUNDS_HIGH): Likewise.
24740         (CHECK_BOUNDS_BOTH): Likewise.
24741         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24742         (RETURN_BOUNDED_POINTER): Likewise.
24743         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24744         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24745         (POP_ERRNO_LOCATION_RETURN): Likewise.
24746         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24747         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24748         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24749         macros.
24750         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24751         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24752         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24753         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24754         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24755         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24756         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24757         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24758         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24759         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24760         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24761         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24762         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24763         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24764         removed macros.
24765         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24766         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24767         macros.
24768         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24769         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24770         * sysdeps/i386/i586/memset.S (memset): Likewise.
24771         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24772         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24773         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24774         macros.
24775         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24776         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24777         Change uses of L(2) to L(out).
24778         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24779         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24780         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24781         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24782         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24783         removed macros.
24784         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24785         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24786         macros.
24787         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24788         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24789         (RETURN): Do not use macro LEAVE.
24790         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24791         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24792         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24793         * sysdeps/i386/i686/memset.S (memset): Likewise.
24794         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24795         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24796         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24797         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24798         Likewise.
24799         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24800         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24801         L(1_2) and L(1_3) into L(1).
24802         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24803         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24804         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24805         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24806         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24807         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24808         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24809         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24810         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24811         macros.
24812         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24813         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24814         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24815         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24816         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24817         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24818         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24819         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24820         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24821         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24822         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24823         * sysdeps/i386/strspn.S (strspn): Likewise.
24824         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24825         conditional code.
24826         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24827         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24828         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24829         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24830         L(1_3) into L(1_1).
24831         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24832         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24833         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24834         macros.
24835         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24837 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24839         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24840         macro.
24842 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844         * math/atest-exp.c (exp_mpn): Remove ROUND.
24845         * math/atest-exp2.c (exp_mpn): Likewise.
24846         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24848         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24849         * stdlib/tst-tls-atexit-lib.c: Likewise.
24850         * stdlib/tst-tls-atexit.c: Likewise.
24852 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24854         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24855         and __attribute_alloc_size__.
24857 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24859         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24860         __attribute_alloc_size__.
24861         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24862         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24864 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24866         * include/programs/xmalloc.h: New file.
24867         * catgets/gencat.c: Include it.
24868         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24869         * elf/pldd.c: Likewise.
24870         * iconv/iconv_charmap.c: Likewise.
24871         * iconv/iconvconfig.c: Likewise.
24872         * iconv/strtab.c: Likewise.
24873         * locale/programs/locale.c: Likewise.
24874         * locale/programs/localedef.h: Likewise.
24875         * locale/programs/simple-hash.c: Likewise.
24876         * nscd/nscd.h: Likewise.
24877         * nss/makedb.c: Likewise.
24878         * sysdeps/generic/ldconfig.h: Likewise.
24880 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24882         * Versions.def: Add GLIBC_2.18.
24883         * include/link.h (struct link_map): New member l_tls_dtor_count.
24884         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24885         (__call_tls_dtors): Likewise.
24886         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24887         __cxa_thread_atexit_impl.
24888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24889         Likewise.
24890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24891         Likewise.
24892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24893         Likewise.
24894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24895         Likewise.
24896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24898         Likewise.
24899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24900         Likewise.
24901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24903         Likewise.
24904         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24905         (tests): Add test case tst-tls-atexit.
24906         (modules-names): Add shared library for tst-tls-atexit.
24907         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24908         (GLIBC_PRIVATE): Add __call_tls_dtors.
24909         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24910         for libstdc++.
24911         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24912         * stdlib/tst-tls-atexit.c: New test case.
24913         * stdlib/tst-tls-atexit-lib.c: New test case.
24915         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24917         * elf/Versions (ld): Add _dl_find_dso_for_object.
24918         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24919         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24920         (dl_open_worker): Use _dl_find_dso_for_object.
24921         * elf/dl-sym.c (do_sym): Likewise.
24922         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24924 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24926         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24927         Syntactic changes only.
24928         (_dl_runtime_profile): Do a tail-call to the resolved function.
24930 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24932         [BZ #13550]
24933         * sysdeps/x86_64/bp-asm.h: Remove file.
24934         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24935         <bp-sym.h> and <bp-asm.h>.
24936         (__clone): Do not use BP_SYM.
24937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24938         <bp-sym.h> and <bp-asm.h>.
24939         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24940         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24941         "bp-asm.h".
24942         (_setjmp): Do not use BP_SYM.
24943         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24944         "bp-asm.h".
24945         (setjmp): Do not use BP_SYM.
24946         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24947         libc_hidden_def.
24948         (mempcpy): Do not use BP_SYM in weak_alias.
24949         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24950         "bp-asm.h".
24951         (strchr): Do not use BP_SYM.
24952         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24953         "bp-asm.h".
24954         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24955         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24956         (_start): Do not use BP_SYM.
24957         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24958         "bp-asm.h".
24959         (strcat): Do not use BP_SYM.
24960         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24961         "bp-asm.h".
24962         (STRCMP): Do not use BP_SYM.
24963         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24964         "bp-asm.h".
24965         (STRCPY): Do not use BP_SYM.
24966         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24967         "bp-asm.h".
24968         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24969         "bp-asm.h".
24970         (FUNCTION): Do not use BP_SYM.
24971         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24972         weak_alias.
24973         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24975 2013-02-17  Andreas Jaeger  <aj@suse.de>
24977         * time/Versions: Sort entries.
24978         * string/Versions: Likewise.
24979         * resolv/Versions: Likewise.
24980         * posix/Versions: Likewise.
24981         * iconv/Versions: Likewise.
24982         * elf/Versions: Likewise.
24983         * wcsmbs/Versions: Likewise.
24985 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24987         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24988         loop termination condition.
24990         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24991         variable to calculate EZ.
24992         (__sqr): Likewise.
24994         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24995         the lower precision input.
24997 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24999         [BZ #13550]
25000         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25001         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25002         (run-via-rtld-prefix): Do not handle %-bp tests.
25003         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25004         (all-object-suffixes): Remove .ob.
25005         (bppfx): Remove variable.
25006         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25007         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25008         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25009         [$(build-bounded) = yes] (libtype.ob): Likewise.
25010         * Makerules (elide-routines.ob): Remove variable.
25011         (do-tests-clean): Do not handle *-bp.out.
25012         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25013         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25014         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25015         (tests): Do not include $(tests-bp.out).
25016         (xtests): Do not include $(xtests-bp.out).
25017         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25018         [$(build-bounded) = yes] ($(addprefix
25019         $(objpfx),$(binaries-bounded))): Remove rule.
25020         ($(objpfx)%-bp.out): Remove rule.
25021         * config.make.in (build-bounded): Remove variable.
25022         * crypt/Makefile [$(build-bounded) = yes]
25023         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25024         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25025         append to variable.
25026         [$(build-bounded) = yes] (install-lib): Likewise.
25027         [$(build-bounded) = yes] (generated): Likewise.
25028         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25029         Remove rule.
25030         * intl/Makefile [$(build-bounded) = yes]
25031         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25032         * math/Makefile [$(build-bounded) = yes]
25033         ($(tests:%=$(objpfx)%-bp): Likewise.
25034         * misc/Makefile [$(build-bounded) = yes]
25035         ($(objpfx)tst-tsearch-bp): Likewise.
25036         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25037         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25038         Remove dependency.
25039         * string/Makefile (o-objects.ob): Remove variable.
25040         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25041         (CFLAGS-.ob): Remove variable.
25042         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25043         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25044         both definitions of variable.
25045         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25046         (ASFLAGS-.ob): Remove variable.
25048 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25050         [BZ #13550]
25051         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25052         Remove __BOUNDED_POINTERS__ from condition.
25053         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25054         * string/bits/string2.h [!__NO_STRING_INLINES &&
25055         !__BOUNDED_POINTERS__]: Likewise.
25056         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25057         Likewise.
25058         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25059         Remove conditional code.
25060         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25061         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25062         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25063         condition.
25065         [BZ #13550]
25066         * csu/libc-start.c: Do not include <bp-sym.h>.
25067         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25068         * elf/dl-open.c: Do not include <bp-sym.h>.
25069         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25070         * math/fegetenv.c: Do not include <bp-sym.h>.
25071         (fegetenv): Do not use BP_SYM in versioned symbols.
25072         * nptl/sysdeps/pthread/bits/libc-lockP.h
25073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25074         <bp-sym.h>.
25075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25076         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25078         (__pthread_mutex_destroy): Likewise.
25079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25080         (__pthread_mutex_lock): Likewise.
25081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25082         (__pthread_mutex_trylock): Likewise.
25083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25084         (__pthread_mutex_unlock): Likewise.
25085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25086         (__pthread_mutexattr_init): Likewise.
25087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25088         (__pthread_mutexattr_destroy): Likewise.
25089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25090         (__pthread_mutexattr_settype): Likewise.
25091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25092         (__pthread_rwlock_init): Likewise.
25093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25094         (__pthread_rwlock_destroy): Likewise.
25095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25096         (__pthread_rwlock_rdlock): Likewise.
25097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25098         (__pthread_rwlock_tryrdlock): Likewise.
25099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25100         (__pthread_rwlock_wrlock): Likewise.
25101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25102         (__pthread_rwlock_trywrlock): Likewise.
25103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25104         (__pthread_rwlock_unlock): Likewise.
25105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25106         (__pthread_key_create): Likewise.
25107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25108         (__pthread_setspecific): Likewise.
25109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25110         (__pthread_getspecific): Likewise.
25111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25112         Likewise.
25113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25114         (_pthread_cleanup_push_defer): Likewise.
25115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25116         (_pthread_cleanup_pop_restore): Likewise.
25117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25118         (pthread_setcancelstate): Likewise.
25119         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25120         <bp-sym.h>.
25121         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25122         (memchr): Do not use BP_SYM in weak_alias.
25123         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25124         (fegetenv): Do not use BP_SYM in versioned symbols.
25125         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25126         (fesetenv): Do not use BP_SYM in versioned symbols.
25127         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25128         (feupdateenv): Do not use BP_SYM in versioned symbols.
25129         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25130         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25131         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25132         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25133         (open64): Do not use BP_SYM in weak_alias.
25134         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25135         (fegetenv): Do not use BP_SYM in versioned symbols.
25136         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25137         (fesetenv): Do not use BP_SYM in versioned symbols.
25138         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25139         (feupdateenv): Do not use BP_SYM in versioned symbols.
25140         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25141         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25142         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25143         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25144         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25145         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25146         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25147         <bp-sym.h>.
25148         (__libc_start_main): Do not use BP_SYM.
25150 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25153         redundant return line.
25154         (norm): Likewise.
25155         (denorm): Likewise.
25156         (dbl_mp): Likewise.
25157         (sub_magnitudes): Likewise.
25158         (__add): Likewise.
25159         (__sub): Likewise.
25160         (__mul): Likewise.
25161         (__inv): Likewise.
25162         (__dvd): Likewise.
25163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25164         (norm): Likewise.
25165         (denorm): Likewise.
25166         (dbl_mp): Likewise.
25167         (sub_magnitudes): Likewise.
25168         (__add): Likewise.
25169         (__sub): Likewise.
25170         (__mul): Likewise.
25171         (__inv): Likewise.
25172         (__dvd): Likewise.
25174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25175         instead of __mul.
25176         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25177         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25178         (cc32): Likewise.
25180         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25181         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25183         of __mul for squares.
25184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25185         function
25186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25187         Likewise.
25188         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25189         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25191 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25193         [BZ #13550]
25194         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25195         code.
25196         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25197         prototype or function definition.  Rename ubp_* variables and
25198         parameters.  Remove argv definitions conditional on
25199         [__BOUNDED_POINTERS__].
25200         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25201         * elf/dl-runtime.c (_dl_fixup): Likewise.
25202         * include/set-hooks.h (RUN_HOOK): Likewise.
25203         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25204         definition.
25205         * string/strcpy.c (strcpy): Do not use __unbounded.
25206         * sysdeps/generic/frame.h (struct layout): Likewise.
25207         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25208         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25209         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25210         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25211         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25212         (__backtrace): Likewise.
25213         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25214         use __ptrvalue.
25215         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25216         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25217         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25218         Likewise.
25219         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25220         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25221         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25222         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25223         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25224         Do not use __unbounded.
25225         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25226         Rename __unboundedrlimits parameter to rlimits in prototype.
25227         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25228         Do not use __unbounded.
25229         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25230         not use __ptrvalue.
25231         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25232         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25233         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25234         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25235         __ptrvalue or __unbounded.
25236         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25237         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25238         use __unbounded.
25239         (__new_msgctl): Do not use __ptrvalue.
25240         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25241         __unbounded.
25242         (__libc_msgrcv): Do not use __ptrvalue.
25243         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25244         startup_info): Do not use __unbounded.
25245         (__libc_start_main): Likewise.  Rename ubp_* variables and
25246         parameters.  Remove argv definitions conditional on
25247         [__BOUNDED_POINTERS__].
25248         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25249         __ptrvalue.
25250         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25251         use __unbounded.
25252         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25253         or __ptrvalue.
25254         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25255         use __unbounded.
25256         (__new_shmctl): Do not use __ptrvalue.
25257         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25258         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25259         Likewise.
25260         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25261         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25262         (__libc_sigaction): Likewise.
25263         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25264         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25265         Likewise.
25266         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25268 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25270         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25272         * string/mempcpy.c: Implement by calling memcpy.
25274 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25279         evaluation.
25281         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25282         values in the mantissa.
25284         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25285         minimize writes to Z.
25286         (sub_magnitudes): Simplify code a bit.
25288 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25290         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25291         from the message.  The linker prefixes all warnings with that already.
25293 2013-02-12  Andreas Schwab  <schwab@suse.de>
25295         [BZ #15078]
25296         * posix/regexec.c (extend_buffers): Add parameter min_len.
25297         (check_matching): Pass minimum needed length.
25298         (clean_state_log_if_needed): Likewise.
25299         (get_subexp): Likewise.
25300         * posix/Makefile (tests): Add bug-regex34.
25301         (bug-regex34-ENV): Define.
25302         * posix/bug-regex34.c: New file.
25304         [BZ #11561]
25305         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25306         elements compare against the byte sequence of it, not its name.
25307         * posix/Makefile (tests): Add bug-regex35.
25308         (bug-regex35-ENV): Define.
25309         * posix/bug-regex35.c: New file.
25311 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25313         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25314         comment.
25315         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25316         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25317         (CHECK_EOL): Add undef.
25319 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25321         * bits/stdlib-bsearch.h: New file.
25322         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25323         * stdlib/stdlib.h: Likewise.
25325 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25327         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25328         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25329         declaration.
25330         * manual/search.texi (Array Search Function): Add missing const in
25331         lfind prototype.
25332         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25333         declaration to use rlim_t.
25334         (Basic Scheduling Functions): Remove erroneous const from
25335         sched_getparam prototype.  Remove erroneous * from
25336         sched_get_priority_max and sched_get_priority_min prototypes.
25337         (Resource Usage): Fix summary @comment on vtimes to refer to
25338         sys/vtimes.h rather than vtimes.h.
25339         Add missing *s in vtimes prototype.
25340         (Limits on Resources): Fix ulimit prototype to return long int.
25341         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25342         prototypes to use long int rather than double.
25343         (BSD Random): Fix initstate and setstate to use char *, not void *.
25344         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25345         prototype to make second argument 'struct aiocb64 *const[]'.
25346         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25347         (Status of AIO Operations): Remove erroneous const in aio_return and
25348         aio_return64 prototypes.
25349         (Synchronizing I/O): Fix sync prototype to return void.
25350         * manual/startup.texi (Suboptions): Remove an erroneous const in
25351         getsubopt prototype.
25352         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25353         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25354         use size_t rather than int.
25355         (Scanning All Users): Likewise for getpwent_r.
25356         (Setting Groups): Add missing const to setgroups prototype.
25357         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25358         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25359         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25360         'const void *' rather than 'const char *'.
25361         (Host Address Functions): Likewise for inet_ntop.
25362         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25363         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25364         ssize_t for return value.
25365         (Sending Data): Likewise for send, sendto, sendmsg.
25366         (Socket Option Functions): Add a missing const in setsockopt prototype.
25367         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25368         use wchar_t for the argument.
25369         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25370         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25371         take no arguments.
25372         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25373         double/float/long double for second argument.
25374         Fix return types of significand, significandf, significandl.
25375         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25376         argument in fchmod prototype.
25377         (File Owner): Use uid_t and gid_t in fchown prototype.
25378         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25379         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25380         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25381         use 'const struct dirent **' as argument types to CMP function pointer
25382         argument.
25383         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25384         (File Times): Fix summary magic @comment for struct utimbuf and utime
25385         to refer to utime.h, not time.h.
25386         * manual/string.texi (Argz Functions): Add missing const in
25387         argz_extract and argz_next prototypes.
25388         (Finding Tokens in a String): Likewise for basename.
25389         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25390         (Copying and Concatenation): Fix typo in wmemmove prototype.
25391         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25392         (Signal Stack): Remove erroneous const in sigstack prototype.
25393         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25394         prototype.
25395         (Simple Calendar Time): Likewise for stime.
25396         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25397         prototype.
25398         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25399         say sys/sysctl.h instead.
25400         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25401         and vsyslog prototypes.
25403 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25405         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25406         Remove.
25408 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25410         * misc/sys/mman.h: Fix typo in mremap comment.
25412 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25414         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25415         the '\0' terminator.
25417 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25419         [BZ #13550]
25420         * debug/segfault.c: Don't include <bp-checks.h>.
25421         * sysdeps/generic/bp-checks.h: Remove file.
25422         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25423         (__GETDENTS): Don't use CHECK_N.
25424         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25426         (__getgroups): Don't use CHECK_N.
25427         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25428         (setgroups): Don't use CHECK_N.
25429         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25430         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25431         (__libc_msgrcv): Don't use CHECK_N.
25432         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25433         (__libc_msgsnd): Don't use CHECK_N.
25434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25435         <bp-checks.h>.
25436         (__libc_pread): Don't use CHECK_N.
25437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25438         include <bp-checks.h>.
25439         (__libc_pread64): Don't use CHECK_N.
25440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25441         include <bp-checks.h>.
25442         (__libc_pwrite): Don't use CHECK_N.
25443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25444         include <bp-checks.h>.
25445         (__libc_pwrite64): Don't use CHECK_N.
25446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25447         <bp-checks.h>.
25448         (__libc_pread): Don't use CHECK_N.
25449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25450         include <bp-checks.h>.
25451         (__libc_pread64): Don't use CHECK_N.
25452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25453         include <bp-checks.h>.
25454         (__libc_pwrite): Don't use CHECK_N.
25455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25456         include <bp-checks.h>.
25457         (__libc_pwrite64): Don't use CHECK_N.
25458         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25459         (do_pread): Don't use CHECK_N.
25460         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25461         (do_pread64): Don't use CHECK_N.
25462         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25463         (do_pwrite): Don't use CHECK_N.
25464         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25465         (do_pwrite64): Don't use CHECK_N.
25466         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25467         (__libc_readv): Don't use CHECK_N.
25468         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25469         (semop): Don't use CHECK_N.
25470         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25471         <bp-checks.h>.
25472         (semtimedop): Don't use CHECK_N.
25473         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25474         (__libc_pread): Don't use CHECK_N.
25475         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25476         <bp-checks.h>.
25477         (__libc_pread64): Don't use CHECK_N.
25478         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25479         <bp-checks.h>.
25480         (__libc_pwrite): Don't use CHECK_N.
25481         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25482         <bp-checks.h>.
25483         (__libc_pwrite64): Don't use CHECK_N.
25484         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25485         <bp-checks.h>.
25486         (__libc_msgrcv): Don't use CHECK_N.
25487         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25488         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25489         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25490         (__libc_writev): Don't use CHECK_N.
25492 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25494         * string/strcpy.c: Removed unused variable.
25496         * Makeconfig (+sysdep-includes): Define with := rather than =.
25497         Use an existing include/ subdir of each sysdeps dir before it.
25499 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25501         * nscd/connection.c (register_traced_file): Comment function.
25502         [HAVE_INOTIFY] (union __inev): Define.
25503         [HAVE_INOTIFY] (inotify_check_files): New function.
25504         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25505         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25506         clear_db_cache.
25507         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25509 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25511         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25512         loaded if not already and that a failure is permanent.
25514 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25516         [BZ #15006]
25517         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25518         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25520 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25522         [BZ #13550]
25523         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25524         (CHECK_1_NULL_OK): Likewise.
25525         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25526         (__fxstat): Do not use CHECK_1.
25527         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25528         <bp-checks.h>.
25529         (___fxstat64): Do not use CHECK_1.
25530         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25531         <bp-checks.h>.
25532         (__fxstatat): Do not use CHECK_1.
25533         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25534         <bp-checks.h>.
25535         (__fxstatat64): Do not use CHECK_1.
25536         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25537         <bp-checks.h>.
25538         (__fxstat): Do not use CHECK_1.
25539         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25540         <bp-checks.h>.
25541         (__fxstatat): Do not use CHECK_1.
25542         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25543         <bp-checks.h>.
25544         (__getresgid): Do not use CHECK_1.
25545         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25546         <bp-checks.h>.
25547         (__getresuid): Do not use CHECK_1.
25548         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25549         <bp-checks.h>.
25550         (__lxstat): Do not use CHECK_1.
25551         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25552         <bp-checks.h>.
25553         (__old_msgctl): Do not use CHECK_1.
25554         (__new_msgctl): Likewise.
25555         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25556         <bp-checks.h>.
25557         (__new_setrlimit): Do not use CHECK_1.
25558         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25559         <bp-checks.h>.
25560         (__old_shmctl): Do not use CHECK_1.
25561         (__new_shmctl): Likewise.
25562         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25563         <bp-checks.h>.
25564         (__xstat): Do not use CHECK_1.
25565         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25566         (__lxstat): Do not use CHECK_1.
25567         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25568         <bp-checks.h>.
25569         (___lxstat64): Do not use CHECK_1.
25570         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25571         (__old_msgctl): Do not use CHECK_1.
25572         (__new_msgctl): Likewise.
25573         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25574         <bp-checks.h>.
25575         (__gettimeofday): Do not use CHECK_1.
25576         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25577         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25578         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25579         <bp-checks.h>.
25580         (__gettimeofday): Do not use CHECK_1.
25581         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25582         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25583         (__new_shmctl): Do not use CHECK_1.
25584         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25585         <bp-checks.h>.
25586         (do_sigtimedwait): Do not use CHECK_1.
25587         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25588         <bp-checks.h>.
25589         (do_sigwaitinfo): Do not use CHECK_1.
25590         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25591         <bp-checks.h>.
25592         (msgctl): Do not use CHECK_1.
25593         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25594         <bp-checks.h>.
25595         (shmctl): Do not use CHECK_1.
25596         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25597         (ustat): Do not use CHECK_1.
25598         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25599         <bp-checks.h>.
25600         (__fxstat): Do not use CHECK_1.
25601         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25602         <bp-checks.h>.
25603         (__fxstatat): Do not use CHECK_1.
25604         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25605         <bp-checks.h>.
25606         (__lxstat): Do not use CHECK_1.
25607         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25608         <bp-checks.h>.
25609         (__xstat): Do not use CHECK_1.
25610         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25611         (__xstat): Do not use CHECK_1.
25612         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25613         (___xstat64): Do not use CHECK_1.
25615         [BZ #13550]
25616         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25617         definitions.
25618         (CHECK_BOUNDS_HIGH): Likewise.
25619         * string/strcpy.c: Do not include <bp-checks.h>.
25620         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25622 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25624         * nscd/nscd-client.h (__nscd_drop_map_ref):
25625         Add __attribute__ ((unused)).
25626         * nis/nss-nisplus.h (niserr2nss): Likewise.
25628         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25629         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25631         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25632         Remove inline keyword.
25633         * include/rounding-mode.h (round_away): Likewise.
25634         * libio/wfileops.c (adjust_wide_data): Likewise.
25635         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25636         (__m128i_strloadu_tolower): Likewise.
25637         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25638         (__m128i_strloadu_tolower): Likewise.
25639         * time/mktime.c (ydhms_diff): Likewise.
25640         * locale/elem-hash.h (elem_hash): Likewise.
25641         * locale/setlocale.c (setdata): Likewise.
25642         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25643         (re_string_wchar_at): Likewise.
25644         (bitset_not, bitset_merge, bitset_mask): Likewise.
25645         [!(__GNUC__ > 3)] (inline): Remove macro.
25646         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25647         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25648         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25649         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25650         * string/memcmp.c (memcmp_bytes): Likewise.
25651         * locale/programs/locarchive.c (compute_hashval): Likewise.
25652         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25653         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25654         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25655         * nss/getent.c (print_rpc, print_protocols): Likewise.
25656         (print_passwd, print_group, print_aliases): Likewise.
25657         * nis/nss-nisplus.h (niserr2nss): Likewise.
25658         * nscd/connections.c (restart_p): Likewise.
25659         Change return type to bool.
25661 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25663         * Makeconfig (all-Depend-files): Add existing
25664         $(sorted-subdirs:=/Depend) files.
25665         (all-subdirs): Remove nss.
25666         * sysdeps/unix/inet/Subdirs: Add it here instead.
25667         * hesiod/Depend: New file.
25669         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25670         instead of calling alloca.
25672         * io/lseek.c (__lseek): Rename to __libc_lseek.
25673         Define __lseek as an alias.
25675         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25677 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25679         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25680         else clause and remove check for non-standard endianness.
25682 2013-02-04  David S. Miller  <davem@davemloft.net>
25684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25686 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25688         [BZ #13550]
25689         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25690         (__ubp_memchr): Remove prototype.
25691         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25692         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25693         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25694         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25695         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25696         Remove alias.
25697         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25698         (__ubp_memchr): Likewise.
25699         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25700         (__ubp_memchr): Likewise.
25701         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25702         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25703         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25704         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25705         CHECK_STRING.
25706         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25707         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25708         (__getcwd): Do not use CHECK_STRING.
25709         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25710         <bp-checks.h>.
25711         (__real_chown): Do not use CHECK_STRING.
25712         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25713         <bp-checks.h>.
25714         (fchownat): Do not use CHECK_STRING.
25715         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25716         CHECK_STRING.
25717         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25718         <bp-checks.h>.
25719         (__lchown): Do not use CHECK_STRING.
25720         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25721         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25722         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25723         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25725         include <bp-checks.h>.
25726         (truncate64): Do not use CHECK_STRING.
25727         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25728         <bp-checks.h>.
25729         (__real_chown): Do not use CHECK_STRING.
25730         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25731         <bp-checks.h>.
25732         (__lchown): Do not use CHECK_STRING.
25733         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25734         <bp-checks.h>.
25735         (__chown): Do not use CHECK_STRING.
25736         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25737         <bp-checks.h>.
25738         (truncate64): Do not use CHECK_STRING.
25739         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25740         Likewise.
25741         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25742         (__xmknod): Do not use CHECK_STRING.
25743         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25744         <bp-checks.h>.
25745         (__xmknodat): Do not use CHECK_STRING.
25746         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25747         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25749 2013-02-04  Andreas Schwab  <schwab@suse.de>
25751         [BZ #14142]
25752         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25753         * include/netdb.h: Likewise for h_errno.
25754         * elf/tst-stackguard1.c: Include <tls.h>.
25756 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25758         * elf/link.h (struct link_map): Extend the l_addr comment.
25759         * include/link.h (struct link_map): Likewise.
25761 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25763         [BZ #13550]
25764         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25765         (BOUNDED_1): Remove macro.
25766         * debug/backtrace.c: Don't include <bp-checks.h>.
25767         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25768         (__backtrace): Likewise.
25769         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25770         <bp-checks.h>.
25771         (__backtrace): Don't use BOUNDED_1.
25772         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25773         <bp-checks.h>.
25774         (__backtrace): Don't use BOUNDED_1.
25775         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25776         (__backtrace): Don't use BOUNDED_1.
25777         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25778         (shmat): Don't use BOUNDED_N.
25780 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25782         [BZ #13550]
25783         * sysdeps/generic/bp-start.h: Remove file.
25784         * csu/libc-start.c: Don't include <bp-start.h>.
25785         (LIBC_START_MAIN): Set up __environ directly instead of using
25786         INIT_ARGV_and_ENVIRON.
25787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25788         <bp-start.h>.
25790         [BZ #13550]
25791         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25792         definitions.
25793         (CHECK_FCNTL): Likewise.
25794         (CHECK_N_PAGES): Likewise.
25796         [BZ #13550]
25797         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25798         definitions.
25799         (CHECK_SIGSET_NULL_OK): Likewise.
25800         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25801         <bp-checks.h>.
25802         (sigpending): Don't use CHECK_SIGSET.
25803         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25804         <bp-checks.h>.
25805         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25806         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25807         <bp-checks.h>.
25808         (do_sigsuspend): Don't use CHECK_SIGSET.
25809         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25810         use CHECK_SIGSET.
25811         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25812         (do_sigwait): Don't use CHECK_SIGSET.
25813         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25814         use CHECK_SIGSET.
25815         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25816         include <bp-checks.h>.
25817         (sigpending): Don't use CHECK_SIGSET.
25818         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25819         include <bp-checks.h>.
25820         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25821         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25822         <bp-checks.h>.
25823         (sigpending): Don't use CHECK_SIGSET.
25824         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25825         <bp-checks.h>.
25826         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25828         [BZ #13550]
25829         * sysdeps/generic/bp-semctl.h: Remove file.
25830         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25831         <bp-checks.h> and <bp-semctl.h>.
25832         (__old_semctl): Don't use CHECK_SEMCTL.
25833         (__new_semctl): Likewise.
25834         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25835         and <bp-semctl.h>.
25836         (__old_semctl): Don't use CHECK_SEMCTL.
25837         (__new_semctl): Likewise.
25838         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25839         <bp-checks.h> and <bp-semctl.h>.
25840         (__old_semctl): Don't use CHECK_SEMCTL.
25841         (__new_semctl): Likewise.
25842         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25843         <bp-checks.h> and <bp-semctl.h>.
25844         (semctl): Don't use CHECK_SEMCTL.
25846         [BZ #13550]
25847         * Makerules (elide-bp-thunks): Remove variable.
25848         (elide-routines.oS): Don't use $(elide-bp-thunks).
25849         (elide-routines.os): Likewise.
25850         (elide-routines.o): Likewise.
25851         (elide-routines.op): Likewise.
25852         (elide-routines.og): Likewise.
25853         (objects): Don't use $(bp-thunks).
25854         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25855         include.
25856         (common-generated): Do not add s-proto-bp.d.
25857         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25858         (int): Likewise.
25859         (typ): Likewise.
25860         Do not generate makefile rules for bounded-pointer thunks.
25861         * sysdeps/generic/bp-thunks.h: Remove file.
25862         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25863         * sysdeps/unix/s-proto-bp.S: Likewise.
25865         [BZ #15062]
25866         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25867         parts of result separately when argument is not close to line from
25868         -i to i and one part of argument is small.
25869         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25870         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25871         * math/libm-test.inc (cacos_test): Add more tests.
25872         (casin_test): Likewise.
25873         (casinh_test): Likewise.
25874         * sysdeps/i386/fpu/libm-test-ulps: Update.
25875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25877 2013-01-31  David S. Miller  <davem@davemloft.net>
25879         * po/de.po: Update from translation team.
25881 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25883         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25885 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25887         * configure.in (_AC_PROG_CC_C89): New definition.
25888         * configure: Regenerate.
25890         * configure.in (AC_PROG_CPP): New definition.
25891         * configure: Regenerate.
25893 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25895         * debug/tst-backtrace.h: New file.
25896         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25897         (ret): Remove variable.
25898         (x): Likewise.
25899         (FAIL): Remove macro.
25900         (NO_INLINE): Likewise.
25901         (fn1): Use match function instead of strstr.
25902         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25903         (ret): Remove variable.
25904         (x): Likewise.
25905         (FAIL): Remove macro.
25906         (NO_INLINE): Likewise.
25907         (fn): Use match function instead of strstr.
25908         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25909         (ret): Remove variable.
25910         (x): Likewise.
25911         (FAIL): Remove macro.
25912         (NO_INLINE): Likewise.
25913         (handle_signal): Use match function instead of strstr.
25914         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25915         (ret): Remove variable.
25916         (x): Likewise.
25917         (FAIL): Remove macro.
25918         (NO_INLINE): Likewise.
25919         (handle_signal): Use match function instead of strstr.
25921 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25923         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25925 2013-01-23  David S. Miller  <davem@davemloft.net>
25927         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25928         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25929         argument of CAS if possible.
25930         * sysdeps/sparc/sparc64/bits/atomic.h
25931         (__arch_compare_and_exchange_val_32_acq): Likewise.
25932         (__arch_compare_and_exchange_val_64_acq): Likewise.
25934 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25936         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25937         * sysdeps/posix/ulimit.c: ... this.
25938         Include <limits.h>.
25939         * sysdeps/unix/bsd/ulimit.c: Remove file.
25941 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25943         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25944         (LDFLAGS-tst-array5): Likewise.
25946 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25948         [BZ #15036]
25949         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25950         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25951         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25952         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25954 2013-01-21  David S. Miller  <davem@davemloft.net>
25956         * sysdeps/sparc/backtrace.c: New file.
25957         * sysdeps/sparc/sparc32/backtrace.h: New file.
25958         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25959         * sysdeps/sparc/sparc64/backtrace.h: New file.
25960         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25961         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25962         -funwind-tables.
25964 2013-01-21  Andreas Schwab  <schwab@suse.de>
25966         [BZ #15020]
25967         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25968         closed its stdout.
25970 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25973         "mpa2.h".
25974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25976 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25977             Mark Mitchell  <mark@codesourcery.com>
25978             Tom de Vries  <tom@codesourcery.com>
25979             Paul Pluzhnikov  <ppluzhnikov@google.com>
25981         * debug/tst-backtrace2.c: New file.
25982         * debug/tst-backtrace3.c: Likewise.
25983         * debug/tst-backtrace4.c: Likewise.
25984         * debug/tst-backtrace5.c: Likewise.
25985         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25986         (CFLAGS-tst-backtrace3.c): Likewise.
25987         (CFLAGS-tst-backtrace4.c): Likewise.
25988         (CFLAGS-tst-backtrace5.c): Likewise.
25989         (LDFLAGS-tst-backtrace2): Likewise.
25990         (LDFLAGS-tst-backtrace3): Likewise.
25991         (LDFLAGS-tst-backtrace4): Likewise.
25992         (LDFLAGS-tst-backtrace5): Likewise.
25993         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25994         tst-backtrace4 and tst-backtrace5.
25996 2013-01-18  Anton Blanchard  <anton@samba.org>
25997             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25999         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26000         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26001         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26002         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26004         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26005         "+r" and remove output regs list as redundant.  Add explicit inline
26006         asm to specify register of return val to work around compiler codegen
26007         bug.  Remove (int) cast on return value.  Add return type parameter to
26008         use in macro so that this macro does not truncate return value for
26009         64-bit values.
26010         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26011         pass to INTERNAL_VSYSCALL_NCS.
26012         (INLINE_VSYSCALL): Add 'long int' as return type to
26013         INTERNAL_VSYSCALL_NCS macro invocation.
26014         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26015         INTERNAL_VSYSCALL_NCS macro invocation.
26016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26018 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26020         [BZ #14496]
26021         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26022         Fix application of SIMD FP exception mask.
26024         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26025         mp_no from a power of two.
26026         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26027         __mpexp_twomm1.  Use __pow_mp.
26029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26030         multiplication.
26032 2013-01-17  David S. Miller  <davem@davemloft.net>
26034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26036 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26038         [BZ #15023]
26039         * include/complex.h: Condition contents on [!_COMPLEX_H].
26040         (__kernel_casinhf): New prototype.
26041         (__kernel_casinh): Likewise.
26042         (__kernel_casinhl): Likewise.
26043         * math/Makefile (libm_calls): Add k_casinh.
26044         * math/k_casinh.c: New file.
26045         * math/k_casinhf.c: Likewise.
26046         * math/k_casinhl.c: Likewise.
26047         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26048         finite nonzero arguments.
26049         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26050         finite nonzero arguments.
26051         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26052         finite nonzero arguments.
26053         * math/s_casinh.c: Do not include <float.h>.
26054         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26055         * math/s_casinhf.c: Do not include <float.h>.
26056         (__casinhf): Move code for finite nonzero arguments to
26057         k_casinhf.c.
26058         * math/s_casinhl.c: Do not include <float.h>.
26059         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26060         redefine.
26061         (__casinhl): Move code for finite nonzero arguments to
26062         k_casinhl.c.
26063         * math/libm-test.inc (cacos_test): Add more tests.
26064         * sysdeps/i386/fpu/libm-test-ulps: Update.
26065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26067 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26069         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26070         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26071         [!HAVE_MREMAP]: Remove [defined linux] case.
26072         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26074 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26076         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26078 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26080         * elf/elf.h (R_386_SIZE32): New relocation.
26081         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26082         R_386_SIZE32.
26083         (elf_machine_rela): Likewise.
26084         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26085         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26087 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26089         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26090         (FP_FAST_FMA): Do not define.
26091         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26092         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26093         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26094         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26095         !_SOFT_FLOAT]: Likewise.
26096         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26097         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26098         value.
26099         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26100         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26101         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26103         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26104         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26105         file.
26107 2013-01-16  Andreas Schwab  <schwab@suse.de>
26109         [BZ #14327]
26110         * include/stdlib.h (__mktemp): Add declaration.
26111         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26112         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26114 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26116         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26117         definitions.
26118         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26119         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26120         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26121         definitions here.
26122         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26123         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26124         definitions.
26125         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26126         and ONE.
26127         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26128         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26129         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26130         definitions.
26131         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26132         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26133         definitions.
26134         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26136         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26138 2013-01-15  David S. Miller  <davem@davemloft.net>
26140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26141         trunc{,f} to libm-sysdep_routes.
26142         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26144         file.
26145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26147         file.
26148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26149         file.
26150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26152         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26153         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26154         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26155         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26156         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26157         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26160         nearbyint{,f} to libm-sysdep_routes.
26161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26163         New file.
26164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26165         file.
26166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26167         New file.
26168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26169         file.
26170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26172         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26173         file.
26174         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26176         file.
26177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26178         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26179         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26181         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26182         libc_feholdexcept and libc_fesetenv.
26184 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26186         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26188 2013-01-14  David S. Miller  <davem@davemloft.net>
26190         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26191         (SPARC_ASM_VIS2_IFUNC): Likewise.
26192         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26194         use of 'siam' instruction.
26195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26196         Likewise.
26197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26198         Likewise.
26199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26200         Likewise.
26201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26203         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26206         file.
26207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26208         file.
26209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26210         file.
26211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26212         file.
26213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26215         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26218         new VIS2 routines.
26219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26222         Likewise.
26223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26228         routines to libm-sysdep_routines.
26229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26232         fdim/fdimf to libm-sysdep_routines.
26233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26234         file.
26235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26237         file.
26238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26241         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26242         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26243         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26244         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26246 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26248         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26249         to optimize copies.
26251         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26256         local variable MPTWO.
26257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26258         Likewise.
26260 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26262         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26263         GLOB_NOESCAPE.
26265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26267         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26269 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26271         * manual/pattern.texi (glob_t): Document gl_flags.
26272         (glob64_t): Likewise.
26274 2013-01-11  David S. Miller  <davem@davemloft.net>
26276         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26277         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26278         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26279         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26280         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26281         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26282         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26283         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26284         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26285         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26286         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26287         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26288         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26290         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26291         sparc V9 rather than using V8 code.
26292         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26293         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26295         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26296         Move to...
26297         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26298         Here.
26300 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26302         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26303         not in the main loop.
26304         * configure: Regenerated.
26306 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26308         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26309         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26310         to just #else.
26311         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26312         [!__GLIBC_HAVE_LONG_LONG] case.
26313         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26314         condition to just #else.
26315         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26316         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26317         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26318         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26319         unconditional.
26320         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26321         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26322         #elif condition to just #else.
26323         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26324         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26325         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26326         #elif condition to just #else.
26328 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26330         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26331         (EF_MIPS_ARCH_64): Fix value.
26332         (EF_MIPS_ARCH_32R2): New.
26333         (EF_MIPS_ARCH_64R2): New.
26335 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26337         * Makeconfig (+link-pie-before-libc): New.
26338         (+link-pie-after-libc): Likewise.
26339         (+link-pie-tests): Likewise.
26340         (+link-pie): Rewritten.
26341         (link-before-libc): Remove $(config-LDFLAGS).
26342         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26343         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26344         (config-LDFLAGS): Renamed to ...
26345         (rtld-LDFLAGS): This.
26346         (rtld-tests-LDFLAGS): New macro.
26347         (link-libc-rpath-link): Likewise.
26348         (link-libc-tests-rpath-link): Likewise.
26349         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26350         (link-libc): Prepand $(link-libc-rpath-link).
26351         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26352         (test-program-prefix): New macro.
26353         (test-via-rtld-prefix): Likewise.
26354         (test-program-cmd): Likewise.
26355         (host-test-program-cmd): Likewise.
26356         * Makefile ($(common-objpfx)testrun.sh): Replace
26357         $(run-program-prefix) with $(test-program-prefix).
26358         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26359         $(rtld-LDFLAGS).
26360         ($(common-objpfx)shlib.lds): Likewise.
26361         (build-module-helper): Likewise.
26362         ($(common-objpfx)format.lds): Likewise.
26363         * Rules (binaries-pie-tests): New.
26364         (binaries-pie-notests): Likewise.
26365         (binaries-pie): Rewritten.
26366         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26367         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26368         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26369         (make-test-out): Replace $(host-built-program-cmd) with
26370         $(host-test-program-cmd).
26371         * config.make.in (build-hardcoded-path-in-tests): New variable.
26372         * configure.in (--enable-hardcoded-path-in-tests): New configure
26373         option.
26374         (hardcoded_path_in_tests): New AC_SUBST.
26375         * configure: Regenerated.
26376         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26377         $(built-program-cmd) with $(test-program-cmd).
26378         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26379         (test_program_cmd): This.
26380         * elf/Makefile ($(objpfx)order.out): Run test with
26381         $(test-program-prefix).
26382         ($(objpfx)order2.out): Likewise.
26383         ($(objpfx)tst-initorder.out): Likewise.
26384         ($(objpfx)tst-initorder2.out): Likewise.
26385         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26386         $(test-program-cmd).
26387         ($(objpfx)tst-array1-static.out): Likewise.
26388         ($(objpfx)tst-array2.out): Likewise.
26389         ($(objpfx)tst-array3.out): Likewise.
26390         ($(objpfx)tst-array4.out): Likewise.
26391         ($(objpfx)tst-array5.out): Likewise.
26392         ($(objpfx)tst-array5-static.out): Likewise.
26393         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26394         $(test-program-cmd).
26395         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26396         $(run-program-prefix) with $(test-program-prefix).
26397         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26398         (test_program_prefix): This.
26399         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26400         $(run-program-prefix) with $(test-program-prefix).
26401         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26402         (test_program_prefix): This.
26403         * iconvdata/tst-tables.sh: Likewise.
26404         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26405         $(run-program-prefix) with $(test-program-prefix).
26406         ($(objpfx)tst-translit.out): Likewise.
26407         ($(objpfx)tst-gettext2.out): Likewise.
26408         ($(objpfx)tst-gettext4.out): Likewise.
26409         ($(objpfx)tst-gettext6.out): Likewise.
26410         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26411         (test_program_prefix): This.
26412         * intl/tst-gettext2.sh: Likewise.
26413         * intl/tst-gettext4.sh  Likewise.
26414         * intl/tst-gettext6.sh: Likewise.
26415         * intl/tst-translit.sh: Likewise.
26416         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26417         with $(test-program-cmd).
26418         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26419         $(run-program-prefix) with $(test-program-prefix).
26420         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26421         (test_program_prefix): This.
26422         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26423         $(run-program-prefix) with $(test-program-prefix).
26424         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26425         (test_program_prefix): This.
26426         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26427         * posix/Makefile ($(objpfx)globtest.out): Replace
26428         $(run-via-rtld-prefix) and $(test-wrapper) with
26429         $(test-program-prefix) and $(test-via-rtld-prefix).
26430         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26431         $(test-program-prefix).
26432         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26433         $(host-test-program-cmd).
26434         (tst-spawn-ARGS): Likewise.
26435         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26436         $(test-program-prefix).
26437         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26438         (test_via_rtld_prefix): This.
26439         (test_wrapper): Renamed to ...
26440         (test_program_prefix): This.
26441         (run_program_prefix): Replaced by test_program_prefix.
26442         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26443         (test_program_prefix): This.
26444         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26445         with $(host-test-program-cmd).
26446         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26447         $(run-program-prefix) with $(test-program-prefix).
26448         ($(objpfx)tst-printf.out): Likewise.
26449         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26450         $(test-program-cmd).
26451         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26452         (test_program_prefix): This.
26453         * stdio-common/tst-unbputc.sh: Likewise.
26454         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26455         $(run-program-prefix) with $(test-program-prefix).
26456         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26457         (test_program_prefix): This.
26458         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26459         $(built-program-cmd) with $(test-program-cmd).
26461 2013-01-11  Andreas Jaeger  <aj@suse.de>
26463         [BZ #15003]
26464         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26465         value. Sync with Linux 3.7.
26467 2013-01-10  David S. Miller  <davem@davemloft.net>
26469         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26470         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26471         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26473 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26475         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26476         never set.
26477         * configure: Regenerated.
26479 2013-01-10  David S. Miller  <davem@davemloft.net>
26481         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26482         sparc V9 rather than using V8 code.
26483         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26484         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26486 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26488         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26489         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26490         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26491         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26492         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26493         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26494         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26495         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26496         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26497         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26498         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26499         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26500         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26501         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26502         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26503         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26504         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26505         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26506         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26507         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26508         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26509         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26510         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26511         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26512         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26513         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26514         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26516 2013-01-10  David S. Miller  <davem@davemloft.net>
26518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26520 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26522         * posix/Makefile (tests-static): New variable.
26523         (tests): Add $(tests-static).
26524         (tst-exec-static-ARGS): New variable.
26525         (tst-spawn-static-ARGS): Likewise.
26526         * posix/tst-exec-static.c: New file.
26527         * posix/tst-spawn-static.c: Likewise.
26528         * posix/tst-exec.c: Support run directly.
26529         * posix/tst-spawn.c: Likewise.
26531 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26533         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26534         long.
26535         * math/bits/mathcalls.h (llrint): Likewise.
26536         (llround): Likewise.
26537         * stdlib/stdlib.h (struct drand48_data): Likewise.
26538         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26539         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26540         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26541         Likewise.
26542         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26543         Likewise.
26544         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26545         (elf_greg_t): Likewise.
26546         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26547         (__jmp_buf): Likewise.
26548         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26549         definitions.
26550         (llrint): Likewise, for all definitions.
26551         (llrintl): Likewise.
26553         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26554         Remove [__GNUC__] condition.
26555         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26556         condition to just [__USE_ISOC99].
26557         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26559 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26561         [BZ #14200]
26562         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26563         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26564         defined.
26565         (_POSIX_V6_ILP32_OFF32): Likewise.
26566         (_XBS5_ILP32_OFF32): Likewise.
26567         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26568         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26570 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26572         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26575         doubles __mpexp_twomm1.  Adjust usage.
26576         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26577         Remove.
26579 2013-01-10  Andreas Schwab  <schwab@suse.de>
26581         [BZ #14964]
26582         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26583         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26585 2013-01-09  David S. Miller  <davem@davemloft.net>
26587         [BZ #15003]
26588         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26589         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26590         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26591         (TCP_FASTOPEN): Define.
26592         (tcp_repair_opt): New structure.
26593         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26594         enum values.
26595         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26596         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26597         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26598         (tcp_cookie_transactions): New structure.
26600 2013-01-09  Anton Blanchard  <anton@samba.org>
26602         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26603         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26604         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26605         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26607 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26609         * include/features.h (__USE_ANSI): Remove.
26611 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26613         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26615         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26617 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26619         * sysdeps/s390/fpu/libm-test-ulps: Update.
26621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26623         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26624         (__acr): Likewise.
26625         (__cpy): Likewise.
26626         (norm): Likewise.
26627         (denorm): Likewise.
26628         (__mp_dbl): Likewise.
26629         (__dbl_mp): Likewise.
26630         (add_magnitudes): Likewise.
26631         (sub_magnitudes): Likewise.
26632         (__add): Likewise.
26633         (__sub): Likewise.
26634         (__mul): Likewise.
26635         (__inv): Likewise.
26636         (__dvd): Likewise.
26637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26638         (__acr): Likewise.
26639         (__cpy): Likewise.
26640         (norm): Likewise.
26641         (denorm): Likewise.
26642         (__mp_dbl): Likewise.
26643         (__dbl_mp): Likewise.
26644         (add_magnitudes): Likewise.
26645         (sub_magnitudes): Likewise.
26646         (__add): Likewise.
26647         (__sub): Likewise.
26648         (__mul): Likewise.
26649         (__inv): Likewise.
26650         (__dvd): Likewise.
26651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26652         (__acr): Likewise.
26653         (__cpy): Likewise.
26654         (norm): Likewise.
26655         (denorm): Likewise.
26656         (__mp_dbl): Likewise.
26657         (__dbl_mp): Likewise.
26658         (add_magnitudes): Likewise.
26659         (sub_magnitudes): Likewise.
26660         (__add): Likewise.
26661         (__sub): Likewise.
26662         (__mul): Likewise.
26663         (__inv): Likewise.
26664         (__dvd): Likewise.
26666 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26668         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26669         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26670         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26671         2 && __USE_EXTERN_INLINES]: Likewise.
26673 2013-01-08  Andreas Jaeger  <aj@suse.de>
26675         [BZ# 14985]
26676         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26677         Remove.
26678         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26679         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26681 2013-01-07  Anton Blanchard  <anton@samba.org>
26683         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26684         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26685         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26686         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26687         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26688         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26689         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26690         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26692         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26693         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26694         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26695         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26696         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26697         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26698         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26700         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26701         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26702         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26703         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26705         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26706         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26707         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26708         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26709         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26710         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26711         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26712         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26713         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26715         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26716         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26717         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26718         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26720         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26721         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26722         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26723         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26724         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26725         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26727 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26729         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26730         (__MALLOC_PMT): Likewise.
26731         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26732         [__GNUC__], only on [_LIBC].
26733         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26734         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26735         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26736         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26737         forward declaration.
26738         (realloc_hook_ini): Likewise.
26739         (memalign_hook_ini): Likewise.
26740         (__libc_memalign): Do not use __MALLOC_PMT in variable
26741         declaration.
26742         (__libc_valloc): Likewise.
26743         (__libc_pvalloc): Likewise.
26744         (__libc_calloc): Likewise.
26745         (__posix_memalign): Likewise.
26747         [BZ #14996]
26748         * math/s_casinh.c: Include <float.h>.
26749         (__casinh): Do not do computation with squaring and square root
26750         for large arguments.
26751         * math/s_casinhf.c: Include <float.h>.
26752         (__casinhf): Do not do computation with squaring and square root
26753         for large arguments.
26754         * math/s_casinhl.c: Include <float.h>.
26755         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26756         (__casinhl): Do not do computation with squaring and square root
26757         for large arguments.
26758         * math/libm-test.inc (casin_test): Add more tests.
26759         (casinh_test): Likewise.
26760         * sysdeps/i386/fpu/libm-test-ulps: Update.
26761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26763 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26765         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26766         (__x86_64_raw_data_cache_size): Likewise.
26767         (__x86_64_data_cache_size_half): Likewise.
26768         (__x86_64_raw_data_cache_size_half): Likewise.
26769         (__x86_64_shared_cache_size): Likewise.
26770         (__x86_64_raw_shared_cache_size): Likewise.
26771         (__x86_64_shared_cache_size_half): Likewise.
26772         (__x86_64_raw_shared_cache_size_half): Likewise.
26773         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26774         to ...
26775         (__x86_data_cache_size): This.
26776         (__x86_64_raw_data_cache_size): Renamed to ...
26777         (__x86_raw_data_cache_size): This.
26778         (__x86_64_data_cache_size_half): Renamed to ...
26779         (__x86_data_cache_size_half): This.
26780         (__x86_64_raw_data_cache_size_half): Renamed to ...
26781         (__x86_raw_data_cache_size_half): This.
26782         (__x86_64_shared_cache_size): Renamed to ...
26783         (__x86_shared_cache_size): This.
26784         (__x86_64_raw_shared_cache_size): Renamed to ...
26785         (__x86_raw_shared_cache_size): This.
26786         (__x86_64_shared_cache_size_half): Renamed to ...
26787         (__x86_shared_cache_size_half): This.
26788         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26789         (__x86_raw_shared_cache_size_half): This.
26790         * sysdeps/x86_64/memcpy.S: Updated.
26791         * sysdeps/x86_64/memset.S: Likewise.
26792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26793         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26794         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26796 2013-01-04  David S. Miller  <davem@davemloft.net>
26798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26800 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26802         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26803         1 to avoid redefinition warning.
26804         (__USE_GNU): Don't define.
26805         (init_signaling_nan): Protoize.
26807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26809 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26811         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26813         (__cpymn): Likewise.
26814         (norm): Remove commented code.
26815         (denorm): Likewise.
26816         (__mp_dbl): Likewise.
26817         (__inv): Likewise.
26818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26819         (__cpymn): Likewise.
26820         (norm): Remove commented code.
26821         (denorm): Likewise.
26822         (__mp_dbl): Likewise.
26823         (__inv): Likewise.
26825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26826         mp_no value for 1.0 and 2.0.
26827         (norm): Use RADIXI instead of radixi.d.
26828         (denorm): Likewise.
26829         (__mul): Use 0.0 instead of zero.d.
26830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26831         mp_no value for 1.0 and 2.0.
26832         (norm): Use RADIXI instead of radixi.d.
26833         (denorm): Likewise.
26834         (__mul): Use 0.0 instead of zero.d.
26836 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26838         [BZ #14994]
26839         * math/s_casinh.c (__casinh): Reduce finite argument to first
26840         quadrant then set signs of results at the end.
26841         * math/s_casinhf.c (__casinhf): Likewise.
26842         * math/s_casinhl.c (__casinhl): Likewise.
26843         * math/libm-test.inc (casin_test): Add more tests.
26844         (casinh_test): Likewise.
26845         * sysdeps/i386/fpu/libm-test-ulps: Update.
26846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26848 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26852         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26854         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26855         declarations.
26856         (denorm): Likewise.
26857         (__mp_dbl): Likewise.
26858         (__inv): Likewise.
26860         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26861         and adjust the header comment.
26863         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26864         variable name from declaration.
26866 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26869         Initialize COMMON_CPUID_INDEX_7 element.
26870         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26871         (CPUID_RTM): Likewise.
26872         (HAS_RTM): Likewise.
26873         (COMMON_CPUID_INDEX_7): New enum.
26875 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26877         [BZ #14981]
26878         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26879         size is zero, record memory as freed.
26881 2013-01-03  Andreas Jaeger  <aj@suse.de>
26883         * po/ia.po: Add new Interlingua translation.
26885 2012-01-03  Allan McRae  <allan@archlinux.org>
26887         * locale/programs/localedef.c: Fix description of '--posix' flag.
26889 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26891         * NEWS: Update dates in second copyright notice.
26892         * README: Update copyright dates in example.
26893         * manual/libc.texinfo: Update copyright dates.
26894         * scripts/test-installation.pl: Update copyright date in --version
26895         output.
26897         * hurd/ctty-input.c: Fix copyright notice formatting.
26898         * hurd/ctty-output.c: Likewise.
26899         * hurd/dtable.c: Likewise.
26900         * hurd/hurd-raise.c: Likewise.
26901         * hurd/hurdprio.c: Likewise.
26902         * hurd/msgportdemux.c: Likewise.
26903         * misc/sys/file.h: Likewise.
26904         * misc/sys/ioctl.h: Likewise.
26905         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26906         * sysdeps/mach/hurd/chdir.c: Likewise.
26907         * sysdeps/mach/hurd/fchdir.c: Likewise.
26908         * sysdeps/mach/hurd/rename.c: Likewise.
26909         * sysdeps/mach/hurd/rmdir.c: Likewise.
26910         * sysdeps/mach/hurd/seekdir.c: Likewise.
26911         * sysdeps/mach/hurd/setsid.c: Likewise.
26912         * sysdeps/posix/wait3.c: Likewise.
26914         * All files with FSF copyright notices: Update copyright dates
26915         using scripts/update-copyrights.
26916         * intl/plural.c: Regenerated.
26917         * locale/programs/charmap-kw.h: Likewise.
26918         * locale/programs/locfile-kw.h: Likewise.
26920 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26922         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26923         four values.
26925         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26926         calculation loop and add branch prediction.
26928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26929         check access beyond bounds of m1np.
26931         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26932         MPTWO.
26933         (__inv): Remove local variable MPTWO to use the global
26934         constant.
26935         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26937         variable MPTWO.
26938         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26939         MP3HALFS static const.
26941 2013-01-01  David S. Miller  <davem@davemloft.net>
26943         * po/ca.po: Update from translation team.
26945 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26947         * scripts/update-copyrights: New file.
26948         * Makeconfig: Reformat copyright notice.
26949         * ctype/ctype.h: Likewise.
26950         * debug/swprintf_chk.c: Likewise.
26951         * elf/dl-cache.c: Likewise.
26952         * elf/dl-debug.c: Likewise.
26953         * elf/dl-object.c: Likewise.
26954         * grp/initgroups.c: Likewise.
26955         * hurd/Makefile: Likewise.
26956         * hurd/hurd/signal.h: Likewise.
26957         * hurd/hurdfault.c: Likewise.
26958         * hurd/hurdioctl.c: Likewise.
26959         * hurd/hurdlookup.c: Likewise.
26960         * hurd/intr-msg.c: Likewise.
26961         * iconv/gconv_open.c: Likewise.
26962         * libio/swprintf.c: Likewise.
26963         * locale/lc-ctype.c: Likewise.
26964         * locale/nl_langinfo.c: Likewise.
26965         * mach/Machrules: Likewise.
26966         * mach/Makefile: Likewise.
26967         * malloc/obstack.h: Likewise.
26968         * manual/Makefile: Likewise.
26969         * manual/tsort.awk: Likewise.
26970         * misc/bits/stab.def: Likewise.
26971         * nis/nis_print_group_entry.c: Likewise.
26972         * nis/nis_table.c: Likewise.
26973         * nis/nss_compat/compat-pwd.c: Likewise.
26974         * nis/nss_compat/compat-spwd.c: Likewise.
26975         * po/Makefile: Likewise.
26976         * posix/fnmatch.c: Likewise.
26977         * posix/regex.h: Likewise.
26978         * resolv/Makefile: Likewise.
26979         * resolv/nss_dns/dns-network.c: Likewise.
26980         * resolv/res_hconf.c: Likewise.
26981         * scripts/gen-sorted.awk: Likewise.
26982         * soft-fp/soft-fp.h: Likewise.
26983         * stdio-common/printf.h: Likewise.
26984         * stdlib/monetary.h: Likewise.
26985         * stdlib/random.c: Likewise.
26986         * stdlib/random_r.c: Likewise.
26987         * sysdeps/generic/Makefile: Likewise.
26988         * sysdeps/gnu/Makefile: Likewise.
26989         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26991         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26994         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26995         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26996         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26997         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26998         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26999         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27000         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27001         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27002         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27003         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27004         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27005         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27006         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27007         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27009         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27010         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27011         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27012         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27013         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27014         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27015         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27016         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27017         * sysdeps/mach/hurd/errnos.awk: Likewise.
27018         * sysdeps/mach/hurd/fork.c: Likewise.
27019         * sysdeps/mach/hurd/getcwd.c: Likewise.
27020         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27021         * sysdeps/mach/hurd/mmap.c: Likewise.
27022         * sysdeps/mach/hurd/utimes.c: Likewise.
27023         * sysdeps/mach/hurd/xmknod.c: Likewise.
27024         * sysdeps/posix/profil.c: Likewise.
27025         * sysdeps/posix/readdir_r.c: Likewise.
27026         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27027         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27028         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27029         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27033         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27035         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27036         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27037         * sysdeps/pthread/lio_listio.c: Likewise.
27038         * sysdeps/sparc/dl-procinfo.h: Likewise.
27039         * sysdeps/unix/i386/sysdep.S: Likewise.
27040         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27041         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27042         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27043         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27045         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27046         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27047         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27048         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27049         * sysdeps/wordsize-32/divdi3.c: Likewise.
27050         * time/sys/time.h: Likewise.
27051         * wcsmbs/Makefile: Likewise.
27053 2013-01-01  David S. Miller  <davem@davemloft.net>
27055         * po/fr.po: Update from translation team.
27057         * catgets/gencat.c: Update copyright year.
27058         * csu/version.c: Likewise.
27059         * debug/catchsegv.sh: Likewise.
27060         * debug/pcprofiledump.c: Likewise.
27061         * debug/xtrace.sh: Likewise.
27062         * elf/ldconfig.c: Likewise.
27063         * elf/ldd.bash.in: Likewise.
27064         * elf/pldd.c: Likewise.
27065         * elf/sotruss.ksh: Likewise.
27066         * elf/sprof.c: Likewise.
27067         * iconv/iconv_prog.c: Likewise.
27068         * iconv/iconvconfig.c: Likewise.
27069         * locale/programs/locale.c: Likewise.
27070         * locale/programs/localedef.c: Likewise.
27071         * login/programs/pt_chown.c: Likewise.
27072         * malloc/memusage.sh: Likewise.
27073         * malloc/memusagestat.c: Likewise.
27074         * malloc/mtrace.pl: Likewise.
27075         * nscd/nscd.c: Likewise.
27076         * nss/getent.c: Likewise.
27077         * nss/makedb.c: Likewise.
27078         * posix/getconf.c: Likewise.
27080 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27082         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27083         numbers.
27085 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27087         * math/bits/mathcalls.h (modf): Use __nonnull.
27089 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27091         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27092         (split): Use macro CN instead of the bare value.
27093         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27094         could be used.
27095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27096         instead of the bare value.
27097         (power1): Likewise.
27099 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27101         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27102         __ATAN_TWOM.
27103         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27105         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27106         their values.
27107         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27108         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27109         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27110         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27112 2012-12-28  Andreas Jaeger  <aj@suse.de>
27114         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27115         values are from Linux 3.7.
27117         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27118         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27120 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27122         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27123         TRUE case.
27125         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27126         (norm): Likewise.
27127         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27128         variables with preprocessor constants.
27129         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27130         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27131         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27133 2012-12-27  Bruno Haible  <bruno@clisp.org>
27135         [BZ #14317]
27136         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27137         only if needed.
27139 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27142         and use variable directly.
27143         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27145         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27146         MPONE.
27147         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27148         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27149         variable MPONE.
27150         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27152         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27153         include directive.  Remove local variable MPONE.
27154         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27155         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27156         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27158 2012-12-25  David S. Miller  <davem@davemloft.net>
27160         * version.h (RELEASE): Set to "development".
27161         (VERSION): Set to "2.17.90".
27162         * NEWS: Add 2.18 section.
27164 2012-12-21  David S. Miller  <davem@davemloft.net>
27166         * po/hr.po: Update from translation team.
27168 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27170         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27172 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27174         * NEWS:  Mention new memcpy for MIPS.
27176 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27178         * manual/contrib.texi (Contributors): Spelling correction.
27180 2012-12-15  David S. Miller  <davem@davemloft.net>
27182         * po/ru.po: Update from translation team.
27184 2012-12-13  David S. Miller  <davem@davemloft.net>
27186         * NEWS: Mention IFUNC testsuite enhancements.
27188         * po/pl.po: Update from translation team.
27189         * po/bg.po: Likewise.
27191         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27192         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27194 2012-12-11  David S. Miller  <davem@davemloft.net>
27196         * po/sv.po: Update from translation team.
27198         * po/vi.po: Update from translation team.
27200         * po/cs.po: Update from translation team.
27202         * po/de.po: Update from translation team.
27203         * po/eo.po: Likewise.
27204         * po/nl.po: Likewise.
27206 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27208         [BZ #14246]
27209         * manual/argp.texi (Argp Helper Functions): Move node to follow
27210         Argp Parsing State.
27212         [BZ #14872]
27213         * manual/conf.texi (Limits on File System Capacity): Mention if
27214         terminating null is included in the max size.
27216 2012-12-10  Andreas Jaeger  <aj@suse.de>
27218         * po/cs.po: Update from translation team.
27220 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27222         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27223         void pointer and cast to uintptr_t.
27224         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27225         path.
27226         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27227         * sysdeps/s390/s390-64/memset.S: Likewise.
27229 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27231         [BZ #14833]
27232         * menual/message.texi (Message Translation): Fix typos.
27233         (Helper programs for gettext): Likewise.
27235 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27237         [BZ #14898]
27238         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27239         Change to -1.
27241 2012-12-07  David S. Miller  <davem@davemloft.net>
27243         * po/libc.pot: Update.
27245 2012-12-07  Richard Henderson  <rth@redhat.com>
27247         [BZ #10114]
27248         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27249         normal/normal case to before the switch.
27250         (_FP_DIV): Likewise.
27252 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27253             Mike Frysinger  <vapier@gentoo.org>
27255         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27256         check for __NR_fadvise64_64.
27258 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27260         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27261         0, not just to plain "0" as a statement.
27262         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27263         with cw.
27265 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27267         * NEWS: Use sourceware.org in Bugzilla URL.
27269 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27272         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27274         * stdio-common/tst-put-error.c (do_test): Add newline to the
27275         padded test to ensure flush.
27277 2012-12-05  Jeff Law  <law@redhat.com>
27279         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27281 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27283         * README: Don't refer to ports add-on as distributed separately.
27284         Mention AArch64 in list of systems supported in the ports add-on.
27286         * LICENSES: Add more non-FSF copyright and license notices.
27288         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27289         ((unused)).
27291         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27293         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27294         10000 as width of padded output.
27296 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27298         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27300         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27301         variable LX with __attribute__ ((unused)).
27302         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27303         Likewise.
27304         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27305         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27306         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27307         with __attribute__ ((unused)).
27309 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27311         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27313 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27315         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27316         (CFLAGS-nldbl-acos.c): New variable.
27317         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27318         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27319         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27320         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27321         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27322         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27323         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27324         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27325         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27326         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27327         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27328         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27329         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27330         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27331         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27332         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27333         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27334         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27335         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27336         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27337         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27338         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27339         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27340         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27341         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27342         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27343         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27344         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27345         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27346         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27347         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27348         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27349         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27350         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27351         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27352         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27353         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27354         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27355         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27356         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27357         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27358         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27359         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27360         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27361         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27362         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27363         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27364         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27365         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27366         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27367         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27368         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27369         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27370         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27371         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27372         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27373         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27374         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27375         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27376         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27377         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27378         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27379         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27380         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27381         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27382         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27383         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27384         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27385         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27386         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27387         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27388         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27389         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27390         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27391         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27392         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27393         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27394         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27395         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27396         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27397         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27398         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27399         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27400         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27401         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27402         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27403         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27404         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27405         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27406         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27407         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27408         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27409         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27410         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27411         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27412         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27413         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27416         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27418         [BZ #14914]
27419         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27420         whole low double instead of just low 47 bits when splitting values
27421         into two parts.
27423 2012-12-03  Allan McRae  <allan@archlinux.org>
27425         * manual/stdio.texi (Predefined Printf Handlers): Remove
27426         @hsep and @vsep usage.
27428 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27430         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27431         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27433 2012-12-03  Jeff Law  <law@redhat.com>
27435         * time/sys/time.h (settimeofday): Do not mark TV argument
27436         as __nonnull.
27438 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27440         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27441         when currently writing and seek to current position when not.
27442         * libio/Makefile (tests): Remove bug-fclose1.
27443         * libio/bug-fclose1.c: Delete.
27445 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27447         * manual/arith.texi (feenableexcept): Fix typo.
27448         (fedisableexcept): Likewise.
27450 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27452         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27453         second, differently-typed declaration, rather than a cast.
27455 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27457         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27458         * include/rpc/svc.h: ... here.
27460 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27462         [BZ #13013]
27463         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27464         depending n and resplen2 to catch cases where answer
27465         equals answerp2.
27467 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27469         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27470         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27472 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27474         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27476 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27478         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27480 2012-11-28  Jeff Law  <law@redhat.com>
27482         [BZ #13761]
27483         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27484         dataset_temporary.  Track alloca usage into alloca_used.
27485         If dataset is large allocate and release it via malloc/free.
27487 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27489         [BZ #14197]
27490         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27492 2012-11-28  David S. Miller  <davem@davemloft.net>
27494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27496 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27498         [BZ #14803]
27499         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27500         of pi/2 rounded to nearest to 64 bits.
27501         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27502         nearest to 64 bits.
27503         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27504         bits.
27506 2012-11-28  Jeff Law <law@redhat.com>
27507             Martin Osvald <mosvald@redhat.com>
27509         [BZ #14889]
27510         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27511         * sunrpc/svc.c: Include time.h.
27512         (__svc_accept_failed): New function.
27513         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27514         any reason other than EINTR, call __svc_accept_failed.
27515         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27516         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27518 2012-11-28  Andreas Schwab  <schwab@suse.de>
27520         * scripts/abilist.awk: Also handle indirect functions in .opd
27521         section.
27523 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27525         [BZ #13881]
27526         * sysdeps/x86/fpu/powl_helper.c: New file.
27527         * sysdeps/x86/fpu/Makefile: Likewise.
27528         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27529         (p3): New object.
27530         (__ieee754_powl): Use __powl_helper for finite arguments except
27531         integer exponents below 8.
27532         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27533         (p3): New object.
27534         (__ieee754_powl): Use __powl_helper for finite arguments except
27535         integer exponents below 8.
27536         * math/libm-test.inc (pow_test): Add more tests and enable some
27537         previously disabled tests.
27538         * sysdeps/i386/fpu/libm-test-ulps: Update.
27539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27541 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27542             Carlos O'Donell  <carlos_odonell@mentor.com>
27544         * nss/makedb.c (is_prime): Assert that input is odd and greater
27545         than 4.  Note that fact in a comment too.
27546         (next_prime): Add 4 to input.
27548 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27550         [BZ #11741]
27551         * libio/Makefile (tests): Add test case tst-fwrite-error.
27552         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27553         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27554         * libio/tst-fwrite-error.c: New test case.
27556 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27558         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27559         before casting to void *.
27560         * include/libc-internal.h (__pointer_type): New macro.
27561         (__integer_if_pointer_type_sub): Likewise.
27562         (__integer_if_pointer_type): Likewise.
27563         (cast_to_integer): Likewise.
27564         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27565         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27566         before casting to atomic64_t.
27567         (atomic_exchange_acq): Likewise.
27568         (__arch_exchange_and_add_body): Likewise.
27569         (__arch_add_body): Likewise.
27570         (atomic_add_negative): Likewise.
27571         (atomic_add_zero): Likewise.
27573 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27575         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27576         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27577         (add_fdes): Likewise.
27578         (linear_search_fdes): Likewise.
27579         (binary_search_unencoded_fdes): Likewise.
27581 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27583         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27585 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27587         * configure.in: Autodetect C++ header directories.
27588         * configure: Regenerated.
27590 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27592         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27594 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27598 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27600         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27601         LDBL_MANT_DIG == 106]: Disable some tests.
27602         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27603         Likewise.
27604         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27605         Likewise.
27607         [BZ #14871]
27608         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27609         input for small inputs.  Return +/- pi/2 for large inputs.
27610         * math/libm-test.inc (atan_test): Add more tests.
27612         * sysdeps/generic/unwind-dw2-fde-glibc.c
27613         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27614         __attribute__ ((unused)).
27616         [BZ #14645]
27617         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27618         x * y if x and y are nonzero and z is zero.
27620         [BZ #14811]
27621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27622         nonzero exponents with absolute value below 0x1p-117 to +/-
27623         0x1p-117.
27625         [BZ #14869]
27626         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27627         up arguments below 2**-450, not just those below 2**-500.
27628         * math/libm-test.inc (hypot_test): Add another test.
27630         [BZ #14868]
27631         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27632         Return a+b for ratio over 2**120, not 2**60.
27633         * math/libm-test.inc (hypot_test): Add another test.
27635         * math/libm-test.inc (clog_test): Use
27636         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27637         (clog10_test): Likewise.
27639         [BZ #6778]
27640         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27642 2012-11-22  Andreas Schwab  <schwab@suse.de>
27644         * sysdeps/i386/fpu/libm-test-ulps: Update.
27646 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27648         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27649         printf output with newline.
27651 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27653         [BZ #14865]
27654         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27655         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27656         -z nodlopen, -z initfirst and -z execstack support.
27657         * configure: Regenerated.
27659         * elf/elf.h (DF_1_NODIRECT): New macro.
27660         (DF_1_IGNMULDEF): Likewise.
27661         (DF_1_NOKSYMS): Likewise.
27662         (DF_1_NOHDR): Likewise.
27663         (DF_1_EDITED): Likewise.
27664         (DF_1_NORELOC): Likewise.
27665         (DF_1_SYMINTPOSE): Likewise.
27666         (DF_1_GLOBAUDIT): Likewise.
27667         (DF_1_SINGLETON): Likewise.
27668         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27669         DT_1_SUPPORTED_MASK bits.
27670         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27672 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27674         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27676 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27678         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27679         macro.
27681         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27682         (sendmmsg): Move declarations...
27683         * socket/sys/socket.h: ... here.
27684         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27685         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27686         include it from...
27687         * socket/recvmmsg.c: ... this new file.
27688         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27689         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27690         definition of __sendmmsg hidden.
27691         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27692         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27693         Move ENOSYS stub into and include it from...
27694         * socket/sendmmsg.c: ... this new file.
27695         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27696         (sysdep_routines): Move recvmmsg and sendmmsg...
27697         * socket/Makefile (routines): ... here.
27698         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27699         (GLIBC_PRIVATE): Add __sendmmsg.
27700         * include/sys/socket.h (__sendmmsg): Add declarations.
27701         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27702         sendmmsg.
27704 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27707         variable I1 with __attribute__ ((unused)).
27708         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27710 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27712         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27713         DUMMY variables with __attribute__ ((unused)).
27715         * bits/byteswap.h: Include <bits/types.h>.
27716         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27718 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27720         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27721         string_t.  Do not manually set errno.
27722         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27723         length with __strnlen.  Make sure to both set errno and return it on
27724         failure.
27726 2012-11-19  David S. Miller  <davem@davemloft.net>
27728         With help from Joseph Myers.
27729         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27730         very large arguments properly.
27731         * math/libm-test.inc (atan_test): New tests.
27732         (atan2_test): New tests.
27733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27736 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27738         [BZ #14856]
27739         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27740         Define to 3.
27742         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27743         [POSIX] (EADDRNOTAVAIL): Likewise.
27744         [POSIX] (EAFNOSUPPORT): Likewise.
27745         [POSIX] (EALREADY): Likewise.
27746         [POSIX] (ECONNABORTED): Likewise.
27747         [POSIX] (ECONNREFUSED): Likewise.
27748         [POSIX] (ECONNRESET): Likewise.
27749         [POSIX] (EDESTADDRREQ): Likewise.
27750         [POSIX] (EDQUOT): Likewise.
27751         [POSIX] (EHOSTUNREACH): Likewise.
27752         [POSIX] (EIDRM): Likewise.
27753         [POSIX] (EISCONN): Likewise.
27754         [POSIX] (ELOOP): Likewise.
27755         [POSIX] (EMULTIHOP): Likewise.
27756         [POSIX] (ENETDOWN): Likewise.
27757         [POSIX] (ENETUNREACH): Likewise.
27758         [POSIX] (ENOBUFS): Likewise.
27759         [POSIX] (ENODATA): Likewise.
27760         [POSIX] (ENOLINK): Likewise.
27761         [POSIX] (ENOMSG): Likewise.
27762         [POSIX] (ENOPROTOOPT): Likewise.
27763         [POSIX] (ENOSR): Likewise.
27764         [POSIX] (ENOSTR): Likewise.
27765         [POSIX] (ENOTCONN): Likewise.
27766         [POSIX] (ENOTSOCK): Likewise.
27767         [POSIX] (EOPNOTSUPP): Likewise.
27768         [POSIX] (EOVERFLOW): Likewise.
27769         [POSIX] (EPROTO): Likewise.
27770         [POSIX] (EPROTONOSUPPORT): Likewise.
27771         [POSIX] (EPROTOTYPE): Likewise.
27772         [POSIX] (ESTALE): Likewise.
27773         [POSIX] (ETIME): Likewise.
27774         [POSIX] (ETXTBSY): Likewise.
27775         [POSIX] (EWOULDBLOCK): Likewise.
27776         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27777         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27778         [POSIX] (SEEK_CUR): Likewise.
27779         [POSIX] (SEEK_END): Likewise.
27780         [POSIX || UNIX98] (mode_t): Do not require.
27781         [POSIX] (off_t): Likewise.
27782         [POSIX] (pid_t): Likewise.
27783         [POSIX] (sys/stat.h): Do not allow header.
27784         [POSIX] (unistd.h): Likewise.
27785         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27786         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27787         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27788         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27789         require.
27790         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27791         sigevent): Specify elements.
27792         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27793         entry.
27794         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27795         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27797         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27798         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27799         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27800         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27801         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27802         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27803         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27804         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27805         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27806         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27807         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27808         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27809         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27811         Likewise.
27812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27813         Likewise.
27814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27815         Likewise.
27816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27817         Likewise.
27818         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27819         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27820         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27822         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27823         Specify lower bound on value.
27824         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27825         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27826         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27827         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27828         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27829         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27830         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27831         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27832         value.
27833         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27834         as optional.
27835         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27836         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27837         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27838         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27839         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27840         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27841         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27842         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27843         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27844         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27845         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27846         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27847         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27848         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27849         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27850         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27851         entry.
27852         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27853         optional.
27854         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27855         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27856         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27857         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27858         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27859         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27860         Likewise.
27861         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27862         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27863         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27864         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27865         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27866         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27867         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27868         as optional.
27869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27870         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27872         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27873         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27874         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27875         specify as optional.
27876         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27877         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27878         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27879         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27880         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27881         [XPG3] (NL_LANGMAX): Likewise.
27882         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27883         [POSIX || XPG3] (NL_NMAX): Likewise.
27884         [POSIX || XPG3] (NL_SETMAX): Likewise.
27885         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27886         [XPG3] (NZERO): Likewise.
27887         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27888         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27889         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27890         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27891         (REG_ERANGE): Expect.
27892         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27893         optional-constant.
27894         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27895         Use (void) in prototype.
27896         [POSIX] (*_t): Allow.
27897         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27898         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27899         (WRDE_BADVAL): Expect.
27901         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27902         expect.
27903         [XPG3 || XPG4] (O_RSYNC): Likewise.
27904         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27905         Likewise.
27906         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27907         [XPG3 || XPG4] (sigqueue): Likewise.
27908         [XPG3 || XPG4] (sigtimedwait): Likewise.
27909         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27910         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27911         [XPG3 || XPG4] (vsnprintf): Likewise.
27912         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27913         Likewise.
27914         [XPG3 || XPG4] (blksize_t): Likewise.
27915         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27916         Likewise.
27917         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27918         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27919         [XPG3 || XPG4] (struct itimerspec): Likewise.
27920         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27921         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27922         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27923         [XPG3 || XPG4] (clockid_t): Likewise.
27924         [XPG3 || XPG4] (timer_t): Likewise.
27925         [XPG3 || XPG4] (clock_getres): Likewise.
27926         [XPG3 || XPG4] (clock_gettime): Likewise.
27927         [XPG3 || XPG4] (clock_settime): Likewise.
27928         [XPG3 || XPG4] (nanosleep): Likewise.
27929         [XPG3 || XPG4] (timer_create): Likewise.
27930         [XPG3 || XPG4] (timer_delete): Likewise.
27931         [XPG3 || XPG4] (timer_gettime): Likewise.
27932         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27933         [XPG3 || XPG4] (timer_settime): Likewise.
27934         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27935         [XPG3 || XPG4] (getlogin_r): Likewise.
27936         [XPG3 || XPG4] (pread): Likewise.
27937         [XPG3 || XPG4] (pthread_atfork): Likewise.
27938         [XPG3 || XPG4] (pwrite): Likewise.
27940         [BZ #14835]
27941         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27942         <bits/siginfo.h>.
27944 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27946         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27947         finalizing MALLSTREAM.
27949         * sysdeps/mach/hurd/syncfs.c: New file.
27951 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27953         [BZ #14719]
27954         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27955         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27956         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27957         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27958         (_nss_dns_gethostbyname4_r): Likewise.
27959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27960         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27962 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27964         [BZ #13763]
27965         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27967 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27969         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27970         * elf/cache.c (print_entry): Print ",AArch64" for
27971         FLAG_AARCH64_LIB64
27973         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27974         * elf/cache.c (print_entry): Print ",hard-float" for
27975         FLAG_ARM_LIBHF.
27977 2012-11-18  David S. Miller  <davem@davemloft.net>
27979         With help from Joseph Myers.
27980         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27981         cutoff to 2**-13.
27982         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27983         cutoff to 2**-25.
27984         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27985         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27986         small.
27987         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27988         * math/libm-test.inc (y0_test): New tests.
27989         (y1_test): New tests.
27990         * sysdeps/i386/fpu/libm-test-ulps: Update.
27991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27994 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27996         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27997         64-bit targets.
27998         * configure: Regenerated.
28000 2012-11-17  David S. Miller  <davem@davemloft.net>
28002         [BZ #14811]
28003         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28004         nonzero exponents with absolute value below 0x1p-128 to +/-
28005         0x1p-128.
28007 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28009         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28011         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28013         * posix/getconf-speclist.c: New file.
28014         * posix/posix-envs.def: Likewise.
28015         * posix/confstr.c (START_ENV_GROUP): New macro.
28016         (END_ENV_GROUP): Likewise.
28017         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28018         (KNOWN_PRESENT_ENV_STRING): Likewise.
28019         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28020         (UNKNOWN_ENVIRONMENT): Likewise.
28021         (confstr): Include posix-envs.def instead of handling
28022         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28023         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28024         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28025         (END_ENV_GROUP): Likewise.
28026         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28027         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28028         (UNKNOWN_ENVIRONMENT): Likewise.
28029         (__sysconf): Include posix-envs.def instead of handling associated
28030         cases directly here.
28031         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28032         preprocessing getconf-speclist.c rather than running getconf or
28033         generating empty file.
28035 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28037         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28039 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28041         [BZ #14672]
28042         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28044 2012-11-16  David S. Miller  <davem@davemloft.net>
28046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28047         smaller than LDBL_EPSILON/2.0L, just return xm1.
28049 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28051         * elf/tst-array1.c (init): Set constructor priority to 1000.
28052         (fini): Set destructor priority to 1000.
28053         * elf/tst-array2dep.c: Likewise.
28055 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28057         [BZ #11741]
28058         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28059         (_IO_new_file_xsputn): Also return EOF if none of the input
28060         data was written when overflow failed.
28061         * libio/iopadn.c (_IO_padn): Likewise.
28062         * libio/iowpadn.c (_IO_wpadn): Likewise.
28063         * stdio-common/tst-put-error.c: Add copyright notice.
28064         (do_test): Add case for printing padded string.
28065         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28066         _IO_padn returned error.
28067         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28068         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28069         return EOF.
28071 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28073         * libio/libioP.h: Add comment note that the references to C++
28074         bits are now obsolete.
28076 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28078         * math/libm-test.inc (check_complex): Use asprintf.
28080 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28082         * debug/pcprofiledump.c (print_version): Update copyright year.
28083         * malloc/memusagestat.c (print_version): Likewise.
28085 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28087         [BZ #14831]
28088         * elf/Makefile (tests): Add tst-audit8.
28089         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28090         ($(objpfx)tst-audit8.out): New target.
28091         (tst-audit8-ENV): New variable.
28092         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28093         audit if l_reloc_result is NULL.
28094         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28095         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28096         * elf/tst-audit8.c: New file.
28098 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28100         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28101         * misc/Makefile (CFLAGS-select.c): Define.
28102         * posix/Makefile (CFLAGS-pause.c): Define.
28104 2012-11-13  David S. Miller  <davem@davemloft.net>
28106         * crypt/Makefile: Move test targets after toplevel Rules
28107         inclusion.  Grab any necessary sysdep routines when linking.
28108         * crypt/md5.c (md5_process_block): Remove define, we will always
28109         name it __md5_process_block.
28110         (md5_finish_ctx): Update md5_process_block call.
28111         (md5_stream): Likewise.
28112         (md5_process_bytes): Likewise.
28113         (md5_process_block): Rename to __md5_process_block and move to ...
28114         * crypt/md5-block.c: ... here.
28115         * crypt/sha256.c (sha256_process_block): Move to ...
28116         * crypt/sha256-block.c: ... here.
28117         * crypt/sha512.c (sha512_process_block): Move to ...
28118         * crypt/sha512-block.c: ... here.
28119         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28120         path.
28121         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28122         * sysdeps/sparc/sparc64/multiarch/Makefile
28123         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28124         crypt subdir.
28125         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28126         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28127         multiarch changes.
28128         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28129         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28130         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28131         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28132         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28133         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28134         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28135         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28136         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28137         file.
28138         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28140         file.
28141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28143 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28145         * timezone/tzselect.ksh: Update from tzcode git revision
28146         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28147         * timezone/zdump.c: Likewise.
28148         * timezone/zic.c: Likewise.
28149         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28150         in TZVERSION setting, not $(PKGVERSION).
28151         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28152         REPORT_BUGS_TO settings.
28154         [BZ #14838]
28155         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28156         macro.
28158 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28160         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28161         detection to immediately after _FP_ROUND().
28162         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28163         bits are 0.
28165 2012-11-11  David S. Miller  <davem@davemloft.net>
28167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28168         inttypes.h
28169         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28170         __close rather than their public counterparts.
28172 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28174         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28175         file.
28176         [UNIX98] (sem_timedwait): Do not expect.
28177         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28178         [XPG4 || UNIX98] (sockatmark): Do not expect.
28179         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28180         (clock_getcpuclockid): Do not expect.
28181         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28182         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28183         Do not expect.
28184         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28185         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28186         [UNIX98] (vwscanf): Likewise.
28187         [UNIX98] (vswscanf): Likewise.
28189 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28191         * timezone/version.h: Remove file.
28192         * timezone/README: Do not refer to version.h.
28193         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28194         $(objpfx)version.h.
28195         ($(objpfx)zdump.o): Likewise.
28196         ($(objpfx)version.h): New target.
28198         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28199         2012i.
28200         * timezone/README: Don't mention modification to tzselect.ksh.
28201         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28202         work on unmodified tzselect.ksh.  Substitute version numbers in
28203         tzselect.ksh.
28205         * Makefile (format-me): Remove.
28206         (INSTALL): Adjust indentation.  Use commands directly instead of
28207         using $(format-me).
28209         * aclocal.m4 (ACX_PKGVERSION): New macro.
28210         (ACX_BUGURL): Likewise.
28211         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28212         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28213         (REPORT_BUGS_TO): Likewise.
28214         * configure: Regenerated.
28215         * config.h.in (PKGVERSION): New macro.
28216         (REPORT_BUGS_TO): Likewise.
28217         * config.make.in (PKGVERSION): New variable.
28218         (PKGVERSION_TEXI): Likewise.
28219         (REPORT_BUGS_TO): Likewise.
28220         (REPORT_BUGS_TEXI): Likewise.
28221         * Makefile (format-me): Use -I$(common-objpfx)manual.
28222         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28223         ($(common-objpfx)manual/%): New target.
28224         (manual/%): Remove target.
28225         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28226         (print_version): Use PKGVERSION.
28227         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28228         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28229         and REPORT_BUGS_TO.
28230         ($(objpfx)xtrace): Likewise.
28231         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28232         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28233         (print_version): Use PKGVERSION.
28234         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28235         (do_version): Use PKGVERSION.
28236         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28237         REPORT_BUGS_TO.
28238         (common-ldd-rewrite): Likewise.
28239         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28240         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28241         (print_version): Use PKGVERSION.
28242         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28243         * elf/pldd.c (argp_program_bug_address): Remove variable.
28244         (more_help): New function.
28245         (argp): Use more_help.
28246         (print_version): Use PKGVERSION.
28247         * elf/sln.c (main): Use PKGVERSION.
28248         (usage): Use REPORT_BUGS_TO.
28249         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28250         (top level): Use PKGVERSION.
28251         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28252         (print_version): Use PKGVERSION.
28253         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28254         (print_version): Use PKGVERSION.
28255         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28256         (print_version): Use PKGVERSION.
28257         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28258         (print_version): Use PKGVERSION.
28259         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28260         (print_version): Use PKGVERSION.
28261         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28262         (print_version): Use PKGVERSION.
28263         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28264         and BUGURL.
28265         ($(objpfx)memusage): Likewise.
28266         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28267         (do_version): Use PKGVERSION.
28268         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28269         (print_version): Use PKGVERSION.
28270         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28271         ($PKGVERSION): New variable.
28272         ($REPORT_BUGS_TO): Likewise.
28273         (usage): Use $REPORT_BUGS_TO.
28274         (top level): Use $PKGVERSION.
28275         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28276         ($(objpfx)pkgvers.texi): New rule.
28277         ($(objpfx)stamp-pkgvers): Likewise.
28278         * manual/install.texi: Include pkgvers.texi.
28279         (--with-pkgversion): Document new configure option.
28280         (--with-bugurl): Likewise.
28281         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28282         than necessarily for this particular distribution.  Use
28283         REPORT_BUGS_TO for where to report bugs.
28284         * INSTALL: Regenerated.
28285         * manual/libc.texinfo: Include pkgvers.texi.
28286         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28287         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28288         (print_version): Use PKGVERSION.
28289         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28290         (print_version): Use PKGVERSION.
28291         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28292         (print_version): Use PKGVERSION.
28293         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28294         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28295         macro.
28296         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28297         (print_version): Use PKGVERSION.
28298         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28299         (print_version): Use PKGVERSION.
28300         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28301         and PKGVERSION.
28303         * timezone/checktab.awk: Update from tzcode 2012i.
28304         * timezone/ialloc.c: Likewise.
28305         * timezone/private.h: Likewise.
28306         * timezone/scheck.c: Likewise.
28307         * timezone/tzfile.h: Likewise.
28308         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28309         (TZVERSION): Hardcode tzcode version number.
28310         * timezone/zdump.c: Update from tzcode 2012i.
28311         * timezone/zic.c: Likewise.
28312         * timezone/version.h: New file.
28313         * timezone/README: Describe version.h.  Update upstream location.
28315         [BZ #14824]
28316         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28317         (mktemp): Enable declaration.
28318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28322         Likewise.
28323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28324         Likewise.
28325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28326         Likewise.
28327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28328         Likewise.
28329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28330         Likewise.
28331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28332         Likewise.
28334         [BZ #14821]
28335         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28336         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28337         for copies of such integer values.
28338         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28339         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28341 2012-11-09  Andreas Jaeger  <aj@suse.de>
28343         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28344         definitions and declarations that are provided by
28345         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28347 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28349         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28350         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28351         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28352         definition.
28354 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28356         * elf/elf.h: Update comment before AArch64 relocations.
28358 2012-11-07  David S. Miller  <davem@davemloft.net>
28360         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28361         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28362         (__start_context): Declare.
28363         (__makecontext_ret): Delete.
28364         (__makecontext): Hook up __start_context instead of
28365         __makecontext_ret.
28366         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28367         (sysdep_routines): Add __start_context when in stdlib.
28369 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28371         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28372         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28373         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28374         hardcoded "nm".
28375         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28376         (READELF): New variable.  Use it instead of hardcoded "readelf".
28378 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28380         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28381         * sysdeps/x86/Makefile: Here.
28382         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28383         * sysdeps/x86/tst-xmmymm.sh: This.
28385 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28387         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28388         expectations.
28389         [UNIX98] (pthread_barrier_t): Do not expect.
28390         [UNIX98] (pthread_barrierattr_t): Likewise.
28391         [UNIX98] (pthread_spinlock_t): Likewise.
28392         [UNIX98] (pthread_barrier_destroy): Likewise.
28393         [UNIX98] (pthread_barrier_init): Likewise.
28394         [UNIX98] (pthread_barrier_wait): Likewise.
28395         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28396         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28397         [UNIX98] (pthread_barrierattr_init): Likewise.
28398         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28399         [UNIX98] (pthread_getcpuclockid): Likewise.
28400         [UNIX98] (pthread_mutex_timedlock): Likewise.
28401         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28402         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28403         [UNIX98] (pthread_sigmask): Likewise.
28404         [UNIX98] (pthread_spin_destroy): Likewise.
28405         [UNIX98] (pthread_spin_init): Likewise.
28406         [UNIX98] (pthread_spin_lock): Likewise.
28407         [UNIX98] (pthread_spin_trylock): Likewise.
28408         [UNIX98] (pthread_spin_unlock): Likewise.
28409         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28410         Do not expect.
28411         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28412         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28413         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28414         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28415         [XPG3 || XPG4] (pthread_key_t): Likewise.
28416         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28417         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28418         [XPG3 || XPG4] (pthread_once_t): Likewise.
28419         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28420         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28421         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28422         [XPG3 || XPG4] (pthread_t): Likewise.
28424         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28425         not expect.
28426         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28428         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28429         Change function return type to int.
28431         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28432         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28433         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28434         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28435         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28436         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28437         [!POSIX] (posix_madvise): Likewise.
28438         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28439         && !UNIX98].
28440         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28441         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28442         (mode_t): Likewise.
28443         (posix_mem_offset): Likewise.
28444         (posix_typed_mem_get_info): Likewise.
28445         (posix_typed_mem_open): Likewise.
28447         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28448         Change condition to [XOPEN2K8].
28450         * conform/conformtest.pl: Preprocess allow-header data with -x c
28451         instead of from stdin.
28452         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28453         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28454         [C99-based standards] (cerfc): Likewise.
28455         [C99-based standards] (cexp2): Likewise.
28456         [C99-based standards] (cexpm1): Likewise.
28457         [C99-based standards] (clog10): Likewise.
28458         [C99-based standards] (clog1p): Likewise.
28459         [C99-based standards] (clog2): Likewise.
28460         [C99-based standards] (clgamma): Likewise.
28461         [C99-based standards] (ctgamma): Likewise.
28462         [C99-based standards] (cerff): Likewise.
28463         [C99-based standards] (cerfcf): Likewise.
28464         [C99-based standards] (cexp2f): Likewise.
28465         [C99-based standards] (cexpm1f): Likewise.
28466         [C99-based standards] (clog10f): Likewise.
28467         [C99-based standards] (clog1pf): Likewise.
28468         [C99-based standards] (clog2f): Likewise.
28469         [C99-based standards] (clgammaf): Likewise.
28470         [C99-based standards] (ctgammaf): Likewise.
28471         [C99-based standards] (cerfl): Likewise.
28472         [C99-based standards] (cerfcl): Likewise.
28473         [C99-based standards] (cexp2l): Likewise.
28474         [C99-based standards] (cexpm1l): Likewise.
28475         [C99-based standards] (clog10l): Likewise.
28476         [C99-based standards] (clog1pl): Likewise.
28477         [C99-based standards] (clog2l): Likewise.
28478         [C99-based standards] (clgammal): Likewise.
28479         [C99-based standards] (ctgammal): Likewise.
28480         * conform/data/inttypes.h-data [C99-based standards]: Include
28481         stdint.h-data.  Remove all expectations for stdint.h contents.
28482         [C99-based standards] (PRI*): Do not allow.
28483         [C99-based standards] (SCN*): Likewise.
28484         [C99-based standards] (*_t): Likewise.
28485         [C99-based-standards] (PRId8): Expect macro.
28486         [C99-based-standards] (PRIi8): Likewise.
28487         [C99-based-standards] (PRIo8): Likewise.
28488         [C99-based-standards] (PRIu8): Likewise.
28489         [C99-based-standards] (PRIx8): Likewise.
28490         [C99-based-standards] (PRIX8): Likewise.
28491         [C99-based-standards] (SCNd8): Likewise.
28492         [C99-based-standards] (SCNi8): Likewise.
28493         [C99-based-standards] (SCNo8): Likewise.
28494         [C99-based-standards] (SCNu8): Likewise.
28495         [C99-based-standards] (SCNx8): Likewise.
28496         [C99-based-standards] (PRIdLEAST8): Likewise.
28497         [C99-based-standards] (PRIiLEAST8): Likewise.
28498         [C99-based-standards] (PRIoLEAST8): Likewise.
28499         [C99-based-standards] (PRIuLEAST8): Likewise.
28500         [C99-based-standards] (PRIxLEAST8): Likewise.
28501         [C99-based-standards] (PRIXLEAST8): Likewise.
28502         [C99-based-standards] (SCNdLEAST8): Likewise.
28503         [C99-based-standards] (SCNiLEAST8): Likewise.
28504         [C99-based-standards] (SCNoLEAST8): Likewise.
28505         [C99-based-standards] (SCNuLEAST8): Likewise.
28506         [C99-based-standards] (SCNxLEAST8): Likewise.
28507         [C99-based-standards] (PRIdFAST8): Likewise.
28508         [C99-based-standards] (PRIiFAST8): Likewise.
28509         [C99-based-standards] (PRIoFAST8): Likewise.
28510         [C99-based-standards] (PRIuFAST8): Likewise.
28511         [C99-based-standards] (PRIxFAST8): Likewise.
28512         [C99-based-standards] (PRIXFAST8): Likewise.
28513         [C99-based-standards] (SCNdFAST8): Likewise.
28514         [C99-based-standards] (SCNiFAST8): Likewise.
28515         [C99-based-standards] (SCNoFAST8): Likewise.
28516         [C99-based-standards] (SCNuFAST8): Likewise.
28517         [C99-based-standards] (SCNxFAST8): Likewise.
28518         [C99-based-standards] (PRId16): Likewise.
28519         [C99-based-standards] (PRIi16): Likewise.
28520         [C99-based-standards] (PRIo16): Likewise.
28521         [C99-based-standards] (PRIu16): Likewise.
28522         [C99-based-standards] (PRIx16): Likewise.
28523         [C99-based-standards] (PRIX16): Likewise.
28524         [C99-based-standards] (SCNd16): Likewise.
28525         [C99-based-standards] (SCNi16): Likewise.
28526         [C99-based-standards] (SCNo16): Likewise.
28527         [C99-based-standards] (SCNu16): Likewise.
28528         [C99-based-standards] (SCNx16): Likewise.
28529         [C99-based-standards] (PRIdLEAST16): Likewise.
28530         [C99-based-standards] (PRIiLEAST16): Likewise.
28531         [C99-based-standards] (PRIoLEAST16): Likewise.
28532         [C99-based-standards] (PRIuLEAST16): Likewise.
28533         [C99-based-standards] (PRIxLEAST16): Likewise.
28534         [C99-based-standards] (PRIXLEAST16): Likewise.
28535         [C99-based-standards] (SCNdLEAST16): Likewise.
28536         [C99-based-standards] (SCNiLEAST16): Likewise.
28537         [C99-based-standards] (SCNoLEAST16): Likewise.
28538         [C99-based-standards] (SCNuLEAST16): Likewise.
28539         [C99-based-standards] (SCNxLEAST16): Likewise.
28540         [C99-based-standards] (PRIdFAST16): Likewise.
28541         [C99-based-standards] (PRIiFAST16): Likewise.
28542         [C99-based-standards] (PRIoFAST16): Likewise.
28543         [C99-based-standards] (PRIuFAST16): Likewise.
28544         [C99-based-standards] (PRIxFAST16): Likewise.
28545         [C99-based-standards] (PRIXFAST16): Likewise.
28546         [C99-based-standards] (SCNdFAST16): Likewise.
28547         [C99-based-standards] (SCNiFAST16): Likewise.
28548         [C99-based-standards] (SCNoFAST16): Likewise.
28549         [C99-based-standards] (SCNuFAST16): Likewise.
28550         [C99-based-standards] (SCNxFAST16): Likewise.
28551         [C99-based-standards] (PRId32): Likewise.
28552         [C99-based-standards] (PRIi32): Likewise.
28553         [C99-based-standards] (PRIo32): Likewise.
28554         [C99-based-standards] (PRIu32): Likewise.
28555         [C99-based-standards] (PRIx32): Likewise.
28556         [C99-based-standards] (PRIX32): Likewise.
28557         [C99-based-standards] (SCNd32): Likewise.
28558         [C99-based-standards] (SCNi32): Likewise.
28559         [C99-based-standards] (SCNo32): Likewise.
28560         [C99-based-standards] (SCNu32): Likewise.
28561         [C99-based-standards] (SCNx32): Likewise.
28562         [C99-based-standards] (PRIdLEAST32): Likewise.
28563         [C99-based-standards] (PRIiLEAST32): Likewise.
28564         [C99-based-standards] (PRIoLEAST32): Likewise.
28565         [C99-based-standards] (PRIuLEAST32): Likewise.
28566         [C99-based-standards] (PRIxLEAST32): Likewise.
28567         [C99-based-standards] (PRIXLEAST32): Likewise.
28568         [C99-based-standards] (SCNdLEAST32): Likewise.
28569         [C99-based-standards] (SCNiLEAST32): Likewise.
28570         [C99-based-standards] (SCNoLEAST32): Likewise.
28571         [C99-based-standards] (SCNuLEAST32): Likewise.
28572         [C99-based-standards] (SCNxLEAST32): Likewise.
28573         [C99-based-standards] (PRIdFAST32): Likewise.
28574         [C99-based-standards] (PRIiFAST32): Likewise.
28575         [C99-based-standards] (PRIoFAST32): Likewise.
28576         [C99-based-standards] (PRIuFAST32): Likewise.
28577         [C99-based-standards] (PRIxFAST32): Likewise.
28578         [C99-based-standards] (PRIXFAST32): Likewise.
28579         [C99-based-standards] (SCNdFAST32): Likewise.
28580         [C99-based-standards] (SCNiFAST32): Likewise.
28581         [C99-based-standards] (SCNoFAST32): Likewise.
28582         [C99-based-standards] (SCNuFAST32): Likewise.
28583         [C99-based-standards] (SCNxFAST32): Likewise.
28584         [C99-based-standards] (PRId64): Likewise.
28585         [C99-based-standards] (PRIi64): Likewise.
28586         [C99-based-standards] (PRIo64): Likewise.
28587         [C99-based-standards] (PRIu64): Likewise.
28588         [C99-based-standards] (PRIx64): Likewise.
28589         [C99-based-standards] (PRIX64): Likewise.
28590         [C99-based-standards] (SCNd64): Likewise.
28591         [C99-based-standards] (SCNi64): Likewise.
28592         [C99-based-standards] (SCNo64): Likewise.
28593         [C99-based-standards] (SCNu64): Likewise.
28594         [C99-based-standards] (SCNx64): Likewise.
28595         [C99-based-standards] (PRIdLEAST64): Likewise.
28596         [C99-based-standards] (PRIiLEAST64): Likewise.
28597         [C99-based-standards] (PRIoLEAST64): Likewise.
28598         [C99-based-standards] (PRIuLEAST64): Likewise.
28599         [C99-based-standards] (PRIxLEAST64): Likewise.
28600         [C99-based-standards] (PRIXLEAST64): Likewise.
28601         [C99-based-standards] (SCNdLEAST64): Likewise.
28602         [C99-based-standards] (SCNiLEAST64): Likewise.
28603         [C99-based-standards] (SCNoLEAST64): Likewise.
28604         [C99-based-standards] (SCNuLEAST64): Likewise.
28605         [C99-based-standards] (SCNxLEAST64): Likewise.
28606         [C99-based-standards] (PRIdFAST64): Likewise.
28607         [C99-based-standards] (PRIiFAST64): Likewise.
28608         [C99-based-standards] (PRIoFAST64): Likewise.
28609         [C99-based-standards] (PRIuFAST64): Likewise.
28610         [C99-based-standards] (PRIxFAST64): Likewise.
28611         [C99-based-standards] (PRIXFAST64): Likewise.
28612         [C99-based-standards] (SCNdFAST64): Likewise.
28613         [C99-based-standards] (SCNiFAST64): Likewise.
28614         [C99-based-standards] (SCNoFAST64): Likewise.
28615         [C99-based-standards] (SCNuFAST64): Likewise.
28616         [C99-based-standards] (SCNxFAST64): Likewise.
28617         [C99-based-standards] (PRIdMAX): Likewise.
28618         [C99-based-standards] (PRIiMAX): Likewise.
28619         [C99-based-standards] (PRIoMAX): Likewise.
28620         [C99-based-standards] (PRIuMAX): Likewise.
28621         [C99-based-standards] (PRIxMAX): Likewise.
28622         [C99-based-standards] (PRIXMAX): Likewise.
28623         [C99-based-standards] (SCNdMAX): Likewise.
28624         [C99-based-standards] (SCNiMAX): Likewise.
28625         [C99-based-standards] (SCNoMAX): Likewise.
28626         [C99-based-standards] (SCNuMAX): Likewise.
28627         [C99-based-standards] (SCNxMAX): Likewise.
28628         [C99-based-standards] (PRIdPTR): Likewise.
28629         [C99-based-standards] (PRIiPTR): Likewise.
28630         [C99-based-standards] (PRIoPTR): Likewise.
28631         [C99-based-standards] (PRIuPTR): Likewise.
28632         [C99-based-standards] (PRIxPTR): Likewise.
28633         [C99-based-standards] (PRIXPTR): Likewise.
28634         [C99-based-standards] (SCNdPTR): Likewise.
28635         [C99-based-standards] (SCNiPTR): Likewise.
28636         [C99-based-standards] (SCNoPTR): Likewise.
28637         [C99-based-standards] (SCNuPTR): Likewise.
28638         [C99-based-standards] (SCNxPTR): Likewise.
28639         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28640         allow.
28641         * conform/data/stdint.h-data: Update comments to clarify
28642         requirements.
28643         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28644         type.
28645         [C99-based standards] (INT8_MAX): Likewise.
28646         [C99-based standards] (INT16_MIN): Likewise.
28647         [C99-based standards] (INT16_MAX): Likewise.
28648         [C99-based standards] (INT32_MIN): Likewise.
28649         [C99-based standards] (INT32_MAX): Likewise.
28650         [C99-based standards] (INT64_MIN): Likewise.
28651         [C99-based standards] (INT64_MAX): Likewise.
28652         [C99-based standards] (UINT8_MAX): Likewise.
28653         [C99-based standards] (UINT16_MAX): Likewise.
28654         [C99-based standards] (UINT32_MAX): Likewise.
28655         [C99-based standards] (UINT64_MAX): Likewise.
28656         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28657         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28658         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28659         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28660         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28661         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28662         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28663         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28664         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28665         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28666         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28667         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28668         [C99-based standards] (INT_FAST8_MIN): Likewise.
28669         [C99-based standards] (INT_FAST8_MAX): Likewise.
28670         [C99-based standards] (INT_FAST16_MIN): Likewise.
28671         [C99-based standards] (INT_FAST16_MAX): Likewise.
28672         [C99-based standards] (INT_FAST32_MIN): Likewise.
28673         [C99-based standards] (INT_FAST32_MAX): Likewise.
28674         [C99-based standards] (INT_FAST64_MIN): Likewise.
28675         [C99-based standards] (INT_FAST64_MAX): Likewise.
28676         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28677         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28678         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28679         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28680         [C99-based standards] (INTPTR_MIN): Likewise.
28681         [C99-based standards] (INTPTR_MAX): Likewise.
28682         [C99-based standards] (UINTPTR_MAX): Likewise.
28683         [C99-based standards] (INTMAX_MIN): Likewise.
28684         [C99-based standards] (INTMAX_MAX): Likewise.
28685         [C99-based standards] (UINTMAX_MAX): Likewise.
28686         [C99-based standards] (PTRDIFF_MIN): Likewise.
28687         [C99-based standards] (PTRDIFF_MAX): Likewise.
28688         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28689         [C99-based standards] (SIZE_MAX): Likewise.
28690         [C99-based standards] (WCHAR_MAX): Likewise.
28691         [C99-based standards] (WINT_MAX): Likewise.
28692         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28693         constraint on value.
28694         [C99-based standards] (WCHAR_MIN): Likewise.
28695         [C99-based standards] (WINT_MIN): Likewise.
28696         [C99-based standards] (*_t): Allow.
28697         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28698         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28699         Include math.h-data and complex.h-data.  Remove all expectations
28700         of math.h and complex.h contents.
28701         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28702         at end of line.
28703         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28704         (struct tm): Expect tag.
28705         [C99-based-standards] (wcstof): Expect function.
28706         [C99-based-standards] (wcstold): Likewise.
28707         [C99-based-standards] (wcstoll): Likewise.
28708         [C99-based-standards] (wcstoull): Likewise.
28709         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28710         macro-int-constant.  Specify type.
28711         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28712         constraint on value.
28713         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28714         Specify type.
28715         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28716         Specify value.
28717         [ISO C standards]: Do not allow headers.
28718         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28719         wcs[abcdefghijklmnopqrstuvwxyz]*.
28720         [ISO C standards] (*_t): Do not allow.
28721         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28722         Expect function.
28723         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28724         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28725         Specify type.
28726         [ISO C standards]: Do not allow headers.
28727         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28728         is[abcdefghijklmnopqrstuvwxyz]*.
28729         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28730         to[abcdefghijklmnopqrstuvwxyz]*.
28731         [ISO C standards] (*_t): Do not allow.
28732         * conform/data/stdalign.h-data: New file.
28733         * conform/data/stdbool.h-data: Likewise.
28734         * conform/data/stdnoreturn.h-data: Likewise.
28736 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28738         [BZ #14815]
28739         * manual/filesys.texi (Directory Entries): Typo fix.
28740         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28742 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28744         * elf/elf.h (EM_AARCH64): New macro.
28745         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28746         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28747         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28748         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28749         (R_AARCH64_TLSDESC): Likewise.
28750         (NT_ARM_TLS): Likewise.
28751         (NT_ARM_HW_BREAK): Likewise.
28752         (NT_ARM_HW_WATCH): Likewise.
28754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28756         [BZ #14811]
28757         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28758         (__ieee754_powl): Saturate nonzero exponents with absolute value
28759         below 0x1p-79 to +/- 0x1p-79.
28760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28761         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28762         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28763         nonzero exponents with absolute value below 0x1p-32 to +/-
28764         0x1p-32.
28765         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28766         (__ieee754_powl): Saturate nonzero exponents with absolute value
28767         below 0x1p-79 to +/- 0x1p-79.
28768         * math/libm-test.inc (pow_test): Add more tests.
28770 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28772         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28773         _dl_s390_cap_flags with kernel. Increase string length.
28774         (_dl_s390_platforms): Add z196 and zEC12.
28776 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28778         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28779         Change XOPEN21K to XOPEN2K.
28781 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28783         * string/memmove.c: Use memcpy when possible.
28785 2012-11-06  Andreas Jaeger  <aj@suse.de>
28787         * po/eo.po: Update from translation team.
28789 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28791         [BZ #14793]
28792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28793         exponent and small x and y exponents, scale x or y up.  Increase
28794         by 2 the exponent used in scaling up.
28795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28796         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28797         * math/libm-test.inc (fma_test): Add more tests.
28798         (fma_test_towardzero): Likewise.
28799         (fma_test_downward): Likewise.
28800         (fma_test_upward): Likewise.
28802 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28804         [BZ #14805]
28805         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28806         fenv_t *.
28808         [BZ #14801]
28809         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28810         namespace for names of struct fields.
28811         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28812         fenv_t fields.
28813         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28814         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28816 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28818         [BZ #3665]
28819         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28821 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28823         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28824         PTR_DEMANGLE.
28826         [BZ #5246]
28827         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28828         PTR_DEMANGLE.
28830 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28832         [BZ #14797]
28833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28834         definitely overflow as x * y not x * y + z.
28835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28837         * math/libm-test.inc (fma_test): Add more tests.
28838         (fma_test_towardzero): Likewise.
28839         (fma_test_downward): Likewise.
28840         (fma_test_upward): Likewise.
28842 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28844         [BZ #157]
28846         * include/stub-tag.h: Remove file.
28847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28848         '#include' of it.
28849         * manual/maint.texi (Porting): Don't reference it.
28850         * Makerules ($(objpfx)stubs): Likewise.
28851         * dirent/closedir.c: Don't include <stub-tag.h>.
28852         * dirent/dirfd.c: Likewise.
28853         * dirent/fdopendir.c: Likewise.
28854         * dirent/getdents.c: Likewise.
28855         * dirent/getdents64.c: Likewise.
28856         * dirent/opendir.c: Likewise.
28857         * dirent/readdir.c: Likewise.
28858         * dirent/readdir64.c: Likewise.
28859         * dirent/readdir64_r.c: Likewise.
28860         * dirent/readdir_r.c: Likewise.
28861         * dirent/rewinddir.c: Likewise.
28862         * dirent/seekdir.c: Likewise.
28863         * dirent/telldir.c: Likewise.
28864         * gmon/profil.c: Likewise.
28865         * grp/setgroups.c: Likewise.
28866         * inet/if_index.c: Likewise.
28867         * io/access.c: Likewise.
28868         * io/chdir.c: Likewise.
28869         * io/chmod.c: Likewise.
28870         * io/chown.c: Likewise.
28871         * io/close.c: Likewise.
28872         * io/dup.c: Likewise.
28873         * io/dup2.c: Likewise.
28874         * io/dup3.c: Likewise.
28875         * io/euidaccess.c: Likewise.
28876         * io/faccessat.c: Likewise.
28877         * io/fchdir.c: Likewise.
28878         * io/fchmod.c: Likewise.
28879         * io/fchmodat.c: Likewise.
28880         * io/fchown.c: Likewise.
28881         * io/fchownat.c: Likewise.
28882         * io/fcntl.c: Likewise.
28883         * io/flock.c: Likewise.
28884         * io/fstatfs.c: Likewise.
28885         * io/fstatfs64.c: Likewise.
28886         * io/fstatvfs.c: Likewise.
28887         * io/fstatvfs64.c: Likewise.
28888         * io/futimens.c: Likewise.
28889         * io/fxstat.c: Likewise.
28890         * io/fxstat64.c: Likewise.
28891         * io/fxstatat.c: Likewise.
28892         * io/fxstatat64.c: Likewise.
28893         * io/getcwd.c: Likewise.
28894         * io/isatty.c: Likewise.
28895         * io/lchmod.c: Likewise.
28896         * io/lchown.c: Likewise.
28897         * io/link.c: Likewise.
28898         * io/linkat.c: Likewise.
28899         * io/lseek.c: Likewise.
28900         * io/lseek64.c: Likewise.
28901         * io/lxstat64.c: Likewise.
28902         * io/mkdir.c: Likewise.
28903         * io/mkdirat.c: Likewise.
28904         * io/mkfifo.c: Likewise.
28905         * io/mkfifoat.c: Likewise.
28906         * io/open.c: Likewise.
28907         * io/open64.c: Likewise.
28908         * io/openat.c: Likewise.
28909         * io/openat64.c: Likewise.
28910         * io/pipe.c: Likewise.
28911         * io/pipe2.c: Likewise.
28912         * io/poll.c: Likewise.
28913         * io/posix_fadvise.c: Likewise.
28914         * io/posix_fadvise64.c: Likewise.
28915         * io/posix_fallocate.c: Likewise.
28916         * io/posix_fallocate64.c: Likewise.
28917         * io/read.c: Likewise.
28918         * io/readlink.c: Likewise.
28919         * io/readlinkat.c: Likewise.
28920         * io/rmdir.c: Likewise.
28921         * io/sendfile.c: Likewise.
28922         * io/sendfile64.c: Likewise.
28923         * io/statfs.c: Likewise.
28924         * io/statfs64.c: Likewise.
28925         * io/statvfs.c: Likewise.
28926         * io/statvfs64.c: Likewise.
28927         * io/symlink.c: Likewise.
28928         * io/symlinkat.c: Likewise.
28929         * io/ttyname.c: Likewise.
28930         * io/ttyname_r.c: Likewise.
28931         * io/umask.c: Likewise.
28932         * io/unlink.c: Likewise.
28933         * io/unlinkat.c: Likewise.
28934         * io/utime.c: Likewise.
28935         * io/utimensat.c: Likewise.
28936         * io/write.c: Likewise.
28937         * io/xmknod.c: Likewise.
28938         * io/xmknodat.c: Likewise.
28939         * io/xstat.c: Likewise.
28940         * io/xstat64.c: Likewise.
28941         * login/getpt.c: Likewise.
28942         * login/grantpt.c: Likewise.
28943         * login/unlockpt.c: Likewise.
28944         * math/e_acoshl.c: Likewise.
28945         * math/e_acosl.c: Likewise.
28946         * math/e_asinl.c: Likewise.
28947         * math/e_atan2l.c: Likewise.
28948         * math/e_atanhl.c: Likewise.
28949         * math/e_coshl.c: Likewise.
28950         * math/e_expl.c: Likewise.
28951         * math/e_fmodl.c: Likewise.
28952         * math/e_gammal_r.c: Likewise.
28953         * math/e_hypotl.c: Likewise.
28954         * math/e_j0l.c: Likewise.
28955         * math/e_j1l.c: Likewise.
28956         * math/e_jnl.c: Likewise.
28957         * math/e_lgammal_r.c: Likewise.
28958         * math/e_log10l.c: Likewise.
28959         * math/e_log2l.c: Likewise.
28960         * math/e_logl.c: Likewise.
28961         * math/e_powl.c: Likewise.
28962         * math/e_rem_pio2l.c: Likewise.
28963         * math/e_sinhl.c: Likewise.
28964         * math/e_sqrtl.c: Likewise.
28965         * math/fclrexcpt.c: Likewise.
28966         * math/fedisblxcpt.c: Likewise.
28967         * math/feenablxcpt.c: Likewise.
28968         * math/fegetenv.c: Likewise.
28969         * math/fegetexcept.c: Likewise.
28970         * math/fegetround.c: Likewise.
28971         * math/feholdexcpt.c: Likewise.
28972         * math/fesetenv.c: Likewise.
28973         * math/fesetround.c: Likewise.
28974         * math/feupdateenv.c: Likewise.
28975         * math/fgetexcptflg.c: Likewise.
28976         * math/fraiseexcpt.c: Likewise.
28977         * math/fsetexcptflg.c: Likewise.
28978         * math/ftestexcept.c: Likewise.
28979         * math/k_cosl.c: Likewise.
28980         * math/k_rem_pio2l.c: Likewise.
28981         * math/k_sinl.c: Likewise.
28982         * math/k_tanl.c: Likewise.
28983         * math/s_asinhl.c: Likewise.
28984         * math/s_atanl.c: Likewise.
28985         * math/s_cbrtl.c: Likewise.
28986         * math/s_erfl.c: Likewise.
28987         * math/s_expm1l.c: Likewise.
28988         * math/s_log1pl.c: Likewise.
28989         * math/s_tanhl.c: Likewise.
28990         * misc/acct.c: Likewise.
28991         * misc/brk.c: Likewise.
28992         * misc/chflags.c: Likewise.
28993         * misc/chroot.c: Likewise.
28994         * misc/fchflags.c: Likewise.
28995         * misc/fgetxattr.c: Likewise.
28996         * misc/flistxattr.c: Likewise.
28997         * misc/fremovexattr.c: Likewise.
28998         * misc/fsetxattr.c: Likewise.
28999         * misc/fsync.c: Likewise.
29000         * misc/ftruncate.c: Likewise.
29001         * misc/futimes.c: Likewise.
29002         * misc/futimesat.c: Likewise.
29003         * misc/getdomain.c: Likewise.
29004         * misc/getdtsz.c: Likewise.
29005         * misc/gethostid.c: Likewise.
29006         * misc/gethostname.c: Likewise.
29007         * misc/getloadavg.c: Likewise.
29008         * misc/getpagesize.c: Likewise.
29009         * misc/getsysstats.c: Likewise.
29010         * misc/getxattr.c: Likewise.
29011         * misc/gtty.c: Likewise.
29012         * misc/ioctl.c: Likewise.
29013         * misc/lgetxattr.c: Likewise.
29014         * misc/listxattr.c: Likewise.
29015         * misc/llistxattr.c: Likewise.
29016         * misc/lremovexattr.c: Likewise.
29017         * misc/lsetxattr.c: Likewise.
29018         * misc/lutimes.c: Likewise.
29019         * misc/madvise.c: Likewise.
29020         * misc/mincore.c: Likewise.
29021         * misc/mlock.c: Likewise.
29022         * misc/mlockall.c: Likewise.
29023         * misc/mmap.c: Likewise.
29024         * misc/mprotect.c: Likewise.
29025         * misc/msync.c: Likewise.
29026         * misc/munlock.c: Likewise.
29027         * misc/munlockall.c: Likewise.
29028         * misc/munmap.c: Likewise.
29029         * misc/preadv.c: Likewise.
29030         * misc/preadv64.c: Likewise.
29031         * misc/ptrace.c: Likewise.
29032         * misc/pwritev.c: Likewise.
29033         * misc/pwritev64.c: Likewise.
29034         * misc/readv.c: Likewise.
29035         * misc/reboot.c: Likewise.
29036         * misc/remap_file_pages.c: Likewise.
29037         * misc/removexattr.c: Likewise.
29038         * misc/revoke.c: Likewise.
29039         * misc/select.c: Likewise.
29040         * misc/setdomain.c: Likewise.
29041         * misc/setegid.c: Likewise.
29042         * misc/seteuid.c: Likewise.
29043         * misc/sethostid.c: Likewise.
29044         * misc/sethostname.c: Likewise.
29045         * misc/setregid.c: Likewise.
29046         * misc/setreuid.c: Likewise.
29047         * misc/setxattr.c: Likewise.
29048         * misc/sstk.c: Likewise.
29049         * misc/stty.c: Likewise.
29050         * misc/swapoff.c: Likewise.
29051         * misc/swapon.c: Likewise.
29052         * misc/sync.c: Likewise.
29053         * misc/syncfs.c: Likewise.
29054         * misc/syscall.c: Likewise.
29055         * misc/truncate.c: Likewise.
29056         * misc/ualarm.c: Likewise.
29057         * misc/usleep.c: Likewise.
29058         * misc/ustat.c: Likewise.
29059         * misc/utimes.c: Likewise.
29060         * misc/vhangup.c: Likewise.
29061         * misc/writev.c: Likewise.
29062         * posix/_exit.c: Likewise.
29063         * posix/alarm.c: Likewise.
29064         * posix/execve.c: Likewise.
29065         * posix/fexecve.c: Likewise.
29066         * posix/fork.c: Likewise.
29067         * posix/fpathconf.c: Likewise.
29068         * posix/getaddrinfo.c: Likewise.
29069         * posix/getegid.c: Likewise.
29070         * posix/geteuid.c: Likewise.
29071         * posix/getgid.c: Likewise.
29072         * posix/getgroups.c: Likewise.
29073         * posix/getlogin.c: Likewise.
29074         * posix/getlogin_r.c: Likewise.
29075         * posix/getpgid.c: Likewise.
29076         * posix/getpid.c: Likewise.
29077         * posix/getppid.c: Likewise.
29078         * posix/getresgid.c: Likewise.
29079         * posix/getresuid.c: Likewise.
29080         * posix/getsid.c: Likewise.
29081         * posix/getuid.c: Likewise.
29082         * posix/glob64.c: Likewise.
29083         * posix/nanosleep.c: Likewise.
29084         * posix/pathconf.c: Likewise.
29085         * posix/pause.c: Likewise.
29086         * posix/posix_madvise.c: Likewise.
29087         * posix/pread.c: Likewise.
29088         * posix/pread64.c: Likewise.
29089         * posix/pwrite.c: Likewise.
29090         * posix/pwrite64.c: Likewise.
29091         * posix/sched_getaffinity.c: Likewise.
29092         * posix/sched_getp.c: Likewise.
29093         * posix/sched_gets.c: Likewise.
29094         * posix/sched_primax.c: Likewise.
29095         * posix/sched_primin.c: Likewise.
29096         * posix/sched_rr_gi.c: Likewise.
29097         * posix/sched_setaffinity.c: Likewise.
29098         * posix/sched_setp.c: Likewise.
29099         * posix/sched_sets.c: Likewise.
29100         * posix/sched_yield.c: Likewise.
29101         * posix/setgid.c: Likewise.
29102         * posix/setlogin.c: Likewise.
29103         * posix/setpgid.c: Likewise.
29104         * posix/setresgid.c: Likewise.
29105         * posix/setresuid.c: Likewise.
29106         * posix/setsid.c: Likewise.
29107         * posix/setuid.c: Likewise.
29108         * posix/sleep.c: Likewise.
29109         * posix/spawni.c: Likewise.
29110         * posix/sysconf.c: Likewise.
29111         * posix/times.c: Likewise.
29112         * posix/wait.c: Likewise.
29113         * posix/wait3.c: Likewise.
29114         * posix/wait4.c: Likewise.
29115         * posix/waitpid.c: Likewise.
29116         * resolv/gai_sigqueue.c: Likewise.
29117         * resource/getpriority.c: Likewise.
29118         * resource/getrlimit.c: Likewise.
29119         * resource/getrusage.c: Likewise.
29120         * resource/nice.c: Likewise.
29121         * resource/setpriority.c: Likewise.
29122         * resource/setrlimit.c: Likewise.
29123         * resource/ulimit.c: Likewise.
29124         * rt/aio_cancel.c: Likewise.
29125         * rt/aio_fsync.c: Likewise.
29126         * rt/aio_read.c: Likewise.
29127         * rt/aio_sigqueue.c: Likewise.
29128         * rt/aio_suspend.c: Likewise.
29129         * rt/aio_write.c: Likewise.
29130         * rt/clock_getres.c: Likewise.
29131         * rt/clock_gettime.c: Likewise.
29132         * rt/clock_nanosleep.c: Likewise.
29133         * rt/clock_settime.c: Likewise.
29134         * rt/lio_listio.c: Likewise.
29135         * rt/mq_close.c: Likewise.
29136         * rt/mq_getattr.c: Likewise.
29137         * rt/mq_notify.c: Likewise.
29138         * rt/mq_open.c: Likewise.
29139         * rt/mq_receive.c: Likewise.
29140         * rt/mq_send.c: Likewise.
29141         * rt/mq_setattr.c: Likewise.
29142         * rt/mq_timedreceive.c: Likewise.
29143         * rt/mq_timedsend.c: Likewise.
29144         * rt/mq_unlink.c: Likewise.
29145         * rt/shm_open.c: Likewise.
29146         * rt/shm_unlink.c: Likewise.
29147         * rt/timer_create.c: Likewise.
29148         * rt/timer_delete.c: Likewise.
29149         * rt/timer_getoverr.c: Likewise.
29150         * rt/timer_gettime.c: Likewise.
29151         * rt/timer_settime.c: Likewise.
29152         * setjmp/__longjmp.c: Likewise.
29153         * setjmp/setjmp.c: Likewise.
29154         * signal/kill.c: Likewise.
29155         * signal/killpg.c: Likewise.
29156         * signal/raise.c: Likewise.
29157         * signal/sigaction.c: Likewise.
29158         * signal/sigaltstack.c: Likewise.
29159         * signal/sigblock.c: Likewise.
29160         * signal/sigignore.c: Likewise.
29161         * signal/sigintr.c: Likewise.
29162         * signal/signal.c: Likewise.
29163         * signal/sigpause.c: Likewise.
29164         * signal/sigpending.c: Likewise.
29165         * signal/sigqueue.c: Likewise.
29166         * signal/sigreturn.c: Likewise.
29167         * signal/sigset.c: Likewise.
29168         * signal/sigsetmask.c: Likewise.
29169         * signal/sigstack.c: Likewise.
29170         * signal/sigsuspend.c: Likewise.
29171         * signal/sigtimedwait.c: Likewise.
29172         * signal/sigvec.c: Likewise.
29173         * signal/sigwait.c: Likewise.
29174         * signal/sigwaitinfo.c: Likewise.
29175         * signal/sysv_signal.c: Likewise.
29176         * socket/accept.c: Likewise.
29177         * socket/accept4.c: Likewise.
29178         * socket/bind.c: Likewise.
29179         * socket/connect.c: Likewise.
29180         * socket/getpeername.c: Likewise.
29181         * socket/getsockname.c: Likewise.
29182         * socket/getsockopt.c: Likewise.
29183         * socket/isfdtype.c: Likewise.
29184         * socket/listen.c: Likewise.
29185         * socket/recv.c: Likewise.
29186         * socket/recvfrom.c: Likewise.
29187         * socket/recvmsg.c: Likewise.
29188         * socket/send.c: Likewise.
29189         * socket/sendmsg.c: Likewise.
29190         * socket/sendto.c: Likewise.
29191         * socket/setsockopt.c: Likewise.
29192         * socket/shutdown.c: Likewise.
29193         * socket/sockatmark.c: Likewise.
29194         * socket/socket.c: Likewise.
29195         * socket/socketpair.c: Likewise.
29196         * stdio-common/ctermid.c: Likewise.
29197         * stdio-common/cuserid.c: Likewise.
29198         * stdio-common/remove.c: Likewise.
29199         * stdio-common/rename.c: Likewise.
29200         * stdio-common/renameat.c: Likewise.
29201         * stdio-common/tempname.c: Likewise.
29202         * stdlib/getcontext.c: Likewise.
29203         * stdlib/makecontext.c: Likewise.
29204         * stdlib/setcontext.c: Likewise.
29205         * stdlib/swapcontext.c: Likewise.
29206         * stdlib/system.c: Likewise.
29207         * streams/fattach.c: Likewise.
29208         * streams/fdetach.c: Likewise.
29209         * streams/getmsg.c: Likewise.
29210         * streams/getpmsg.c: Likewise.
29211         * streams/putmsg.c: Likewise.
29212         * streams/putpmsg.c: Likewise.
29213         * sysdeps/unix/bsd/getpt.c: Likewise.
29214         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29215         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29216         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29218         Likewise.
29219         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29220         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29221         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29222         * sysvipc/msgctl.c: Likewise.
29223         * sysvipc/msgget.c: Likewise.
29224         * sysvipc/msgrcv.c: Likewise.
29225         * sysvipc/msgsnd.c: Likewise.
29226         * sysvipc/semctl.c: Likewise.
29227         * sysvipc/semget.c: Likewise.
29228         * sysvipc/semop.c: Likewise.
29229         * sysvipc/semtimedop.c: Likewise.
29230         * sysvipc/shmat.c: Likewise.
29231         * sysvipc/shmctl.c: Likewise.
29232         * sysvipc/shmdt.c: Likewise.
29233         * sysvipc/shmget.c: Likewise.
29234         * termios/tcdrain.c: Likewise.
29235         * termios/tcflow.c: Likewise.
29236         * termios/tcflush.c: Likewise.
29237         * termios/tcgetattr.c: Likewise.
29238         * termios/tcgetpgrp.c: Likewise.
29239         * termios/tcsendbrk.c: Likewise.
29240         * termios/tcsetattr.c: Likewise.
29241         * termios/tcsetpgrp.c: Likewise.
29242         * time/adjtime.c: Likewise.
29243         * time/clock.c: Likewise.
29244         * time/getitimer.c: Likewise.
29245         * time/gettimeofday.c: Likewise.
29246         * time/setitimer.c: Likewise.
29247         * time/settimeofday.c: Likewise.
29248         * time/stime.c: Likewise.
29249         * time/time.c: Likewise.
29251 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29253         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29254         /usr/old/bin.
29256         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29257         instead of spaces.
29258         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29260 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29262         [BZ #14796]
29263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29264         FE_TONEAREST before applying Dekker multiplication and Knuth
29265         addition.  Clear inexact exceptions and check for exact zero
29266         results afterwards.
29267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29268         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29270         * math/libm-test.inc (fma_test): Add more tests.
29271         (fma_test_towardzero): Likewise.
29272         (fma_test_downward): Likewise.
29273         (fma_test_upward): Likewise.
29274         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29275         function.
29276         (libc_fesetround): New macro.
29277         (libc_fesetroundf): Likewise.
29278         (libc_fesetroundl): Likewise.
29279         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29280         function.
29281         (libc_fesetround_387): Likewise.
29282         (libc_fesetroundf): New macro.
29283         (libc_fesetround): Likewise.
29284         (libc_fesetroundl): Likewise.
29285         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29286         function.
29287         (libc_fesetroundf): New macro.
29288         (libc_fesetround): Likewise.
29289         (libc_fesetroundl): Likewise.
29290         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29291         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29292         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29293         libm_hidden_ver.
29294         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29295         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29296         libm_hidden_def.
29297         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29298         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29299         libm_hidden_ver.
29300         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29301         libm_hidden_def.
29303         [BZ #3439]
29304         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29305         integer constant usable in #if and use that to give value to enum
29306         constant.
29307         (FE_DIVBYZERO): Likewise.
29308         (FE_UNDERFLOW): Likewise.
29309         (FE_OVERFLOW): Likewise.
29310         (FE_INVALID): Likewise.
29311         (FE_INVALID_SNAN): Likewise.
29312         (FE_INVALID_ISI): Likewise.
29313         (FE_INVALID_IDI): Likewise.
29314         (FE_INVALID_ZDZ): Likewise.
29315         (FE_INVALID_IMZ): Likewise.
29316         (FE_INVALID_COMPARE): Likewise.
29317         (FE_INVALID_SOFTWARE): Likewise.
29318         (FE_INVALID_SQRT): Likewise.
29319         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29320         (FE_TONEAREST): Likewise.
29321         (FE_TOWARDZERO): Likewise.
29322         (FE_UPWARD): Likewise.
29323         (FE_DOWNWARD): Likewise.
29324         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29325         (FE_DIVBYZERO): Likewise.
29326         (FE_OVERFLOW): Likewise.
29327         (FE_UNDERFLOW): Likewise.
29328         (FE_INEXACT): Likewise.
29329         (FE_TONEAREST): Likewise.
29330         (FE_DOWNWARD): Likewise.
29331         (FE_UPWARD): Likewise.
29332         (FE_TOWARDZERO): Likewise.
29333         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29334         (FE_UNDERFLOW): Likewise.
29335         (FE_OVERFLOW): Likewise.
29336         (FE_DIVBYZERO): Likewise.
29337         (FE_INVALID): Likewise.
29338         (FE_TONEAREST): Likewise.
29339         (FE_TOWARDZERO): Likewise.
29340         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29341         (FE_OVERFLOW): Likewise.
29342         (FE_UNDERFLOW): Likewise.
29343         (FE_DIVBYZERO): Likewise.
29344         (FE_INEXACT): Likewise.
29345         (FE_TONEAREST): Likewise.
29346         (FE_TOWARDZERO): Likewise.
29347         (FE_UPWARD): Likewise.
29348         (FE_DOWNWARD): Likewise.
29349         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29350         (FE_DIVBYZERO): Likewise.
29351         (FE_OVERFLOW): Likewise.
29352         (FE_UNDERFLOW): Likewise.
29353         (FE_INEXACT): Likewise.
29354         (FE_TONEAREST): Likewise.
29355         (FE_DOWNWARD): Likewise.
29356         (FE_UPWARD): Likewise.
29357         (FE_TOWARDZERO): Likewise.
29359 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29361         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29363 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29365         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29366         commands.  Quote $PWD.
29367         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29368         -x" by "export".
29369         (remove_newlines): Remove.
29371 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29373         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29374         * stdlib/stdlib.h (atof): Moved to ...
29375         * include/bits/stdlib-float.h: Here.  New file.
29376         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29377         * stdlib/bits/stdlib-float.h: New file.
29378         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29379         -mno-sse -mno-mmx.
29380         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29381         <xmmintrin.h>.
29383 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29385         * conform/conformtest.pl (@headers): Add fenv.h.
29386         * conform/data/fenv.h-data: New file.
29387         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29388         include of <math/fenv.h>.
29390         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29391         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29392         && !UNIX98].  Enables tests for XOPEN2K8.
29393         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29394         POSIX2008]: Likewise.
29396         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29397         (struct rusage): Do not expect type or its members.
29399         [BZ #3439]
29400         * math/math.h (FP_NAN): Define macro to integer constant usable in
29401         #if and use that to give value to enum constant.
29402         (FP_INFINITE): Likewise.
29403         (FP_ZERO): Likewise.
29404         (FP_SUBNORMAL): Likewise.
29405         (FP_NORMAL): Likewise.
29407 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29409         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29410         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29411         arguments.
29413 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29415         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29416         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29417         autoconf-time if not.
29418         * configure.in: Remove AC_PREREQ.
29420 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29422         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29423         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29424         of the internal implementation.
29426 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29428         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29429         except include of <misc/sys/syslog.h>.
29431 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29434         function returns with a NULL context exit with zero.
29436 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29438         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29440 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29442         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29443         (run_program_cmd): This.
29444         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29445         (tst_langinfo): New variable.  Use it.
29447 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29449         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29450         floating point opcodes.
29452 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29454         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29455         variable.
29457         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29459         * sysdeps/mach/hurd/powerpc: Remove directory.
29460         * sysdeps/mach/powerpc: Likewise.
29462 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29464         * scripts/check-local-headers.sh: Ignore c++ headers.
29466 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29468         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29469         __libc_cleanup_region_start argument.
29471 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29473         [BZ #14784]
29474         [BZ #14785]
29475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29476         x * y using scaling, not as x * y + z.
29477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29479         * math/libm-test.inc (fma_test): Add more tests.
29480         (fma_test_towardzero): Likewise.
29481         (fma_test_downward): Likewise.
29482         (fma_test_upward): Likewise.
29484 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29486         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29488 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29490         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29491         New variable.
29493 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29495         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29497 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29500         Fix sort order.
29501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29502         Likewise.
29504 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29507         Fix the order of the list for glibc 2.17.
29508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29509         Likewise.
29511 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29515 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29517         [BZ #14610]
29518         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29519         for low part of x being zero before using __atanl (y).
29520         * math/libm-test.inc (atan2_test): Add another test.
29522         * manual/install.texi (Configuring and compiling): Document
29523         general use of test-wrapper and test-wrapper-env.
29524         * INSTALL: Regenerated.
29526         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29527         (__fma): Do not extract and scale down low bits on after-rounding
29528         systems when result rounded to normal precision would have normal
29529         exponent.
29530         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29531         (__fmal): Do not extract and scale down low bits on after-rounding
29532         systems when result rounded to normal precision would have normal
29533         exponent.
29534         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29535         (__fmal): Do not extract and scale down low bits on after-rounding
29536         systems when result rounded to normal precision would have normal
29537         exponent.
29538         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29539         macro.
29540         (fma_test): Add more tests.
29541         (fma_test_towardzero): Likewise.
29542         (fma_test_downward): Likewise.
29543         (fma_test_upward): Likewise.
29545 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29547         * sysdeps/i386/tininess.h: Renamed to ...
29548         * sysdeps/x86/tininess.h: This.
29549         * sysdeps/x86_64/tininess.h: Removed.
29551 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29553         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29554         input.  Use $(build-program-cmd).
29555         ($(objpfx)tst-array1-static.out): Likewise.
29556         ($(objpfx)tst-array2.out): Likewise.
29557         ($(objpfx)tst-array3.out): Likewise.
29558         ($(objpfx)tst-array4.out): Likewise.
29559         ($(objpfx)tst-array5.out): Likewise.
29560         ($(objpfx)tst-array5-static.out): Likewise.
29562 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29564         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29565         if defined.
29567         * nss/nsswitch.h (nss_interface_function): Provide new
29568         macro for use with NSS functions.
29569         * grp/initgroups.c: Use new macro.
29570         * nss/getXXbyYY.c: Likewise.
29571         * nss/getXXbyYY_r.c: Likewise.
29572         * nss/getXXent.c: Likewise.
29573         * nss/getXXent_r.c: Likewise.
29574         * sysdeps/posix/getaddrinfo.c: Likewise.
29576 2012-10-30  Andreas Jaeger  <aj@suse.de>
29578         * po/ru.po: Update Russion translation from translation project.
29580 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29582         [BZ #14152]
29583         [BZ #14783]
29584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29585         result and shift together with sticky bit instead of replicating
29586         round-to-nearest rounding.
29587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29589         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29590         missing underflow exceptions.
29591         (fma_test_towardzero): Add more tests.
29592         (fma_test_downward): Likewise.
29593         (fma_test_upward): Likewise.
29595         [BZ #14047]
29596         * sysdeps/generic/tininess.h: New file.
29597         * sysdeps/i386/tininess.h: Likewise.
29598         * sysdeps/sh/tininess.h: Likewise.
29599         * sysdeps/x86_64/tininess.h: Likewise.
29600         * stdlib/tst-strtod-underflow.c: Likewise.
29601         * stdlib/tst-tininess.c: Likewise.
29602         * stdlib/strtod_l.c: Include <tininess.h>.
29603         (round_and_return): Do not set errno for exact underflow cases.
29604         Force an underflow exception when setting errno for underflow.
29605         Determine underflow based on rounding to normal precision if
29606         TININESS_AFTER_ROUNDING.
29607         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29608         ERANGE for exact underflow cases.
29609         * stdlib/Makefile (tests): Add tst-tininess and
29610         tst-strtod-underflow.
29611         ($(objpfx)tst-tininess): Use $(link-libm).
29612         ($(objpfx)tst-strtod-underflow): Likewise.
29614 2012-10-30  Andreas Jaeger  <aj@suse.de>
29616         [BZ#14767]
29617         * elf/Makefile (tests): Remove conditional for have-initfini-array
29618         since this is now always required and the variable does not exist
29619         anymore.
29620         (tests-static): Likewise.
29621         (modules-names): Likewise.
29623         * po/eo.po: Add Esperanto translation from translation project.
29625         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29626         merged with constructor/destructor.
29627         (init_array): Likewise.
29628         * elf/tst-array2dep.c (fini_array): Likewise.
29629         (init_array): Likewise.
29631 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29633         * manual/message.texi: Delete @cartouche tags.
29635 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29637         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29638         EOPNOTSUPP.
29639         * sysdeps/mach/hurd/fsync.c: Likewise.
29641         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29642         [_POSIX_REALTIME_SIGNALS]: Change condition to
29643         [_POSIX_REALTIME_SIGNALS > 0].
29645 2012-10-27  Andreas Jaeger  <aj@suse.de>
29647         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29648         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29650         [__WORDSIZE != 64]: Likewise.
29652 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29654         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29655         *  iconvdata/tst-tables.sh: Likewise.
29657 2012-10-25  David S. Miller  <davem@davemloft.net>
29659         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29660         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29661         of strtoull.
29663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29664         ifunc-impl-list.c
29665         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29666         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29667         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29668         file.
29670 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29673         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29674         __getdirentries.
29676 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29677             Jim Blandy  <jimb@codesourcery.com>
29679         * scripts/cross-test-ssh.sh: New file.
29680         * manual/install.texi (Configuring and compiling): Document use of
29681         cross-test-ssh.sh.
29682         * INSTALL: Regenerated.
29684 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29686         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29687         EOPNOTSUPP.
29689 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29691         * Makeconfig (run-program-prefix): Fix comment.
29693 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29694             Jim Blandy  <jimb@codesourcery.com>
29696         * Makeconfig (test-wrapper): New variable,
29697         (test-wrapper-env): Likewise.
29698         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29699         (run-built-tests): Define to yes.
29700         (run-program-prefix): Use $(test-wrapper).
29701         (built-program-cmd): Likewise.
29702         * Rules (make-test-out): Use $(test-wrapper-env) and
29703         $(host-built-program-cmd).
29704         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29705         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29706         tst-pathopt.sh.
29707         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29708         $(test-wrapper-env) to tst-rtld-load-self.sh.
29709         ($(objpfx)order2.out): Use $(test-wrapper).
29710         ($(objpfx)tst-initorder.out): Likewise.
29711         ($(objpfx)tst-initorder2.out): Likewise.
29712         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29713         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29714         (test_wrapper_env): New variable.  Use it to run ld.so.
29715         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29716         Use it to run ld.so.
29717         (test_wrapper_env): Likewise.
29718         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29719         $(test-wrapper) to run-iconv-test.sh.
29720         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29721         (ICONV): Use $test_wrapper.
29722         * posix/Makefile ($(objpfx)globtest.out): Pass
29723         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29724         globtest.sh, not $(run-program-prefix).
29725         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29726         (test_wrapper): Likewise.
29727         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29728         set together with run_via_rtld_prefix.
29729         (run_program_prefix): Define in terms of test_wrapper and
29730         run_via_rtld_prefix.
29732 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29734         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29735         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29736         Targets removed.
29738         [BZ #14743]
29739         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29740         Declare __clock_getres, __clock_gettime, __clock_settime,
29741         __clock_nanosleep, and __clock_getcpuclockid.
29742         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29743         Remove librt_hidden_def (clock_gettime).
29744         * sysdeps/unix/clock_gettime.c: Likewise.
29745         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29747         * rt/clock_getres.c: Define __clock_getres as an alias.
29748         * sysdeps/posix/clock_getres.c: Likewise.
29749         * rt/clock_settime.c: Define __clock_settime as an alias.
29750         * sysdeps/unix/clock_settime.c: Likewise.
29751         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29752         * sysdeps/unix/clock_nanosleep.c: Likewise.
29753         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29754         * rt/clock-compat.c: New file.
29755         * rt/Makefile (librt-routines): Add clock-compat and move
29756         $(clock-routines) to ...
29757         (routines): ... here, new variable.
29758         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29759         Don't add get_clockfreq here.
29760         * rt/Versions (libc: GLIBC_2.17): New version set.
29761         Add clock_* symbols here.
29762         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29763         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29764         (GLIBC_2.17): Add clock_* symbols.
29765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29769         Likewise.
29770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29771         Likewise.
29772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29776         * NEWS: Mention the move.
29778         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29779         Use __open, __read, __close rather than their public counterparts.
29780         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29781         (__get_clockfreq_via_cpuinfo): Likewise.
29782         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29783         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29785         * config.h.in (HAVE_IFUNC): New #undef.
29786         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29787         was successful.
29788         * configure: Regenerated.
29790 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29792         * configure.in: Move READELF check to start of file.
29793         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29794         libc_cv_asm_gnu_indirect_function in the process.
29795         * configure: Regenerated.
29797 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29799         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29800         send the output to /dev/null.
29801         (libc_cv_cc_with_libunwind): Likewise.
29802         (libc_cv_as_noexecstack): Likewise.
29803         * configure: Regenerate.
29805 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29807         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29809         * posix/globtest.sh (TMPDIR): Do not set.
29810         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29811         (testout): Likewise.
29813 2012-10-24  Andreas Jaeger  <aj@suse.de>
29815         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29816         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29817         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29818         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29819         posix_fadvise64, posix_fallocate64.
29821         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29822         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29823         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29824         Likewise.
29825         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29826         Likewise.
29827         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29829         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29830         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29831         <bits/fcntl-linux.h>.
29832         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29834         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29835         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29836         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29837         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29838         [__WORDSIZE != 64]: Likewise.
29840 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29842         * Makeconfig (run-built-tests): New variable.
29843         * Rules [$(cross-compiling) = yes]: Change condition to
29844         [$(run-built-tests) = no].
29845         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29846         to [$(run-built-tests) = yes].
29847         * elf/Makefile [$(cross-compiling) = no]: Likewise
29848         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29849         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29850         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29851         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29852         * io/Makefile [$(cross-compiling) = no]: Likewise.
29853         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29854         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29855         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29856         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29857         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29858         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29859         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29860         * string/Makefile [$(cross-compiling) = no]: Likewise.
29862         * posix/Makefile ($(objpfx)globtest.out): Pass
29863         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29864         $(rtld-installed-name).
29865         * posix/globtest.sh (elf_objpfx): Remove variable.
29866         (rtld_installed_name): Likewise.
29867         (library_path): Likewise.
29868         (run_program_prefix): New variable.  Use for running globtest
29869         binary.
29871 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29872             Joseph Myers  <joseph@codesourcery.com>
29874         * Makeconfig (host-built-program-cmd): New variable.
29875         * elf/Makefile (tst-stackguard1-ARGS): Use
29876         $(host-built-program-cmd).
29877         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29878         (tst-spawn-ARGS): Likewise.
29879         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29881 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29882             Jim Blandy  <jimb@codesourcery.com>
29884         * Makeconfig (run-via-rtld-prefix): New variable.
29885         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29886         (built-program-cmd): Likewise.
29888 2012-10-22  Andreas Jaeger  <aj@suse.de>
29890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29891         __O_RSYNC if it exists, otherwise to O_SYNC.
29893 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29894             Joseph Myers  <joseph@codesourcery.com>
29896         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29897         /dev/null.
29898         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29899         from /dev/null
29900         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29901         /dev/null.
29903 2012-10-22  Andreas Jaeger  <aj@suse.de>
29905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29906         Define always.
29907         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29910         bits/fcntl-linux.h.
29912         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29913         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29916         to __O_LARGEFILE.
29917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29918         to __O_LARGEFILE.
29920 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29921             Joseph Myers  <joseph@codesourcery.com>
29923         * config.make.in (NM): New variable.
29925 2012-10-21  Andreas Jaeger  <aj@suse.de>
29927         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29928         definitions and declarations that are provided by
29929         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29931 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29933         [BZ #14683]
29934         * elf/Makefile (tests-static): Add tst-leaks1-static.
29935         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29936         ($(objpfx)tst-leaks1-static): New rule.
29937         ($(objpfx)tst-leaks1-static-mem): Likewise.
29938         (tst-leaks1-static-ENV): New macro.
29939         * elf/dl-open.c (dl_open_worker): Check the main application
29940         only if SHARED is defined.
29941         * elf/tst-leaks1-static.c: New file.
29943 2012-10-20  Andreas Jaeger  <aj@suse.de>
29945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29946         generic values for Linux.
29947         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29948         and declarations that are provided by <bits/fcntl-linux.h> and
29949         include <bits/fcntl-linux.h>.
29950         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29951         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29953 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29955         * io/fcntl.h: Move include of <bits/types.h> to the top and
29956         include it unconditionally.
29958 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29960         * wcsmbs/Makefile (tests-ifunc): New variable.
29961         (tests): Add $(tests-ifunc).
29962         * wcsmbs/test-wcschr-ifunc.c: New file.
29963         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29964         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29965         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29966         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29967         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29969         * string/Makefile (tests-ifunc): New variable.
29970         (tests): Add $(tests-ifunc).
29971         * string/test-memccpy.c (TEST_NAME): New macro.
29972         * string/test-memchr.c (TEST_NAME): Likewise.
29973         * string/test-memcmp.c (TEST_NAME): Likewise.
29974         * string/test-memcpy.c (TEST_NAME): Likewise.
29975         * string/test-memmem.c (TEST_NAME): Likewise.
29976         * string/test-memmove.c (TEST_NAME): Likewise.
29977         * string/test-memset.c (TEST_NAME): Likewise.
29978         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29979         * string/test-stpcpy.c (TEST_NAME): Likewise.
29980         * string/test-stpncpy.c (TEST_NAME): Likewise.
29981         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29982         * string/test-strcasestr.c (TEST_NAME): Likewise.
29983         * string/test-strcat.c (TEST_NAME): Likewise.
29984         * string/test-strchr.c (TEST_NAME): Likewise.
29985         * string/test-strcmp.c(TEST_NAME): Likewise.
29986         * string/test-strcpy.c (TEST_NAME): Likewise.
29987         * string/test-strcspn.c (TEST_NAME): Likewise.
29988         * string/test-strlen.c (TEST_NAME): Likewise.
29989         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29990         * string/test-strncmp.c (TEST_NAME): Likewise.
29991         * string/test-strncpy.c (TEST_NAME): Likewise.
29992         * string/test-strnlen.c (TEST_NAME): Likewise.
29993         * string/test-strpbrk.c (TEST_NAME): Likewise.
29994         * string/test-strrchr.c (TEST_NAME): Likewise.
29995         * string/test-strspn.c (TEST_NAME): Likewise.
29996         * string/test-strstr.c (TEST_NAME): Likewise.
29997         * string/test-bcopy-ifunc.c: New file.
29998         * string/test-bzero-ifunc.c: Likewise.
29999         * string/test-memccpy-ifunc.c: Likewise.
30000         * string/test-memchr-ifunc.c: Likewise.
30001         * string/test-memcmp-ifunc.c: Likewise.
30002         * string/test-memcpy-ifunc.c: Likewise.
30003         * string/test-memmem-ifunc.c: Likewise.
30004         * string/test-memmove-ifunc.c: Likewise.
30005         * string/test-mempcpy-ifunc.c: Likewise.
30006         * string/test-memset-ifunc.c: Likewise.
30007         * string/test-rawmemchr-ifunc.c: Likewise.
30008         * string/test-stpcpy-ifunc.c: Likewise.
30009         * string/test-stpncpy-ifunc.c: Likewise.
30010         * string/test-strcasecmp-ifunc.c: Likewise.
30011         * string/test-strcasestr-ifunc.c: Likewise.
30012         * string/test-strcat-ifunc.c: Likewise.
30013         * string/test-strchr-ifunc.c: Likewise.
30014         * string/test-strchrnul-ifunc.c: Likewise.
30015         * string/test-strcmp-ifunc.c: Likewise.
30016         * string/test-strcpy-ifunc.c: Likewise.
30017         * string/test-strcspn-ifunc.c: Likewise.
30018         * string/test-strlen-ifunc.c: Likewise.
30019         * string/test-strncasecmp-ifunc.c: Likewise.
30020         * string/test-strncat-ifunc.c: Likewise.
30021         * string/test-strncmp-ifunc.c: Likewise.
30022         * string/test-strncpy-ifunc.c: Likewise.
30023         * string/test-strnlen-ifunc.c: Likewise.
30024         * string/test-strpbrk-ifunc.c: Likewise.
30025         * string/test-strrchr-ifunc.c: Likewise.
30026         * string/test-strspn-ifunc.c: Likewise.
30027         * string/test-strstr-ifunc.c: Likewise.
30029         * debug/Makefile (tests-ifunc): New variable.
30030         (tests): Add $(tests-ifunc).
30031         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30032         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30033         * debug/test-stpcpy_chk-ifunc.c: New file.
30034         * debug/test-strcpy_chk-ifunc.c: Likewise.
30036 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30038         [BZ #13601]
30039         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30040         header is not read in.
30042 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30044         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30045         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30046         directly.  Pass built executable to script as
30047         $(built-program-cmd).
30048         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30049         $testprogram without using LD_LIBRARY_PATH and $ldso.
30051         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30052         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30053         $(rtld-installed-name).
30054         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30055         (rtld_installed_name): Likewise.
30056         (library_path): Likewise.
30057         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30058         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30059         $(run-program-prefix) to tst-tables.sh.
30060         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30061         it to run tst-table-from and tst-table-to.
30062         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30063         Pass it to tst-table.sh.
30064         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30065         $(run-program-prefix) to tst-gettext.sh.
30066         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30067         tst-translit.sh.
30068         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30069         tst-gettext2.sh.
30070         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30071         to run tst-gettext.
30072         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30073         to run tst-gettext2.
30074         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30075         to run tst-translit.
30076         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30077         $(run-program-prefix) to tst-mtrace.sh.
30078         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30079         to run tst-mtrace.
30080         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30081         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30082         $(rtld-installed-name).
30083         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30084         (rtld_installed_name): Likewise.
30085         (run_program_prefix): New variable.  Use it to run wordexp-test.
30087         * Makeconfig (ARCH): Remove all definitions.
30088         (machine): Likewise.
30089         [ARCH]: Remove conditional code.
30090         [!objdir]: Give error.
30091         [!objdir] (objpfx): Remove.
30092         [!objdir] (common-objpfx): Likewise.
30093         [!objdir] (common-objdir): Likewise.
30094         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30095         AC_CONFIG_FILES call.
30096         * configure: Regenerated.
30098         [BZ #13888]
30099         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30100         or TMPDIR.
30101         (testout): Likewise.
30103         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30104         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30105         $(rtld-installed-name).
30106         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30107         (rtld_installed_name): Likwise.
30108         (runit): Remove function.
30109         (run_getconf): New variable,  Use it for running getconf binary.
30111 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30113         [BZ #14716]
30114         * string/test-memmem.c (check_result): New function.
30115         (do_one_test): Use it.
30116         (check1): New function.
30117         (test_main): Use it.
30119 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30121         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30123 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30125         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30126         (_G_LSEEK64): Likewise.
30127         (_G_MMAP64): Likewise.
30128         (_G_FSTAT64): Likewise.
30129         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30130         (_G_LSEEK64): Likewise.
30131         (_G_MMAP64): Likewise.
30132         (_G_FSTAT64): Likewise.
30133         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30134         unconditional.  Call __mmap64 directly.
30135         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30136         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30137         __lseek64 directly.
30138         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30139         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30140         __mmap64 directly.
30141         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30142         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30143         __lseek64 directly.
30144         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30145         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30146         __lseek64 directly.
30147         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30148         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30149         __lseek64 directly.
30150         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30151         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30152         __fxstat64 directly.
30153         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30154         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30155         unconditional.
30156         (freopen64) [!_G_OPEN64]: Remove conditional code.
30157         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30158         unconditional.
30159         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30160         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30161         unconditional.
30162         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30163         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30164         unconditional.
30165         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30166         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30167         unconditional.
30168         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30169         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30170         unconditional.
30171         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30172         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30173         unconditional.
30174         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30175         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30176         unconditional.
30177         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30179 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30181         [BZ #12140]
30182         * manual/memory.texi (Malloc Tunable Parameters): Add note
30183         about free list pointers overwriting some perturb bytes.
30184         Wording suggested by Roland McGrath.
30186 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30188         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30189         (lgamma_test): Likewise.
30190         (tgamma_test): Likewise.
30192 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30194         [BZ #14700]
30195         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30196         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30198 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30200         * NEWS: Mention BZ #14716.
30201         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30202         when removing AVAILABLE1_USES_J macro.
30204 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30206         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30207         (__bswap_64): __uint64_t for unsigned 64-bit int.
30209 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30211         * include/string.h (memmem): Declare libc hidden alias.
30212         * string/memmem.c (memmem): Define libc hidden alias.
30213         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30214         __read, __close instead of open, read, close.
30216 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30219         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30220         global and hidden.
30221         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30222         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30223         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30224         Likewise.
30225         (__rawmemchr_sse2): Likewise.
30226         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30227         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30228         (__strchr_sse2): Likewise.
30229         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30230         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30231         (__strcasecmp_sse2): Likewise.
30232         (__strncasecmp_sse2): Likewise.
30233         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30234         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30235         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30236         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30237         (__strrchr_sse2): Likewise.
30238         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30239         ifunc-impl-list.c.
30240         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30241         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30242         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30243         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30244         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30245         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30246         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30247         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30248         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30249         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30250         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30251         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30252         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30253         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30254         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30255         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30256         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30257         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30258         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30259         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30260         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30261         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30262         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30263         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30264         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30265         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30266         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30267         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30268         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30269         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30271         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30272         global and hidden.
30273         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30274         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30275         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30276         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30277         Likewise.
30278         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30279         Likewise.
30280         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30281         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30282         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30283         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30284         ifunc-impl-list.c.
30285         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30286         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30287         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30288         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30289         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30290         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30291         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30292         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30293         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30294         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30295         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30296         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30297         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30298         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30299         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30300         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30301         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30302         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30303         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30304         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30305         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30306         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30307         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30308         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30309         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30310         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30311         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30312         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30313         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30314         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30315         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30316         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30317         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30318         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30319         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30320         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30321         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30322         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30323         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30324         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30325         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30327         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30328         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30329         * include/ifunc-impl-list.h: New file.
30330         * misc/ifunc-impl-list.c: Likewise.
30331         * misc/Makefile (routines): Add ifunc-impl-list.
30332         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30333         * string/test-string.h: Include <ifunc-impl-list.h>.
30334         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30335         TEST_NAME]: New variables.
30336         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30337         are defined.
30338         (test_init): Call __libc_ifunc_impl_list to initialize
30339         func_list if TEST_IFUNC and TEST_NAME are defined.
30341         * string/Makefile (strop-tests): Add bcopy and bzero.
30342         * string/test-bcopy.c: New file.
30343         * string/test-bzero.c: Likewise.
30344         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30345         defined.
30346         * string/test-memset.c: Support bzero test if TEST_BZERO is
30347         defined.
30348         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30349         __libc_memmove.
30350         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30351         __libc_memset.
30352         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30353         of memset.
30355 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30357         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30358         * configure: Regenerated.
30360         * Makeconfig (+link-static-before-libc): Don't include
30361         $(link-static-libc).
30363         * libio/libio.h (_IO_pos_t): Remove.
30365 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30367         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30368         McGrath.
30370 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30372         * crypt/crypt-entry.c: Include fips-private.h.
30373         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30374         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30375         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30376         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30378 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30380         * crypt/crypt-private.h: Include stdbool.h.
30381         (_ufc_setup_salt_r): Return bool.
30382         * crypt/crypt-entry.c: Include errno.h.
30383         (__crypt_r): Return NULL with EINVAL for bad salt.
30384         * crypt/crypt_util.c (bad_for_salt): New.
30385         (_ufc_setup_salt_r): Check that salt is long enough and within
30386         the specified alphabet.
30387         * crypt/badsalttest.c: New file.
30388         * crypt/Makefile (tests): Add it.
30389         ($(objpfx)badsalttest): New.
30391 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30393         * NEWS: Add entry for BZ #14602.
30395 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30397         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30398         type-generic.
30399         * math/libm-test.inc: Update comment listing what functions and
30400         macros are tested.
30401         (isgreater_test): New function.
30402         (isgreaterequal_test): Likewise.
30403         (isless_test): Likewise.
30404         (islessequal_test): Likewise.
30405         (islessgreater_test): Likewise.
30406         (isunordered_test): Likewise.
30407         (main): Call the new functions.
30409 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30411         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30412         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30413         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30414         * sysdeps/i386/configure: Regenerated.
30415         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30416         * sysdeps/mach/configure: Regenerated.
30417         * sysdeps/mach/hurd/configure: Regenerated.
30418         * sysdeps/powerpc/configure: Regenerated.
30419         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30420         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30421         * sysdeps/s390/s390-32/configure: Regenerated.
30422         * sysdeps/s390/s390-64/configure: Regenerated.
30423         * sysdeps/sh/configure: Regenerated.
30424         * sysdeps/sparc/configure: Regenerated.
30425         * sysdeps/unix/sysv/linux/configure: Regenerated.
30426         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30427         * sysdeps/x86_64/configure: Regenerated.
30429         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30430         defined.  Don't check if MAP is NULL.
30432 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30434         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30435         (_G_stat64): Likewise.
30436         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30437         (_G_stat64): Likewise.
30438         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30439         instead of struct _G_stat64.
30440         * libio/fileops.c (mmap_remap_check): Likewise.
30441         (decide_maybe_mmap): Likewise.
30442         (_IO_new_file_seekoff): Likewise.
30443         (_IO_file_stat): Likewise.
30444         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30445         _G_off64_t.
30446         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30447         instead of struct _G_stat64.
30448         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30450 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30452         [BZ #14602]
30453         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30454         Replace with ...
30455         (CHECK_EOL): New macro.
30456         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30457         CHECK_EOL.
30458         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30459         Replace with CHECK_EOL.
30460         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30461         Replace with CHECK_EOL.
30463 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30465         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30466         type-generic.
30467         * math/libm-test.inc: Update comment listing what functions and
30468         macros are tested.
30469         (finite_test): New function.
30470         (isinf_test): Likewise.
30471         (isnan_test): Likewise.
30472         (fpclassify_test): Test subnormal input.
30473         (isfinite_test): Likewise.
30474         (isnormal_test): Likewise.
30475         (main): Call the new functions.
30477 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30479         [BZ #14660]
30480         * Makerules (%.dynsym): Force C locale when running
30481         $(OBJDUMP) --dynamic-syms.
30483 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30485         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30486         <stdint.h>.
30488 2012-10-06  David S. Miller  <davem@davemloft.net>
30490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30491         upper 32-bits of the length value in %o2 since we use branch-on-register
30492         tests which consider the entire 64-bit register.
30494 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30496         * string/test-strstr.c (check2): Add a test for page boundary.
30498 2012-10-05  David S. Miller  <davem@davemloft.net>
30500         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30501         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30502         file.
30503         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30504         sysdep_routines.
30505         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30506         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30507         and bzero when HWCAP_SPARC_CRYPTO is present.
30509 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30511         [BZ #14602]
30512         * string/test-strstr.c (check2): New function.
30513         (test_main): Call check2.
30515         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30516         and bug-strchr1.
30517         * string/bug-strcasestr1.c (do_test): Moved to ...
30518         * string/test-strcasestr.c (check1): Here.  New function.
30519         (do_one_test): Break out result checking code into ...
30520         (check_result): This.  New function.
30521         (do_one_test): Call check_result.
30522         (test_main): Call check1.
30523         * string/bug-strchr1.c (do_test): Moved to ...
30524         * string/test-strchr.c (check1): Here.  New function.
30525         (do_one_test): Break out result checking code into ...
30526         (check_result): This.  New function.
30527         (do_one_test): Call check_result.
30528         (test_main): Call check1.
30529         * string/bug-strstr1.c (main): Moved to ...
30530         * string/test-strstr.c (check1): Here.  New function.
30531         (do_one_test): Break out result checking code into ...
30532         (check_result): This.  New function.
30533         (do_one_test): Call check_result.
30534         (test_main): Call check1.
30535         * string/bug-strcasestr1.c: Removed.
30536         * string/bug-strchr1.c: Likewise.
30537         * string/bug-strstr1.c: Likewise.
30539         * elf/Makefile (dl-routines): Add hwcaps.
30540         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30541         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30542         (_dl_important_hwcaps): Moved to ...
30543         * elf/dl-hwcaps.c: Here.  New file.
30544         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30546         [BZ #14557]
30547         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30548         if IS_IN_rtld isn't defined.
30550         * elf/dl-support.c (_dl_sysinfo_map): New.
30551         Include "get-dynamic-info.h" and "setup-vdso.h".
30552         (_dl_non_dynamic_init): Call setup_vdso.
30553         * elf/dynamic-link.h: Don't include <assert.h>.
30554         (elf_get_dynamic_info): Moved to ...
30555         * elf/get-dynamic-info.h: Here.  New file.
30556         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30557         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30558         * elf/setup-vdso.h: Here.  New file.
30559         * elf/rtld.c: Include "setup-vdso.h".
30560         (dl_main): Call setup_vdso.
30562 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30564         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30565         creal in comment listing functions tested.  List finite, isinf,
30566         isnan, isless, islessequal, isgreater, isgreaterequal,
30567         islessgreater, isunordered, lgamma_r and pow10 as functions and
30568         macros not tested.  Mention which functions not tested are aliases
30569         for other functions.  Fix typo.  Note that signs of NaNs are not
30570         tested.
30572         * scripts/config.guess: Update from config.git.
30573         * scripts/config.sub: Likewise.
30575 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30577         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30578         * misc/madvise.c (madvise): Renamed to __madvise.
30579         Make madvise a weak alias.
30580         * include/sys/mman.h: Declare __madvise.
30581         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30582         * sysdeps/unix/syscalls.list
30583         (madvise): Make __madvise the strong name, and madvise a weak alias.
30584         * sysdeps/unix/sysv/linux/syscalls.list
30585         (madvise, mmap): Remove redundant entries.
30586         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30587         * malloc/malloc.c (mtrim): Likewise.
30588         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30590 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30592         * sysdeps/mach/hurd/dl-cache.c: File removed.
30593         * config.h.in (USE_LDCONFIG): New #undef.
30594         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30595         * configure: Regenerated.
30596         * elf/Makefile (dl-routines): Add dl-cache only under
30597         [$(use-ldconfig) = yes].
30598         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30599         cache on [USE_LDCONFIG].
30600         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30601         [USE_LDCONFIG].
30602         * elf/rtld.c (dl_main): Likewise.
30604 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30606         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30607         _SC_LEVEL4_CACHE_LINESIZE.
30609 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30611         * sysdeps/unix/bsd/confstr.h: File removed.
30613 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30615         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30616         sys/sdt-config.h.
30618 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30620         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30621         Make 'mapoff' field ElfW(Off) rather than off_t.
30623 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30625         * nscd/Makefile: Remove nscd-cflags and all its users.
30626         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30627         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30629         [BZ #10631]
30630         * malloc.c (malloc_printerr): Clarify error message.
30632 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30634         [BZ #14648]
30635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30636         Set bit_FMA_Usable if FMA is supported.
30637         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30638         macro.
30639         (bit_FMA4_Usable): Updated.
30640         (index_FMA_Usable): New macro.
30641         (CPUID_FMA): Likewise
30642         (HAS_FMA): Defined with bit_FMA_Usable.
30644 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30646         * bits/types.h (__swblk_t): Type removed.
30647         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30648         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30649         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30650         (__SWBLK_T_TYPE): Likewise.
30651         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30652         (__SWBLK_T_TYPE): Likewise.
30653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30654         (__SWBLK_T_TYPE): Likewise.
30655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30656         (__SWBLK_T_TYPE): Likewise.
30658 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30659             Honza Horak <hhorak@redhat.com>
30661         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30662         (xdr_mapname): Use YPMAXMAP as maxsize.
30663         (xdr_peername): Use YPMAXPEER as maxsize.
30664         (xdr_keydat): Use YPAXRECORD as maxsize.
30665         (xdr_valdat): Use YPMAXRECORD as maxsize.
30667 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30669         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30671         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30672         * csu/init-first.c: ... here.
30673         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30674         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30675         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30676         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30677         * sysdeps/i386/init-first.c: File removed.
30678         * sysdeps/sh/init-first.c: File removed.
30680 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30682         [BZ #14645]
30683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30684         if x * y might underflow to zero and z is zero.
30685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30686         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30687         * math/libm-test.inc (min_subnorm_value): New variable.
30688         (fma_test): Add more tests.
30689         (fma_test_towardzero): Likewise.
30690         (fma_test_downward): Likewise
30691         (fma_test_upward): Likewise.
30692         (initialize): Set min_subnorm_value.
30694 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30696         [BZ #14638]
30697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30698         0 + 0.
30699         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30700         mode for addition resulting in exact zero.
30701         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30703         exact 0 + 0.
30704         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30705         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30706         * math/libm-test.inc (fma_test): Add more tests.
30707         (fma_test_towardzero): New function.
30708         (fma_test_downward): Likewise.
30709         (fma_test_upward): Likewise.
30710         (main): Call the new functions.
30712 2012-09-28  David S. Miller  <davem@davemloft.net>
30714         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30716 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30718         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30719         instead of SIGALRM.
30721         * sysdeps/gnu/_G_config.h: Moved to ...
30722         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30723         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30724         * sysdeps/generic/_G_config.h: ... here.
30726         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30728         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30730         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30731         Conditionalize target on [libnss_test1.so-version].
30733         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30735         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30736         (elfobjdir): Move out of conditionals.
30738         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30739         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30740         (__nss_lookup_function): Conditionalize label remove_from_tree on
30741         [!DO_STATIC_NSS || SHARED], matching its only use.
30743 2012-09-28  David S. Miller  <davem@davemloft.net>
30745         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30746         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30747         file.
30748         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30749         sysdep_routines.
30750         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30752         when HWCAP_SPARC_CRYPTO is present.
30754 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30756         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30758 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30760         [BZ #6530]
30761         * stdio-common/vfprintf.c (process_string_arg): Revert
30762         2000-07-22 change.
30764 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30766         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30767         for testcase.
30768         * stdio-common/tst-sprintf.c: Include <locale.h>
30769         (main): Test sprintf's handling of incomplete multibyte
30770         characters.
30772 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30774         * elf/dl-runtime.c (VERSYMIDX): Removed.
30775         * elf/dl-version.c (VERSYMIDX): Likewise.
30776         * elf/do-rel.h (VERSYMIDX): Likewise.
30777         (VALIDX): Likewise.
30778         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30779         * elf/rtld.c (VALIDX): Likewise.
30780         (ADDRIDX): Likewise.
30781         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30782         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30783         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30784         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30785         (VALIDX): Likewise.
30786         (ADDRIDX): Likewise.
30788 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30790         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30792 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30794         [BZ #11438]
30795         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30796         to global scope.
30797         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30798         addresses are in the same scope as 192.0.2/24.
30799         * posix/gai.conf: Document new scope table defaults.
30801 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         [BZ #5298]
30804         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30805         for ftell.  Compute offsets from write pointers instead.
30806         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30808 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30810         [BZ #14543]
30811         * libio/Makefile (tests): New test case tst-fseek.
30812         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30813         combination works in wide mode.
30814         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30815         state when the external buffer state changes.
30817 2012-09-27  David S. Miller  <davem@davemloft.net>
30819         [BZ #14376]
30820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30821         pass reloc->r_addend in as the 'high' argument to
30822         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30826 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30828         * rt/tst-aio2.c: Include <pthread.h>.
30829         * rt/tst-aio3.c: Likewise.
30831 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30833         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30835 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30837         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30838         contents on [SHARED].
30840 2012-09-26  Marek Polacek  <polacek@redhat.com>
30842         [BZ #14530]
30843         [BZ #13741]
30844         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30845         for C++ and GCC <4.3 as well as for non GCC compilers.
30847 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30851 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30853         * Makefile.in (all, install): Declare with .PHONY.
30854         Reported by Michael Hope <michael.hope@linaro.org>.
30856 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30858         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30859         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30860         system header.
30861         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30862         Likewise.
30863         (sydep_routines): Add the new and the internal functions.
30864         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30865         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30867         (GLIBC_2.17): Add the new function.
30868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30869         (GLIBC_2.17): Likewise.
30870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30871         (GLIBC_2.17): Likewise.
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30873         (GLIBC_2.17): Likewise.
30874         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30876 2012-09-25  Alan Modra  <amodra@gmail.com>
30878         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30879         Add release barrier before setting once_control to say
30880         initialisation is done.  Add hints on lwarx.  Use macro in
30881         place of isync.
30882         (clear_once_control): Add release barrier.
30884 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30886         [BZ #13629]
30887         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30888         specially.
30889         * math/s_clog10.c (__clog10): Likewise.
30890         * math/s_clog10f.c (__clog10f): Likewise.
30891         * math/s_clog10l.c (__clog10l): Likewise.
30892         * math/s_clogf.c (__clogf): Likewise.
30893         * math/s_clogl.c (__clogl): Likewise.
30894         * math/Makefile (libm-calls): Add x2y2m1.
30895         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30896         (__x2y2m1): Likewise.
30897         (__x2y2m1l): Likewise.
30898         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30899         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30900         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30901         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30902         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30903         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30904         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30905         * sysdeps/i386/fpu/libm-test-ulps: Update.
30906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30908         [BZ #14621]
30909         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30910         int as type of variable DEPTH.
30911         (glob): Use size_t instead of int as type of variables NEWCOUNT
30912         and OLD_PATHC.
30914 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30916         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30917         Add s_sincosf-sse2.
30918         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30919         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30920         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30921         macros for using routine as __sincosf_ia32.
30922         Use macro for function declaration and weak_alias.
30923         * sysdeps/i386/fpu/libm-test-ulps: Update.
30925         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30928         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30929         subnormal argument.
30930         * math/s_cexpf.c (__cexpf): Likewise.
30931         * math/s_csinf.c (__csinf): Likewise.
30932         * math/s_csinhf.c (__csinhf): Likewise.
30933         * math/s_ctanf.c (__ctanf): Likewise.
30934         * math/s_ctanhf.c (__ctanhf): Likewise.
30935         * math/s_ccosh.c (__ccoshf): Likewise.
30936         * math/s_cexp.c (__cexpl): Likewise.
30937         * math/s_csin.c (__csin): Likewise.
30938         * math/s_csinh.c (__csinh): Likewise.
30939         * math/s_ctan.c (__ctan): Likewise.
30940         * math/s_ctanh.c (ctanh): Likewise.
30941         * math/s_ccoshl.c (__ccoshl): Likewise.
30942         * math/s_cexpl.c (__cexpl): Likewise.
30943         * math/s_csinl.c (__csinl): Likewise.
30944         * math/s_csinhl.c (__csinhl): Likewise.
30945         * math/s_ctanl.c (__ctanl): Likewise.
30946         * math/s_ctanhl.c (__ctanhl): Likewise.
30948 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30950         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30951         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30952         (_IO_off_t): Define to __off_t, not _G_off_t.
30953         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30954         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30955         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30956         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30957         type of __dummy and __dummy2 fields.
30958         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30959         (_G_ssize_t): Likewise.
30960         (_G_off_t): Likewise.
30961         (_G_pid_t): Likewise.
30962         (_G_uid_t): Likewise.
30963         (_G_wchar_t): Likewise.
30964         (_G_wint_t): Likewise.
30965         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30966         (_G_ssize_t): Likewise.
30967         (_G_off_t): Likewise.
30968         (_G_pid_t): Likewise.
30969         (_G_uid_t): Likewise.
30970         (_G_wchar_t): Likewise.
30971         (_G_wint_t): Likewise.
30972         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30973         (_G_ssize_t): Likewise.
30974         (_G_off_t): Likewise.
30975         (_G_pid_t): Likewise.
30976         (_G_uid_t): Likewise.
30977         (_G_wchar_t): Likewise.
30978         (_G_wint_t): Likewise.
30980 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30982         * malloc/arena.c: Include malloc-sysdep.h.
30983         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30984         is sufficient to shrink the heap or an unmap is needed.
30985         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30986         new function check_may_shrink_heap.
30987         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30988         new function check_may_shrink_heap.
30990 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30992         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30993         comments.
30995 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30997         * catgets/test-gencat.sh: Add "set -e".
30998         * elf/tst-pathopt.sh: Likewise.
30999         * grp/tst_fgetgrent.sh: Likewise.
31000         * iconvdata/run-iconv-test.sh: Likewise.
31001         * intl/tst-gettext.sh: Likewise.
31002         * intl/tst-gettext2.sh: Likewise.
31003         * intl/tst-gettext4.sh: Likewise.
31004         * intl/tst-gettext6.sh: Likewise.
31005         * intl/tst-translit.sh: Likewise.
31006         * io/ftwtest-sh: Likewise.
31007         * libio/test-freopen.sh: Likewise.
31008         * malloc/tst-mtrace.sh: Likewise.
31009         * posix/globtest.sh: Likewise.
31010         * posix/tst-getconf.sh: Likewise.
31011         * posix/wordexp-tst.sh: Likewise.
31012         * stdio-common/tst-printf.sh: Likewise.
31013         * stdio-common/tst-unbputc.sh: Likewise.
31014         * stdlib/tst-fmtmsg.sh: Likewise.
31015         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31016         * catgets/Makefile: Do not specify -e option when running
31017         testsuite shell scripts.
31018         * elf/Makefile: Likewise.
31019         * grp/Makefile: Likewise.
31020         * iconvdata/Makefile: Likewise.
31021         * intl/Makefile: Likewise.
31022         * io/Makefile: Likewise.
31023         * libio/Makefile: Likewise.
31024         * malloc/Makefile: Likewise.
31025         * posix/Makefile: Likewise.
31026         * stdio-common/Makefile: Likewise.
31027         * stdlib/Makefile: Likewise.
31028         * sysdeps/x86_64/Makefile: Likewise.
31030         * io/ftwtest-sh: Add copyright header.
31031         * posix/globtest.sh: Likewise.
31032         * posix/tst-getconf.sh: Likewise.
31033         * posix/wordexp-tst.sh: Likewise.
31034         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31036 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31038         [BZ #13679]
31039         * Makeconfig (+link): Defined as $(+link-static) if
31040         $(build-shared) isn't yes.
31041         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31042         isn't yes.
31043         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31045         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31047         [BZ #14562]
31048         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31049         new chunk size with MALLOC_ALIGN_MASK.
31051 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31053         [BZ #5044]
31054         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31055         <rounding-mode.h>.
31056         (__printf_fphex): Determine rounding using get_rounding_mode and
31057         round_away.
31058         * stdio-common/tst-printf-round.c (struct hex_test): New
31059         structure.
31060         (hex_tests): New variable.
31061         (test_hex_in_one_mode): New function.
31062         (do_test): Also run tests for hex float output.
31064 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31066         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31067         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31068         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31069         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31070         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31071         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31072         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31073         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31075 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31077         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31078         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31079         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31080         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31082 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31084         [BZ #14579]
31085         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31086         mode only.
31087         * elf/tst-rtld-load-self.sh: New test.
31088         * elf/Makefile: Run it.
31090 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31092         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31093         (tst-writev-ENV): Remove.
31094         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31096 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31098         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31100 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31102         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31103         unconditional.
31104         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31105         Likewise.
31106         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31107         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31108         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31109         Likewise.
31111 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31113         [BZ #14587]
31114         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31115         * config.make.in (have-cpp-asm-debuginfo): Removed.
31116         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31117         * configure: Regenerated.
31119 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31121         [BZ #5044]
31122         * stdio-common/printf_fp.c: Include <stdbool.h> and
31123         <rounding-mode.h>.
31124         (___printf_fp): Determine rounding using get_rounding_mode and
31125         round_away.
31126         * stdio-common/tst-printf-round.c: New file.
31127         * stdio-common/Makefile (tests): Add tst-printf-round.
31128         (link-libm): New variable.
31129         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31131 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31133         [BZ #14576]
31134         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31135         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31136         Likewise.
31137         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31138         Likewise.
31140 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31142         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31143         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31144         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31145         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31147 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31149         [BZ #14518]
31150         * include/rounding-mode.h: New file.
31151         * sysdeps/generic/get-rounding-mode.h: Likewise.
31152         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31153         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31154         (MAX_VALUE): New macro.
31155         (MIN_VALUE): Likewise.
31156         (overflow_value): New function.
31157         (underflow_value): Likewise.
31158         (round_and_return): Use overflow_value and underflow_value to
31159         determine return values in overflow and underflow cases.  Use
31160         round_away to determine rounding depending on rounding mode.
31161         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31162         determine return values in overflow and underflow cases.
31163         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31164         (struct test_results): New structure.
31165         (struct test): Use struct test_results to store expected results
31166         for all rounding modes.
31167         (TEST): Include expected results for all rounding modes.
31168         (test_in_one_mode): New function.
31169         (do_test): Use test_in_one_mode to compute and check results.
31170         Check results for all rounding modes.
31171         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31172         $(link-libm).
31174 2012-12-09  Allan McRae  <allan@archlinux.org>
31176         * sysdeps/i386/fpu/libm-test-ulps: Update
31178 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31180         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31181         (_G_int32_t): Likewise.
31182         (_G_uint16_t): Likewise.
31183         (_G_uint32_t): Likewise.
31184         (_G_HAVE_BOOL): Likewise.
31185         (_G_HAVE_ATEXIT): Likewise.
31186         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31187         (_G_HAVE_IO_FILE_OPEN): Likewise.
31188         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31189         (_G_int32_t): Likewise.
31190         (_G_uint16_t): Likewise.
31191         (_G_uint32_t): Likewise.
31192         (_G_HAVE_BOOL): Likewise.
31193         (_G_HAVE_ATEXIT): Likewise.
31194         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31195         (_G_HAVE_IO_FILE_OPEN): Likewise.
31196         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31197         (_G_int32_t): Likewise.
31198         (_G_uint16_t): Likewise.
31199         (_G_uint32_t): Likewise.
31200         (_G_HAVE_BOOL): Likewise.
31201         (_G_HAVE_ATEXIT): Likewise.
31202         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31203         (_G_HAVE_IO_FILE_OPEN): Likewise.
31205 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31207         * csu/libc-tls.c: Update copyright years.
31209 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31211         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31212         [!_G_USING_THUNKS]: Remove conditional code.
31213         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31214         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31216         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31217         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31218         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31219         (_G_VTABLE_LABEL_PREFIX): Likewise.
31220         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31221         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31222         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31223         (_G_VTABLE_LABEL_PREFIX): Likewise.
31224         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31225         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31226         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31227         (_G_VTABLE_LABEL_PREFIX): Likewise.
31228         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31230 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31232         * libio/Makefile: Include ../Makeconfig before tests.
31233         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31234         only if $(build-shared) is yes.
31236         * iconv/gconv_db.c: Update copyright years.
31238 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31240         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31241         unwind info if defined PIC. Fix special cases description.
31242         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31244         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31245         DP_HI_MASK entry.
31246         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31248 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31250         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31252         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31253         is NULL.
31255         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31256         (LDLIBS-tst-chk4): This.
31257         (LDFLAGS-tst-chk5): Renamed to ...
31258         (LDLIBS-tst-chk5): This.
31259         (LDFLAGS-tst-chk6): Renamed to ...
31260         (LDLIBS-tst-chk6): This.
31261         (LDFLAGS-tst-lfschk4): Renamed to ...
31262         (LDLIBS-tst-lfschk4): This.
31263         (LDFLAGS-tst-lfschk5): Renamed to ...
31264         (LDLIBS-tst-lfschk5): This.
31265         (LDFLAGS-tst-lfschk6): Renamed to ...
31266         (LDLIBS-tst-lfschk6): This.
31268         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31269         on $(common-objpfx)soversions.mk.
31271 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31273         [BZ #10014]
31274         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31275         example host name.
31277 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31279         * malloc/arena.c (arena_get_retry): New function that gets
31280         another arena for the caller to try its request on.
31281         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31282         current arena cannot fulfill the request.
31283         (__libc_memalign): Likewise.
31284         (__libc_memalign): Likewise.
31285         (__libc_pvalloc): Likewise.
31286         (__libc_calloc): Likewise.
31288 2012-09-05  John Tobey  <john.tobey@gmail.com>
31290         [BZ #13542]
31291         * manual/arith.texi (Operations on Complex): Fix description
31292         of carg branch cut.
31294 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31296         [BZ #10014]
31297         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31298         host name.
31300         [BZ #10038]
31301         * manual/memory.texi (Memory): Make order of menu items match
31302         order of sections.
31304 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31306         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31307         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31308         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31310 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31312         * csu/libc-tls.c (static_dtv): Renamed to ...
31313         (_dl_static_dtv): This.  Make it global.
31314         (_dl_initial_dtv): Removed.
31315         (__libc_setup_tls): Updated.
31316         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31317         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31318         DL_INITIAL_DTV.
31320 2012-09-06  Petr Machata  <pmachata@redhat.com>
31322         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31323         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31324         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31325         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31327 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31329         [BZ #14545]
31330         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31331         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31332         freeing dtv[-1].
31334 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31336         [BZ #14544]
31337         * Makeconfig (link-static-before-libc): Replace $(+prector)
31338         with $(+prectorT).
31339         (link-static-after-libc): Replace $(+postctor) with
31340         $(+postctorT).
31341         (link-bounded): Replace $(+prector)/$(+postctor) with
31342         $(+prectorT)/$(+postctorT).
31343         (+prectorT): New macro.
31344         (+postctorT): Likewise.
31346 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31348         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31349         (round_str): Handle values above the maximum for IBM long double
31350         as inexact.
31351         * stdlib/tst-strtod-round.c (tests): Regenerated.
31353 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31355         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31356         assembler flag.
31357         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31358         zarch_nohighgprs around the zarch optimized routines.
31359         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31360         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31361         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31362         for zarch.
31364 2012-09-05  David S. Miller  <davem@davemloft.net>
31366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31368         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31369         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31370         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31371         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31372         entries.
31374 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31376         * malloc/arena.c: Fold copyright years.
31377         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31379 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31381         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31383 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31385         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31389         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31390         change internal state upon failure.
31392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31394         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31395         * malloc/memusage.c (mmap): Likewise.
31396         (mmap64, mremap): Likewise.  Adjust name in comment.
31398 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31400         * libio/fileops.c: Fix typos in comments.
31401         * libio/oldfileops.c: Likewise.
31402         * libio/wfileops.c: Likewise.
31404 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31406         [BZ #1349]
31407         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31408         (tst-malloc-usable-ENV): Set environment for test case.
31409         * malloc/hooks.c (malloc_check_get_size): New function to get
31410         requested size.
31411         * malloc/malloc.c (musable): Use malloc_check_get_size.
31412         * malloc/tst-malloc-usable.c: New test case.
31414 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31416         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31418 2012-09-05  Allan McRae  <allan@archlinux.org>
31420         [BZ #13966]
31421         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31422         determine header location.
31423         * configure: Regenerated.
31425 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31427         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31428         float format.
31429         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31430         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31431         format.
31432         (test): Regenerate.
31434 2012-09-04  David S. Miller  <davem@davemloft.net>
31436         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31437         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31438         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31440 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31442         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31443         failures.
31445         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31447 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #9914]
31450         * libio/iogetdelim.c: Include <limits.h>.
31451         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31452         + len + 1 would overflow.
31454 2012-09-03  Andreas Jaeger  <aj@suse.de>
31456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31457         * sysdeps/i386/fpu/libm-test-ulps: Update.
31459 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31461         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31462         Add s_sinf-sse2, s_conf-sse2.
31464         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31465         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31466         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31467         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31469         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31470         for using routine as __sinf_ia32.
31471         Use macro for function declaration and weak_alias.
31472         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31473         for using routine as __cosf_ia32.
31474         Use macro for function declaration and weak_alias.
31476         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31477         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31479         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31480         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31483         * math/libm-test.inc (cos_test): Add more test cases.
31484         (sin_test): Likewise.
31485         (sincos_test): Likewise.
31487 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31489         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31490         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31491         hidden.
31492         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31494 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31496         [BZ #14538]
31497         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31498         first element of the GOT.
31499         (elf_machine_load_address): Return the difference between
31500         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31502 2012-09-01  Allan McRae  <allan@archlinux.org>
31504         [BZ #13412]
31505         * configure.in (AWK): Require gawk version 3.0 or later.
31506         * configure: Regenerated.
31508 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31510         * sysdeps/unix/sysv/linux/kernel-features.h
31511         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31512         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31513         [__NR_clock_getres]: Make code unconditional.
31514         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31515         (clock_getcpuclockid): Remove code left unreachable by removal of
31516         conditionals.
31517         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31518         code unconditional.
31519         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31520         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31521         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31522         Make code unconditional.
31523         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31524         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31525         * sysdeps/unix/sysv/linux/clock_settime.c
31526         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31527         conditional code.
31528         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31529         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31531 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31533         [BZ #14476]
31534         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31535         scripts/test-installation.pl.
31537         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31538         and $ld_so_version if it is set.
31540 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31542         [BZ #14516]
31543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31544         failure if reading from procfs failed.
31545         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31547 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31549         * sysdeps/unix/sysv/linux/kernel-features.h
31550         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31551         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31552         Remove conditional code.
31553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31554         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31555         Remove conditional code.
31556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31557         * sysdeps/unix/sysv/linux/i386/fxstat.c
31558         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31560         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31561         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31563         * sysdeps/unix/sysv/linux/i386/lxstat.c
31564         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31566         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31567         Remove conditional code.
31568         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31569         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31570         Remove conditional code.
31571         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31572         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31573         <kernel-features.h>.
31574         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31575         Remove.
31576         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31577         Remove conditional code.
31578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31579         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31580         Remove conditional.
31582 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31584         [BZ #5400]
31585         * NEWS: Add fixed bug number.
31587 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31589         [BZ #14519]
31590         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31591         underflowing exponent in case of negative sign.
31592         * stdlib/tst-strtod-round-data: Add more tests.
31593         * stdlib/tst-strtod-round.c (tests): Regenerated.
31595         [BZ #3479]
31596         * stdlib/strtod_l.c (NDIG): Remove.
31597         (HEXNDIG): Likewise.
31598         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31599         smallest representable value.
31600         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31601         lie within an exact representation of 1/2 ulp of the result.
31602         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31603         unconditionally.
31604         (TENS_P9_IDX): Define unconditionally.
31605         (TENS_P9_SIZE): Likewise.
31606         (TENS_P10_IDX): Likewise.
31607         (TENS_P10_SIZE): Likewise.
31608         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31609         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31610         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31611         entries for 10^2^13 and 10^2^14.
31612         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31613         (TENS_P13_IDX): Define.
31614         (TENS_P13_SIZE): Likewise.
31615         (TENS_P14_IDX): Likewise.
31616         (TENS_P14_SIZE): Likewise.
31617         (_fpioconst_pow10): Change array size to
31618         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31619         unconditional.
31620         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31621         1024]: Add entries for 10^2^13 and 10^2^14.
31622         [LAST_POW10 > _LAST_POW10]: Remove #error.
31623         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31624         (_fpioconst_pow10): Change array size to
31625         FPIOCONST_POW10_ARRAY_SIZE.
31626         * stdlib/gen-fpioconst.c: New file.
31627         * stdlib/gen-tst-strtod-round.c: Likewise.
31628         * stdlib/tst-strtod-round-data: Likewise.
31629         * stdlib/tst-strtod-round.c: Likewise.
31630         * stdlib/Makefile (tests): Add tst-strtod-round.
31632         [BZ #14459]
31633         * stdlib/strtod_l.c: Include <stdint.h>.
31634         (NDEBUG): Do not define.
31635         (round_and_return): Change EXPONENT parameter to type intmax_t.
31636         Rearrange calculations to avoid internal overflow possibilities.
31637         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31638         Rearrange calculations to avoid internal overflow possibilities.
31639         Assert that number fits inside MPNSIZE limbs.
31640         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31641         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31642         calculations and add assertions to avoid internal overflow
31643         possibilities.  Add casts to avoid signed/unsigned operations.
31644         * stdlib/tst-strtod-overflow.c: New file.
31645         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31647 2012-08-25  Marek Polacek  <polacek@redhat.com>
31649         * time/time.h: Fix some typos in comments.
31651 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31653         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31654         * posix/tst-rfc3484-2.c: Likewise.
31655         * posix/tst-rfc3484-3.c: Likewise.
31657 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31659         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31660         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31662 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31664         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31665         #include of fxstatat64.c.
31667 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31669         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31670         * shadow/getspent_r.c: Likewise.
31671         * shadow/getspnam.c: Likewise.
31672         * shadow/getspnam_r.c: Likewise.
31673         * gshadow/getsgent.c: Likewise.
31674         * gshadow/getsgent_r.c: Likewise.
31675         * gshadow/getsgnam.c: Likewise.
31676         * gshadow/getsgnam_r.c: Likewise.
31677         * inet/getnetbyad.c: Likewise.
31678         * inet/getnetbyad_r.c: Likewise.
31679         * inet/getnetbynm.c: Likewise.
31680         * inet/getnetbynm_r.c: Likewise.
31681         * inet/getnetent.c: Likewise.
31682         * inet/getnetent_r.c: Likewise.
31683         * inet/getproto.c: Likewise.
31684         * inet/getproto_r.c: Likewise.
31685         * inet/getprtent.c: Likewise.
31686         * inet/getprtent_r.c: Likewise.
31687         * inet/getprtname.c: Likewise.
31688         * inet/getprtname_r.c: Likewise.
31689         * inet/getrpcbyname.c: Likewise.
31690         * inet/getrpcbyname_r.c: Likewise.
31691         * inet/getrpcbynumber.c: Likewise.
31692         * inet/getrpcbynumber_r.c: Likewise.
31693         * inet/getrpcent.c: Likewise.
31694         * inet/getrpcent_r.c: Likewise.
31695         * inet/getaliasent.c: Likewise.
31696         * inet/getaliasent_r.c: Likewise.
31697         * inet/getaliasname.c: Likewise.
31698         * inet/getaliasname_r.c: Likewise.
31699         * nscd/getgrgid_r.c: Likewise.
31700         * nscd/getgrnam_r.c: Likewise.
31701         * nscd/gethstbyad_r.c: Likewise.
31702         * nscd/gethstbynm3_r.c: Likewise.
31703         * nscd/getpwnam_r.c: Likewise.
31704         * nscd/getpwuid_r.c: Likewise.
31705         * nscd/getsrvbynm_r.c: Likewise.
31706         * nscd/getsrvbypt_r.c: Likewise.
31707         * nscd/gai.c: Likewise.
31709         * configure.in (build_nscd): New substituted variable, set
31710         by --disable-build-nscd and defaults to $use_nscd.
31711         * configure: Regenerated.
31712         * config.make.in (build-nscd): New substituted variable.
31713         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31714         Change conditional to require [$(build-nscd) = yes] as well.
31715         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31717         [BZ# 13696]
31718         * configure.in (use_nscd): New substituted variable, set by
31719         --disable-nscd.  If enabled, define USE_NSCD.
31720         * configure: Regenerated.
31721         * config.h.in: Add USE_NSCD.
31722         * config.make.in (use-nscd): New substituted variable.
31723         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31724         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31725         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31726         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31727         (CFLAGS-getgrnam_r.c): Likewise.
31728         (CFLAGS-initgroups.c): Likewise.
31729         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31730         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31731         Variables removed.
31732         * inet/getnetgrent_r.c
31733         (nscd_setnetgrent): New function, broken out of ...
31734         (setnetgrent): ... here.  Call it.
31735         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31736         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31737         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31738         * nscd/Makefile (routines, aux): Move definitions after include of
31739         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31740         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31741         Conditionalize on [USE_NSCD].
31742         (is_nscd, nscd_init_cb): Likewise.
31743         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31744         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31745         * nss/nss_db/db-init.c: Likewise.
31746         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31747         [USE_NSCD].
31748         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31749         (make_request): Use it.
31750         (cache_valid_p): New function.
31751         (__check_pf): Use it.
31752         * NEWS: Add item for --disable-nscd.
31754 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31756         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31757         to support sed >= 4.2.1-20-ga9bf076.
31758         * configure: Regenerated.
31760 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31762         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31763         Conditionalize whole body on [IREL].
31765 2012-08-22  Jeff Law <law@redhat.com>
31767         [BZ #14505]
31768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31769         if the family is PF_UNSPEC.
31771 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31773         * Makerules (lib-version): Rename from V.
31774         (install-lib-nosubdir): Change V to lib-version.
31776 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31778         [BZ #14252]
31779         * powerpc32/power6/wcschr.c: New file.
31780         * powerpc32/power6/wcscpy.c: New file.
31781         * powerpc32/power6/wcsrchr.c: New file.
31782         * powerpc64/power6/wcschr.c: New file.
31783         * powerpc64/power6/wcscpy.c: New file.
31784         * powerpc64/power6/wcsrchr.c: New file.
31786 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31788         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31789         (two_way_short_needle): Use it.
31790         * string/strstr.c (AVAILABLE1_USES_J): Define.
31791         * string/strcasestr.c: Likewise.
31793         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31794         array references.
31795         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31797         [BZ #11607]
31798         * NEWS: Add an entry.
31799         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31800         define their defaults.
31801         (two_way_short_needle): Detect end-of-string on-the-fly.
31802         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31803         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31804         * string/bug-strcasestr1.c: New test.
31805         * string/Makefile: Run it.
31807 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31809         [BZ #11607]
31810         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31811         the first character.
31813 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31815         * csu/elf-init.c (__libc_csu_irel): Function removed.
31816         * csu/libc-start.c (apply_irel): New function.
31817         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31819 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31821         * sysdeps/unix/sysv/linux/kernel-features.h
31822         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31823         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31824         <kernel-features.h>.
31825         [__NR_fadvise64_64]: Make code unconditional.
31826         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31827         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31828         !__NR_fadvise64_64)]: Likewise.
31829         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31830         !__NR_fadvise64_64))]: Likewise.
31831         [__NR_fadvise64]: Make code unconditional.
31832         [!__NR_fadvise64]: Remove conditional code.
31833         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31834         <kernel-features.h>.
31835         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31836         unconditional.
31837         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31838         conditional code.
31839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31840         not include <kernel-features.h>.
31841         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31842         unconditional.
31843         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31844         conditional code.
31845         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31846         include <kernel-features.h>.
31847         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31848         unconditional.
31849         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31850         conditional code.
31852 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31854         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31855         slight instruction rearrangements per scrollpipe analysis.
31856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31858 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31860         * manual/syslog.texi (syslog; vsyslog, closelog):
31861         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31862         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31864         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31865         DSOCAPS to match condition on defining it.
31867 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31869         * sysdeps/unix/sysv/linux/kernel-features.h
31870         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31872         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31873         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31875         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31876         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31878         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31879         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31881         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31882         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31884         * sysdeps/unix/sysv/linux/kernel-features.h
31885         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31886         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31887         unconditional.
31888         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31889         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31890         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31891         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31892         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31893         Make code unconditional.
31894         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31895         (__mmap64) [!__NR_mmap2]: Likewise.
31896         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31897         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31898         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31899         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31900         [__NR_mmap2]: Make code unconditional.
31901         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31902         (__mmap64) [!__NR_mmap2]: Likewise.
31904 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31906         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31908 2012-08-18  Andreas Jaeger  <aj@suse.de>
31910         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31912 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31914         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31915         * include/unistd.h (__have_sock_cloexec): Likewise.
31916         (__have_pipe2): Likewise.
31917         (__have_dup3): Likewise.
31919 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31921         [BZ #9685]
31922         * include/unistd.h (__have_pipe2): Change define into an extern int.
31923         (__have_dup3): Likewise.
31924         * socket/have_sock_cloexec.c: Include fcntl.h.
31925         (__have_pipe2): New variable.
31926         (__have_dup3): Likewise.
31928 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31930         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31932 2012-08-17  Marek Polacek  <polacek@redhat.com>
31934         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31935         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31937 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31939         * configure.in: Add AC_SUBST for sysheaders.
31940         * configure: Regenerated.
31941         * config.make.in (sysheaders): New substituted variable.
31943         * sysdeps/unix/mkfifo.c: Moved ...
31944         * sysdeps/posix/mkfifo.c: ... here.
31945         * sysdeps/unix/mkfifoat.c: Moved ...
31946         * sysdeps/posix/mkfifoat.c: ... here.
31948         * sysdeps/unix/utime.c: Moved ...
31949         * sysdeps/posix/utime.c: ... here.
31951         * sysdeps/unix/time.c: Moved ...
31952         * sysdeps/posix/time.c: ... here.
31953         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31954         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31956         * sysdeps/unix/nice.c: Moved ...
31957         * sysdeps/posix/nice.c: ... here.
31959         * sysdeps/unix/alarm.c: Moved ...
31960         * sysdeps/posix/alarm.c: ... here.
31962         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31964 2012-08-17  Jeff Law <law@redhat.com>
31966         * intl/Makefile (codeset_mo): New variable.
31967         ($(codeset_mo)): New target.
31968         (tst-codeset.out): Depend on that.  Remove explicit rule.
31969         (tst-gettext3.out, tst-gettext5.out): Likewise.
31970         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31971         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31972         * intl/tst-codeset.sh: Remove.
31973         * intl/tst-gettext3.sh: Likewise.
31974         * intl/tst-gettext5.sh: Likewise.
31976 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31978         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31979         * sysdeps/unix/syscalls.list: ... here.
31981         * sysdeps/posix/getaddrinfo.c
31982         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31983         (gaiconf_init, gaiconf_reload): Use them.
31984         [!_STATBUF_ST_NSEC]
31985         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31986         Define using time_t rather than struct timespec.
31988         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31989         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31990         Macros removed.
31991         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31992         [!NO_THREADS].
31993         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31994         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31995         Likewise.
31997         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31998         __libc_cleanup_push argument.
32000         * bits/param.h: New file.
32001         * misc/sys/param.h: New file.
32002         * include/sys/param.h: New file.
32003         * misc/Makefile (headers): Add bits/param.h.
32004         * sysdeps/generic/sys/param.h: File removed.
32005         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32006         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32007         * sysdeps/mach/hurd/bits/param.h: New file.
32008         * sysdeps/mach/hurd/sys/param.h: File removed.
32010         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32011         last change.
32013         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32014         [_IO_MTSAFE_IO].
32015         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32016         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32017         New macros.
32019         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32020         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32021         rather than -D_IO_MTSAFE_IO conditionally.
32022         * stdio-common/Makefile (CPPFLAGS): Likewise.
32023         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32024         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32025         Use $(libio-mtsafe).
32026         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32027         of -D_IO_MTSAFE_IO.
32028         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32029         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32030         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32031         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32032         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32033         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32034         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32035         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32036         (CFLAGS-fread_u_chk.c): Likewise.
32037         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32038         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32039         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32040         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32041         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32042         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32043         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32044         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32045         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32047         * libio/Makefile: Test [$(libc-reentrant) = yes]
32048         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32050         * Makeconfig
32051         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32052         * sysdeps/pthread/configure: File removed.
32053         * sysdeps/pthread/Makeconfig: New file.
32054         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32055         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32057 2012-08-16  Gary Benson  <gbenson@redhat.com>
32059         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32060         unmapping the first object in a namespace.
32062 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32064         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32065         (__internal_setnetgrent): ... this.  Add internal_function to
32066         definition.  Add libc_hidden_def.
32067         (setnetgrent): Update caller.
32068         (internal_endnetgrent): Renamed to ...
32069         (__internal_endnetgrent): ... this.  Add internal_function to
32070         definition.  Add libc_hidden_def.
32071         (endnetgrent): Update caller.
32072         (internal_getnetgrent_r): Renamed to ...
32073         (__internal_getnetgrent_r): ... this.  Add internal_function to
32074         definition.  Add libc_hidden_def.
32075         (__getnetgrent_r): Update caller.
32076         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32078 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32080         * stdlib/longlong.h: Update from GCC.
32082 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32084         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32085         on _QL, which is set by umul_ppmm but never used.
32086         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32087         variables, which are set by GMP macros but never used.
32088         * stdio-common/_itowa.c (_itowa): Likewise.
32089         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32090         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32092 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32094         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32095         struct La_sh_regs is not constant.
32096         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32097         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32098         and struct La_sparc64_regs are not constant.
32100 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32102         * sysdeps/unix/sysv/linux/kernel-features.h
32103         (__ASSUME_POSIX_TIMERS): Remove.
32104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32105         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32106         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32107         Make code unconditional.
32108         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32109         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32110         Make code unconditional.
32111         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32112         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32113         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32114         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32115         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32116         Make code unconditional.
32117         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32118         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32119         (__libc_missing_posix_timers): Remove.
32121 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32123         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32124         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32126         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32128         * elf/dl-sym.c: Include <stdlib.h>.
32130         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32131         constants, which avoids warnings in 32-bit builds.
32133         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32134         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32136         * misc/lseek.c: File moved to ...
32137         * io/lseek.c: ... here.
32139         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32141         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32142         shifting LEN more than 31 bits at once.
32144 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32146         [BZ #14195]
32147         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32148         segmentation fault for a case of two empty input strings.
32149         * string/test-strncasecmp.c (check1): Renamed to...
32150         (bz12205): ...this.
32151         (bz14195): Add new testcase for two empty input strings and N > 0.
32152         (test_main): Call new testcase, adapt for renamed function.
32154 2012-08-15  Andreas Jaeger  <aj@suse.de>
32156         [BZ #14090]
32157         * crypt/md5test2.c: New test, based on test supplied by Serge
32158         Belyshev <belyshev@depni.sinp.msu.ru>.
32159         * crypt/Makefile (xtests): Add md5test-giant..
32160         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32162 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32164         [BZ #14090]
32165         * crypt/md5.c (md5_process_block): Don't assume the buffer
32166         length is less than 2**32.
32167         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32168         length is less than 2**64.
32170 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32172         * string/str-two-way.h: Include <sys/param.h>.
32173         (MAX): Macro removed.
32175         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32176         Move #define and #undef of memmove to just before and after
32177         including <string.h>.
32179         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32180         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32181         and after including <string.h>.  Move declarations of
32182         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32183         to before #include "string/memmove.c".
32185         * include/dirent.h: Declare __getdirentries.
32187         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32188         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32190 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32192         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32193         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32194         * sysdeps/i386/configure: Regenerated.
32195         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32196         STABS_CURRENT_FILE, and STABS_FUN.
32197         (END): Remove call to STABS_FUN_END.
32198         (STABS_CURRENT_FILE1): Delete.
32199         (STABS_CURRENT_FILE): Likewise.
32200         (STABS_FUN): Likewise.
32201         (STABS_FUN_END): Likewise.
32202         (STABS_FUN2): Likewise.
32203         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32204         * sysdeps/x86_64/configure: Regenerated.
32206 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32208         * elf/dl-open.c: Include <atomic.h>.
32209         * elf/dl-lookup.c: Likewise.
32211 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32213         * sysdeps/unix/sysv/linux/kernel-features.h
32214         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32215         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32216         unconditionally.
32217         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32218         unconditionally.
32219         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32220         condition on __ASSUME_CLONE_THREAD_FLAGS.
32222 2012-08-14  Andreas Jaeger  <aj@suse.de>
32224         * sysdeps/i386/fpu/libm-test-ulps: Update.
32226 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32228         * include/atomic.h (atomic_exchange_and_add): Split into ...
32229         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32230         New atomic macros.
32232 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32236 2012-08-13  Jeff Law <law@redhat.com>
32238         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32239         null byte in the output string.
32241 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32243         * sysdeps/unix/sysv/linux/kernel-features.h
32244         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32245         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32246         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32247         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32248         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32249         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32250         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32252 2012-08-09  Jeff Law <law@redhat.com>
32254         [BZ #13939]
32255         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32256         When avoid_arena is set, don't retry in the that arena.  Pick the
32257         next one, whatever it might be.
32258         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32259         (arena_lock): Pass in new parameter to arena_get2.
32260         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32261         arena_get2.
32262         (__libc_malloc): Unify retrying after main arena failure with
32263         __libc_memalign version.
32264         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32266 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32268         [BZ #14166]
32269         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32270         to __redirect_strstr.
32271         (__strstr_sse42): Use typeof __redirect_strstr.
32272         (__strstr_ia32): Likewise.
32273         (__libc_strstr): New prototype.
32274         (strstr): Renamed to ...
32275         (__libc_strstr): This.
32276         (strstr): New strong alias of __libc_strstr.
32277         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32278         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32279         __redirect_time.
32280         Include <time.h>.
32281         (__libc_time): New prototype.
32282         (time_ifunc): Replace time with __libc_time.
32283         (time): New strong alias and hidden definition of __libc_time.
32284         (__GI_time): Remove strong alias.
32285         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32286         Include <stddef.h>.
32287         (memmove): Redefined to __redirect_memmove.
32288         (__memmove_sse2): Use typeof __redirect_memmove.
32289         (__memmove_ssse3): Likewise.
32290         (__memmove_ssse3_back): Likewise.
32291         (__libc_memmove): New prototype.
32292         (memmove): Renamed to ...
32293         (__libc_memmove): This.
32294         (memmove): New strong alias of __libc_memmove.
32296 2012-08-08  Mark Salter  <msalter@redhat.com>
32298         * elf/elf.h
32299         (R_MN10300_TLS_GD): Define.
32300         (R_MN10300_TLS_LD): Likewise.
32301         (R_MN10300_TLS_LDO): Likewise.
32302         (R_MN10300_TLS_GOTIE): Likewise.
32303         (R_MN10300_TLS_IE): Likewise.
32304         (R_MN10300_TLS_LE): Likewise.
32305         (R_MN10300_TLS_DTPMOD): Likewise.
32306         (R_MN10300_TLS_DTPOFF): Likewise.
32307         (R_MN10300_TLS_TPOFF): Likewise.
32308         (R_MN10300_SYM_DIFF): Likewise.
32309         (R_MN10300_ALIGN): Likewise.
32310         (R_MN10300_NUM): Update.
32312 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32314         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32315         Remove.
32317 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32319         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32321         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32322         sysdeps/unix -> sysdeps/posix move.
32323         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32325 2012-08-07      Allan McRae     <allan@archlinux.org>
32327         [BZ #14303]
32328         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32329         (SUNOS_CPP): Likewise.
32330         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32331         not found.
32332         (open_input): Call CPP using execvp.
32334 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32336         * sysdeps/unix/sysv/linux/kernel-features.h
32337         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32338         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32339         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32340         (__ASSUME_WAITID_SYSCALL): Likewise.
32341         * sysdeps/unix/sysv/linux/dl-execstack.c
32342         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32343         code unconditional.
32344         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32345         conditional code.
32346         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32347         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32348         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32349         code.
32350         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32351         unconditional.
32352         [__ASSUME_WAITID_SYSCALL]: Likewise.
32353         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32355 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32357         * sysdeps/unix/closedir.c: Renamed to ...
32358         * sysdeps/posix/closedir.c: ... here.
32359         * sysdeps/unix/dirfd.c: Renamed to ...
32360         * sysdeps/posix/dirfd.c: ... here.
32361         * sysdeps/unix/dirstream.h: Renamed to ...
32362         * sysdeps/posix/dirstream.h: ... here.
32363         * sysdeps/unix/fdopendir.c: Renamed to ...
32364         * sysdeps/posix/fdopendir.c: ... here.
32365         * sysdeps/unix/opendir.c: Renamed to ...
32366         * sysdeps/posix/opendir.c: ... here.
32367         * sysdeps/unix/readdir.c: Renamed to ...
32368         * sysdeps/posix/readdir.c: ... here.
32369         * sysdeps/unix/readdir_r.c: Renamed to ...
32370         * sysdeps/posix/readdir_r.c: ... here.
32371         * sysdeps/unix/rewinddir.c: Renamed to ...
32372         * sysdeps/posix/rewinddir.c: ... here.
32373         * sysdeps/unix/seekdir.c: Renamed to ...
32374         * sysdeps/posix/seekdir.c: ... here.
32375         * sysdeps/unix/telldir.c: Renamed to ...
32376         * sysdeps/posix/telldir.c: ... here.
32377         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32378         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32379         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32380         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32382         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32383         * bits/fcntl.h: ... here.
32385         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32386         not 0.
32387         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32388         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32389         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32390         (struct flock): Move l_start, l_len to the beginning.
32391         Use __pid_t for l_pid.
32392         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32393         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32394         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32395         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32396         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32397         [__USE_LARGEFILE64] (struct flock64): New type.
32398         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32400         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32401         * bits/dirent.h: ... here.
32403         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32404         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32406 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32409         Change from 2.6.0 to 2.6.16.
32410         * sysdeps/unix/sysv/linux/configure: Regenerated.
32411         * sysdeps/unix/sysv/linux/kernel-features.h
32412         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32413         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32414         version.
32415         (__ASSUME_UTIMES): Likewise.
32416         (__ASSUME_CLONE_STOPPED): Remove.
32417         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32418         architectures, not kernel version.
32419         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32420         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32421         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32422         (__ASSUME_WAITID_SYSCALL): Likewise.
32423         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32424         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32425         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32426         refer to older versions.
32428 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32430         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32431         Define alphasort64 as an alias.
32432         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32433         Define versionsort64 as an alias.
32434         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32435         Define scandir64 as an alias.
32436         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32437         Define scandirat64 as an alias.
32438         * dirent/alphasort64.c (alphasort64):
32439         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32440         * dirent/versionsort64.c: Likewise.
32441         * dirent/scandir64.c: Likewise.
32442         * dirent/scandirat64.c: Likewise.
32443         * sysdeps/wordsize-64/alphasort.c: File removed.
32444         * sysdeps/wordsize-64/alphasort64.c: File removed.
32445         * sysdeps/wordsize-64/scandir.c: File removed.
32446         * sysdeps/wordsize-64/scandir64.c: File removed.
32447         * sysdeps/wordsize-64/scandirat.c: File removed.
32448         * sysdeps/wordsize-64/scandirat64.c: File removed.
32449         * sysdeps/wordsize-64/versionsort.c: File removed.
32450         * sysdeps/wordsize-64/versionsort64.c: File removed.
32451         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32452         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32453         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32454         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32455         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32456         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32457         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32458         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32460         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32462         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32464         [defined __arch64__ || defined __sparcv9]
32465         (__INO_T_MATCHES_INO64_T): New macro.
32466         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32467         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32468         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32469         * sysdeps/unix/sysv/linux/bits/dirent.h
32470         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32471         (_DIRENT_MATCHES_DIRENT64): New macro.
32473         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32474         Define lockf64 as an alias.
32475         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32476         Define fseeko64 as an alias.
32477         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32478         Define ftello64 as an alias.
32479         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32480         Define _IO_fgetpos64 and fgetpos64 as aliases.
32481         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32482         Define _IO_fsetpos64 and fsetpos64 as aliases.
32483         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32484         Conditionalize body on this.
32485         * libio/fseeko64.c: Likewise.
32486         * libio/ftello64.c: Likewise.
32487         * libio/iofgetpos64.c: Likewise.
32488         * libio/iofsetpos64.c: Likewise.
32489         * sysdeps/wordsize-64/lockf.c: File removed.
32490         * sysdeps/wordsize-64/lockf64.c: File removed.
32491         * sysdeps/wordsize-64/fseeko.c: File removed.
32492         * sysdeps/wordsize-64/fseeko64.c: File removed.
32493         * sysdeps/wordsize-64/ftello.c: File removed.
32494         * sysdeps/wordsize-64/ftello64.c: File removed.
32495         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32496         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32497         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32498         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32499         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32500         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32501         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32502         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32503         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32504         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32505         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32506         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32507         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32508         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32510         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32511         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32512         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32514         [defined __arch64__ || defined __sparcv9]
32515         (__OFF_T_MATCHES_OFF64_T): New macro.
32516         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32517         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32518         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32519         (__OFF_T_MATCHES_OFF64_T): New macro.
32521 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32523         * stdlib/secure-getenv.c (__secure_getenv): Replace
32524         GLIBC_2_16 with GLIBC_2_17.
32526 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32528         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32531 2012-08-03  David S. Miller  <davem@davemloft.net>
32533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32535 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32537         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32538         Remove.
32539         (__ASSUME_CORRECT_SI_PID): Likewise.
32540         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32541         (__ASSUME_TMPFS_NAME): Likewise.
32542         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32543         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32544         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32545         (HAVE_AUX_SECURE): Make definition unconditional.
32546         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32547         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32549 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32551         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32552         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32553         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32554         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32555         __eloop_threshold instead of SYMLOOP_MAX.
32557         * sysdeps/generic/eloop-threshold.h: New file.
32558         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32559         of MAXSYMLINKS.
32560         * elf/chroot_canon.c (chroot_canon): Likewise.
32562 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32564         [BZ #13717]
32565         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32566         Change to 2.6.0 everywhere.
32567         * sysdeps/unix/sysv/linux/configure: Regenerated.
32568         * sysdeps/unix/sysv/linux/kernel-features.h
32569         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32570         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32571         kernel versions.
32572         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32573         (__ASSUME_FUTEX_REQUEUE): Remove.
32574         (__ASSUME_STATFS64): Define unconditionally.
32575         (__ASSUME_AT_SECURE): Likewise.
32576         (__ASSUME_CORRECT_SI_PID): Likewise.
32577         (__ASSUME_TGKILL): Define without depending on kernel version for
32578         i386.
32579         (__ASSUME_UTIMES): Likewise.
32580         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32581         kernel version.
32582         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32583         (__ASSUME_TMPFS_NAME): Likewise.
32584         * README: Update reference to Linux kernel versions.
32586 2012-08-02  Marek Polacek  <polacek@redhat.com>
32588         [BZ# 14150]
32589         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32590         libc_cv_asm_type_prefix with %.
32591         * configure: Regenerated.
32592         * include/libc-symbols.h: Remove comment about
32593         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32594         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32595         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32596         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32597         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32598         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32599         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32600         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32601         * elf/tst-unique2mod1.c: Likewise.
32602         * elf/tst-unique1mod2.c: Likewise.
32603         * elf/tst-unique1mod1.c: Likewise.
32604         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32605         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32606         Replace ASM_TYPE_DIRECTIVE with .type.
32607         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32608         * sysdeps/i386/sysdep.h: Likewise.
32609         * sysdeps/x86_64/sysdep.h: Likewise.
32610         * sysdeps/sh/sysdep.h: Likewise.
32611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32612         Do not define ASM_TYPE_DIRECTIVE.
32613         * sysdeps/powerpc/sysdep.h: Likewise.
32614         * sysdeps/powerpc/powerpc32/sysdep.h:
32615         Replace ASM_TYPE_DIRECTIVE with .type.
32616         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32617         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32618         * sysdeps/i386/fpu/e_powf.S: Likewise.
32619         * sysdeps/i386/fpu/e_expl.S: Likewise.
32620         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32621         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32622         * sysdeps/i386/fpu/e_pow.S: Likewise.
32623         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32624         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32625         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32626         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32627         * sysdeps/i386/fpu/e_log2.S: Likewise.
32628         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32629         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32630         * sysdeps/i386/fpu/e_powl.S: Likewise.
32631         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32632         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32633         * sysdeps/i386/fpu/e_logl.S: Likewise.
32634         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32635         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32636         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32637         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32638         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32639         * sysdeps/i386/fpu/e_log.S: Likewise.
32640         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32641         * sysdeps/i386/fpu/e_logf.S: Likewise.
32642         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32643         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32644         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32645         * sysdeps/i386/fpu/e_log10.S: Likewise.
32646         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32647         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32648         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32649         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32650         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32651         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32652         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32653         * sysdeps/i386/i686/strtok.S: Likewise.
32654         * sysdeps/i386/i386-mcount.S: Likewise.
32655         * sysdeps/i386/strtok.S: Likewise.
32656         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32657         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32658         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32659         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32660         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32661         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32662         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32663         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32664         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32665         * sysdeps/x86_64/_mcount.S: Likewise.
32666         * sysdeps/x86_64/strtok.S: Likewise.
32667         * sysdeps/sh/_mcount.S: Likewise.
32669 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32671         * libio/iofopen.c: Include <fcntl.h>.
32672         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32673         (_IO_fopen64, fopen64): Define as aliases.
32674         * libio/iofopen64.c: Include <fcntl.h>.
32675         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32676         Conditionalize body on this.
32677         * sysdeps/wordsize-64/iofopen.c: File removed.
32678         * sysdeps/wordsize-64/iofopen64.c: File removed.
32680 2012-08-01  Marek Polacek  <polacek@redhat.com>
32682         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32683         Use dlfcn directly instead of a variable.
32684         (binfmt-subdir): Do not define.
32685         (dlfcn): Likewise.
32687 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32690         Remove all definitions.
32691         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32692         <kernel-features.h>.
32693         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32694         (miss_F_GETOWN_EX): Remove all definitions.
32695         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32696         macro definition.
32697         [!__ASSUME_FCNTL64]: Remove conditional code.
32698         [__ASSUME_FCNTL64]: Make code unconditional.
32699         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32700         <kernel-features.h>.
32701         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32702         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32703         (lockf64) [__NR_fcntl64]: Make code unconditional.
32704         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32706         * sysdeps/unix/sysv/linux/kernel-features.h
32707         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32708         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32709         Make code unconditional.
32710         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32711         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32713         [__NR_vfork]: Make code unconditional.
32714         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32715         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32717         [__NR_vfork]: Make code unconditional.
32718         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32719         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32721 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32723         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32724         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32726         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32727         Define mkstemp64 as an alias.
32728         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32729         Define mkstemps64 as an alias.
32730         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32731         Define mkostemp64 as an alias.
32732         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32733         Define mkostemps64 as an alias.
32734         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32735         Conditionalize body on this.
32736         * misc/mkostemp64.c: Likewise.
32737         * misc/mkostemps64.c: Likewise.
32738         * misc/mkstemps64.c: Likewise.
32739         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32740         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32741         * sysdeps/wordsize-64/mkostemp.c: File removed.
32742         * sysdeps/wordsize-64/mkstemp.c: File removed.
32743         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32744         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32745         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32746         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32748         [BZ #14138]
32749         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32750         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32751         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32752         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32754         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32755         compat_symbol macros from <shlib-compat.h> rather than the underlying
32756         default_symbol_version and symbol_version macros, so that DEFAULT
32757         lines in shlib-versions are respected.
32758         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32760 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32762         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32763         Declare with warn_unused_result.
32764         (setgid, setregid, setegid, setresgid): Likewise.
32765         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32766         Likewise.
32767         * WUR-REPORT: Remove set*id functions.
32769 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32771         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32773 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32775         [BZ #10191]
32776         * include/sys/socket.h (__libc_accept, __libc_accept4):
32777         Add attribute_hidden.
32778         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32780         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32781         use of PTR_MANGLE.
32782         * inet/getnetgrent_r.c (setup): Likewise.
32784         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32786 2012-07-31  David S. Miller  <davem@davemloft.net>
32788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32790 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32792         [BZ #13629]
32793         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32794         value between 1.0 and 2.0 and smaller part has absolute value less
32795         than 1.0.
32796         * math/s_clog10.c (__clog10): Likewise.
32797         * math/s_clog10f.c (__clog10f): Likewise.
32798         * math/s_clog10l.c (__clog10l): Likewise.
32799         * math/s_clogf.c (__clogf): Likewise.
32800         * math/s_clogl.c (__clogl): Likewise.
32801         * math/libm-test.inc (clog_test): Add more tests.
32802         (clog10_test): Likewise.
32803         * sysdeps/i386/fpu/libm-test-ulps: Update.
32804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32806 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32808         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32809         Exit with zero in case no suitable GID is found, and write a
32810         message to standard error.
32812 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32814         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32815         rather than to 1.
32816         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32817         (MAXPATHLEN): Removed.
32818         (NOGROUP, NODEV): New macros.
32819         (setbit, clrbit, isset, isclr): New macros.
32820         (howmany, roundup, powerof2): New macros.
32821         (DEV_BSIZE): New macro.
32823         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32824         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32826         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32827         definition on [!__NO_LONG_DOUBLE_MATH].
32829         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32830         PTR_MANGLE and PTR_DEMANGLE.
32832         * socket/accept4.c (accept4): Rename to __libc_accept4.
32833         Define accept4 as a weak alias.
32835         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32836         on [_DIRENT_HAVE_D_TYPE].
32837         * io/ftw.c (ftw_dir): Likewise.
32839         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32841         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32843         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32844         Use the BSD numbers rather than the arbitrary ones we had.
32845         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32846         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32847         (SIGXCPU, SIGXFSZ): New macros.
32848         (_NSIG): Now 32.
32850         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32851         initializer on [_LIBC_REENTRANT].
32853         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32854         definitions inside [_POSIX_MAPPED_FILES].
32856         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32858         * dirent/opendir.c: Include <fcntl.h>.
32860         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32861         (__libc_getspecific): Likewise.
32862         (__libc_key_create): Likewise.
32864         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32865         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32866         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32867         (tmpfile64): Define as alias.
32868         * sysdeps/wordsize-64/tmpfile.c: File removed.
32869         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32870         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32871         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32873         * stdio-common/vfscanf.c: Include <stdbool.h>.
32874         * nss/makedb.c: Likewise.
32875         * stdio-common/_i18n_number.h: Likewise.
32876         * argp/argp-help.c: Likewise.
32877         * posix/wordexp.c: Likewise.
32878         * sysdeps/posix/spawni.c: Likewise.
32879         * nss/nss_files/files-initgroups.c: Likewise.
32880         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32881         * nss/nss_files/files-initgroups.c: Likewise.
32882         * nss/nss_db/db-netgrp.c: Likewise.
32883         * nss/nss_db/db-initgroups.c: Likewise.
32884         * io/fchmodat.c: Include <sys/stat.h>.
32886         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32887         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32889         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32890         [HAVE_MMAP].
32892         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32893         Add multiple inclusion protection.
32895 2012-07-27  David S. Miller  <davem@davemloft.net>
32897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32899 2012-07-27  Gary Benson  <gbenson@redhat.com>
32901         [BZ #14298]
32902         * elf/rtld.c: Include <stap-probe.h>.
32903         (dl_main): Added static probes "init_start" and "init_complete".
32904         * elf/dl-load.c: Include <stap-probe.h>.
32905         (lose): Take new parameter "nsid".
32906         Added static probe "map_failed".
32907         (_dl_map_object_from_fd): Pass namespace id to lose.
32908         Added static probe "map_start".
32909         (open_verify): Pass namespace id to lose.
32910         * elf/dl-open.c: Include <stap-probe.h>.
32911         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32912         and "reloc_complete".
32913         * elf/dl-close.c: Include <stap-probe.h>.
32914         (_dl_close_worker): Added static probes "unmap_start" and
32915         "unmap_complete".
32916         * elf/rtld-debugger-interface.txt: New file documenting the above.
32918 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32920         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32921         rather than a string variable.
32922         * sunrpc/rpc_main.c (h_output): Likewise.
32923         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32925 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32927         * inet/check_native.c: New file.
32929 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32931         [BZ #13629]
32932         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32933         if larger part has absolute value 1.0.
32934         * math/s_clog10.c (__clog10): Likewise.
32935         * math/s_clog10f.c (__clog10f): Likewise.
32936         * math/s_clog10l.c (__clog10l): Likewise.
32937         * math/s_clogf.c (__clogf): Likewise.
32938         * math/s_clogl.c (__clogl): Likewise.
32939         * math/libm-test.inc (clog_test): Add more tests.
32940         (clog10_test): Likewise.
32941         * sysdeps/i386/fpu/libm-test-ulps: Update.
32942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32944         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32945         (pltexit): Likewise.
32946         (La_regs): Likewise.
32947         (La_retval): Likewise.
32948         (int_retval): Likewise.
32949         Update #error for removed macros to refer only to definitions in
32950         tst-audit.h.
32951         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32952         macro.
32953         (pltexit): Likewise.
32954         (La_regs): Likewise.
32955         (La_retval): Likewise.
32956         (int_retval): Likewise.
32957         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32958         macro.
32959         (pltexit): Likewise.
32960         (La_regs): Likewise.
32961         (La_retval): Likewise.
32962         (int_retval): Likewise.
32963         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32964         macro.
32965         (pltexit): Likewise.
32966         (La_regs): Likewise.
32967         (La_retval): Likewise.
32968         (int_retval): Likewise.
32969         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32970         macro.
32971         (pltexit): Likewise.
32972         (La_regs): Likewise.
32973         (La_retval): Likewise.
32974         (int_retval): Likewise.
32975         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32976         macro.
32977         (pltexit): Likewise.
32978         (La_regs): Likewise.
32979         (La_retval): Likewise.
32980         (int_retval): Likewise.
32981         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32982         macro.
32983         (pltexit): Likewise.
32984         (La_regs): Likewise.
32985         (La_retval): Likewise.
32986         (int_retval): Likewise.
32987         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32988         macro definitions in tst-audit.h.
32989         * sysdeps/i386/tst-audit.h: New file.
32990         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32991         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32992         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32993         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32994         * sysdeps/sh/tst-audit.h: Likewise.
32995         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32996         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32997         * sysdeps/x86_64/tst-audit.h: Likewise.
32999 2012-07-26  Andreas Jaeger  <aj@suse.de>
33001         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33002         ptrace.
33004         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33005         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33006         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33007         PTRACE_O_MASK.
33008         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33009         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33010         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33012         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33013         value.
33015         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33016         _sigsys.
33017         (si_call_addr, si_syscall, si_arch): Define new macro.
33018         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33019         _sigsys.
33020         (si_call_addr, si_syscall, si_arch): Define new marcro.
33021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33022         _sigsys.
33023         (si_call_addr, si_syscall, si_arch): Define new macro.
33024         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33025         _sigsys.
33026         (si_call_addr, si_syscall, si_arch): Define new macro.
33028 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33030         [BZ #13717]
33031         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33032         Change to 2.4.21 where previously 2.4.1.
33033         * sysdeps/unix/sysv/linux/configure: Regenerated.
33034         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33035         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33036         Linux kernel version.
33037         (__ASSUME_STD_AUXV): Remove.
33038         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33039         kernel version.
33040         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33041         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33042         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33043         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33044         (__ASSUME_NETLINK_SUPPORT): Likewise.
33045         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33046         (__no_netlink_support): Remove conditional definition.
33047         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33048         Remove.
33049         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33050         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33051         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33052         (if_nameindex_ioctl): Remove.
33053         (if_nameindex_netlink): Do not handle __no_netlink_support.
33054         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33055         code.
33056         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33057         Remove conditional code.
33058         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33059         code.
33060         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33061         unconditional.
33062         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33063         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33064         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33065         Remove.
33066         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33067         [!__ASSUME_STD_AUXV]: Remove conditional code.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33069         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33070         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33072         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33073         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33074         code.
33075         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33077         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33078         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33079         conditional code.
33080         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33082         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33083         code.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33085         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33086         conditional code.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33088         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33089         code unconditional.
33090         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33091         conditional code.
33092         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33093         unconditional.
33094         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33095         conditional code.
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33097         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33098         unconditional.
33099         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33100         conditional code.
33101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33102         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33103         code unconditional.
33104         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33105         conditional code.
33106         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33107         unconditional.
33108         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33109         conditional code.
33110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33111         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33112         code unconditional.
33113         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33114         conditional code.
33115         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33116         unconditional.
33117         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33118         conditional code.
33120 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33122         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33123         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33124         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33125         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33126         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33127         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33128         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33129         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33130         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33131         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33132         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33133         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33134         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33135         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33136         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33137         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33138         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33139         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33140         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33141         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33142         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33143         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33144         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33146 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33148         * Versions.def: Add GLIBC_2.17.
33149         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33150         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33151         Introduce __libc_secure_getenv.
33152         * stdlib/Versions (2.17): Add secure_getenv
33153         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33154         * stdlib/secure-getenv.c: Rename __secure_getenv to
33155         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33156         symbol __secure_getenv for GLIBC_2.0.
33157         * stdlib/tst-secure-getenv.c: New.
33158         * stdlib/Makefile (tests): Add testcase.
33159         * manual/startup.texi (Environment Access): Document
33160         secure_getenv.
33161         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33162         __libc_secure_getenv.
33163         * inet/ruserpass.c (ruserpass): Likewise.
33164         * malloc/mtrace.c (mtrace): Likewise.
33165         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33166         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33167         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33168         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33169         HAVE_SECURE_GETENV.
33170         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33171         __secure_getenv to __libc_secure_getenv.
33172         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33174         Likewise.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33176         Likewise.
33177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33185 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33187         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33188         (struct La_i86_retval): Likewise.
33189         (struct La_x86_64_regs): Likewise.
33190         (struct La_x86_64_retval): Likewise.
33191         (struct La_x32_regs): Likewise.
33192         (struct La_x32_retval): Likewise.
33193         (struct La_ppc32_regs): Likewise.
33194         (struct La_ppc32_retval): Likewise.
33195         (struct La_ppc64_regs): Likewise.
33196         (struct La_ppc64_retval): Likewise.
33197         (struct La_sh_regs): Likewise.
33198         (struct La_sh_retval): Likewise.
33199         (struct La_s390_32_regs): Likewise.
33200         (struct La_s390_32_retval): Likewise.
33201         (struct La_s390_64_regs): Likewise.
33202         (struct La_s390_64_retval): Likewise.
33203         (struct La_sparc32_regs): Likewise.
33204         (struct La_sparc32_retval): Likewise.
33205         (struct La_sparc64_regs): Likewise.
33206         (struct La_sparc64_retval): Likewise.
33207         (struct audit_ifaces): Remove architecture-specific pltenter and
33208         pltexit members.
33209         * sysdeps/i386/ldsodefs.h: New file.
33210         * sysdeps/powerpc/ldsodefs.h: Likewise.
33211         * sysdeps/s390/ldsodefs.h: Likewise.
33212         * sysdeps/sh/ldsodefs.h: Likewise.
33213         * sysdeps/sparc/ldsodefs.h: Likewise.
33214         * sysdeps/x86_64/ldsodefs.h: Likewise.
33216 2012-07-25  Marek Polacek  <polacek@redhat.com>
33218         [BZ #6808]
33219         * math/libm-test.inc (yn_test): Add another test.
33220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33221         to ERANGE when the result is +-Inf.
33222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33223         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33224         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33225         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33227 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33229         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33230         equal to 0.
33231         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33232         clock_t.
33233         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33235 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33237         * configure.in <sysdeps resolving>: Correct printing
33238         Implies_before.
33239         * configure: Regenerate.
33241 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33243         * math/w_ilogb.c: Include <limits.h>.
33244         * math/w_ilogbl.c: Likewise.
33246 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33248         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33249         va_copy.  Document allowing for unavailable va_copy only as
33250         pre-C99 compatibility.
33251         * manual/string.texi (Copying and Concatenation): Use va_copy
33252         instead of __va_copy in concat example.
33254 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33256         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33257         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33258         it if not null.
33260         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33261         with O_NOLINK passed to __file_name_lookup.
33263         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33264         with O_NOLINK passed to __file_name_lookup.
33266         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33267         negative N or less than NGIDS.
33269         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33270         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33271         enough.  Use memcpy instead of strncpy.
33273 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33275         * elf/Makefile (check-data): Remove.
33276         (localplt.data): New vpath directive.
33277         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33278         instead of $(check-data).
33279         * scripts/data/localplt-generic.data: Move to ...
33280         * sysdeps/generic/localplt.data: ... here.
33281         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33282         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33283         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33285         ... here.
33286         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33288         ... here.
33289         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33291         ... here.
33292         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33294         ... here.
33295         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33297         ... here.
33298         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33300         ... here.
33302 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33304         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33305         PPC32 and PPC64 files.
33306         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33307         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33309 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33311         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33312         __makecontext_ret to ...
33313         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33314         ... here and call exit if uc_link is NULL.  New file.
33315         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33316         __makecontext_ret.S.
33317         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33318         __makecontext_ret to ...
33319         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33320         ... here and call exit if uc_link is NULL.  New file.
33321         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33322         __makecontext_ret.S.
33324 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33326         * elf/elf.h (R_390_IRELATIVE): New definition.
33327         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33328         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33329         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33330         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33331         (elf_machine_lazy_rel): Likewise.
33332         * sysdeps/s390/dl-irel.h: New file.
33333         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33334         * sysdeps/s390/s390-64/memset.S: New asm code.
33335         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33336         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33337         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33338         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33339         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33340         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33342         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33343         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33344         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33345         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33346         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33347         * sysdeps/s390/s390-32/memset.S: New asm code.
33348         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33350 2012-07-17  Marek Polacek  <polacek@redhat.com>
33352         [BZ #14349]
33353         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33354         * sysdeps/s390/s390-64/configure.in: Likewise.
33355         * sysdeps/sparc/configure.in: Likewise.
33356         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33357         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33358         * sysdeps/i386/configure.in: Likewise.
33359         * sysdeps/x86_64/configure.in: Likewise.
33360         * sysdeps/sh/configure.in: Likewise.
33361         * sysdeps/s390/s390-32/configure: Regenerated.
33362         * sysdeps/s390/s390-64/configure: Likewise.
33363         * sysdeps/x86_64/configure: Likewise.
33364         * sysdeps/sh/configure: Likewise.
33365         * sysdeps/powerpc/powerpc64/configure: Likewise.
33366         * sysdeps/powerpc/powerpc32/configure: Likewise.
33367         * sysdeps/sparc/configure: Likwise.
33368         * sysdeps/i386/configure: Likewise.
33370         * elf/dl-open.c: Comment fixes.
33372 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33374         * Makefile [CXX] (check-data): Remove.
33375         [CXX] (c++-types.data): New vpath directive.
33376         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33377         vpath.  Do not allow for C++ type data being missing.
33378         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33379         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33380         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33381         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33382         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33383         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33384         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33386         ... here.
33387         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33389         ... here.
33390         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33392         ... here.
33393         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33395         ... here.
33396         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33398         ... here.
33399         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33401         ... here.
33402         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33404         ... here.
33405         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33408         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33409         definitions to architecture-specific files.
33410         (TLS_IE): Likewise.
33411         (TLS_LD): Likewise.
33412         (TLS_GD): Likewise.
33413         * sysdeps/i386/tls-macros.h: New file.
33414         * sysdeps/powerpc/tls-macros.h: Likewise.
33415         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33416         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33417         * sysdeps/sh/tls-macros.h: Likewise.
33418         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33419         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33420         * sysdeps/x86_64/tls-macros.h: Likewise.
33422 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33424         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33425         zero value for regular exit case.
33427         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33428         (__start_context): Preserve zero value for regular exit case.
33430 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33431             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33433         * manual/setjmp.texi (setcontext): Clarify normal process
33434         termination when uc_link is the null pointer.
33435         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33436         exit call.
33438 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33440         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33441         preprocessor.  Test for each exception mask separately.
33443 2012-07-16  Andreas Jaeger  <aj@suse.de>
33445         * po/ru.po: Update from translation team.
33447 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33449         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33450         equal to 0.
33451         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33452         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33453         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33454         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33457 2012-07-13  Andreas Jaeger  <aj@suse.de>
33459         * po/fr.po: Update from translation team.
33461 2012-07-12  Marek Polacek  <polacek@redhat.com>
33463         [BZ #14173]
33464         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33465         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33466         loop condition.
33468 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33470         [BZ #13717]
33471         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33472         Change to 2.4.1 where previously 2.4.0.
33473         * sysdeps/unix/sysv/linux/configure: Regenerated.
33474         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33475         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33476         version.
33477         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33478         (__ASSUME_AT_CLKTCK): Remove.
33479         (__ASSUME_AT_PAGESIZE): Likewise.
33480         (__ASSUME_AT_XID): Likewise.
33481         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33482         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33483         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33484         unconditionally.
33485         (HAVE_AUX_PAGESIZE): Likewise.
33486         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33487         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33488         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33490 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33492         [BZ #14307]
33493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33494         the temporary buffer used to invoke __gethostbyname2_r,
33495         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33496         host_data / struct gaih_addrtuple.
33497         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33498         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33499         header file nss/nsswitch.h.
33500         * nss/nsswitch.h (global scope): Add definition of implementation
33501         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33502         resolv/nss_dns/dns-host.c).
33504 2012-07-11  Andreas Jaeger  <aj@suse.de>
33506         * po/fr.po: Update from translation team.
33508         * po/sv.po: Update from translation team
33509         * po/fr.po: Another update from translation team.
33511 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33513         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33514         for subnormals or multiply small sinh result by itself.
33515         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33518 2012-07-11  David S. Miller  <davem@davemloft.net>
33520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33522 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33524         [BZ #14347]
33525         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33526         (INTERNAL_MARK): Shift it here.
33528 2012-07-10  Marek Polacek  <polacek@redhat.com>
33530         [BZ #14151]
33531         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33532         libc_cv_asm_global_directive with .globl.
33533         * configure: Regenerated.
33534         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33535         with .globl.
33536         * sysdeps/i386/configure: Regenerated.
33537         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33538         with .globl.
33539         * sysdeps/x86_64/configure: Regenerated.
33540         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33541         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33542         * elf/tst-unique2mod2.c: Likewise.
33543         * elf/tst-unique2mod1.c: Likewise.
33544         * elf/tst-unique1mod2.c: Likewise.
33545         * elf/tst-unique1mod1.c: Likewise.
33546         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33547         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33548         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33549         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33550         * sysdeps/mach/sysdep.h: Likewise.
33551         * sysdeps/i386/sysdep.h: Likewise.
33552         * sysdeps/i386/i386-mcount.S: Likewise.
33553         * sysdeps/x86_64/_mcount.S: Likewise.
33554         * sysdeps/x86_64/sysdep.h: Likewise.
33555         * sysdeps/sh/_mcount.S: Likewise.
33556         * sysdeps/sh/sysdep.h: Likewise.
33557         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33558         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33559         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33560         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33561         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33562         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33563         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33564         * locale/localeinfo.h: Likewise.
33565         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33566         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33568 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33570         [BZ #14336]
33571         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33572         system".
33573         * manual/message.texi (The Uniforum approach): Likewise.
33574         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33575         (glibc iconv Implementation): Likewise.
33577 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33579         [BZ #14337]
33580         * math/s_clog.c (__clog): Avoid scaling a value down where that
33581         could result in underflow.
33582         * math/s_clog10.c (__clog10): Likewise.
33583         * math/s_clog10f.c (__clog10f): Likewise.
33584         * math/s_clog10l.c (__clog10l): Likewise.
33585         * math/s_clogf.c (__clogf): Likewise.
33586         * math/s_clogl.c (__clogl): Likewise.
33587         * math/libm-test.inc (clog_test): Add more tests.
33588         (clog10_test): Likewise.
33589         * sysdeps/i386/fpu/libm-test-ulps: Update.
33590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33592 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33594         [BZ #14283]
33595         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33596         by 7 not 8 to examine high bit of fractional part.
33598         [BZ #14042]
33599         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33600         for call to __mcount_internal.
33601         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33602         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33603         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33605 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33607         [BZ #14154]
33608         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33609         approximation for values within 0x1p-13f of an odd multiple of
33610         pi/4.
33611         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33612         exception.  Add more tests.
33613         * sysdeps/i386/fpu/libm-test-ulps: Update.
33615         [BZ #6778]
33616         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33617         inputs and return -1 for them.  Do not check for +Inf in case not
33618         reachable for +Inf.
33619         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33620         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33621         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33622         and return -1 for them.  Do not check for +Inf in case not
33623         reachable for +Inf.
33624         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33625         define.
33626         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33627         and return -1 for them.  Do not check for +Inf in case not
33628         reachable for +Inf.
33629         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33630         spurious underflow.
33631         * sysdeps/i386/fpu/libm-test-ulps: Update.
33632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33634 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33636         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33638 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33640         [BZ #14157]
33641         [BZ #14331]
33642         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33643         could result in spurious underflow.  Scale down values above
33644         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33645         * math/s_csqrtf.c (__csqrtf): Likewise.
33646         * math/s_csqrtl.c (__csqrtl): Likewise.
33647         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33648         spurious underflow.
33649         * sysdeps/i386/fpu/libm-test-ulps: Update.
33650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33652 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33654         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33655         xopen-msg.sed.
33656         * catgets/xopen-msg.awk: New file.
33657         * catgets/xopen-msg.sed: Removed.
33659         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33660         po2text.sed.
33661         * intl/po2test.awk: New file.
33662         * intl/po2test.sed: Removed.
33664 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33666         [BZ #14328]
33667         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33668         or multiply small sinh result by itself.
33669         * math/s_ctanf.c (__ctanf): Likewise.
33670         * math/s_ctanh.c (__ctanh): Likewise.
33671         * math/s_ctanhf.c (__ctanhf): Likewise.
33672         * math/s_ctanhl.c (__ctanhl): Likewise.
33673         * math/s_ctanl.c (__ctanl): Likewise.
33674         * math/libm-test.inc (ctan_test_tonearest): New function.
33675         (ctan_test_towardzero): Likewise.
33676         (ctan_test_downward): Likewise.
33677         (ctan_test_upward): Likewise.
33678         (ctanh_test_tonearest): Likewise.
33679         (ctanh_test_towardzero): Likewise.
33680         (ctanh_test_downward): Likewise.
33681         (ctanh_test_upward): Likewise.
33682         (main): Call these new functions.
33683         * sysdeps/i386/fpu/libm-test-ulps: Update.
33684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33688         * .gitignore: Delete /ports entry.
33690 2012-07-03  Andreas Jaeger  <aj@suse.de>
33692         * po/bg.po: Update from translation team.
33693         * po/cs.po: Likewise.
33694         * po/de.po: Likewise.
33695         * po/hr.po: Likewise.
33696         * po/nl.pl: Likewise.
33697         * po/pl.po: Likewise.
33698         * po/vi.po: Likewise.
33700 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33702         * Makeconfig [!+link] (+link-before-libc): New variable.
33703         [!+link] (+link-after-libc): Likewise.
33704         [!+link] (+link-tests): Likewise.
33705         [!+link] (+link): Define in terms of $(+link-before-libc) and
33706         $(+link-after-libc).
33707         [!+link-static] (+link-static-before-libc): New variable.
33708         [!+link-static] (+link-static-after-libc): Likewise.
33709         [!+link-static] (+link-static-tests): Likewise.
33710         [!+link-static] (+link-static): Define in terms of
33711         $(+link-static-before-libc) and $(+link-static-after-libc).
33712         [build-shared] (link-libc-before-gnulib): New variable.
33713         [build-shared] (link-libc-tests): Likewise.
33714         [build-shared] (link-libc): Define in terms of
33715         $(link-libc-before-gnulib).
33716         [!build-shared] (link-libc-tests): New variable.
33717         (link-libc-static-tests): New variable.
33718         [!gnulib] (gnulib-arch): New variable.
33719         [!gnulib] (gnulib-tests): Likewise.
33720         [!gnulib] (static-gnulib-arch): Likewise.
33721         [!gnulib] (static-gnulib-tests): Likewise.
33722         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33723         Define with "=" instead of ":=".
33724         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33725         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33726         * Rules (binaries-all-notests): New variable.
33727         (binaries-all-tests): Likewise.
33728         (binaries-static-notests): Likewise.
33729         (binaries-static-tests): Likewise.
33730         (binaries-all): Define using $(binaries-all-notests) and
33731         $(binaries-all-tests).
33732         (binaries-static): Define using $(binaries-static-notests) and
33733         $(binaries-static-tests).
33734         (binaries-shared-tests): New variable.
33735         (binaries-shared-notests): Likewise.
33736         (binaries-shared): Remove variable.
33737         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33738         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33739         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33740         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33741         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33742         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33743         * elf/Makefile (sln-modules): New variable.
33744         (extra-objs): Add $(sln-modules:=.o).
33745         (ldconfig-modules): Add static-stubs.
33746         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33747         * elf/static-stubs.c: New file.
33749         [BZ #14283]
33750         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33751         by 7 not 8 to examine high bit of fractional part.  Use volatile
33752         variables when splitting into final array of floats if
33753         __FLT_EVAL_METHOD__ != 0.
33754         * math/libm-test.inc (cos_test): Add another test.
33755         (sin_test): Likewise.
33756         * sysdeps/i386/fpu/libm-test-ulps: Update.
33758         [BZ #14273]
33759         * math/libm-test.inc (cosh_test): Add more tests.
33761         * version.h (RELEASE): Set to "development".
33762         (VERSION): Set to "2.16.90".
33764 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33766         * NEWS: Update copyright. Remove last-updated date.
33767         Mention math library bug fixes and timezone data changes.
33768         * README: Mention GNU/Hurd, x32, and HPPA support status.
33770 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33772         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33774 2012-06-27  Andreas Jaeger  <aj@suse.de>
33776         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33778 2012-06-25  Andreas Jaeger  <aj@suse.de>
33780         * sysdeps/s390/fpu/libm-test-ulps: Update.
33782 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33783             Thomas Schwinge  <thomas@codesourcery.com>
33785         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33786         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33788         fanotify_mark.
33790 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33792         * sysdeps/mach/start.c: Remove file.
33793         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33794         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33795         * sysdeps/sh/init-first.c: Likewise.
33797         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33798         registers for frame unwinding purposes, add CFI directives.
33799         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33800         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33801         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33802         Likewise.
33804         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33805         __fortify_fail returning.
33806         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33808         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33809         sysdeps/sh/____longjmp_chk.S.
33810         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33811         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33812         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33813         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33815         * sysdeps/sh/abort-instr.h: New file.
33816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33817         process in case exit returns.
33819         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33820         initialize the GOT register before use.
33822         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33823         calculation of ARGC > 4.
33825         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33826         meaningful names to some local labels.
33828 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33829             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33831         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33832         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33833         (__arch_compare_and_exchange_val_16_acq): Likewise.
33834         (__arch_compare_and_exchange_val_32_acq): Likewise.
33835         (atomic_exchange_and_add): Fix gUSA sequence.
33836         (atomic_add): Likewise.
33837         (atomic_add_negative): Likewise.
33838         (atomic_add_zero): Likewise.
33839         (atomic_bit_test_set): Likewise.
33841 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33843         [BZ #13579]
33844         * include/link.h (struct link_map): Add l_free_initfini.
33845         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33846         l_initfini.
33847         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33848         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33849         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33850         set.
33852 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33854         * configure.in: Use AC_LANG_SOURCE.
33855         * configure: Regenerate.
33857 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33859         * configure.in (libc_cv_localstatedir): New substituted variable.
33860         * configure: Regenerated.
33861         * config.make.in (localstatedir): New variable, substituted from
33862         libc_cv_localstatedir.
33863         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33864         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33865         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33866         * sysdeps/gnu/configure: Regenerated.
33868 2012-06-21  Jeff Law  <law@redhat.com>
33870         [BZ #14277]
33871         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33872         free.  Simplify list management for _LIBC case.
33874 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33876         [BZ #14273]
33877         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33878         Clear sign bit of 64-bit integer value before comparing against
33879         overflow value.
33881         * sysdeps/mach/configure: Regenerated.
33883 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33885         [BZ #14278]
33886         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33888 2012-06-21  Jeff Law  <law@redhat.com>
33890         [BZ #13882]
33891         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33892         uint16_t for elements in the "seen" array to avoid char overflows.
33893         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33894         * elf/dl-open.c (dl_open_worker): Likewise.
33896 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33898         * scripts/list-sources.sh: Scan PORTS for translations.
33899         * po/libc.pot: Regenerated.
33901 2012-06-21  Andreas Jaeger  <aj@suse.de>
33903         [BZ #12194]
33904         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33905         warning.
33906         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33907         * bits/byteswap-16.h (__bswap_16): Likewise.
33908         * bits/byteswap.h (__bswap_constant_16): Likewise.
33910 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33912         [BZ #14117]
33913         * sysdeps/i386/fpu_control.h: Removed.
33914         * sysdeps/x86_64/fpu_control.h: Moved to ...
33915         * sysdeps/x86/fpu_control.h: Here.
33917         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33918         (_FPU_SETCW): Likewise.
33920 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33922         [BZ #14117]
33923         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33924         * sysdeps/x86/fpu/bits/mathinline.h: This.
33925         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33927         [BZ #14050]
33928         [BZ #14117]
33929         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33930         functions if __x86_64__ is defined.
33932 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33934         * string/endian.h: Add !__ASSEMBLER__ condition for including
33935         conversion interfaces.
33937 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33939         [BZ #14241]
33940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33941         of ABS(x) in calculating zero to negative powers other than odd
33942         integers.
33943         * math/libm-test.inc (pow_test): Add more tests.
33945 2012-06-15  Andreas Jaeger  <aj@suse.de>
33947         * manual/contrib.texi (Contributors): Update entry of Liubov
33948         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33949         Machado Filho.
33951 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33953         * string/string.h: Add __wur to GNU version of strerror_r.
33955 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33957         [BZ #14229]
33958         * string/Makefile (tests): Add tst-strtok_r.
33959         * string/tst-strtok_r.c: New file.
33960         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33961         RAX_LP/RDX_LP on SAVE_PTR.
33963 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33965         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33967 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33969         * libm_test.inc (csqrt_test): Allow more spurious underflow
33970         exceptions.
33971         (j0_test): Likewise.
33972         (j1_test): Likewise.
33973         (y0_test): Likewise.
33974         (y1_test): Likewise.
33976 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33978         * po/Makefile (libc.pot): Use UTF-8 charset.
33980 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33982         [BZ #14210]
33983         Suppress sign-conversion warning from FD_SET.
33984         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33985         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33986         not unsigned long int.
33987         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33989 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33991         [BZ #14050]
33992         [BZ #14117]
33993         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33994         __extern_always_inline instead of __extern_inline.
33995         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33996         (__signbit): Likewise.
33997         (__signbitl): Support C++ namespace.
33998         (lrintf): New inline function.
33999         (lrint): Likewise.
34000         (llrintf): Likewise.
34001         (llrint): Likewise.
34002         (fmaxf): Likewise.
34003         (fmax): Likewise.
34004         (fminf): Likewise.
34005         (fmin): Likewise.
34006         (rint): Likewise.
34007         (rintf): Likewise.
34008         (ceil): Likewise.
34009         (ceilf): Likewise.
34010         (floor): Likewise.
34011         (floorf): Likewise.
34012         (nearbyint): Likewise.
34013         (nearbyintf): Likewise.
34015 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34017         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34018         non-default versions.
34020 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34022         [BZ #14218]
34023         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34025 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34027         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34028         (FE_UPWARD, FE_DOWNWARD): Don't define.
34029         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34030         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34032         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34033         reading it.
34034         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34035         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34037 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34039         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34041         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34042         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34044 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34046         [BZ #14117]
34047         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34048         * sysdeps/i386/fpu/Implies: New file.
34049         * sysdeps/x86_64/fpu/Implies: Likewise.
34050         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34051         * sysdeps/x86/fpu/bits/fenv.h: This.
34053         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34054         __SSE_MATH__.
34056 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34058         [BZ #14134]
34059         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34060         character 0xffff that matches the last element of the
34061         conversion table.
34063 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34065         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34066         fmodl commit.
34068 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34071         values higher than 25.6283.
34073 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34075         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34076         subnormal exponent extraction and add some __builtin_expect.
34077         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34078         Fix for subnormal mantissa calculation.
34080 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34082         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34083         cpu2 is -1 and errno is not ENOSYS.
34085 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34087         [BZ #14117]
34088         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34089         * sysdeps/x86/bits/string.h: This.
34090         * sysdeps/x86_64/bits/string.h: Removed.
34092         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34093         if not compiling for x86-64, but compiling for >= i486.
34095         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34096         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34098         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34099         New macro from Linux kernel 3.4.0.
34100         (FP_XSTATE_MAGIC2): Likewise.
34101         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34102         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34103         (struct _fpx_sw_bytes): New struct.
34104         (struct _xsave_hdr): Likewise.
34105         (struct _ymmh_state): Likewise.
34106         (struct _xstate): Likewise.
34108         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34109         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34110         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34111         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34112         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34113         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34115         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34116         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34117         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34118         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34119         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34120         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34122 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34124         [BZ #13743]
34125         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34126         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34127         (sysdep_headers): Include sys/platform/ppc.h.
34128         * sysdeps/powerpc/test-gettimebase.c: Test for
34129         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34130         * manual/Makefile (appendices): Include platform.texi.
34131         * manual/contrib.texi (Contributors): Update @node pointers.
34132         * manual/maint.texi (Maintenance): Likewise.
34133         (Platform): New node.
34134         * manual/platform.texi: New file.  Document the new features.
34136 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34137             Jakub Jelinek  <jakub@redhat.com>
34139         [BZ #14188]
34140         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34141         where __builtin_expect is unavailable.
34143 2012-06-03  David S. Miller  <davem@davemloft.net>
34145         * stdlib/longlong.h: Updated from GCC.
34147 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34149         [BZ #14042]
34150         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34151         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34152         __mcount_internal.
34153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34154         (GLIBC_2.16): Likewise.
34156 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34158         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34160 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34163         (default-abi): New variable.
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34165         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34166         variable.
34167         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34168         Likewise.
34169         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34170         Likewise.
34171         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34172         Likewise.
34174         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34175         definition.  Document in comment.
34177 2012-06-01  David S. Miller  <davem@davemloft.net>
34179         * stdlib/longlong.h: Updated from GCC.
34181 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34183         [BZ #14117]
34184         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34185         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34186         sys/debugreg.h sys/io.h here.
34187         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34188         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34189         sys/io.h.
34190         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34191         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34192         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34193         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34194         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34195         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34197         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34198         Define only if __x86_64__ is defined.
34200 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34202         [BZ #14048]
34203         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34204         Use int64_t for variable i.
34205         * math/libm-test.inc (fmod_test): Add more tests.
34207         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34208         z computation is not scheduled after fetestexcept.
34209         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34210         Use math_force_eval instead of asm to ensure calculation scheduled
34211         before exception test.
34212         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34213         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34215 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34218         computation is not scheduled after fetestexcept.
34220 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34222         [BZ #14117]
34223         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34224         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34226 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34228         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34229         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34233         [BZ #14117]
34234         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34235         <bits/wordsize.h>.
34236         (__WCHAR_MIN): Support __WORDSIZE == 64.
34237         (__WCHAR_MAX): Likewise.
34239         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34240         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34242         [BZ #14183]
34243         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34244         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34246         [BZ #14117]
34247         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34248         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34250         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34251         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34253         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34254         Defined to 1 if __x86_64__ isn't defined.
34255         (_STAT_VER_LINUX_OLD): New.
34256         (st_atime): Remove duplicate.
34257         (st_mtime): Likewise.
34258         (st_ctime): Likewise.
34260 2012-05-31  David S. Miller  <davem@davemloft.net>
34262         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34263         entries.
34265 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34267         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34268         gen-libm-test.pl.
34270         [BZ #14132]
34271         * elf/dl-reloc.c: Include <_itoa.h>.
34272         (_dl_reloc_bad_type): Remove use of INTUSE.
34273         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34274         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34275         * stdio-common/psiginfo.c (psiginfo): Likewise.
34276         * stdio-common/psignal.c (psignal): Likewise.
34277         * string/strsignal.c (strsignal): Likewise.
34278         * include/signal.h (_sys_siglist): Declare hidden proto.
34279         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34280         INTVARDEF with libc_hidden_data_def.
34281         * stdio-common/itoa-udigits.c: Likewise.
34282         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34283         (_itoa_lower_digits_internal): Remove declaration.
34284         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34285         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34286         (_sys_sigabbrev_internal): Remove aliases.
34287         (_sys_siglist): Define hidden alias.
34289 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34292         bits/sysctl.h.
34294 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34296         [BZ #14117]
34297         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34298         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34300         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34301         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34302         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34303         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34304         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34305         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34307         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34308         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34309         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34311         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34312         with __addr.
34313         (insw): Likewise.
34314         (insl): Likewise.
34315         (outsb): Likewise.
34316         (outsw): Likewise.
34317         (outsl): Likewise.
34319         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34320         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34321         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34323         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34324         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34325         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34326         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34327         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34328         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34330         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34331         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34333         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34334         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34336         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34338         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34340         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34341         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34342         to ...
34343         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34345         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34346         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34347         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34349         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34350         for x86-64.
34351         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34353 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34355         * math/math.h (M_El): Use two more decimal places.
34356         (M_LOG2El): Likewise.
34357         (M_LOG10El): Likewise.
34358         (M_LN2l): Likewise.
34359         (M_LN10l): Likewise.
34360         (M_PIl): Likewise.
34361         (M_PI_2l): Likewise.
34362         (M_PI_4l): Likewise.
34363         (M_1_PIl): Likewise.
34364         (M_2_PIl): Likewise.
34365         (M_2_SQRTPIl): Likewise.
34366         (M_SQRT2l): Likewise.
34367         (M_SQRT1_2l): Likewise.
34369 2012-05-31  David S. Miller  <davem@davemloft.net>
34371         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34372         values between float registers.
34373         * sysdeps/sparc/sparc64/memset.S: Likewise.
34374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34376 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34378         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34379         -D_FORTIFY_SOURCE=1.
34380         (CPPFLAGS-tst-longjmp_chk.c): Define.
34381         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34382         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34383         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34384         CFLAGS-tst-wchar-h.c.
34386 2012-05-31  Marek Polacek  <polacek@redhat.com>
34388         [BZ #14132]
34389         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34390         __endmntent_internal): Remove declaration.
34391         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34392         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34393         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34395 2012-05-30  David S. Miller  <davem@davemloft.net>
34397         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34398         (___Q_simulate_exceptions): Use real FP ops rather than writing
34399         into the %fsr.
34400         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34401         Likewise.
34403 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34405         [BZ #14117]
34406         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34407         * sysdeps/x86/bits/xtitypes.h: This.
34409         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34410         * sysdeps/x86/bits/wordsize.h: This.
34412         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34413         * sysdeps/x86/bits/huge_vall.h: This.
34415         * sysdeps/i386/bits/select.h: Removed.
34416         * sysdeps/x86_64/bits/select.h: Renamed to ...
34417         * sysdeps/x86/bits/select.h: This.
34419         * sysdeps/i386/bits/setjmp.h: Removed.
34420         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34421         * sysdeps/x86/bits/setjmp.h: This.
34423         * sysdeps/i386/bits/mathdef.h: Removed.
34424         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34425         * sysdeps/x86/bits/mathdef.h: This.
34427 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34429         [BZ #14132]
34430         * include/sys/socket.h (__connect_internal)
34431         (__libc_sa_len_internal): Remove declaration.
34432         (__connect, __libc_sa_len): Declare hidden_proto.
34433         (SA_LEN): Remove use of INTUSE.
34434         * socket/connect.c: Add libc_hidden_def.
34435         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34436         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34437         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34438         alias.
34439         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34440         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34441         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34442         of adding _internal alias.
34444 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34446         [BZ #14117]
34447         * sysdeps/i386/bits/link.h: Removed.
34448         * sysdeps/i386/bits/linkmap.h: Likewise.
34449         * sysdeps/x86_64/bits/link.h: Renamed to ...
34450         * sysdeps/x86/bits/link.h: This.
34451         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34452         * sysdeps/x86/bits/linkmap.h: This.
34454         * sysdeps/i386/bits/endian.h: Removed.
34455         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34456         * sysdeps/x86/bits/endian.h: This.
34458         * sysdeps/i386/bits/byteswap.h: Removed.
34459         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34460         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34461         * sysdeps/x86/bits/byteswap.h: This.
34462         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34463         * sysdeps/x86/bits/byteswap-16.h: This.
34464         * sysdeps/i386/Implies: Add x86.
34465         * sysdeps/x86_64/Implies: Likewise.
34467 2012-05-30  David S. Miller  <davem@davemloft.net>
34469         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34470         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34471         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34472         (FP_TRAPPING_EXCEPTIONS): Define.
34473         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34474         (FP_TRAPPING_EXCEPTIONS): Define.
34475         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34476         subnormals only when inexact has been signalled or underflow
34477         exceptions are enabled.
34478         (_FP_PACK_CANONICAL): Likewise.
34480 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34482         [BZ #14183]
34483         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34484         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34486 2012-05-30  Richard Henderson  <rth@twiddle.net>
34488         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34489         with #ifndef NOT_IN_libc.
34491         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34492         marked to avoid plt entry.
34494 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34496         [BZ #14112]
34497         * Makeconfig (default-abi): New macro.
34498         (abi-includes): Likewise.
34499         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34500         $(abi-$(default-abi)-lib-soname) for soname if defined.
34501         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34502         abi-variants.
34503         * Makefile (installed-stubs): Likewise.
34504         * include/stubs-biarch.h: Removed.
34505         * scripts/lib-names.awk: Only handle one library at a time.
34506         * scripts/soversions.awk: Remove WORDSIZE support.
34507         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34508         entries.
34509         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34510         Removed.
34511         (syscall-list-default-condition): Likewise.
34512         (syscall-list-default-condition): Likewise.
34513         (syscall-list-includes): Likewise.
34514         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34515         syscall-list-* with abi-*.  Handle undefined abi-variants.
34516         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34517         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34518         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34519         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34520         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34521         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34522         Removed.
34523         (syscall-list-32-options): Likewise.
34524         (syscall-list-32-condition): Likewise.
34525         (syscall-list-64-options): Likewise.
34526         (syscall-list-64-condition): Likewise.
34527         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34528         macro.
34529         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34530         Renamed to ...
34531         (abi-*): This.
34532         (abi-64-ld-soname): New macro.
34533         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34534         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34535         Renamed to ...
34536         (abi-*): This.
34537         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34538         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34540 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34542         * sysdeps/unix/sysv/linux/kernel-features.h
34543         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34544         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34545         include <kernel-features.h>.
34546         [!__NR_ftruncate64]: Remove conditional code.
34547         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34548         [__NR_ftruncate64]: Make code unconditional.
34549         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34550         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34551         include <kernel-features.h>.
34552         [!__NR_ftruncate64]: Remove conditional code.
34553         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34554         [__NR_ftruncate64]: Make code unconditional.
34555         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34557         include <kernel-features.h>.
34558         [!__NR_ftruncate64]: Remove conditional code.
34559         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34560         [__NR_ftruncate64]: Make code unconditional.
34561         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34563         include <kernel-features.h>.
34564         [!__NR_ftruncate64]: Remove conditional code.
34565         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34566         [__NR_ftruncate64]: Make code unconditional.
34567         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34569         * configure.in (libc_cv_fpie): Weaken to a compile test using
34570         LIBC_TRY_CC_OPTION.
34571         * configure: Regenerated.
34573 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34579         Refreshed.
34580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34586         Refreshed.
34588 2012-05-27  David S. Miller  <davem@davemloft.net>
34590         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34591         (___Q_zero): New.
34592         (__Q_simulate_exceptions): Return void.  Change to simulate
34593         exceptions by writing into the %fsr.
34594         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34595         (__Qp_handle_exceptions): Likewise.
34596         (numbers): Delete.
34597         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34598         __Qp_handle_exceptions.
34599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34600         __Qp_handle_exceptions.
34601         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34602         as unused and give dummy FP_RND_NEAREST initializer.
34603         (FP_INHIBIT_RESULTS): Define.
34604         (___Q_simulate_exceptions): Update declaration.
34605         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34606         formatting.
34607         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34608         as unused and give dummy FP_RND_NEAREST initializer.
34609         (__Qp_handle_exceptions): Update declaration.
34610         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34611         formatting.
34613 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34615         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34616         the temporary FPU control word.
34617         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34618         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34619         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34620         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34622         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34623         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34624         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34625         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34626         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34627         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34629 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34631         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34632         fields.
34634 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34636         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34637         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34638         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34639         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34640         Likewise.
34641         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34642         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34643         Likewise.
34645 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34647         * po/h.po: Update from translation team.
34649 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34651         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34653         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34654         handling of denormals.
34655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34656         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34657         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34658         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34659         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34662         Likewise.
34664 2012-05-26  Marek Polacek  <polacek@redhat.com>
34666         [BZ #14152]
34667         * math/libm-test.inc (fma_test): Don't always expect underflow
34668         exception.
34670 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34672         [BZ #12416]
34673         * elf/tst-execstack.c: Include stackinfo.h.
34674         (do_test): Adjust test case to ensure that pthread_getattr_np
34675         behaviour remains the same after marking stack executable.
34677 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34679         * sysdeps/unix/sysv/linux/kernel-features.h
34680         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34681         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34682         kernel-features.h.
34683         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34684         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34685         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34686         kernel-features.h.
34687         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34688         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34690 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34692         * configure.in: Define the default includes to being none.
34693         * configure: Regenerated.
34695 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34697         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34698         * sysdeps/x86_64/setjmp.S: Likewise.
34699         * sysdeps/i386/bsd-setjmp.S: Likewise.
34700         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34701         * sysdeps/i386/setjmp.S: Likewise.
34702         * sysdeps/i386/__longjmp.S: Likewise.
34703         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34704         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34706         * include/stap-probe.h: New file.
34707         * configure.in: Handle --enable-systemtap.
34708         * configure: Regenerated.
34709         * config.h.in (USE_STAP_PROBE): New #undef.
34710         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34711         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34712         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34714 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34716         [BZ #13717]
34717         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34718         to 2.4.0 where earlier.
34719         * sysdeps/unix/sysv/linux/configure: Regenerated.
34720         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34721         <kernel-features.h>.
34722         [__ASSUME_32BITUIDS]: Make code unconditional.
34723         [!__ASSUME_32BITUIDS]: Remove conditional code.
34724         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34725         <kernel-features.h>.
34726         [__ASSUME_32BITUIDS]: Make code unconditional.
34727         [!__ASSUME_32BITUIDS]: Remove conditional code.
34728         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34729         [__ASSUME_32BITUIDS]: Make code unconditional.
34730         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34731         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34732         <kernel-features.h>.
34733         [__ASSUME_32BITUIDS]: Make code unconditional.
34734         [!__ASSUME_32BITUIDS]: Remove conditional code.
34735         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34736         <kernel-features.h>.
34737         [__ASSUME_32BITUIDS]: Make code unconditional.
34738         [!__ASSUME_32BITUIDS]: Remove conditional code.
34739         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34740         <kernel-features.h>.
34741         [__ASSUME_32BITUIDS]: Make code unconditional.
34742         [!__ASSUME_32BITUIDS]: Remove conditional code.
34743         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34744         <kernel-features.h>.
34745         [__ASSUME_32BITUIDS]: Make code unconditional.
34746         [!__ASSUME_32BITUIDS]: Remove conditional code.
34747         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34748         <kernel-features.h>.
34749         [__ASSUME_32BITUIDS]: Make code unconditional.
34750         [!__ASSUME_32BITUIDS]: Remove conditional code.
34751         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34752         <kernel-features.h>.
34753         [__ASSUME_32BITUIDS]: Make code unconditional.
34754         [!__ASSUME_32BITUIDS]: Remove conditional code.
34755         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34756         <kernel-features.h>.
34757         [__ASSUME_32BITUIDS]: Make code unconditional.
34758         [!__ASSUME_32BITUIDS]: Remove conditional code.
34759         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34760         <kernel-features.h>.
34761         [__ASSUME_32BITUIDS]: Make code unconditional.
34762         [!__ASSUME_32BITUIDS]: Remove conditional code.
34763         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34764         <kernel-features.h>.
34765         [__ASSUME_32BITUIDS]: Make code unconditional.
34766         [!__ASSUME_32BITUIDS]: Remove conditional code.
34767         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34768         <kernel-features.h>.
34769         [__ASSUME_32BITUIDS]: Make code unconditional.
34770         [!__ASSUME_32BITUIDS]: Remove conditional code.
34771         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34772         <kernel-features.h>.
34773         [__NR_setresgid] (__setresgid): Do not declare.
34774         [__ASSUME_32BITUIDS]: Make code unconditional.
34775         [!__ASSUME_32BITUIDS]: Remove conditional code.
34776         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34777         <kernel-features.h>.
34778         [__NR_setresuid] (__setresuid): Do not declare.
34779         [__ASSUME_32BITUIDS]: Make code unconditional.
34780         [!__ASSUME_32BITUIDS]: Remove conditional code.
34781         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34782         <kernel-features.h>.
34783         [__ASSUME_32BITUIDS]: Make code unconditional.
34784         [!__ASSUME_32BITUIDS]: Remove conditional code.
34785         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34786         <kernel-features.h>.
34787         [__ASSUME_32BITUIDS]: Make code unconditional.
34788         [!__ASSUME_32BITUIDS]: Remove conditional code.
34789         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34790         <kernel-features.h>.
34791         [__ASSUME_32BITUIDS]: Make code unconditional.
34792         [!__ASSUME_32BITUIDS]: Remove conditional code.
34793         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34794         <kernel-features.h>.
34795         [__ASSUME_32BITUIDS]: Make code unconditional.
34796         [!__ASSUME_32BITUIDS]: Remove conditional code.
34797         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34798         <kernel-features.h>.
34799         [__ASSUME_32BITUIDS]: Make code unconditional.
34800         [!__ASSUME_32BITUIDS]: Remove conditional code.
34801         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34802         <kernel-features.h>.
34803         [__ASSUME_32BITUIDS]: Make code unconditional.
34804         [!__ASSUME_32BITUIDS]: Remove conditional code.
34805         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34806         <kernel-features.h>.
34807         [__ASSUME_32BITUIDS]: Make code unconditional.
34808         [!__ASSUME_32BITUIDS]: Remove conditional code.
34809         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34810         <kernel-features.h>.
34811         [__ASSUME_32BITUIDS]: Make code unconditional.
34812         [!__ASSUME_32BITUIDS]: Remove conditional code.
34813         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34814         <kernel-features.h>.
34815         [__ASSUME_32BITUIDS]: Make code unconditional.
34816         [!__ASSUME_32BITUIDS]: Remove conditional code.
34817         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34818         <kernel-features.h>.
34819         [__ASSUME_32BITUIDS]: Make code unconditional.
34820         [!__ASSUME_32BITUIDS]: Remove conditional code.
34821         * sysdeps/unix/sysv/linux/kernel-features.h
34822         (__ASSUME_SETRESUID_SYSCALL): Remove.
34823         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34824         (__ASSUME_32BITUIDS): Likewise.
34825         (__ASSUME_LDT_WORKS): Likewise.
34826         (__ASSUME_O_DIRECTORY): Likewise.
34827         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34828         architecture but not kernel version.
34829         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34830         (__ASSUME_MMAP2_SYSCALL): Likewise.
34831         (__ASSUME_STAT64_SYSCALL): Likewise.
34832         (__ASSUME_IPC64): Likewise.
34833         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34834         <kernel-features.h>.
34835         [__ASSUME_32BITUIDS]: Make code unconditional.
34836         [!__ASSUME_32BITUIDS]: Remove conditional code.
34837         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34838         <kernel-features.h>.
34839         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34840         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34841         132096]: Remove conditional code.
34842         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34843         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34844         <kernel-features.h>.
34845         [__ASSUME_32BITUIDS]: Make code unconditional.
34846         [!__ASSUME_32BITUIDS]: Remove conditional code.
34847         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34848         <kernel-features.h>.
34849         [__ASSUME_32BITUIDS]: Make code unconditional.
34850         [!__ASSUME_32BITUIDS]: Remove conditional code.
34851         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34852         <kernel-features.h>.
34853         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34854         unconditional.
34855         (__setresgid): Do not declare.
34856         [__ASSUME_32BITUIDS]: Make code unconditional.
34857         [!__ASSUME_32BITUIDS]: Remove conditional code.
34858         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34859         <kernel-features.h>.
34860         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34861         unconditional.
34862         (__setresuid): Do not declare.
34863         [__ASSUME_32BITUIDS]: Make code unconditional.
34864         [!__ASSUME_32BITUIDS]: Remove conditional code.
34865         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34866         <kernel-features.h>.
34867         [__ASSUME_32BITUIDS]: Make code unconditional.
34868         [!__ASSUME_32BITUIDS]: Remove conditional code.
34869         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34870         <kernel-features.h>.
34871         [__ASSUME_32BITUIDS]: Make code unconditional.
34872         [!__ASSUME_32BITUIDS]: Remove conditional code.
34874 2012-05-25  Richard Henderson  <rth@twiddle.net>
34876         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34877         dl_hwcap to ifunc resolver.
34878         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34879         elf_ifunc_invoke.
34880         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34881         dl_hwcap to ifunc resolver.
34882         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34886         [BZ #14153]
34887         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34888         for |x| <= 2**-26, not 2**-57.
34889         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34890         exception.
34892 2012-05-24  Jeff Law  <law@redhat.com>
34894         * stdio-common/Makefile (tests): Add bug25.
34895         * stdio-common/bug25.c: New test.
34897 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34899         [BZ #13576]
34900         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34901         multiple of MALLOC_ALIGNMENT in size.
34902         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34904 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34906         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34907         Require >= 256.
34908         (FILENAME_MAX): Use macro-int-constant.
34909         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34910         (_IOFBF): Use macro-int-constant.
34911         (_IOLBF): Likewise.
34912         (_IONBF): Likewise.
34913         (SEEK_CUR): Likewise.
34914         (SEEK_END): Likewise.
34915         (SEEK_SET): Likewise.
34916         (TMP_MAX): Likewise.
34917         (EOF): Use macro-int-constant.  Require < 0.
34918         (NULL): Use macro-constant.  Require == 0.
34919         (stdin): Require type to be FILE *.
34920         (stdout): Likewise.
34921         (stderr): Likewise.
34922         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34923         macro-int-constant.
34924         (EXIT_SUCCESS): Likewise.
34925         (NULL): Use macro-constant.  Require == 0.
34926         (RAND_MAX): Use macro-int-constant.
34927         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34928         [C99-based standards] (strtof): Require function.
34929         [C99-based standards] (strtold): Likewise.
34930         [C99-based standards] (strtoll): Likewise.
34931         [C99-based standards] (strtoull): Likewise.
34932         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34933         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34934         [ISO || ISO99 || ISO11] (math.h): Likewise.
34935         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34936         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34939 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34941         [BZ #14132]
34942         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34943         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34944         * intl/dgettext.c (DCGETTEXT): Likewise.
34945         * intl/gettext.c (DCGETTEXT): Likewise.
34946         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34947         * posix/regex_internal.h (gettext): Likewise.
34948         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34949         Remove declaration.
34950         * include/argz.h (__argz_count_internal)
34951         (__argz_stringify_internal): Remove declaration.
34952         (__argz_count, __argz_stringify): Declare hidden proto.
34953         * intl/dcgettext.c: Remove use of INTDEF.
34954         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34955         * string/argz-stringify.c: Likewise.
34956         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34957         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34958         Declare hidden proto.
34959         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34960         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34961         Declare hidden proto.
34962         * include/stdio.h (__asprintf_internal): Don't declare.
34963         (__asprintf): Don't define as macro.  Declare hidden proto.
34964         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34965         (__fsetlocking): Declare hidden proto.
34966         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34967         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34968         hidden proto.
34969         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34970         (_IO_setlinebuf): Remove use of INTUSE.
34971         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34972         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34973         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34974         Remove declaration.
34975         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34976         (_IO_do_flush): Remove use of INTUSE.
34977         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34978         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34979         (_IO_adjust_column, _IO_least_wmarker)
34980         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34981         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34982         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34983         (_IO_default_doallocate, _IO_wdefault_doallocate)
34984         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34985         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34986         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34987         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34988         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34989         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34990         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34991         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34992         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34993         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34994         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34995         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34996         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34997         proto.
34998         (_IO_flush_all_internal, _IO_adjust_column_internal)
34999         (_IO_default_uflow_internal, _IO_default_finish_internal)
35000         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35001         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35002         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35003         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35004         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35005         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35006         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35007         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35008         (_IO_file_close_internal, _IO_file_close_it_internal)
35009         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35010         (_IO_file_init_internal, _IO_file_attach_internal)
35011         (_IO_file_fopen_internal, _IO_file_read_internal)
35012         (_IO_file_sync_internal, _IO_file_seek_internal)
35013         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35014         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35015         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35016         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35017         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35018         (_IO_list_all_internal, _IO_link_in_internal)
35019         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35020         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35021         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35022         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35023         (_IO_do_write_internal, _IO_padn_internal)
35024         (_IO_getline_info_internal, _IO_getline_internal)
35025         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35026         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35027         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35028         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35029         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35030         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35031         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35032         with libc_hidden_ver, remove use of INTUSE.
35033         * libio/genops.c: Likewise.
35034         * libio/freopen.c: Likewise.
35035         * libio/freopen64.c: Likewise.
35036         * libio/iofclose.c: Likewise.
35037         * libio/iofdopen.c: Likewise.
35038         * libio/iofflush.c: Likewise.
35039         * libio/iofflush_u.c: Likewise.
35040         * libio/iofgets.c: Likewise.
35041         * libio/iofgets_u.c: Likewise.
35042         * libio/iofopen.c: Likewise.
35043         * libio/iofopncook.c: Likewise.
35044         * libio/iofread.c: Likewise.
35045         * libio/iofread_u.c: Likewise.
35046         * libio/ioftell.c: Likewise.
35047         * libio/iofwrite.c: Likewise.
35048         * libio/iogetline.c: Likewise.
35049         * libio/iogets.c: Likewise.
35050         * libio/iogetwline.c: Likewise.
35051         * libio/iopadn.c: Likewise.
35052         * libio/iopopen.c: Likewise.
35053         * libio/ioseekoff.c: Likewise.
35054         * libio/ioseekpos.c: Likewise.
35055         * libio/iosetbuffer.c: Likewise.
35056         * libio/iosetvbuf.c: Likewise.
35057         * libio/ioungetc.c: Likewise.
35058         * libio/ioungetwc.c: Likewise.
35059         * libio/iovdprintf.c: Likewise.
35060         * libio/iovsprintf.c: Likewise.
35061         * libio/iovsscanf.c: Likewise.
35062         * libio/memstream.c: Likewise.
35063         * libio/obprintf.c: Likewise.
35064         * libio/oldfileops.c: Likewise.
35065         * libio/oldiofclose.c: Likewise.
35066         * libio/oldiofdopen.c: Likewise.
35067         * libio/oldiofopen.c: Likewise.
35068         * libio/oldiopopen.c: Likewise.
35069         * libio/oldstdfiles.c: Likewise.
35070         * libio/putc.c: Likewise.
35071         * libio/setbuf.c: Likewise.
35072         * libio/setlinebuf.c: Likewise.
35073         * libio/stdfiles.c: Likewise.
35074         * libio/strops.c: Likewise.
35075         * libio/vasprintf.c: Likewise.
35076         * libio/vscanf.c: Likewise.
35077         * libio/vsnprintf.c: Likewise.
35078         * libio/vswprintf.c: Likewise.
35079         * libio/wfiledoalloc.c: Likewise.
35080         * libio/wfileops.c: Likewise.
35081         * libio/wgenops.c: Likewise.
35082         * libio/wmemstream.c: Likewise.
35083         * libio/wstrops.c: Likewise.
35084         * libio/__fpurge.c: Likewise.
35085         * libio/__fsetlocking.c: Likewise.
35086         * assert/assert.c: Likewise.
35087         * debug/fgets_chk.c: Likewise.
35088         * debug/fgets_u_chk.c: Likewise.
35089         * debug/fread_chk.c: Likewise.
35090         * debug/fread_u_chk.c: Likewise.
35091         * debug/gets_chk.c: Likewise.
35092         * debug/obprintf_chk.c: Likewise.
35093         * debug/vasprintf_chk.c: Likewise.
35094         * debug/vdprintf_chk.c: Likewise.
35095         * debug/vsnprintf_chk.c: Likewise.
35096         * debug/vsprintf_chk.c: Likewise.
35097         * malloc/mtrace.c: Likewise.
35098         * misc/error.c: Likewise.
35099         * misc/syslog.c: Likewise.
35100         * stdio-common/asprintf.c: Likewise.
35101         * stdio-common/fxprintf.c: Likewise.
35102         * stdio-common/getw.c: Likewise.
35103         * stdio-common/isoc99_fscanf.c: Likewise.
35104         * stdio-common/isoc99_scanf.c: Likewise.
35105         * stdio-common/isoc99_vfscanf.c: Likewise.
35106         * stdio-common/isoc99_vscanf.c: Likewise.
35107         * stdio-common/isoc99_vsscanf.c: Likewise.
35108         * stdio-common/printf-prs.c: Likewise.
35109         * stdio-common/printf_fp.c: Likewise.
35110         * stdio-common/printf_fphex.c: Likewise.
35111         * stdio-common/printf_size.c: Likewise.
35112         * stdio-common/putw.c: Likewise.
35113         * stdio-common/scanf.c: Likewise.
35114         * stdio-common/sprintf.c: Likewise.
35115         * stdio-common/tmpfile.c: Likewise.
35116         * stdio-common/vfprintf.c: Likewise.
35117         * stdio-common/vfscanf.c: Likewise.
35118         * stdlib/strfmon_l.c: Likewise.
35119         * sunrpc/openchild.c: Likewise.
35120         * sunrpc/xdr_stdio.c: Likewise.
35121         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35122         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35124 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35126         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35128         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35129         in the third column, to generate for the shared library an IFUNC
35130         that uses _dl_vdso_vsym.
35131         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35132         * Makeconfig (object-suffixes-noshared): New variable.
35134         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35135         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35136         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35137         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35139         [BZ #14132]
35140         * include/sys/time.h (__gettimeofday): Remove macro.
35141         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35142         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35143         Remove INTDEF.
35144         (__gettimeofday): Add libc_hidden_def.
35145         (gettimeofday): Add libc_hidden_weak.
35146         * sysdeps/mach/gettimeofday.c: Likewise.
35147         * sysdeps/posix/gettimeofday.c: Likewise.
35148         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35149         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35150         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35151         (__gettimeofday_internal): Remove strong_alias.
35152         (__gettimeofday): Add libc_hidden_def.
35153         (gettimeofday): Add libc_hidden_weak.
35154         * sysdeps/unix/syscalls.list (gettimeofday):
35155         Remove __gettimeofday_internal alias.
35157 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35158             H.J. Lu  <hongjiu.lu@intel.com>
35160         [BZ #12495]
35161         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35162         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35163         (largebin_index_32_big): New.
35164         (largebin_index): Use it for 16-byte alignment.
35165         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35166         correction with front_misalign.
35168 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35172         Likewise.
35173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35174         Likewise.
35175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35176         Likewise.
35177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35178         Likewise.
35179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35180         Likewise.
35181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35182         Likewise.
35183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35184         Likewise.
35185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35186         Likewise.
35187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35188         Likewise.
35189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35190         Likewise.
35191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35192         Likewise.
35193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35194         Likewise.
35196         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35197         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35199 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35201         [BZ #10846]
35202         [BZ #14036]
35203         * math/libm-test.inc (exp_test): Add test from bug 14036.
35204         (pow_test): Add test from bug 10846.
35206         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35207         and other flags.
35208         (special_function): Do not include flags in test name.
35209         (parse_args): Likewise.
35210         * sysdeps/i386/fpu/libm-test-ulps: Update.
35211         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35212         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35213         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35216         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35217         exceptions.
35218         * math/libm-test.inc ("Philosophy"): Update comment about
35219         exception testing.
35220         (UNDERFLOW_EXCEPTION): New macro.
35221         (UNDERFLOW_EXCEPTION_OK): Likewise.
35222         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35223         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35224         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35225         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35226         (INVALID_EXCEPTION_OK): Update value.
35227         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35228         (OVERFLOW_EXCEPTION_OK): Likewise.
35229         (IGNORE_ZERO_INF_SIGN): Likewise.
35230         (test_exceptions): Handle underflow exceptions.
35231         (acos_test): Update for underflow exception expectations.
35232         (cexp_test): Likewise.
35233         (clog_test): Likewise.
35234         (clog10_test): Likewise.
35235         (csqrt_test): Likewise.
35236         (ctan_test): Likewise.
35237         (ctanh_test): Likewise.
35238         (exp_test): Likewise.
35239         (exp10_test): Likewise.
35240         (exp2_test): Likewise.
35241         (expm1_test): Likewise.
35242         (fma_test): Likewise.
35243         (j0_test): Likewise.
35244         (jn_test): Likewise.
35245         (nexttoward_test): Likewise.
35246         (pow_test): Likewise.
35247         (scalbn_test): Likewise.
35248         (scalbln_test): Likewise.
35249         (tan_test): Likewise.
35250         (y1_test): Likewise.
35251         * sysdeps/i386/fpu/libm-test-ulps: Update.
35252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35254 2012-05-23  David S. Miller  <davem@davemloft.net>
35256         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35257         (__libc_sigaction): Remove unused local variables.
35259 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35261         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35263 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35265         mktime: avoid signed integer overflow
35266         * time/mktime.c (__mktime_internal): Do not mishandle the case
35267         where diff == INT_MIN.
35269         mktime: simplify computation of average
35270         * time/mktime.c (ranged_convert): Use new time_t_avg function
35271         instead of rolling our own (probably-slower) code.
35273         mktime: do not assume signed right shift propagates sign bit
35274         * time/mktime.c (isdst_differ): New static function.
35275         (__mktime_internal): No need to normalize tm_isdst now.
35276         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35277         tm_isdst values.
35279         mktime: merge another wrapv change from gnulib
35280         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35281         from some compilers.
35283         mktime: remove incorrect attempt at unusual arithmetics
35284         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35285         The code didn't really work on such machines anyway.
35286         (TYPE_MINIMUM): Assume two's complement.
35287         (twos_complement_arithmetic): Verify that long_int and time_t
35288         are two's complement (or unsigned, in the latter case).
35290         mktime: check signed shifts on long_int and time_t, too
35291         * time/mktime.c (SHR): Check that shifts work as desired
35292         on the types long_int and time_t too, as SHR is used on
35293         such types.
35295         mktime: do not assume 'long' is wide enough
35296         * time/mktime.c (verify): Move decl up.
35297         (long_int): New type.
35298         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35299         to remove assumption in the code that 'long' is wide enough to
35300         store year values.  This assumption is not true on x32 and on
35301         some non-glibc platforms.
35303         mktime: merge wrapv change from gnulib
35304         * time/mktime.c (WRAPV): New macro.
35305         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35306         (guess_time_tm, __mktime_internal): Do not assume that signed
35307         integer overflow wraps around; modern compilers generate code
35308         where this assumption is no longer valid.
35310 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35312         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35313         Replace "jmp L(pseudo_end)" with "ret".
35314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35315         Likewise.
35317 2012-05-23  Andreas Jaeger  <aj@suse.de>
35319         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35320         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35322 2012-05-23  Andreas Jaeger  <aj@suse.de>
35323             Maximilian Attems  <max@stro.at>
35325         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35326         New macros.
35328 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35330         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35331         code so that pseudo_end is just ret and the stack pointer is
35332         correct also for static library in error case.
35334 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35336         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35337         move to syscalls.list.
35338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35343         * manual/install.texi (Running make install): Do not mention Linux
35344         kernel version for which pt_chown is not needed.
35345         (Linux): Do not mention problems with nscd with 2.0 kernels.
35346         * INSTALL: Regenerated.
35348 2012-05-23  Andreas Jaeger  <aj@suse.de>
35350         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35351         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35352         macro.
35353         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35354         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35355         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35357         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35359         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35361         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35363         * sysdeps/unix/sysv/linux/bits/in.h
35364         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35366 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35368         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35369         (PREPARE_VERSION): Just use assert instead, it will be elided
35370         under [NDEBUG] anyway.
35372 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35374         * sysdeps/unix/sysv/linux/Makefile: Include
35375         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35376         (sysdep_routines): Remove sysctl.
35377         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35378         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35379         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35380         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35381         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35383 2012-05-22  Andreas Jaeger  <aj@suse.de>
35385         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35386         that pseudo_end is just ret and the stack pointer is correct also
35387         for static library in error case.
35389 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35391         [BZ #14122]
35392         * nss/nsswitch.c (defconfig_entries): New variable.
35393         (__nss_database_lookup): Don't leak defconfig entries.
35394         (nss_parse_service_list): Don't leak on error paths.
35395         (free_database_entries): New function.
35396         (free_defconfig): New function.
35397         (free_mem): Move common code to free_database_entries.
35399 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35401         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35402         Add arch_prctl.
35403         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35405         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35406         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35408         New macro.
35409         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35410         (INTERNAL_SYSCALL_TYPES): Likewise.
35411         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35412         (LOAD_REGS_TYPES_[1-6]): Likewise.
35413         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35414         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35416 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35418         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35419         copysignl for GLIBC_2_0.
35420         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35421         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35423         logbl for GLIBC_2_0.
35424         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35425         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35427 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35429         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35430         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35432         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35433         Use "neg %eax".
35435         * time/mktime.c: Update copyright years.
35437 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35439         mktime: merge comment-quoting-style change from gnulib
35440         * time/mktime.c: Quote 'like this' in comments.
35441         The GNU coding standards suggest that we no longer quote `like this',
35442         as "`" and "'" are typically rendered asymmetrically nowadays.
35443         The typical gnulib style is to quote 'like this' when quoting
35444         code, and "like this" when quoting English.
35446         * time/mktime.c (compile-command): Add "-I.".
35448         mktime: merge mktime-internal.h change from gnulib
35449         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35451         mktime: merge time_r change from gnulib
35452         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35454         mktime: merge DEBUG change from gnulib
35455         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35456         case system <time.h> has a #define.
35458         mktime: merge <sys/types.h> change from gnulib
35459         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35460         since <time.t> is now guaranteed to define time_t.
35462         mktime: merge HAVE_CONFIG_H change from gnulib
35463         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35465 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35468         Use "neg %eax".
35470         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35471         __rlim_t cast.
35472         (struct rusage): Use anonymous union to pad each field to
35473         __syscall_slong_t.
35475 2012-05-21  David S. Miller  <davem@davemloft.net>
35477         * Makefules (o-iterator): Remove .s cases.
35478         (compile-command.s): Delete.
35479         (COMPILE.s): Delete.
35480         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35482 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35484         * configure.in (libc_cv_predef_stack_protector): Only consider
35485         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35486         * configure: Regenerated.
35488 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35491         New macro.  Use R*LP on int and pointer.
35492         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35493         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35494         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35495         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35497         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35498         [__WORDSIZE_TIME64_COMPAT32] instead of
35499         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35500         (struct utmp): Likewise.
35501         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35502         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35503         Renamed to ...
35504         (__WORDSIZE_TIME64_COMPAT32): This.
35505         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35506         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35507         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35508         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35509         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35510         (__WORDSIZE_TIME64_COMPAT32): New macro.
35512 2012-05-21  Andreas Jaeger  <aj@suse.de>
35514         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35515         only if [SHARED]. Add prototype for __wcschr_ia32.
35517 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35519         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35520         of %rbp unmolested in the jmp_buf while mangling the low bits.
35521         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35522         unmolested high bits of %rbp while demangling the low bits.
35523         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35525 2012-05-21  Andreas Jaeger  <aj@suse.de>
35527         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35528         * sunrpc/svc_simple.c: Use it for registerrpc.
35529         * sunrpc/xcrypt.c: Use it for passwd2des.
35531         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35533 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35535         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35536         Don't define if [__SYSCALL_WORDSIZE != 32].
35537         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35538         New macro.
35540 2012-05-21  Bruno Haible  <bruno@clisp.org>
35541             Andreas Jaeger  <aj@suse.de>
35543         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35544         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35545         inptr and inend for must_buffer_ch.
35546         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35547         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35548         * stdio-common/Makefile (tests): Remove bug15.
35549         (bug15-ENV): Remove macro.
35550         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35551         anymore.
35553 2012-05-19  Andreas Jaeger  <aj@suse.de>
35554             Roland McGrath  <roland@hack.frob.com>
35556         * manual/contrib.texi: Completely rewritten. It contains now an
35557         alphabetical list of contributors and their contributions.
35559 2012-05-21  Richard Henderson  <rth@twiddle.net>
35561         * misc/getauxval.c (__getauxval): Use unsigned long int.
35562         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35563         (getauxval): Use unsigned long int.
35565 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35567         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35569 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35571         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35572         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35573         __alignof__ (long double).
35575 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35579 2012-05-20  Richard Henderson  <rth@twiddle.net>
35581         * misc/getauxval.c: New file.
35582         * misc/sys/auxv.h: New file.
35583         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35584         (routines): Add getauxval.
35585         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35586         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35587         * elf/dl-sysdep.c (_dl_auxv): Remove.
35588         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35589         * elf/dl-support.c (_dl_auxv): New variable.
35590         (_dl_aux_init): Initialize it.
35591         * manual/startup.texi (Auxiliary Vector): New node.
35592         * sysdeps/generic/bits/hwcap.h: New file.
35593         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35594         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35595         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35596         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35597         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35598         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35600         Update.
35601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35604         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35610 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35614 2012-05-19  David S. Miller  <davem@davemloft.net>
35616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35618 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35620         [BZ #14123]
35621         * math/s_ccosh.c: Include <float.h>
35622         (__ccosh): Avoid internal overflow calculating sinh and cosh
35623         values before multiplying by sin and cos values.
35624         * math/s_ccoshf.c: Likewise.
35625         * math/s_ccoshl.c: Likewise.
35626         * math/s_csin.c: Likewise.
35627         * math/s_csinf.c: Likewise.
35628         * math/s_csinl.c: Likewise.
35629         * math/s_csinh.c: Likewise.
35630         * math/s_csinhf.c: Likewise.
35631         * math/s_csinhl.c: Likewise.
35632         * math/libm-test.inc (ccos_test): Add more tests.
35633         (ccosh_test): Likewise.
35634         (csin_test): Likewise.
35635         (csinh_test): Likewise.
35636         * sysdeps/i386/fpu/libm-test-ulps: Update.
35637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35639 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35641         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35642         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35644         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35646 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35648         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35649         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35650         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35651         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35652         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35653         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35654         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35655         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35656         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35657         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35658         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35659         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35660         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35661         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35662         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35663         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35664         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35665         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35666         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35667         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35668         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35669         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35670         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35671         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35672         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35673         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35674         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35675         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35676         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35677         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35678         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35680 2012-05-18  Andreas Jaeger  <aj@suse.de>
35682         * csu/.gitignore: Delete.
35684 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35686         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35687         (timex): Use __syscall_slong_t.
35689 2012-05-18  Andreas Jaeger  <aj@suse.de>
35690             Carlos O'Donell  <carlos_odonell@mentor.com>
35692         * manual/install.texi (Configuring and compiling): Update
35693         description about files modified in the source directory.
35694         * INSTALL: Regenerated.
35696 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35698         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35699         value.  Use "or" to set return value to -1.
35700         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35701         negate return value.
35703 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35705         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35706         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35707         failure if the compiler has Graphite support disabled.
35708         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35709         Likewise.
35710         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35711         (CFLAGS-memmove.c): Likewise.
35712         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35713         Likewise.
35715 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35717         * sysdeps/x86_64/x32/_itoa.h: New file.
35719         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35720         getdents system call only if kernel and user dirents have the
35721         same d_ino and d_off.
35723         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35724         LLONG_MAX != LONG_MAX.
35725         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35726         (_fitoa_word): Likewise.
35728         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35729         years.
35730         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35731         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35732         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35734         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35735         include <bits/wordsize.h>.  Check __x86_64__ instead of
35736         __WORDSIZE.
35737         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35738         if __x86_64__ is defined.  Use anonymous union on fpstate.
35740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35741         anonymous union.
35743 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35745         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35746         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35747         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35748         Refer to _rtld_local_ro instead of _rtld_global_ro.
35749         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35750         Likewise.
35751         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35752         Likewise.
35753         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35754         Likewise.
35755         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35756         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35757         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35759         * sysdeps/powerpc/powerpc32/dl-machine.c
35760         (__elf_machine_runtime_setup) [PROF]: Don't reference
35761         _dl_prof_resolve.
35763 2012-05-18  Andreas Jaeger  <aj@suse.de>
35765         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35766         function only available for GCCs before 3.4 since GCC 3.4
35767         introduced a builtin.
35768         (lrint): Likewise.
35769         (llrintf): Likewise.
35770         (llrint): Likewise.
35771         (fmaxf): Likewise.
35772         (fmax): Likewise.
35773         (fminf): Likewise.
35774         (fmin): Likewise.
35775         (rint): Likewise.
35776         (rintf): Likewise.
35777         (nearbyint): Likewise.
35778         (nearbyintf): Likewise.
35779         (ceil): Likewise.
35780         (ceilf): Likewise.
35781         (floor): Likewise.
35782         (floorf): Likewise.
35784 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35786         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35787         on both fields and cast pointer to __syscall_ulong_t.
35789         * bits/types.h (__fsword_t): New type.
35790         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35791         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35792         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35793         (__FSWORD_T_TYPE): Likewise.
35794         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35795         (__FSWORD_T_TYPE): Likewise.
35796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35797         (__FSWORD_T_TYPE): Likewise.
35798         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35799         (__FSWORD_T_TYPE): Likewise.
35800         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35801         __SWORD_TYPE with __fsword_t.
35802         (statfs64): Likewise.
35804 2012-05-17  David S. Miller  <davem@davemloft.net>
35806         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35808 2012-05-17  Andreas Jaeger  <aj@suse.de>
35810         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35811         warning.
35813 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35815         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35817 2012-05-17  Andreas Jaeger  <aj@suse.de>
35819         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35820         when it is used.
35822 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35824         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35826 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35828         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35829         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35831 2012-05-17  Andreas Jaeger  <aj@suse.de>
35832             Carlos O'Donell  <carlos_odonell@mentor.com>
35834         [BZ #14059]
35835         * sysdeps/x86_64/multiarch/init-arch.h
35836         (bit_YMM_Usable): Rename to...
35837         (bit_AVX_Usable): ... this.
35838         (bit_FMA4_Usable): New macro.
35839         (bit_XMM_state): New macro.
35840         (bit_YMM_state): New macro.
35841         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35842         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35843         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35844         (CPUID_OSXSAVE): New macro.
35845         (CPUID_AVX): New macro.
35846         (CPUID_FMA4): New macro.
35847         (index_YMM_Usable): Rename to...
35848         (index_AVX_Usable): ... this.
35849         (HAS_AVX): Use HAS_ARCH_FEATURE.
35850         (HAS_FMA4): Likewise.
35851         (HAS_YMM_USABLE): Remove.
35852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35853         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35854         are present.
35855         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35856         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35857         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35858         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35859         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35861 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35863         * math/libm-test.c: Support platforms without multiple rounding modes.
35864         * math/bug-nextafter.c: Support platforms without FP exceptions.
35865         * math/bug-nexttoward.c: Likewise.
35866         * math/test-fenv.c: Likewise.
35867         * math/test-misc.c: Likewise.
35868         * stdlib/bug-getcontext.c: Likewise.
35870 2012-05-17  Andreas Jaeger  <aj@suse.de>
35872         * manual/examples/search.c (critter_cmp): Change signature to
35873         avoid warnings.
35874         * manual/string.texi (Collation Functions): Likewise.
35876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35878         * bits/types.h: Fold copyright years.
35879         * bits/typesizes.h: Likewise.
35880         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35882         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35883         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35884         * time/time.h: Likewise.
35886 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35888         [BZ #208]
35889         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35890         in instead of returning them.  Return void.
35891         (__libc_mallinfo): Accumulate over all arenas.
35892         (__malloc_stats): Adjust for change in int_mallinfo interface.
35894 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35896         [BZ #10375]
35897         * configure.in (NM): Add AC_CHECK_TOOL for it.
35898         (libc_extra_cflags): New substituted variable.
35899         Check for -fstack-protector being used implicitly.
35900         * configure: Regenerated.
35901         * config.make.in (config-extra-cflags): New variable,
35902         gets @libc_extra_cflags@.
35903         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35905         [BZ #10375]
35906         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35907         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35908         * configure: Regenerated.
35909         * config.make.in (CPPUNDEFS): New substituted variable.
35910         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35911         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35912         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35916         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35917         (mq_attr): Use __syscall_slong_t.
35919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35921         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35922         Check __x86_64__ instead of __WORDSIZE.
35923         (_STAT_VER_LINUX): Likewise.
35924         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35925         __syscall_ulong_t and __syscall_slong_t.
35926         (stat64): Likewise.
35928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35930         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35934         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35938         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35939         __syscall_ulong_t.
35941         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35942         include <bits/wordsize.h>.  Check __x86_64__ instead of
35943         __WORDSIZE.
35944         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35945         defined.
35946         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35948         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35949         include <bits/wordsize.h>.  Check __x86_64__ instead of
35950         __WORDSIZE.
35951         (user_regs_struct): Use "__extension__ unsigned long long"
35952         instead of "unsigned long" if __x86_64__ is defined.
35953         (user): Likewise.  Pad after pointer field if __ILP32__ is
35954         defined.
35956 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35958         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35959         versions 5 to 9.
35960         * configure: Regenerated.
35961         * manual/install.texi (texinfo): Increase version requirement to
35962         4.5 or later.
35963         * INSTALL: Regenerated.
35965         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35969         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35971         * sysdeps/x86_64/x32/ffs.c: New file.
35973         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35974         __syscall_ulong_t.
35975         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35976         defined.  Use __syscall_ulong_t.
35977         (shminfo): Use __syscall_ulong_t.
35978         (shm_info): Likewise.
35980         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35981         __syscall_ulong_t.
35983         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35984         <bits/wordsize.h>.
35985         (msgqnum_t): Use __syscall_ulong_t.
35986         (msglen_t): Likewise.
35987         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35988         __syscall_ulong_t.
35990         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35991         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35993         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35995         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35996         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35998         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35999         __syscall_slong_t.
36001         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36002         include <bits/wordsize.h>.  Check __x86_64__ instead of
36003         __WORDSIZE.
36005         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36006         "unsigned long long int" if __x86_64__ is defined.
36007         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36009         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36010         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36011         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36013         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36014         <stdint.h>.
36015         (GET_PC): Cast to uintptr_t first.
36016         (GET_FRAME): Likewise.
36017         (GET_STACK): Likewise.
36019         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36020         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36021         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36022         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36023         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36024         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36025         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36026         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36027         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36030         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36031         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36032         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36033         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36034         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36035         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36036         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36037         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36038         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36040         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36041         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36042         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36043         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36044         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36045         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36046         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36047         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36049 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36051         * Makerules (+depfiles): Also collect depfiles from .oS in
36052         $(extra-objs).
36053         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36054         .oS, $(libnldbl-routines)).
36056         * Makerules (native-compile-mkdep-flags): Define.
36057         * sunrpc/Makefile (extra-objs): Add $(addprefix
36058         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36059         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36060         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36061         calling $(make-target-directory).
36063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36065         * bits/types.h (__snseconds_t): Removed.
36066         * time/time.h (struct timespec): Replace __snseconds_t with
36067         __syscall_slong_t.
36068         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36069         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36070         Likewise.
36071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36072         (__SNSECONDS_T_TYPE): Likewise.
36073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36074         (__SNSECONDS_T_TYPE): Likewise.
36075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36076         (__SNSECONDS_T_TYPE): Likewise.
36078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36080         * sysdeps/mach/hurd/bits/typesizes.h
36081         (__SYSCALL_SLONG_TYPE): New macro.
36082         (__SYSCALL_ULONG_TYPE): Likewise.
36084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36086         * bits/types.h (__syscall_slong_t): New type.
36087         (__syscall_ulong_t): Likewise.
36089         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36090         (__SYSCALL_ULONG_TYPE): Likewise.
36091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36092         (__SYSCALL_SLONG_TYPE): Likewise.
36093         (__SYSCALL_ULONG_TYPE): Likewise.
36094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36095         (__SYSCALL_SLONG_TYPE): Likewise.
36096         (__SYSCALL_ULONG_TYPE): Likewise.
36097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36098         (__SYSCALL_SLONG_TYPE): Likewise.
36099         (__SYSCALL_ULONG_TYPE): Likewise.
36101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36103         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36104         Add sigaltstack-offsets.sym.
36105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36106         <sigaltstack-offsets.h>.
36107         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36108         longjmp_msg pointer.
36109         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36110         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36111         signal stack.
36112         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36114 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36116         * elf/stackguard-macros.h: Remove file.
36117         * sysdeps/generic/stackguard-macros.h: New file.
36118         * sysdeps/i386/stackguard-macros.h: Likewise.
36119         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36120         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36121         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36122         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36123         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36124         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36125         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36126         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36127         <elf/stackguard-macros.h>.
36129         [BZ #14109]
36130         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36131         __aligned__ in attribute.
36132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36133         (gregset_t): Likewise.
36135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36137         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36138         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36139         * sysdeps/x86_64/x32/Implies-after: New file.
36141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36143         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36144         and access return value for _dl_profile_fixup.  Use R10_LP to
36145         load frame size.
36147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36149         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36153         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36154         * sysdeps/x86_64/x32/sysdep.h: New file.
36156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36158         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36159         * sysdeps/x86_64/setjmp.S: Likewise.
36161 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36163         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36164         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36165         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36166         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36167         remove unused global constant.
36169 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36171         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36172         include of <not-cancel.h>.
36174 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36176         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36178 2012-05-15  Jeff Law  <law@redhat.com>
36179             Andreas Jaeger  <aj@suse.de>
36181         [BZ #13594]
36182         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36183         out from...
36184         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36185         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36186         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36187         code changing __hst_map_handle.map.
36189 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36191         * configure.in (sysnames): Look for Implies-before and Implies-after
36192         files.
36193         * configure: Regenerated.
36195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36197         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36198         8-byte data alignment with LP_SIZE alignment.
36200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36202         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36203         into R10_LP.
36205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36207         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36211         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36212         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36214         Likewise.
36215         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36219         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36220         (stackinfo_sub_sp): Likewise.
36222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36224         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36225         RAX_LP.
36227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36230         into R*_LP.
36232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36235         sizes into R*_LP.
36237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36239         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36243         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36244         into R11_LP and load __x86_64_shared_cache_size_half into
36245         R8_LP.
36247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36249         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36250         R8_LP.
36252 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36255         logb for POWER7.
36256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36257         logbf for POWER7.
36258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36259         logbl for POWER7.
36260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36261         powerpc32/power7/fpu/s_logb.c via #include.
36262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36263         powerpc32/power7/fpu/s_logbf.c via #include.
36264         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36265         powerpc32/power7/fpu/s_logbl.c via #include.
36267 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36269         * README.libm: Remove file.
36271 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36273         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36274         count for x32.  Use R*_LP and omit operand-size suffix.
36276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36278         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36279         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36280         * sysdeps/x86_64/x32/shlib-versions: New file.
36282 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36284         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36285         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36286         Use _dl_fatal_printf instead.
36288 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36290         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36291         set if not set by the user.  Do not allow for being unset.
36292         * sysdeps/unix/sysv/linux/configure: Regenerated.
36294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36296         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36297         the `q' suffix from lea and replace .quad with ASM_ADDR.
36299 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36302         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36303         instead of $17.
36304         (PTR_DEMANGLE): Likewise.
36306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36308         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36309         (LP_OP): Likewise.
36310         (ASM_ADDR): Likewise.
36311         (RAX_LP): Likewise.
36312         (RBP_LP): Likewise.
36313         (RBX_LP): Likewise.
36314         (RCX_LP): Likewise.
36315         (RDI_LP): Likewise.
36316         (RSI_LP): Likewise.
36317         (RSP_LP): Likewise.
36318         (R8_LP): Likewise.
36319         (R9_LP): Likewise.
36320         (R10_LP): Likewise.
36321         (R10_LP): Likewise.
36322         (R11_LP): Likewise.
36323         (R12_LP): Likewise.
36324         (R13_LP): Likewise.
36325         (R14_LP): Likewise.
36326         (R15_LP): Likewise.
36328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36330         * sysdeps/x86_64/x32/dl-machine.h: New file.
36332 2012-05-14  Andreas Jaeger  <aj@suse.de>
36334         * manual/Makefile (subdir): Remove export of subdir.
36335         (all): Remove target.
36336         (.PHONY): Remove all from list.
36337         (mkinstalldirs): Remove.
36338         (.PHONY): Remove installdirs from list.
36339         ($(inst_infodir)/libc.info): Use make-target-directory.
36340         (installdirs): Remove.
36341         (subdir_%): Remove.
36342         (glibc-targets): Remove.
36343         (lib): Remove.
36344         (stubs): Remove.
36345         ($(objpfx)stubs ../po/manual.pot): Remove.
36346         ($(objpfx)stamp%): Remove.
36347         (make-target-directory): Remove.
36348         (subdir_install): Remove.
36349         (routines): Remove.
36350         (aux): Remove.
36351         (sources): Remove.
36352         (objects): Remove.
36353         (headers): Remove.
36355         [BZ #13750]
36356         * manual/.gitignore: Remove, it's not needed anymore.
36357         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36358         all files in it.
36359         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36360         directory.
36361         (texis): Renamed to $(objpfx)texis.
36362         (texis-path): New, contains path to generated files.
36363         (chapters.%): Use texis-path for complete path, add extra argument
36364         libc-texinfo.sh.
36365         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36366         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36367         (summary,texi, stamp-summary): Use complete path of
36368         files. Generate files in build dir.
36369         (dir-add.texi): Build in build dir.
36370         (libm-err.texi,stamp-libm-err): Likewise.
36371         (version.texi, stamp-version): Likewise.
36372         (.%c.texi): Likewise.
36373         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36374         (mostlyclean): Remove target.
36375         (realclean): Remove target.
36376         (generated): Add new variable with contents from mostlyclean and
36377         realclean, remove entries duplicated in common-mostlyclean, add
36378         stamp-libm-err and stamp-version.
36379         (generated-dirs): Add libc directory.
36380         ($(inst_infodir)/libc.info): Install files from build dir.
36382         * manual/install.texi (Configuring and compiling): Adjust since
36383         the info files are not part of the tar ball anymore.
36385 2012-05-14  Andreas Jaeger  <aj@suse.de>
36387         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36388         variable.
36390 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36392         [BZ #13717]
36393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36394         to 2.2.0 where earlier.
36395         * sysdeps/unix/sysv/linux/configure: Regenerated.
36396         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36397         Remove conditional code.
36398         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36399         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36400         Remove conditional code.
36401         [!__NR_lchown]: Likewise.
36402         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36403         [__NR_lchown]: Likewise.
36404         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36405         comment referencing __ASSUME_LCHOWN_SYSCALL.
36406         * sysdeps/unix/sysv/linux/i386/sigaction.c
36407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36409         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36410         Remove conditional code.
36411         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36412         (__protocol_available): Remove #if 0 code.
36413         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36414         conditional code.
36415         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36416         * sysdeps/unix/sysv/linux/kernel-features.h
36417         (__ASSUME_GETCWD_SYSCALL): Don't define.
36418         (__ASSUME_REALTIME_SIGNALS): Likewise.
36419         (__ASSUME_PREAD_SYSCALL): Likewise.
36420         (__ASSUME_PWRITE_SYSCALL): Likewise.
36421         (__ASSUME_POLL_SYSCALL): Likewise.
36422         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36423         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36424         non-SPARC.
36425         (__ASSUME_SIOCGIFNAME): Don't define.
36426         (__ASSUME_MSG_NOSIGNAL): Likewise.
36427         (__ASSUME_SENDFILE): Define unconditionally.
36428         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36429         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36430         conditional code.
36431         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36432         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36433         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36434         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36435         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36436         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36437         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36439         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36442         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36448         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36451         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36454         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36455         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36457         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36458         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36460         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36461         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36462         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36463         Remove conditional code.
36464         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36465         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36466         Remove conditional code.
36467         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36468         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36469         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36470         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36471         Remove conditional code.
36472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36473         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36474         Remove conditional code.
36475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36476         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36477         Remove conditional code.
36478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36479         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36480         Remove conditional code.
36481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36482         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36483         Remove conditional code.
36484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36485         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36486         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36488         * sysdeps/unix/sysv/linux/sigaction.c
36489         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36490         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36491         * sysdeps/unix/sysv/linux/sigpending.c
36492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36494         * sysdeps/unix/sysv/linux/sigprocmask.c
36495         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36496         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36497         * sysdeps/unix/sysv/linux/sigsuspend.c
36498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36500         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36501         (__libc_missing_rt_sigs): Remove.
36502         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36503         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36504         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36505         Remove conditional code.
36506         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36507         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36508         return 1.
36509         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36510         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36511         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36512         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36514 2012-05-14  Andreas Jaeger  <aj@suse.de>
36516         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36517         it's not used in glibc.
36518         (__coshm1): Likewise.
36519         (__acosh1p): Likewise.
36520         (__sgn): Likewise.
36522         * manual/string.texi (Copying and Concatenation): Add missing
36523         variable in concat example.
36524         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36526 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36528         [BZ #14103]
36529         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36530         __builtin_clzl with __builtin_clzll.
36532 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36534         [BZ #14104]
36535         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36536         libc_freeres_ptr.
36538 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36540         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36541         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36542         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36543         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36545 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36547         * NEWS: Update ia64 info.
36549 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36551         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36552         used as bcopy.
36554 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36556         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36557         * sysdeps/unix/syscalls.list (dup3): Likewise.
36558         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36559         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36561 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36563         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36564         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36566 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36568         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36569         thread pointer.
36570         (TLS_IE): Use mov/add instead of movq/addq to load thread
36571         pointer.
36572         (TLS_GD_PREFIX): New.
36573         (TLS_GD): Use it.
36575 2012-05-11  David S. Miller  <davem@davemloft.net>
36577         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36578         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36579         (_FPU_SETCW): Likewise.
36581 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36583         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36584         is 32-byte aligned.
36586 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36588         [BZ #11837]
36589         * iconvdata/gb18030.c: Update tables.
36590         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36591         characters specially.
36592         (BODY for TO_LOOP): Add encoding of missing ranges.
36594 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36596         [BZ #13673]
36597         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36598         * sysdeps/mach/hurd/dup3.c: Likewise.
36599         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36600         * sysdeps/powerpc/memmove.c:: Likewise.
36602 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36604         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36605         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36607 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36609         * elf/elf.h (R_X86_64_RELATIVE64): New.
36610         (R_X86_64_NUM): Updated.
36611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36612         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36613         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36614         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36615         tst-quad1pie tst-quad2pie
36616         (modules-names): Add tst-quadmod1 tst-quadmod2.
36617         ($(objpfx)tst-quad1): New dependency.
36618         ($(objpfx)tst-quad2): Likewise.
36619         ($(objpfx)tst-quad1pie): Likewise.
36620         ($(objpfx)tst-quad2pie): Likewise.
36621         * sysdeps/x86_64/tst-quad1.c: New file.
36622         * sysdeps/x86_64/tst-quad1pie.c: New file.
36623         * sysdeps/x86_64/tst-quad2.c: Likewise.
36624         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36625         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36626         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36627         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36628         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36632         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36633         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36634         * streams/stropts.h (t_scalar_t): Define type.
36636         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36637         (_PATH_PRESERVE): Set to "/var/lib".
36638         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36640         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36641         instead of int.
36643         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36644         if __dir_mkfile succeeded.
36646         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36647         checking for _hurd_dtablesize.  Unlock it right after having
36648         finished _hurd_dtable allocation.
36650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36652         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36653         * sysdeps/mach/hurd/configure: Regenerated.
36654         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36655         special-casing to...
36656         * sysdeps/gnu/configure.in: ... this new file.
36657         * sysdeps/unix/sysv/linux/configure: Regenerated.
36658         * sysdeps/gnu/configure: New generated file.
36660         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36661         for Linux: use nsec instead of usec, as well as:
36662         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36663         members of type struct timespec.
36664         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36665         New macros.
36666         (struct stat64): Likewise.
36667         (_STATBUF_ST_NSEC): New macro.
36668         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36670         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36671         __strtoul_internal rather than strtoul.
36673 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36675         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36676         and reject them.
36678 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36680         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36681         which preserves existing values.
36682         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36684 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36686         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36687         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36688         greater than FD_SETSIZE.
36690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36692         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36693         allocated, call __vm_protect to finish enabling the existing space, and
36694         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36695         allocate the remainder.
36697 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36699         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36700         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36704         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36705         sysdeps/mach/hurd/readlink.c.
36707         * posix/tst-sysconf.c (posix_options): Only use
36708         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36709         _POSIX_SYNCHRONIZED_IO when they are defined
36710         * sysdeps/mach/hurd/bits/posix_opt.h:
36711         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36712         (_XOPEN_REALTIME): Undefine macro.
36713         (_XOPEN_REALTIME_THREADS): Undefine macro.
36714         (_XOPEN_SHM): Undefine macro.
36715         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36716         macro to -1.
36717         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36718         macro to -1.
36719         (_POSIX_ASYNC_IO): Undefine macro.
36720         (_POSIX_PRIORITIZED_IO): Undefine macro.
36721         (_POSIX_SPIN_LOCKS): Define macro to -1.
36723         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36724         SA_NODEFER, SA_RESETHAND.
36725         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36726         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36727         F_DUPFD_CLOEXEC.
36729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36731         * elf/Makefile (pldd-modules): Define unconditionally.
36733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36735         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36739         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36740         Return ENOENT when name is empty.
36741         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36745         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36747         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36749 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36751         Fix mlock in all cases except non-readable pages.
36752         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36753         instead of VM_PROT_ALL as parameter to __vm_wire function.
36755         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36756         (__mkdir): When path is `/', just fail with EEXIST.
36757         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36761         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36762         <sys/uio.h> (for writev).
36763         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36764         and <sys/param.h> (for MIN).
36766 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36768         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36769         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36770         if interrupted.
36772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36774         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36775         Depend on against $(link-rpcuserlibs).
36777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36779         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36780         (__libc_stack_end): Do not use attribute_relro.
36781         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36782         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36783         to libthread-provided value.
36784         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36785         attribute_relro.
36787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36789         [BZ #3748]
36790         * bits/libc-lock.h (__libc_once_get): New macro.
36791         * sysdeps/mach/bits/libc-lock.h: Likewise.
36792         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36794         instead of using implementation details.
36796         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36797         * libio/freopen.c: Likewise.
36798         * libio/freopen64.c: Likewise.
36799         * misc/syslog.c: Likewise.
36800         * nscd/connections.c: Likewise.
36801         * nscd/netgroupcache.c: Likewise.
36802         * sysdeps/posix/getcwd.c: Likewise.
36804 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36806         * math/w_ilogbf.c: Add #include <limits.h>.
36808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36810         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36811         path instead of returning without unlocking.
36813         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36814         immediate-write ioctls.
36815         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36819         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36820         __builtin_frame_address instead of making assumptions about the
36821         location of the return address relative to DATA.  Force early load of
36822         the return address.
36823         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36824         __builtin_frame_address.
36826         dup3 for GNU Hurd.
36827         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36828         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36829         implement dup3 and do some further code clean-ups.
36830         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36831         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36835         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36837         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36838         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36839         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36840         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36841         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36842         d->port.lock.
36844         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36845         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36846         when handler == SIG_ERR, not when handler != SIG_ERR.
36848 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36850         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36851         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36852         definitions.
36854         accept4 for GNU Hurd.
36855         * include/sys/socket.h (__libc_accept4): New prototype.
36856         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36857         to implement __libc_accept4.
36858         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36859         __libc_accept4.
36860         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36862         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36863         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36864         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36865         signal-defines.sym.
36867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36869         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36873         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36874         assertion on O_CLOEXEC flag.
36875         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36876         * hurd/intern-fd.c: Likewise.
36877         * hurd/port2fd.c: Likewise.
36879 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36881         [BZ #3906]
36882         * bits/in.h (IPV6_PKTINFO): Define new macro.
36883         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36885 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36887         [BZ #13954]
36888         [BZ #13955]
36889         [BZ #13956]
36890         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36891         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36892         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36893         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36895         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36896         * math/libm-test.inc (logb_test) : Additional logb tests.
36898 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36899             Andreas Jaeger  <aj@suse.de>
36901         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36902         * configure: Regenerated.
36903         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36904         * config.make.in (link-obsolete-rpc): New substituted variable.
36905         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36906         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36907         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36908         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36909         so that libc.a contains the symbols.
36910         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36911         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36912         * sunrpc/auth_none.c: Likewise.
36913         * sunrpc/auth_unix.c: Likewise.
36914         * sunrpc/authdes_prot.c: Likewise.
36915         * sunrpc/authuxprot.c: Likewise.
36916         * sunrpc/clnt_gen.c: Likewise.
36917         * sunrpc/clnt_perr.c: Likewise.
36918         * sunrpc/clnt_raw.c: Likewise.
36919         * sunrpc/clnt_simp.c: Likewise.
36920         * sunrpc/clnt_tcp.c: Likewise.
36921         * sunrpc/clnt_udp.c: Likewise.
36922         * sunrpc/clnt_unix.c: Likewise.
36923         * sunrpc/des_crypt.c: Likewise.
36924         * sunrpc/des_soft.c: Likewise.
36925         * sunrpc/get_myaddr.c: Likewise.
36926         * sunrpc/key_call.c: Likewise.
36927         * sunrpc/key_prot.c: Likewise.
36928         * sunrpc/netname.c: Likewise.
36929         * sunrpc/pm_getmaps.c: Likewise.
36930         * sunrpc/pm_getport.c: Likewise.
36931         * sunrpc/pmap_clnt.c: Likewise.
36932         * sunrpc/pmap_prot.c: Likewise.
36933         * sunrpc/pmap_prot2.c: Likewise.
36934         * sunrpc/pmap_rmt.c: Likewise.
36935         * sunrpc/publickey.c: Likewise.
36936         * sunrpc/rpc_cmsg.c: Likewise.
36937         * sunrpc/rpc_common.c: Likewise.
36938         * sunrpc/rpc_dtable.c: Likewise.
36939         * sunrpc/rpc_prot.c: Likewise.
36940         * sunrpc/rpc_thread.c: Likewise.
36941         * sunrpc/rtime.c: Likewise.
36942         * sunrpc/svc.c: Likewise.
36943         * sunrpc/svc_auth.c: Likewise.
36944         * sunrpc/svc_raw.c: Likewise.
36945         * sunrpc/svc_run.c: Likewise.
36946         * sunrpc/svc_tcp.c: Likewise.
36947         * sunrpc/svc_udp.c: Likewise.
36948         * sunrpc/svc_unix.c: Likewise.
36949         * sunrpc/svcauth_des.c: Likewise.
36950         * sunrpc/xcrypt.c: Likewise.
36951         * sunrpc/xdr.c: Likewise.
36952         * sunrpc/xdr_array.c: Likewise.
36953         * sunrpc/xdr_float.c: Likewise.
36954         * sunrpc/xdr_intXX_t.c: Likewise.
36955         * sunrpc/xdr_mem.c: Likewise.
36956         * sunrpc/xdr_rec.c: Likewise.
36957         * sunrpc/xdr_ref.c: Likewise.
36958         * sunrpc/xdr_sizeof.c: Likewise.
36959         * sunrpc/xdr_stdio.c: Likewise.
36961 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36963         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36964         change.  Update copyright years.
36966 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36968         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36970 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36971             Joseph Myers  <joseph@codesourcery.com>
36972             Paul Pluzhnikov  <ppluzhnikov@google.com>
36974         [BZ #14012]
36975         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36976         requiring rpcgen.
36977         [cross-compiling] (extra-libs): Likewise.
36978         [cross-compiling] (extra-libs-others): Likewise.
36979         [cross-compiling] (librpcsvc-routines): Likewise.
36980         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36981         [cross-compiling] (omit-deps): Likewise.
36982         (sunrpc-CPPFLAGS): New variable.
36983         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36984         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36985         (cross-rpcgen-objs): New variable.
36986         (extra-objs): Append $(cross-rpcgen-objs).
36987         ($(cross-rpcgen-objs)): New rule.
36988         ($(objpfx)cross-rpcgen): Likewise.
36989         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36990         comment.
36991         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36992         ($(objpfx)x%.stmp): Likewise.
36993         * sunrpc/proto.h [IS_IN_build] (_): Define.
36994         [IS_IN_build] (_libc_intl_domainname): Likewise.
36996 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36999         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37000         and R_X86_64_TPOFF64.
37002 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37004         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37005         sysdeps/unix/sysv/syscalls.list.
37006         (stime): Likewise.
37007         (utime): Likewise.
37008         * sysdeps/unix/sysv/syscalls.list: Remove file.
37010 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37012         [BZ #3440]
37013         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37014         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37015         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37016         (__LC_IDENTIFICATION): Make these macros useful in #if
37017         expressions, as required by C99.
37019 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37021         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37022         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37023         after this.
37025 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37027         * stdlib/longlong.h: Updated from GCC.
37029 2012-05-09  Andreas Jaeger  <aj@suse.de>
37031         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37032         default is first entry.
37033         (run_mode): Set type.
37034         (main): Remove informal message about syslog.
37035         (options): Fix typo.
37037         [BZ #14053]
37038         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37039         to asm.
37040         (lrint): Likewise.
37041         (llrintf): Likewise.
37042         (llrint): Likewise.
37043         (rint): Likewise.
37044         (rintf): Likewise.
37045         (nearbyint): Likewise.
37046         (nearbyintf): Likewise.
37048 2012-05-09  Andreas Jaeger  <aj@suse.de>
37049             Pedro Alves  <palves@redhat.com>
37051         * nscd/nscd.c (run_mode): Use enum.
37052         (main): Cleanup coding style issue.
37054 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37055             Andreas Jaeger  <aj@suse.de>
37057         * nscd/nscd.c (go_background): Replaced with...
37058         (run_mode): ... this.
37059         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37060         (options): Add -F --foreground.
37061         (main): Implement it.
37062         (parse_opt): Parse it.
37064 2012-05-09  Andreas Jaeger  <aj@suse.de>
37066         [BZ #14083]
37067         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37068         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37069         -Wconversion warning.
37070         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37071         Likewise.
37073 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37075         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37076         == 0.
37077         (LC_ALL): Use macro-int-constant.
37078         (LC_COLLATE): Likewise.
37079         (LC_CTYPE): Likewise.
37080         (LC_MESSAGES): Likewise.
37081         (LC_MONETARY): Likewise.
37082         (LC_NUMERIC): Likewise.
37083         (LC_TIME): Likewise.
37084         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37085         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37086         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37087         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37088         Specify type.
37089         [C99-based standards] (float_t): Expect type.
37090         [C99-based standards] (double_t): Expect type.
37091         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37092         type.
37093         [C99-based standards] (HUGE_VALL): Likewise.
37094         [C99-based standards] (INFINITY): Likewise.
37095         [C99-based standards] (NAN): Likewise.
37096         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37097         [C99-based standards] (FP_NAN): Likewise.
37098         [C99-based standards] (FP_NORMAL): Likewise.
37099         [C99-based standards] (FP_SUBNORMAL): Likewise.
37100         [C99-based standards] (FP_ZERO): Likewise.
37101         [C99-based standards] (FP_FAST_FMA): Use
37102         optional-macro-int-constant.  Specify type.  Require == 1.
37103         [C99-based standards] (FP_FAST_FMAF): Likewise.
37104         [C99-based standards] (FP_FAST_FMAL): Likewise.
37105         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37106         [C99-based standards] (FP_ILOGBNAN): Likewise.
37107         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37108         Specify type.
37109         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37110         [C99-based standards] (math_errhandling): Specify type.
37111         [ISO99 || ISO11] (signgam): Do not allow.
37112         [non-C99-based standards] (copysignf): Do not allow.
37113         [non-C99-based standards] (exp2f): Likewise.
37114         [non-C99-based standards] (log2f): Likewise.
37115         [non-C99-based standards] (modff): Allow.
37116         [non-C99-based standards] (erff): Do not allow.
37117         [non-C99-based standards] (erfcf): Likewise.
37118         [non-C99-based standards] (gammaf): Likewise.
37119         [non-C99-based standards] (hypotf): Likewise.
37120         [non-C99-based standards] (j0f): Likewise.
37121         [non-C99-based standards] (j1f): Likewise.
37122         [non-C99-based standards] (jnf): Likewise.
37123         [non-C99-based standards] (lgammaf): Likewise.
37124         [non-C99-based standards] (tgammaf): Likewise.
37125         [non-C99-based standards] (y0f): Likewise.
37126         [non-C99-based standards] (y1f): Likewise.
37127         [non-C99-based standards] (ynf): Likewise.
37128         [non-C99-based standards] (isnanf): Likewise.
37129         [non-C99-based standards] (acoshf): Likewise.
37130         [non-C99-based standards] (asinhf): Likewise.
37131         [non-C99-based standards] (atanhf): Likewise.
37132         [non-C99-based standards] (cbrtf): Likewise.
37133         [non-C99-based standards] (expm1f): Likewise.
37134         [non-C99-based standards] (ilogbf): Likewise.
37135         [non-C99-based standards] (log1pf): Likewise.
37136         [non-C99-based standards] (logbf): Likewise.
37137         [non-C99-based standards] (nextafterf): Likewise.
37138         [non-C99-based standards] (remainderf): Likewise.
37139         [non-C99-based standards] (rintf): Likewise.
37140         [non-C99-based standards] (scalbf): Likewise.
37141         [non-C99-based standards] (copysignl): Likewise.
37142         [non-C99-based standards] (exp2l): Likewise.
37143         [non-C99-based standards] (log2l): Likewise.
37144         [non-C99-based standards] (modfl): Allow.
37145         [non-C99-based standards] (erfl): Do not allow.
37146         [non-C99-based standards] (erfcl): Likewise.
37147         [non-C99-based standards] (gammal): Likewise.
37148         [non-C99-based standards] (hypotl): Likewise.
37149         [non-C99-based standards] (j0l): Likewise.
37150         [non-C99-based standards] (j1l): Likewise.
37151         [non-C99-based standards] (jnl): Likewise.
37152         [non-C99-based standards] (lgammal): Likewise.
37153         [non-C99-based standards] (tgammal): Likewise.
37154         [non-C99-based standards] (y0l): Likewise.
37155         [non-C99-based standards] (y1l): Likewise.
37156         [non-C99-based standards] (ynl): Likewise.
37157         [non-C99-based standards] (isnanl): Likewise.
37158         [non-C99-based standards] (acoshl): Likewise.
37159         [non-C99-based standards] (asinhl): Likewise.
37160         [non-C99-based standards] (atanhl): Likewise.
37161         [non-C99-based standards] (cbrtl): Likewise.
37162         [non-C99-based standards] (expm1l): Likewise.
37163         [non-C99-based standards] (ilogbl): Likewise.
37164         [non-C99-based standards] (log1pl): Likewise.
37165         [non-C99-based standards] (logbl): Likewise.
37166         [non-C99-based standards] (nextafterl): Likewise.
37167         [non-C99-based standards] (remainderl): Likewise.
37168         [non-C99-based standards] (rintl): Likewise.
37169         [non-C99-based standards] (scalbl): Likewise.
37170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37171         [non-C99-based standards] (FP_*): Do not allow.
37172         [C99-based standards] (FP_*): Change to
37173         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37174         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37175         allow.
37176         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37177         (SIG_ERR): Likewise.
37178         [X/Open-based standards] (SIG_HOLD): Likewise.
37179         (SIG_IGN): Likewise.
37180         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37181         positive value.
37182         (SIGFPE): Likewise.
37183         (SIGILL): Likewise.
37184         (SIGINT): Likewise.
37185         (SIGSEGV): Likewise.
37186         (SIGTER): Likewise.
37187         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37188         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37189         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37190         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37191         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37192         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37193         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37194         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37195         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37196         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37197         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37198         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37199         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37200         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37201         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37202         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37203         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37204         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37205         [X/Open-based standards] (SIGTRAP): Likewise.
37206         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37207         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37208         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37209         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37210         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37211         allow.
37213 2012-05-08  Ian Wienand  <ianw@vmware.com>
37215         [BZ #14080]
37216         * time/tzset.c (__tzset_parse_tz): Update default rules for
37217         daylight time changes in the Energy Policy Act of 2005.
37219 2012-05-09  Andreas Jaeger  <aj@suse.de>
37221         [BZ #13983]
37222         * elf/ldconfig.c (parse_conf): Change string to make clear that
37223         ldconfig only issued a warning if ld.so.conf does not exist.
37225 2012-05-08  David S. Miller  <davem@davemloft.net>
37227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37228         movxtod instead of popping the value on the stack.
37230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37232 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37234         * config.h.in: Add HAVE_ARM_PCS_VFP.
37236 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37238         [BZ #13979]
37239         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37240         checking but the checks are disabled for any reason.
37242 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37244         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37245         and ELF64_R_TYPE with ELFW(R_TYPE).
37247 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37249         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37250         (ulimit): Likewise.
37252         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37253         (settimeofday): Likewise.
37255 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37257         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37258         a struct th_u2 inside the union, and move tu_block/tu_code into
37259         a new th_u3 union of tu_block/tu_code inside of that.  Move
37260         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37261         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37262         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37263         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37264         (th_stuff): Change to th_u1.tu_stuff.
37265         (th_data): Define.
37266         (th_msg): Change to th_u1.th_u2.tu_data.
37268 2012-05-07  David S. Miller  <davem@davemloft.net>
37270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37272         [BZ #14074]
37273         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37274         (SETUP_PIC_REG): Use it.
37275         (SETUP_PIC_REG_LEAF): Use it.
37277 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37279         [BZ #13885]
37280         [BZ #13923]
37281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37282         USE_AS_EXPM1L.
37283         (EXPL_FINITE): Likewise.
37284         (FLDLOG): Likewise.
37285         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37286         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37287         e_expl.S.
37288         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37289         USE_AS_EXPM1L.
37290         (EXPL_FINITE): Likewise.
37291         (FLDLOG): Likewise.
37292         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37293         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37294         e_expl.S.
37295         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37296         test of -max_value argument for long double.
37297         * sysdeps/i386/fpu/libm-test-ulps: Update.
37298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37300 2012-05-06  David S. Miller  <davem@davemloft.net>
37302         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37303         quad soft-float symbols whose references which are compiler
37304         generated.
37305         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37307 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37309         [BZ #13884]
37310         [BZ #13914]
37311         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37312         USE_AS_EXP10L.
37313         (EXPL_FINITE): Likewise.
37314         (FLDLOG): Likewise.
37315         (c0): Likewise.
37316         (c1): Likewise.
37317         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37318         Adjust comments for base varying.
37319         (__expl_finite): Change alias to EXPL_FINITE.
37320         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37321         e_expl.S.
37322         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37323         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37324         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37325         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37327         USE_AS_EXP10L.
37328         (EXPL_FINITE): Likewise.
37329         (FLDLOG): Likewise.
37330         (c0): Likewise.
37331         (c1): Likewise.
37332         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37333         Adjust comments for base varying.
37334         (__expl_finite): Change alias to EXPL_FINITE.
37335         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37336         tests for bugs.
37337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37339         [BZ #14064]
37340         * math/libm-test.inc (check_float_internal): Correct ulp
37341         calculation for subnormal expected results.
37343 2012-05-06  Andreas Jaeger  <aj@suse.de>
37345         * Makeconfig (+math-flags): New, set to -frounding-math.
37346         (+cflags): Add +math-flags so that all of glibc gets compiled with
37347         it.
37349         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37351 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37353         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37354         Disable one test.
37356         [BZ #13787]
37357         [BZ #13922]
37358         [BZ #14036]
37359         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37360         (__ieee754_expl): Allow for and saturate large arguments.
37361         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37362         (u_threshold): Likewise.
37363         (__exp): Call __ieee754_exp before checking for overflow and
37364         underflow.
37365         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37366         (u_threshold): Likewise.
37367         (__expf): Call __ieee754_expf before checking for overflow and
37368         underflow.
37369         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37370         (u_threshold): Likewise.
37371         (__expl): Call __ieee754_expl before checking for overflow and
37372         underflow.
37373         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37374         (__ieee754_expl): Allow for and saturate large arguments.
37375         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37376         missing overflow exception on overflow.
37377         (expm1_test): Do not allow missing overflow exception on overflow.
37379         * sysdeps/i386/fpu/e_expl.c: Move to ...
37380         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37381         rather than using inline asm.
37382         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37383         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37384         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37386         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37387         (nice): Likewise.
37388         (poll): Likewise.
37389         (signal): Likewise.
37390         (time): Likewise.
37391         (times): Likewise.
37393 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37395         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37396         sysdeps/unix/common/syscalls.list.
37397         (fchmod): Likewise.
37398         (fchown): Likewise.
37399         (ftruncate): Likewise.
37400         (getrusage): Likewise.
37401         (gettimeofday): Likewise.
37402         (setpgid): Likewise.
37403         (setregid): Likewise.
37404         (setreuid): Likewise.
37405         (sigaction): Likewise.
37406         (truncate): Likewise.
37407         (vhangup): Likewise.
37408         * sysdeps/unix/common/syscalls.list: Remove file.
37409         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37410         * sysdeps/unix/sysv/linux/Implies: Likewise.
37412 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37414         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37416         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37417         Moved to ...
37418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37419         Here.
37420         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37421         to ...
37422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37423         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37424         to ...
37425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37426         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37427         to ...
37428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37429         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37430         to ...
37431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37432         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37433         to ...
37434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37435         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37436         to ...
37437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37438         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37439         to ...
37440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37441         Here.
37442         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37443         to ...
37444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37445         Here.
37446         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37447         to ...
37448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37449         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37450         Moved to ...
37451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37452         Here.
37453         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37454         to ...
37455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37457 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37459         * sysdeps/unix/common/bits/dirent.h: Remove file.
37460         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37462         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37463         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37464         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37465         * sysdeps/unix/bsd/isatty.c: Likewise.
37466         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37467         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37468         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37470 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37472         [BZ #13563]
37473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37474         long double comparison inaccuracies.
37475         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37478 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37480         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37481         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37483 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37485         [BZ #14049]
37486         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37487         nonzero digits before rounding a hex value.
37488         * stdlib/tst-strtod.c (tests): Add another test.
37490 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37492         * sysdeps/s390/fpu/libm-test-ulps: Update.
37494 2012-05-03  Andreas Jaeger  <aj@suse.de>
37496         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37497         does not get optimized out.
37498         (malloc_opt_barrier): New.
37500 2012-05-03  Andreas Jaeger  <aj@suse.de>
37501             Roland McGrath  <roland@hack.frob.com>
37503         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37504         intermediate file deletion.
37505         (generated): Add .symlist files.
37507 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37509         [BZ #13775]
37510         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37511         Redirect under this condition.
37512         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37513         [__USE_GNU] (__dprintf_chk): Not under this condition.
37514         [__USE_GNU] (__vdprintf_chk): Likewise.
37515         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37516         under this condition.
37517         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37518         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37519         [__USE_XOPEN2K8] (vdprintf): Likewise.
37520         [__USE_GNU] (__dprintf_chk): Not under this condition.
37521         [__USE_GNU] (__vdprintf_chk): Likewise.
37522         [__USE_GNU] (dprintf): Likewise.
37523         [__USE_GNU] (vdprintf): Likewise.
37525 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37527         * elf/Makefile (common-generated): Set this instead of generated for
37528         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37529         $(all-built-dso)-derived lists.
37531 2012-05-03  Andreas Jaeger  <aj@suse.de>
37533         * sysdeps/i386/fpu/libm-test-ulps: Update.
37535         * FAQ: Removed.
37536         * FAQ.in: Likewise.
37537         * scripts/gen-FAQ.pl: Likewise.
37538         * manual/install.texi (Installation): Point to online location of
37539         FAQ.
37540         * Makefile (files-for-dist): Remove FAQ.
37541         (FAQ): Remove.
37543 2012-05-02  Allan McRae  <allan@archlinux.org>
37545         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37546         (LDFLAGS-reldepmod5.so): Likewise.
37547         (LDFLAGS-reldep6mod1.so): Likewise.
37548         (LDFLAGS-reldep6mod4.so): Likewise.
37549         (LDFLAGS-reldep8mod3.so): Likewise.
37550         (LDFLAGS-unload4mod1.so): Likewise.
37551         (LDFLAGS-unload4mod2.so): Likewise.
37552         (LDFLAGS-tst-initorder): Likewise.
37553         (LDFLAGS-tst-initordera2.so): Likewise.
37554         (LDFLAGS-tst-initordera3.so): Likewise.
37555         (LDFLAGS-tst-initordera4.so): Likewise.
37556         (LDFLAGS-tst-initorderb2.so): Likewise.
37557         (LDFLAGS-noload): Likewise.
37558         (LDFLAGS-next): Likewise.
37559         (LDFLAGS-order2mod1.so): Likewise.
37560         (LDFLAGS-order2mod2.so): Likewise.
37561         (LDFLAGS-tst-initorder2): Likewise.
37562         (LDFLAGS-tst-initorder2a.so): Likewise.
37563         (LDFLAGS-tst-initorder2b.so): Likewise.
37564         (LDFLAGS-tst-initorder2c.so): Likewise.
37565         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37567 2012-05-02  David S. Miller  <davem@davemloft.net>
37569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37571 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37573         [BZ #14055]
37574         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37576 2012-05-02  Andreas Jaeger  <aj@suse.de>
37578         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37579         since we manipulate rounding mode.
37580         (CPPFLAGS-test-idouble.c): Likewise.
37581         (CPPFLAGS-test-ifloat.c): Likewise.
37582         (CFLAGS-test-ldouble.c): Likewise.
37583         (CFLAGS-test-double.c): Likewise.
37584         (CFLAGS-test-float.c): Likewise.
37585         (CFLAGS-test-misc.c): Likewise.
37586         (CFLAGS-test-test-fenv.c): Likewise.
37588 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37590         [BZ #2550]
37591         [BZ #2570]
37592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37593         comparisons to determine direction to adjust input.
37595 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37597         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37598         output to the target.
37600         * scripts/localplt.awk: New file.
37601         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37602         (check-localplt-CFLAGS): Variable removed.
37603         ($(all-built-dso:=.jmprel)): New static pattern rule.
37604         (generated): Add those targets.
37605         (localplt-built-dso): New variable.
37606         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37608         * elf/check-localplt.c: File removed.
37610         * scripts/check-execstack.awk: New file.
37611         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37612         (check-execstack-CFLAGS): Variable removed.
37613         ($(objpfx)check-execstack.h): Target removed.
37614         ($(objpfx)execstack-default): New target.
37615         (generated): Add that instead of check-execstack.h.
37616         ($(all-built-dso:=.phdr)): New static pattern rule.
37617         (generated): Add those targets.
37618         * elf/check-execstack.c: File removed.
37620         * scripts/check-textrel.awk: New file.
37621         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37622         (check-textrel-CFLAGS): Variable removed.
37623         (all-built-dso): Use := to define.o
37624         ($(all-built-dso:=.dyn)): New static pattern rule.
37625         (generated): Add those targets.
37626         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37627         * config.make.in (READELF): New substituted variable.
37628         * elf/check-textrel.c: File removed.
37630 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37632         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37633         allow.
37634         * conform/data/ctype.h-data [C99-based standards] (isblank):
37635         Expect function.
37636         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37637         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37638         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37639         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37640         Specify type.  Require positive value.
37641         (EILSEQ): Likewise.
37642         (ERANGE): Likewise.
37643         [ISO || POSIX] (EILSEQ): Do not expect.
37644         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37645         Specify type.  Require positive value.
37646         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37647         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37648         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37649         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37650         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37651         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37652         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37653         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37654         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37655         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37656         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37657         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37658         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37659         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37660         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37661         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37662         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37663         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37664         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37665         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37666         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37667         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37668         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37669         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37670         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37671         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37672         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37673         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37674         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37675         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37676         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37677         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37678         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37679         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37680         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37681         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37682         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37683         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37684         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37685         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37686         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37687         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37688         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37689         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37690         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37691         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37692         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37693         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37694         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37695         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37696         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37697         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37698         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37699         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37700         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37701         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37702         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37703         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37704         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37705         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37706         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37707         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37708         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37709         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37710         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37711         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37712         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37713         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37714         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37715         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37716         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37717         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37718         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37719         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37720         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37721         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37722         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37723         Require >= 2.
37724         (FLT_ROUNDS): Expect as macro, not constant.
37725         (FLT_MANT_DIG): Use macro-int-constant.
37726         (DBL_MANT_DIG): Likewise.
37727         (LDBL_MANT_DIG): Likewise.
37728         (FLT_DIG): Likewise.
37729         (DBL_DIG): Likewise.
37730         (LDBL_DIG): Likewise.
37731         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37732         (DBL_MIN_EXP): Likewise.
37733         (LDBL_MIN_EXP): Likewise.
37734         (FLT_MAX_EXP): Use macro-int-constant.
37735         (DBL_MAX_EXP): Likewise.
37736         (LDBL_MAX_EXP): Likewise.
37737         (FLT_MAX_10_EXP): Likewise.
37738         (DBL_MAX_10_EXP): Likewise.
37739         (LDBL_MAX_10_EXP): Likewise.
37740         (FLT_MAX): Use macro-constant.
37741         (DBL_MAX): Likewise.
37742         (LDBL_MAX): Likewise.
37743         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37744         (DBL_EPSILON): Likewise.
37745         (LDBL_EPSILON): Likewise.
37746         (FLT_MIN): Likewise.
37747         (DBL_MIN): Likewise.
37748         (LDBL_MIN): Likewise.
37749         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37750         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37751         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37752         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37753         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37754         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37755         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37756         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37757         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37758         [ISO11] (FLT_TRUE_MIN): Likewise.
37759         [ISO11] (LDBL_TRUE_MIN): Likewise.
37760         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37761         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37762         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37763         (SCHAR_MAX): Likewise.
37764         (UCHAR_MAX): Likewise.
37765         (CHAR_MIN): Likewise.
37766         (CHAR_MAX): Likewise.
37767         (MB_LEN_MAX): Use macro-int-constant.
37768         (SHRT_MIN): Use macro-int-constant.  Specify type.
37769         (SHRT_MAX): Likewise.
37770         (USHRT_MAX): Likewise.
37771         (INT_MAX): Likewise.
37772         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37773         bound negative.
37774         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37775         bound with "U".
37776         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37777         bound with "L".
37778         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37779         bound negative.  Suffix upper bound with "L".
37780         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37781         bound with "UL".
37782         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37783         Specify type.
37784         [C99-based standards] (LLONG_MAX): Likewise.
37785         [C99-based standards] (ULLONG_MAX): Likewise.
37786         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37787         == 0.
37788         [ISO11] (max_align_t): Require type.
37789         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37791         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37792         from $CFLAGS, without defining away __attribute__ calls.
37793         (checknamespace): Use $CFLAGS_namespace.
37795         * conform/conformtest.pl (@keywords): Only include C99 keywords
37796         for standards based on C99 or C11.
37798         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37799         Disable tests.
37800         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37801         UNIX98]: Likewise.
37803         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37804         usability of symbols in #if.
37806         * conform/conformtest.pl: If macro or constant types start
37807         "promoted:", expect the symbol to be of the following type
37808         promoted by the integer promotions.
37810         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37811         in one place.  Also handle "macro-constant".
37813         * conform/conformtest.pl: Only accept expected macro values with
37814         "==".  Parse all "macro" lines in one place.
37815         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37817         * conform/conformtest.pl: Handle braced types on "constant" lines
37818         instead of handling "typed-constant".
37819         * conform/data/signal.h-data: Use "constant" instead of
37820         "typed-constant".
37822         * conform/conformtest.pl: Handle "optional-" at start of lines in
37823         one place rather than duplicating several cases.  Handle each
37824         format of "macro" line with initial "optional-".
37826         * conform/conformtest.pl: Only accept expected constant or
37827         optional-constant values with "==".  Parse all "constant" lines in
37828         one place.  Parse all "optional-constant" lines in one place.
37829         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37830         * conform/data/fmtmsg.h-data: Likewise.
37831         * conform/data/netinet/in.h-data: Likewise.
37832         * conform/data/tar.h-data: Likewise.
37833         * conform/data/limits.h-data: Use "==" form on "constant" and
37834         "optional-constant" lines.
37836         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37837         Use -std=c99 for XOPEN2K.
37838         (@knownproblems): Remove.
37839         (newtoken): Don't check %isknown.
37841         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37842         Do not expect macro.
37843         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37844         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37845         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37846         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37847         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37848         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37849         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37850         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37851         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37852         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37853         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37854         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37855         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37856         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37857         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37858         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37859         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37860         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37861         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37862         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37863         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37864         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37865         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37866         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37867         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37868         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37869         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37870         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37871         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37872         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37873         [XPG3] (acosh): Likewise.
37874         [XPG3] (asinh): Likewise.
37875         [XPG3] (atanh): Likewise.
37876         [XPG3] (cbrt): Likewise.
37877         [XPG3] (expm1): Likewise.
37878         [XPG3] (ilogb): Likewise.
37879         [XPG3] (log1p): Likewise.
37880         [XPG3] (logb): Likewise.
37881         [XPG3] (nextafter): Likewise.
37882         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37883         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37884         [XPG3] (remainder): Likewise.
37885         [XPG3] (rint): Likewise.
37886         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37887         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37888         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37889         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37890         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37891         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37892         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37893         [UNIX98 || XOPEN2K] (scalb): Expect.
37894         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37895         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37896         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37897         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37898         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37899         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37900         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37901         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37902         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37903         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37904         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37905         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37906         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37907         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37908         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37909         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37910         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37911         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37912         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37913         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37914         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37915         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37916         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37917         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37918         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37919         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37920         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37921         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37922         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37923         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37924         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37925         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37926         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37927         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37928         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37929         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37930         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37931         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37932         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37933         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37934         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37935         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37936         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37937         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37938         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37939         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37940         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37941         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37942         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37943         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37944         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37945         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37946         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37947         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37948         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37949         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37950         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37951         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37952         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37953         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37954         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37955         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37956         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37957         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37958         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37959         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37960         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37961         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37962         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37963         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37964         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37965         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37966         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37967         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37968         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37969         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37970         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37971         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37972         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37973         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37974         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37975         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37976         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37977         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37978         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37979         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37980         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37981         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37982         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37983         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37984         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37985         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37986         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37987         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37988         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37989         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37990         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37991         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37992         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37993         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37994         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37995         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37996         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37997         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37998         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37999         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38000         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38001         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38002         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38003         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38004         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38005         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38006         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38007         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38008         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38009         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38010         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38011         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38012         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38013         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38014         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38015         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38016         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38017         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38018         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38019         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38020         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38021         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38022         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38023         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38024         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38025         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38026         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38027         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38028         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38029         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38030         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38032         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38033         _XOPEN_SOURCE_EXTENDED for XPG4.
38035         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38037         * Makeconfig (localtime): Remove variable.
38038         (inst_localtime-file): Likewise.
38040 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38043         Update.
38044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38045         Update.
38046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38047         Update.
38048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38049         Update.
38050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38051         Update.
38052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38053         Update.
38054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38055         Update.
38056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38057         Update.
38058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38059         Update.
38061 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38063         [BZ #2550]
38064         [BZ #2570]
38065         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38066         comparisons to determine direction to adjust input.
38067         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38068         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38069         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38070         Likewise.
38071         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38072         Likewise.
38073         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38074         Likewise.
38075         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38076         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38077         Likewise.
38078         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38079         Likewise.
38080         * math/libm-test.inc (nexttoward_test): Add more tests.
38082 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38084         [BZ #14040]
38085         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38086         in version GLIBC_2.1, not GLIBC_2.0.
38087         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38088         Likewise.
38090 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38092         [BZ #13942]
38093         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38094         (1 - x) * (1 + x).
38095         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38096         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38097         * math/libm-test.inc (acos_test): Add more tests.
38098         (asin_test): Likewise.
38099         * sysdeps/i386/fpu/libm-test-ulps: Update.
38100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38102         [BZ #14034]
38103         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38104         of square root.
38105         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38106         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38107         * math/libm-test.inc (acos_test_tonearest): New function.
38108         (acos_test_towardzero): Likewise.
38109         (acos_test_downward): Likewise.
38110         (acos_test_upward): Likewise.
38111         (asin_test_tonearest): Likewise.
38112         (asin_test_towardzero): Likewise.
38113         (asin_test_downward): Likewise.
38114         (asin_test_upward): Likewise.
38115         (main): Call the new functions.
38116         * sysdeps/i386/fpu/libm-test-ulps: Update.
38117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38119         [BZ #13884]
38120         [BZ #13924]
38121         * math/e_exp10.c: Include <float.h>.
38122         (__ieee754_exp10): Handle underflow here rather than multiplying
38123         large negative argument by M_LN10.
38124         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38125         of __ieee754_expf.
38126         * math/e_exp10l.c: Include <float.h>.
38127         (__ieee754_exp10l): Handle underflow here rather than multiplying
38128         large negative argument by M_LN10l.
38129         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38130         spurious overflow exception on underflow.
38132 2012-04-29  Marek Polacek  <polacek@redhat.com>
38134         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38135         (__fortify_function): New macro.
38136         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38137         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38138         __extern_always_inline.
38139         * libio/bits/stdio2.h: Likewise.
38140         * libio/bits/stdio.h: Likewise.
38141         * string/string.h: Likewise.
38142         * string/bits/string3.h: Likewise.
38143         * include/stdio.h: Likewise.
38144         * stdlib/bits/stdlib.h: Likewise.
38145         * stdlib/stdlib.h: Likewise.
38146         * rt/bits/mqueue2.h: Likewise.
38147         * rt/mqueue.h: Likewise.
38148         * posix/bits/unistd.h: Likewise.
38149         * posix/unistd.h: Likewise.
38150         * io/bits/poll2.h: Likewise.
38151         * io/bits/fcntl2.h: Likewise.
38152         * io/fcntl.h: Likewise.
38153         * io/sys/poll.h: Likewise.
38154         * misc/bits/syslog.h: Likewise.
38155         * misc/bits/syslog-ldbl.h: Likewise.
38156         * misc/sys/syslog.h: Likewise.
38157         * socket/bits/socket2.h: Likewise.
38158         * socket/sys/socket.h: Likewise.
38159         * debug/tst-chk1.c: Likewise.
38160         * wcsmbs/bits/wchar2.h: Likewise.
38161         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38162         * wcsmbs/wchar.h: Likewise.
38164 2012-04-29  Andreas Jaeger  <aj@suse.de>
38166         * Makerules (tests): Remove enable-check-abi protection.
38167         (check-abi-warn): Remove.
38168         (check-abi-%): Remove check-abi-warn usage.
38170         * configure.in: Remove check-abi configure option.
38171         * configure: Regenerated.
38172         * config.make.in (enable-check-abi): Remove.
38174 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38176         [BZ #14033]
38177         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38178         double functions to double *_finite functions.
38180         [BZ #13941]
38181         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38182         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38183         LDBL_MIN_EXP.
38184         * stdio-common/Makefile (tests): Add tst-sprintf3.
38185         * stdio-common/tst-sprintf3.c: New file.
38187         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38188         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38190 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38192         * conform/conformtest.pl: Remove duplicate typed-constant
38193         handling.
38195 2012-04-28  David S. Miller  <davem@davemloft.net>
38197         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38198         (check-abi-%): Remove AWK script prerequisite and explicit
38199         abilist directory.
38200         (check-abi): Rewrite to just diff the symlist with the abilist.
38201         (config-tls, config-abi-config): Delete, no longer used.
38202         (update-abi-%): Remove AWK script and explicit abilist directory.
38203         (update-abi): Rewrite to simply compare and conditionally copy the
38204         symlist and the sysdep abilist file.  Remove update-abi-config
38205         checks.
38206         * abilist/ld.abilist: Remove.
38207         * abilist/libBrokenLocale.abilist: Remove.
38208         * abilist/libanl.abilist: Remove.
38209         * abilist/libcrypt.abilist: Remove.
38210         * abilist/libdl.abilist: Remove.
38211         * abilist/librt.abilist: Remove.
38212         * abilist/libthread_db.abilist: Remove.
38213         * abilist/libutil.abilist: Remove.
38214         * scripts/extract-abilist.awk: Remove.
38215         * scripts/merge-abilist.awk: Remove.
38216         * sysdeps/generic/libcidn.abilist: New file.
38217         * sysdeps/generic/libnss_compat.abilist: New file.
38218         * sysdeps/generic/libnss_db.abilist: New file.
38219         * sysdeps/generic/libnss_dns.abilist: New file.
38220         * sysdeps/generic/libnss_files.abilist: New file.
38221         * sysdeps/generic/libnss_hesiod.abilist: New file.
38222         * sysdeps/generic/libnss_nis.abilist: New file.
38223         * sysdeps/generic/libnss_nisplus.abilist: New file.
38224         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38225         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38226         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38227         file.
38228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38229         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38230         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38231         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38232         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38233         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38234         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38235         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38236         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38237         file.
38238         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38239         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38240         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38241         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38242         file.
38243         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38244         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38245         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38246         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38247         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38248         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38249         file.
38250         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38251         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38252         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38253         file.
38254         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38256         New file.
38257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38258         New file.
38259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38260         New file.
38261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38262         New file.
38263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38264         New file.
38265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38266         New file.
38267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38268         New file.
38269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38270         New file.
38271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38272         New file.
38273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38274         New file.
38275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38276         New file.
38277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38278         New file.
38279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38280         New file.
38281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38282         file.
38283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38284         New file.
38285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38286         New file.
38287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38288         file.
38289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38290         New file.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38292         New file.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38294         file.
38295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38296         New file.
38297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38298         New file.
38299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38300         New file.
38301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38302         New file.
38303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38304         New file.
38305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38306         New file.
38307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38309         file.
38310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38311         New file.
38312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38313         file.
38314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38315         file.
38316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38317         file.
38318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38319         file.
38320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38321         file.
38322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38323         New file.
38324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38325         file.
38326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38327         file.
38328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38329         New file.
38330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38331         file.
38332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38334         file.
38335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38336         New file.
38337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38338         file.
38339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38340         file.
38341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38342         file.
38343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38344         file.
38345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38346         file.
38347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38348         New file.
38349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38350         file.
38351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38352         file.
38353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38354         New file.
38355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38356         file.
38357         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38358         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38359         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38360         file.
38361         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38362         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38363         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38364         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38365         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38366         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38367         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38368         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38369         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38370         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38373         file.
38374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38375         New file.
38376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38377         file.
38378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38379         file.
38380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38381         file.
38382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38383         file.
38384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38385         file.
38386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38387         New file.
38388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38389         New file.
38390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38391         file.
38392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38393         New file.
38394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38395         file.
38396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38398         file.
38399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38400         New file.
38401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38402         file.
38403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38404         file.
38405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38406         file.
38407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38408         file.
38409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38410         file.
38411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38412         New file.
38413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38414         New file.
38415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38416         file.
38417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38418         New file.
38419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38420         file.
38422 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38424         * conform/conformtest.pl: Fix typo in handling typed-constant from
38425         allow-header.
38427 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38429         * README: Cut down references to pre-2.6 Linux kernels and
38430         Linuxthreads.  Update lists of configurations in libc and ports
38431         and sort alphabetically.  Say "or newer" with Linux kernel version
38432         requirements.
38434         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38436 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38438         [BZ #887]
38439         * math/libm-test.inc (logb_test_downward): New test to expose
38440         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38441         rounding mode.
38443 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38445         [BZ #14027]
38446         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38447         to be done.
38448         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38449         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38451 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38453         * sysdeps/unix/i386/brk.S: Remove file.
38454         * sysdeps/unix/i386/dl-brk.S: Likewise.
38455         * sysdeps/unix/i386/pipe.S: Likewise.
38456         * sysdeps/unix/i386/sigreturn.S: Likewise.
38457         * sysdeps/unix/i386/syscall.S: Likewise.
38458         * sysdeps/unix/i386/vfork.S: Likewise.
38459         * sysdeps/unix/i386/wait.S: Likewise.
38461         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38462         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38464         * configure.in (arm*-none*): Do not allow without
38465         --enable-hacker-mode.
38466         (netbsd*): Remove case setting base_os.
38467         (386bsd*): Likewise.
38468         (freebsd*): Likewise.
38469         (bsdi*): Likewise.
38470         (osf*): Likewise.
38471         (sunos*): Likewise.
38472         (ultrix*): Likewise.
38473         (newsos*): Likewise.
38474         (dynix*): Likewise.
38475         (*bsd*): Likewise.
38476         (sysv*): Likewise.
38477         (isc*): Likewise.
38478         (esix*): Likewise.
38479         (sco*): Likewise.
38480         (minix*): Likewise.
38481         (irix4*): Likewise.
38482         (irix6*): Likewise.
38483         (solaris[2-9]*): Likewise.
38484         (none): Likewise.
38485         * configure: Regenerated.
38487 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38489         [BZ #11521]
38490         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38491         overflow or cancellation in calculating denominator.
38492         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38493         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38494         down expression to avoid unexpected rounding in newer GCCs.
38495         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38497 2012-04-26  David S. Miller  <davem@davemloft.net>
38499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38500         long-double compat symbols.
38501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38515 2012-04-25  David S. Miller  <davem@davemloft.net>
38517         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38518         HWCAP_* values only after the memory barriers have been defined.
38519         (atomic_full_barrier): Define.
38520         (atomic_read_barrier): Define.
38521         (atomic_write_barrier): Define.
38523 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38525         * shlib-versions: Add libgcc_s version information.
38526         * sysdeps/generic/libgcc_s.h: Remove.
38527         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38528         libgcc_s.h.
38529         * sysdeps/gnu/unwind-resume.c: Likewise.
38530         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38532 2012-04-25  David S. Miller  <davem@davemloft.net>
38534         * sysdeps/unix/sparc/brk.S: Delete.
38535         * sysdeps/unix/sparc/dl-brk.S: Delete.
38536         * sysdeps/unix/sparc/pipe.S: Delete.
38537         * sysdeps/unix/sparc/sysdep.S: Delete.
38538         * sysdeps/unix/sparc/sysdep.h: Delete.
38539         * sysdeps/unix/sparc/vfork.S: Delete.
38540         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38541         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38542         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38543         (ret_ERRVAL, r0, r1, MOVE): Define.
38544         (JUMPTARGET): Remove.
38545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38546         sysdeps/unix/sparc/sysdep.h
38547         (ENTRY, END): Remove.
38548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38550 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38552         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38553         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38554         -DIS_IN_build.
38556         * timezone/README: Update upstream location and email address for
38557         tzcode and tzdata.
38558         * timezone/zdump.c: Update from tzcode 2012b.
38559         * timezone/zic.c: Likewise.
38561         * configure.in (libc_cv_as_needed): Remove test.
38562         * configure: Regenerated.
38563         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38564         conditional definition.
38565         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38566         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38567         * config.make.in (have-as-needed): Remove variable.
38569 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38570             Paul Pluzhnikov  <ppluzhnikov@google.com>
38572         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38573         strings correctly.
38575 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38577         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38578         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38579         * sysdeps/sh/strlen.S: Likewise.
38581 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38583         * sysdeps/unix/fork.S: Remove file.
38584         * sysdeps/unix/i386/fork.S: Likewise.
38585         * sysdeps/unix/sparc/fork.S: Likewise.
38587         * sysdeps/unix/system.c: Remove file.
38588         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38590         * sysdeps/unix/getegid.S: Remove file.
38591         * sysdeps/unix/geteuid.S: Likewise.
38593 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38595         * scripts/check-localplt.awk: New file.
38596         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38597         of diff.
38598         * scripts/data/localplt-generic.data: Add a comment.
38600         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38601         NODE when __dir_mkfile failed.
38602         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38603         Reported by Ludovic Courtès <ludo@gnu.org>.
38605 2012-04-24  Andreas Jaeger  <aj@suse.de>
38607         * Makerules (common-clean): Also remove gen-as-const-headers
38608         files.
38610 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38612         * Makerules (native-compile): Do not change working directory for
38613         build.  Use $(OUTPUT_OPTION) in command.
38614         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38616 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38618         [BZ #13886]
38619         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38620         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38621         * math/libm-test.inc (floor_test): Add more tests.
38622         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38624 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38626         * sysdeps/unix/getdents.c: Remove file.
38627         * sysdeps/unix/sysv/getdents.c: Likewise.
38628         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38630         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38631         sysdeps/unix/mman/syscalls.list.
38632         (mmap): Likewise.
38633         (mprotect): Likewise.
38634         (msync): Likewise.
38635         (munmap): Likewise.
38636         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38637         * sysdeps/unix/mman/syscalls.list: Remove.
38638         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38640         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38641         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38642         * configure: Regenerated.
38643         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38644         $(libgcc_s_suffix).
38645         * config.make.in (libgcc_s_suffix): Remove variable.
38647 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38649         * sysdeps/unix/sysv/gethostname.c: Move to ...
38650         * sysdeps/posix/gethostname.c: ... here.
38652         * sysdeps/unix/execve.S: Remove file.
38654         * sysdeps/unix/_exit.S: Remove file.
38656 2012-04-23  Andreas Jaeger  <aj@suse.de>
38658         [BZ #13739]
38659         * manual/Makefile: Remove make dist support, there's no
38660         need for a stand-alone documentation tar ball.
38661         (TEXI2DVI): Define always, it's not in Makeconfig.
38662         (dist): Removed.
38663         (tar-it): Removed.
38664         (edition): Removed.
38665         (glibc-doc-$(edition).tar): Removed
38666         (%.Z): Removed.
38667         (%.gz): Removed.
38668         (%.uu): Removed.
38669         (ETAGS): Remove, it's in Makeconfig.
38670         (move-if-change): Remove, it's in Makeconfig.
38672 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38674         [BZ #13970]
38675         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38676         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38677         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38678         (strtod_l, strtof_l, strtold_l): Remove __wur.
38679         It is not necessarily an error to ignore strtol's return value.
38680         One can reliably look at the stored endptr to decide whether
38681         the number had valid syntax.
38683 2012-04-21  Andreas Jaeger  <aj@suse.de>
38685         [BZ #13739]
38686         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38688 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38690         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38691         * sysdeps/unix/sysv/Versions: Remove file.
38693 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38695         [BZ #13927]
38696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38698 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38700         [BZ #7064]
38701         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38702         version from __vm86.
38704 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38706         * sysdeps/unix/common/lxstat.c: Remove file.
38707         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38709         * sysdeps/unix/sysv/Makefile: Remove file.
38711         * sysdeps/unix/sysv/direct.h: Remove file.
38713         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38714         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38715         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38716         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38717         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38718         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38719         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38721         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38723         * sysdeps/unix/xmknod.c: Remove file.
38724         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38726         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38728         * sysdeps/unix/sysv/i386/time.S: Remove file.
38730         * sysdeps/unix/fxstat.c: Remove file.
38731         * sysdeps/unix/xstat.c: Likewise.
38732         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38734         * sysdeps/unix/sysv/sigaction.c: Remove file.
38736         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38737         (sysdep_headers): Remove variable.
38738         [termio.h not in sysdep_headers] (generated): Likewise.
38739         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38740         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38741         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38742         * sysdeps/unix/sysv/tcflow.c: Likewise.
38743         * sysdeps/unix/sysv/tcflush.c: Likewise.
38744         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38745         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38746         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38747         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38748         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38750         * sysdeps/unix/siglist.c: Remove file.
38752         * sysdeps/unix/getppid.S: Remove file.
38754         * sysdeps/unix/mkdir.c: Remove file.
38755         * sysdeps/unix/rmdir.c: Likewise.
38757 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38759         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38760         ERR_MAX value.
38761         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38762         errlist-compat value.
38764 2012-04-18  David S. Miller  <davem@davemloft.net>
38766         * sysdeps/generic/memcopy.h (reg_char): Delete.
38767         * debug/strcat_chk.c: Use char, not reg_char.
38768         * debug/strcpy_chk.c: Likewise.
38769         * debug/strncat_chk.c: Likewise.
38770         * debug/strncpy_chk.c: Likewise.
38771         * string/memchr.c: Likewise.
38772         * string/memrchr.c: Likewise.
38773         * string/rawmemchr.c: Likewise.
38774         * string/strcat.c: Likewise.
38775         * string/strchr.c: Likewise.
38776         * string/strchrnul.c: Likewise.
38777         * string/strcmp.c: Likewise.
38778         * string/strcpy.c: Likewise.
38779         * string/strncat.c: Likewise.
38780         * string/strncmp.c: Likewise.
38781         * string/strncpy.c: Likewise.
38783 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38785         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38786         __builtin_memcopy is called when src and dest ranges are known to not
38787         overlap.
38789 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38791         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38792         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38793         fwd_align_merge macro call.
38794         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38795         bwd_align_merge macro call.
38796         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38798 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38801         bwd_align_merge macros.
38802         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38803         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38806 2012-04-18  David S. Miller  <davem@davemloft.net>
38808         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38810 2012-04-18  Andreas Jaeger  <aj@suse.de>
38812         [BZ# 6794]
38813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38814         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38815         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38817         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38818         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38819         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38821         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38822         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38823         Adjust for changed ldbl-128 files.
38825         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38826         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38827         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38829 2012-04-17  David S. Miller  <davem@davemloft.net>
38831         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38833 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38835         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38836         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38837         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38838         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38839         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38840         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38842 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38844         [BZ #6794]
38845         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38846         * math/libm-test.inc: Add ilogb errno and exception tests.
38847         * math/w_ilogb.c: New file: ilogb wrapper.
38848         * math/w_ilogbf.c: New file: ilogbf wrapper.
38849         * math/w_ilogbl.c: New file: ilogbl wrapper.
38850         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38851         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38852         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38853         exception being thrown with 0.0 as argument.
38854         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38855         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38856         exception being thrown with 0.0 as argument.
38857         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38858         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38859         exception being thrown with 0.0 as argument.
38860         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38861         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38862         exception being thrown with 0.0 as argument.
38863         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38864         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38865         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38866         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38867         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38868         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38869         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38870         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38871         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38873 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38875         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38876         with altivec.
38878 2012-04-16  Marek Polacek  <polacek@redhat.com>
38880         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38882 2012-04-16  Marek Polacek  <polacek@redhat.com>
38884         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38885         operands of fdivp instruction.
38887 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38889         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38890         * elf/tst-auditmod3b.c: Likewise.
38891         * elf/tst-auditmod4b.c: Likewise.
38892         * elf/tst-auditmod5b.c: Likewise.
38893         * elf/tst-auditmod6b.c: Likewise.
38894         * elf/tst-auditmod6c.c: Likewise.
38895         * elf/tst-auditmod7b.c: Likewise.
38896         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38897         * sysdeps/x86_64/preconfigure.in: Likewise.
38898         * sysdeps/x86_64/preconfigure: Regenerated.
38900 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38902         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38903         __ILP32__.
38905 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38907         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38908         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38910 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38912         [BZ #13973]
38913         * locale/iso-639.def: Fix gl language name. Spotted by
38914         Yaron Shahrabani.
38916 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38918         [BZ #2074]
38919         * libio/libio.h (__io_write_fn): Update comment.
38921 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38923         [BZ #2074]
38924         * stdio.texi (Hook Functions): The user provided writer function
38925         is not allowed to return -1.
38927 2012-04-11  David S. Miller  <davem@davemloft.net>
38929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38931 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38933         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38934         Add a leading slash to rtkaio.
38936 2012-04-11  Jim Meyering  <meyering@redhat.com>
38938         [BZ #11959]
38939         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38940         It is not necessarily an error to ignore fwrite's return
38941         value.  One can reliably use ferror to test for errors after
38942         the fact.
38944 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38946         * bits/types.h (__snseconds_t): New type.
38947         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38949         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38950         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38951         (__SNSECONDS_T_TYPE): Likewise.
38952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38953         (__SNSECONDS_T_TYPE): Likewise.
38954         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38955         (__SNSECONDS_T_TYPE): Likewise.
38957 2012-04-10  Andreas Jaeger  <aj@suse.de>
38959         [BZ #2636]
38960         * manual/time.texi (Processor Time): Return type of times is
38961         elapsed real time since an arbitrary point in the past.
38962         (CPU Time): Move CLK_TCK from here...
38963         (Processor Time): ...to here.  Correct description.
38964         * manual/conf.texi (Constants for Sysconf): Correct description of
38965         _SC_CLK_TCK.
38967 2012-04-10  David S. Miller  <davem@davemloft.net>
38969         [BZ #13967]
38970         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38971         where the is a gap between DT_REL(A) and DT_JMPREL.
38973 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38975         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38976         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38977         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38979 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38981         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38982         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38983         (dl_main): Handle --inhibit-cache.
38984         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38985         _dl_inhibit_cache.
38986         * elf/dl-load.c (_dl_map_object): Use it.
38987         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38989 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38991         [BZ #13872]
38992         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38993         (__ieee754_powl): Saturate large exponents rather than testing for
38994         overflow of y*log2(x).
38995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38996         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38997         exceptions.
38999         [BZ #11521]
39000         * math/s_ctan.c: Include <float.h>.
39001         (__ctan): Avoid internal overflow or cancellation in calculating
39002         denominator.
39003         * math/s_ctanf.c: Likewise.
39004         * math/s_ctanl.c: Likewise.
39005         * math/s_ctanh.c: Likewise.
39006         * math/s_ctanhf.c: Likewise.
39007         * math/s_ctanhl.c: Likewise.
39008         * math/libm-test.inc (ctan_test): Add more tests.
39009         (ctanh_test): Likewise.
39010         * sysdeps/i386/fpu/libm-test-ulps: Update.
39011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39013 2012-04-09  Andreas Jaeger  <aj@suse.de>
39015         [BZ #6894]
39016         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39017         is an optional BSD extension.
39019         [BZ #10254]
39020         * manual/stdio.texi (Opening Streams): Document additional fopen
39021         parameters.
39023 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39025         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39026         %eax without telling the compiler.
39028 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39030         [BZ # 13963]
39031         * manual/install.texi: Use sourceware.org.
39033 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39035         [BZ #13873]
39036         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39037         (__ieee754_pow): Generate overflow and underflow using huge*huge
39038         and tiny*tiny rather than just returning constant infinity or zero
39039         for large exponents.
39040         * math/libm-test.inc (pow_test): Require overflow exceptions for
39041         applicable cases of large exponents.
39043         [BZ #706]
39044         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39045         (__ieee754_pow): Use iterative multiplication algorithm only for
39046         integer exponents with absolute value below 1024.  Check for odd
39047         integer exponents when using algorithm for real exponents.
39048         * math/libm-test.inc (pow_test): Add more tests.
39049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39051 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39053         [BZ #13705]
39054         * math/libm-test.inc (exp_test): Do not allow overflow exception
39055         on underflow test.
39057 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39059         [BZ #13705]
39060         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39061         instead of __kernel_standard_f.
39063 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39065         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39066         * sysdeps/x86_64/memset_chk.S: Likewise.
39068 2012-04-08  Andreas Jaeger  <aj@suse.de>
39070         [BZ #10153]
39071         * manual/startup.texi (Environment Access): Describe return value
39072         for putenv and setenv.
39074         [BZ #6895]
39075         * manual/filesys.texi (Directory Entries): Add description for
39076         DT_LNK.
39078         [BZ #6890]
39079         * manual/filesys.texi (Directory Entries): Clarify that it's file
39080         system not operating system in the description of DT_UNKNOWN.
39082         [BZ #6578]
39083         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39085 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39087         [BZ #6649]
39088         * manual/llio.texi (Opening and Closing Files): Add cross
39089         reference to explain mode argument.
39091 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39093         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39094         * sysdeps/x86_64/memset_chk.S: Likewise.
39096 2012-04-07  David S. Miller  <davem@davemloft.net>
39098         * elf/elf.h (R_SPARC_WDISP10): Define.
39099         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39100         R_SPARC_SIZE32.
39101         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39102         R_SPARC_SIZE64 and R_SPARC_H34.
39104 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39106         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39107         conditions and remove no longer applicable assertion.
39109 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39111         * bits/byteswap.h: Include <features.h>.
39112         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39113         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39115 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39117         * bits/byteswap.h (__bswap_16): Removed.
39118         Include <bits/byteswap-16.h> to get __bswap_16.
39119         * sysdeps/i386/bits/byteswap.h: Likewise.
39120         * sysdeps/s390/bits/byteswap.h: Likewise.
39121         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39122         * bits/byteswap-16.h: New file.
39123         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39124         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39125         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39126         * string/Makefile (headers): Add bits/byteswap-16.h.
39128 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39130         [BZ #13895]
39131         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39132         extra indirection.
39133         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39134         * nss/tst-nss-static.c: New.
39136 2012-04-06  Robert Millan  <rmh@gnu.org>
39138         [BZ #6486]
39139         * manual/llio.texi (File Position Primitive): lseek
39140         refers to WHENCE when it really means OFFSET.
39142 2012-04-06  Andreas Jaeger  <aj@suse.de>
39144         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39145         strncmp declarations.
39147         * abilist/libc.abilist: Add __poll and __ppoll.
39149 2012-04-05  David S. Miller  <davem@davemloft.net>
39151         * scripts/check-local-headers.sh: Accept a host triplet in the
39152         path matched by the exclude regexp.
39154         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39155         definition.
39156         * sysdeps/powerpc/powerpc32/dl-machine.h
39157         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39158         * sysdeps/s390/s390-32/dl-machine.h
39159         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39160         * sysdeps/sparc/sparc32/dl-machine.h
39161         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39162         * sysdeps/sparc/sparc64/dl-machine.h
39163         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39165         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39166         lazy binding.
39167         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39168         undefined symbol errors.
39170         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39171         DT_NEEDED entries.
39173 2012-04-05  Michael Matz  <matz@suse.de>
39175         [BZ #13592]
39176         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39178 2012-04-05  Andreas Jaeger  <aj@suse.de>
39180         [BZ #13908]
39181         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39182         comment.
39184 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39186         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39187         which ROUND is no valid rounding mode.
39189 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39191         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39192         read again.
39193         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39195 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39197         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39198         an exception using FPU order intentionally.
39200 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39202         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39203         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39204         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39205         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39207 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39209         [BZ #12340]
39210         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39211         EINVAL when BUFLEN is too smal.
39213 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39215         [BZ #13553]
39216         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39217         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39219 2012-04-03  Andreas Jaeger  <aj@suse.de>
39221         [BZ #13938]
39222         * manual/setjmp.texi (System V contexts): Fix sentence.
39224         [BZ #13926]
39225         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39226         New macro for this case.
39227         [!__GNUC__] (__bswap_64): New inline function for this case.
39228         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39229         * bits/byteswap.h: Likewise.
39230         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39231         ull, guard with __GLIBC_HAVE_LONG_LONG.
39233         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39234         __GLIBC_HAVE_LONG_LONG.
39236         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39237         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39239 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39241         [BZ #13691]
39242         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39243         inptr and inend, rather than using last_ch.
39245 2012-04-02  David S. Miller  <davem@davemloft.net>
39247         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39248         * stdio-common/printf-parse.h (read_int): Change return type to
39249         'int', return -1 on INT_MAX overflow.
39250         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39251         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39252         overflows INT_MAX.  Check for overflow of in-format-string precision
39253         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39254         SIZE_MAX not INT_MAX for integer overflow test.
39255         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39256         skip the construct in the format string but do not record anything.
39257         * stdio-common/bug22.c: Adjust to test both width/prevision
39258         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39259         explicitly for proper errno values.
39261 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39263         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39264         CHAR_MAX.
39265         * string/test-strcmp.c [! WIDE]: Likewise.
39266         * time/tst-mktime2.c: Likewise for INT_MAX.
39267         * string/test-string.h: #include <sys/param.h> for MIN.
39269         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39270         * sysdeps/i386/init-first.c (init): Likewise.
39271         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39272         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39273         * sysdeps/sh/init-first.c (init): Likewise.
39275 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39277         * po/ru.po: Update from translation team.
39278         * po/vi.po: Likewise.
39280 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39282         * resolv/nss_dns/dns-host.c: Merge copyright years.
39284 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39286         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39287         Optimize memcpy with prefetch if
39288         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39289         src, dst pointers have unequal 16 byte alignments.
39291 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39293         [BZ #13928]
39294         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39295         from a CNAME entry and return the minimum ttl for the query.
39296         (gaih_getanswer_slice): Likewise.
39298 2012-03-30  Jeff Law  <law@redhat.com>
39300         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39301         due to long keys.
39302         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39303         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39305         * resolv/nss_dns/dns-host.c: Update copyright year.
39307 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39309         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39310         requests to save a system call.  Fix check that all bytes are sent.
39312         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39313         comments for sendmmsg.
39315 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39317         [BZ #13691]
39318         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39319         with only 1 character between 0x0041 and 0x01b0.
39320         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39321         * wcsmbs/tst-mbsnrtowcs.c: New file.
39323 2012-03-29  David S. Miller  <davem@davemloft.net>
39325         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39326         small copies by hand.
39328 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39330         [BZ #13761]
39331         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39332         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39333         group memberships.
39335 2012-03-28  David S. Miller  <davem@davemloft.net>
39337         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39338         that branches into memcpy.
39339         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39341         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39342         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39344         bits.
39345         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39346         implementation too.
39347         * sysdeps/sparc/mempcpy.S: New file.
39349         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39350         the IFUNC routine in the libc case.
39351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39353         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39354         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39355         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39356         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39357         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39358         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39359         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39360         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39362         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39363         loop to 256 bytes instead of 64 bytes and fix test signedness.
39365         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39366         * sysdeps/sparc/sparc32/Makefile: rather than here...
39367         * sysdeps/sparc/sparc64/Makefile: and here.
39369 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39371         * malloc/mallocbug.c: Avoid warnings about unused variables.
39373 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39375         [BZ #13760]
39376         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39377         in the right place. Discard and retry query if response is
39378         larger than input buffer size.
39380 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39382         [BZ #369]
39383         [BZ #2678]
39384         [BZ #3866]
39385         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39386         x for large integer exponent.
39387         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39388         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39389         sign of result as needed afterwards.
39390         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39391         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39392         result for underflowing pow the same as for overflow.
39393         (__kernel_standard_l): Handle powl overflow and underflow here
39394         rather than calling __kernel_standard.
39395         * math/libm-test.inc (pow_test): Add more tests.
39397         [BZ #3868]
39398         [BZ #13879]
39399         [BZ #13910]
39400         [BZ #13911]
39401         [BZ #13912]
39402         [BZ #13913]
39403         [BZ #13915]
39404         [BZ #13916]
39405         [BZ #13917]
39406         [BZ #13918]
39407         [BZ #13919]
39408         [BZ #13920]
39409         [BZ #13921]
39410         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39411         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39412         (__kernel_standard_l): New function.
39413         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39414         __kernel_standard.
39415         * math/w_acosl.c (__acosl): Likewise.
39416         * math/w_asinl.c (__asinl): Likewise.
39417         * math/w_atan2l.c (__atan2l): Likewise.
39418         * math/w_atanhl.c (__atanhl): Likewise.
39419         * math/w_coshl.c (__coshl): Likewise.
39420         * math/w_exp10l.c (__exp10l): Likewise.
39421         * math/w_exp2l.c (__exp2l): Likewise.
39422         * math/w_fmodl.c (__fmodl): Likewise.
39423         * math/w_hypotl.c (__hypotl): Likewise.
39424         * math/w_j0l.c (__j0l, __y0l): Likewise.
39425         * math/w_j1l.c (__j1l, __y1l): Likewise.
39426         * math/w_jnl.c (__jnl, __ynl): Likewise.
39427         * math/w_lgammal.c (__lgammal): Likewise.
39428         * math/w_log10l.c (__log10l): Likewise.
39429         * math/w_log2l.c (__log2l): Likewise.
39430         * math/w_logl.c (__logl): Likewise.
39431         * math/w_powl.c (__powl): Likewise.
39432         * math/w_remainderl.c (__remainderl): Likewise.
39433         * math/w_scalbl.c (sysv_scalbl): Likewise.
39434         * math/w_sinhl.c (__sinhl): Likewise.
39435         * math/w_sqrtl.c (__sqrtl): Likewise.
39436         * math/w_tgammal.c (__tgammal): Likewise.
39437         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39438         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39439         * math/libm-test.inc (acos_test): Add more tests.
39440         (acosh_test): Likewise.
39441         (asin_test): Likewise.
39442         (atanh_test): Likewise.
39443         (exp_test): Likewise.
39444         (exp10_test): Likewise.
39445         (exp2_test): Likewise.
39446         (expm1_test): Likewise.
39447         (lgamma_test): Likewise.
39448         (log_test): Likewise.
39449         (log10_test): Likewise.
39450         (log1p_test): Likewise.
39451         (log2_test): Likewise.
39452         (pow_test): Do not allow some spurious overflow exceptions.
39453         (sqrt_test): Add more tests.
39454         (tgamma_test): Likewise.
39455         (y0_test): Likewise.
39456         (y1_test): Likewise.
39457         (yn_test): Likewise.
39459 2012-03-27  Anton Blanchard  <anton@samba.org>
39461         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39462         MAP_HUGETLB.
39463         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39464         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39465         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39467 2012-03-27  David S. Miller  <davem@davemloft.net>
39469         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39471         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39472         have-as-vis3 check.
39474 2012-03-27  Andreas Jaeger  <aj@suse.de>
39476         * sysdeps/x86_64/elf/configure.in: Moved to ...
39477         * sysdeps/x86_64/configure.in: ... here.
39478         * sysdeps/x86_64/elf/start.S: Moved to ...
39479         * sysdeps/x86_64/start.S: ... here.
39480         * sysdeps/x86_64/elf/configure: Delete.
39482         * sysdeps/x86_64/configure.in: Merge contents from
39483         sysdeps/i386/configure.in (without i686 check).
39485         * sysdeps/i386/elf/Versions: Merge into ...
39486         * sysdeps/i386/Versions: ... this.
39487         * sysdeps/i386/elf/Versions: Delete file.
39488         * sysdeps/i386/elf/start.S: Moved to ...
39489         * sysdeps/i386/start.S: ...here.
39490         * sysdeps/i386/elf/configure.in: Merge into...
39491         * sysdeps/i386/configure.in: ...here.
39492         * sysdeps/i386/elf/configure.in: Delete file.
39493         * sysdeps/i386/elf/configure: Delete file.
39495         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39496         * debug/backtracesyms.c: ... here.
39497         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39498         * debug/backtracesymsfd.c: ... here.
39499         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39500         * sysdeps/generic/ifunc-sel.h: ... here.
39502         * sysdeps/unix/i386/start.c: Delete file.
39503         * sysdeps/unix/sparc/start.c: Delete file.
39504         * sysdeps/unix/start.c: Delete file.
39506         * sysdeps/sh/elf/configure.in: Moved to ...
39507         * sysdeps/sh/configure.in: ... here.
39508         * sysdeps/sh/elf/start.S: Moved to ...
39509         * sysdeps/sh/start.S: ... here.
39510         * sysdeps/sh/elf/configure: Delete file.
39512         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39513         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39514         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39515         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39516         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39517         * sysdeps/powerpc/powerpc64/start.S: here.
39518         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39519         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39520         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39521         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39522         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39524         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39525         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39526         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39527         * sysdeps/powerpc/powerpc32/start.S: ... here.
39528         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39529         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39530         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39532         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39533         * sysdeps/powerpc/ifunc-sel.h: ... here.
39534         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39535         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39537         * sysdeps/sparc/elf/configure.in: Moved to ...
39538         * sysdeps/sparc/configure.in: ... here.
39539         * sysdeps/sparc/elf/configure: Delete file.
39540         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39541         * sysdeps/sparc/sparc32/start.S: ... here.
39542         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39543         * sysdeps/sparc/sparc64/start.S: ... here.
39544         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39545         * sysdeps/sparc/sparc32/Makefile: ... this.
39546         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39547         * sysdeps/sparc/sparc64/Makefile: ... this.
39549         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39550         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39551         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39552         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39553         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39554         * sysdeps/s390/s390-32/setjmp.S: ... here.
39555         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39556         * sysdeps/s390/s390-32/configure.in: ... here.
39557         * sysdeps/s390/s390-32/elf/configure: Delete file.
39558         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39559         * sysdeps/s390/s390-32/start.S: ... here.
39561         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39562         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39563         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39564         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39565         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39566         * sysdeps/s390/s390-64/setjmp.S: ... here.
39567         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39568         * sysdeps/s390/s390-64/configure.in: ... here
39569         * sysdeps/s390/s390-64/elf/configure: Delete file.
39570         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39571         * sysdeps/s390/s390-64/start.S: ... here.
39572         * sysdeps/s390/s390-64/elf/configure: Delete.
39574         * configure.in: Remove support for elf directories in sysdeps.
39576         * configure: Regenerated.
39577         * sysdeps/i386/configure: Regenerated.
39578         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39579         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39580         * sysdeps/s390/s390-32/configure: Regenerated.
39581         * sysdeps/s390/s390-64/configure: Regenerated.
39582         * sysdeps/sh/configure: Regenerated.
39583         * sysdeps/sparc/configure: Regenerated.
39584         * sysdeps/x86_64/configure: Regenerated.
39586 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39591         denormal result into account.
39593 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39595         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39596         Reported by Allan McRae <allan@archlinux.org>.
39598 2012-03-23  Jeff Law  <law@redhat.com>
39600         * nss/getnssent.c (__nss_getent): Fix typo.
39602 2012-03-23  David S. Miller  <davem@davemloft.net>
39604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39606 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39608         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39609         to pad to uint64_t for each field.
39610         (dl_tls_index): Replace unsigned long with uint64_t.
39612 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39613         Paul Pluzhnikov  <ppluzhnikov@google.com>
39615         [BZ #6528]
39616         * grp/Makefile (otherlibs): Don't set it.
39617         * inet/Makefile (otherlibs): Likewise.
39618         * login/Makefile (otherlibs): Likewise.
39619         * nscd/Makefile (otherlibs): Likewise.
39620         * posix/Makefile (otherlibs): Likewise.
39621         * pwd/Makefile (otherlibs): Likewise.
39622         * rt/Makefile (otherlibs): Likewise.
39623         * sunrpc/Makefile (otherlibs): Likewise.
39624         * nss/Makefile (otherlibs): Likewise.
39625         Add libnss_files to routines and static-only-routines.
39626         ($(objpfx)getent): Remove rule.
39627         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39628         static-only-routines.
39630 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39632         [BZ #13892]
39633         * math/s_cexp.c: Include <float.h>.
39634         (__cexp): Handle exp result overflowing not necessarily
39635         overflowing both real and imaginary parts of result.
39636         * math/s_cexpf.c: Likewise.
39637         * math/s_cexpl.c: Likewise.
39638         * math/libm-test.inc (cexp_test): Add more tests.
39639         * sysdeps/i386/fpu/libm-test-ulps: Update.
39640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39642 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39644         * include/link.h (ELFW): New macro.
39645         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39646         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39648 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39650         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39651         with uint64_t.
39653 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39655         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39656         declaration.
39657         (struct La_x32_retval): Likewise.
39659 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39661         * sysdeps/x86_64/preconfigure.in: New file.
39662         * sysdeps/x86_64/preconfigure: New generated file.
39664 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #13824]
39667         * math/e_exp2l.c: Include <float.h>.
39668         (__ieee754_exp2l): Handle overflow and underflow cases
39669         separately.  Only pass fractional part of argument to
39670         __ieee754_expl.
39671         * math/libm-test.inc (exp2_test): Add more tests.
39673         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39674         negating x to take absolute value.
39675         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39676         Likewise.
39677         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39678         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39679         Likewise.
39680         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39681         computing low part if x was negated.
39682         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39684 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39686         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39687         la_x32_gnu_pltexit.
39688         (pltexit): Cast int_retval to ptrdiff_t.
39689         * elf/tst-auditmod3b.c: Likewise.
39690         * elf/tst-auditmod4b.c: Likewise.
39691         * elf/tst-auditmod5b.c: Likewise.
39692         * elf/tst-auditmod6b.c: Likewise.
39693         * elf/tst-auditmod6c.c: Likewise.
39694         * elf/tst-auditmod7b.c: Likewise.
39696         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39697         and x32_gnu_pltexit.
39699         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39700         __ELF_NATIVE_CLASS.
39701         (La_x32_regs): New macro.
39702         (La_x32_retval): Likewise.
39703         (la_x32_gnu_pltenter): New function prototype.
39704         (la_x32_gnu_pltexit): Likewise.
39706 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39708         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39709         exponent.
39711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39713         * configure.in (libc_cv_cc_nofma): Check for option to disable
39714         generation of FMA instructions.
39715         * configure: Regenerate.
39716         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39717         * sysdeps/ieee754/dbl-64/Makefile: New file.
39718         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39719         Remove brandred-fma4.
39720         (CFLAGS-brandred-fma4.c): Remove.
39721         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39722         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39723         define.
39724         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39725         define.
39727 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39729         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39730         LLONG_MAX != LONG_MAX.
39731         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39732         (_fitoa_word): Likewise.
39733         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39734         LLONG_MAX != LONG_MAX.
39735         * stdio-common/_itowa.h: Include <_itoa.h>.
39736         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39737         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39738         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39739         only if not defined.
39740         (_ITOA_WORD_TYPE): Likewise.
39741         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39742         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39744 2012-03-21  David S. Miller  <davem@davemloft.net>
39746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39748 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39750         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39751         of x86_64 when setting libc_cv_slibdir, libdir and
39752         libc_cv_localedir.
39753         * sysdeps/unix/sysv/linux/configure: Regenerated.
39755 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39757         * manual/lang.texi (Old Varargs): Remove section.
39758         (How Variadic): Update menu.
39759         (va_start): Do not mention varargs.h.
39761 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39762             Joseph Myers  <joseph@codesourcery.com>
39764         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39765         link test.
39766         * configure: Regenerated.
39768 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39770         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39771         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39772         conformtest.pl
39774 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39776         * NOTES: Remove.
39777         * Makefile (files-for-dist): Remove NOTES.
39778         (NOTES): Remove rule.
39779         * README: Don't refer to NOTES.
39780         * manual/creature.texi: Don't include macros.texi.
39781         * manual/intro.texi (creature.texi): Remove comment referring to
39782         NOTES.
39784         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39785         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39786         * configure: Regenerated.
39787         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39788         LIBC_TRY_CC_OPTION.
39789         (libc_cv_as_i686): Likewise.
39790         (libc_cv_cc_avx): Likewise.
39791         (libc_cv_cc_sse2avx): Likewise.
39792         (libc_cv_cc_fma4): Likewise.
39793         (libc_cv_cc_novzeroupper): Likewise.
39794         * sysdeps/i386/configure: Regenerated.
39796         [BZ #13883]
39797         * sysdeps/i386/fpu/s_cexp.S: Remove.
39798         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39799         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39800         * math/libm-test.inc (cexp_test): Add more tests.
39801         * sysdeps/i386/fpu/libm-test-ulps: Update.
39802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39804 2012-03-21  Allan McRae  <allan@archlinux.org>
39806         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39808 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39810         [BZ #13871]
39811         * math/w_exp2.c: Do not include <float.h>.
39812         (o_threshold, u_threshold): Remove.
39813         (__exp2): Calculate result before checking finiteness and calling
39814         __kernel_standard.
39815         * math/w_exp2f.c: Likewise.
39816         * math/w_exp2l.c: Likewise.
39817         * math/libm-test.inc (exp2_test): Require overflow exception for
39818         1e6 input.
39820         [BZ #3866]
39821         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39822         range of signed 64-bit integers before using fistpll.  Remove
39823         checks for whether integers fit in mantissa bits.
39824         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39825         the range of signed 32-bit integers before using fistpl.  Remove
39826         checks for whether integers fit in mantissa bits.
39827         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39828         (__ieee754_powl): Test for y outside the range of signed 64-bit
39829         integers before using fistpll.  Reduce 64-bit values to 63-bit
39830         ones as needed.
39831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39832         divide-by-zero is raised for zero to large negative powers.
39833         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39834         (__ieee754_powl): Test for y outside the range of signed 64-bit
39835         integers before using fistpll.  Reduce 64-bit values to 63-bit
39836         ones as needed.
39837         * math/libm-test.inc (pow_test): Add more tests.
39839 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39841         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39842         <stdio-common/_itoa.h>.
39843         * debug/segfault.c: Likewise.
39844         * elf/dl-cache.c: Likewise.
39845         * elf/dl-minimal.c: Likewise.
39846         * elf/dl-misc.c: Likewise.
39847         * elf/dl-sysdep.c: Likewise.
39848         * elf/dl-version.c: Likewise.
39849         * elf/rtld.c: Likewise.
39850         * hurd/hurdsock.c: Likewise.
39851         * hurd/lookup-retry.c: Likewise.
39852         * malloc/malloc.c: Likewise.
39853         * malloc/mtrace.c: Likewise.
39854         * nscd/nscd_getgr_r.c: Likewise.
39855         * nscd/nscd_getpw_r.c: Likewise.
39856         * nscd/nscd_getserv_r.c: Likewise.
39857         * posix/getopt_init.c: Likewise.
39858         * posix/wordexp.c: Likewise.
39859         * stdio-common/_itoa.c: Likewise.
39860         * stdio-common/printf_fphex.c: Likewise.
39861         * stdio-common/vfprintf.c: Likewise.
39862         * string/_strerror.c: Likewise.
39863         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39864         * sysdeps/i386/i686/hp-timing.h: Likewise.
39865         * sysdeps/mach/_strerror.c: Likewise.
39866         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39867         * sysdeps/mach/hurd/sethostid.c: Likewise.
39868         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39869         * sysdeps/mach/xpg-strerror.c: Likewise.
39870         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39872         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39873         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39874         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39875         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39877         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39878         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39879         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39880         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39881         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39882         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39883         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39884         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39885         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39886         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39887         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39888         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39889         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39890         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39892         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39894         * stdio-common/_itoa.h: Moved to ...
39895         * sysdeps/generic/_itoa.h: Here.
39897         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39899         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39900         instead of "_itoa.h" and "_itowa.h".
39901         * stdio-common/vfprintf.: Likewise.
39903 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39905         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39906         <bits/wordsize.h>.
39907         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39908         (__signbit): Likwise.
39909         (llrintf): Likwise.
39910         (llrint): Likwise.
39912 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39914         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39915         __WORDSIZE != 64.
39917 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39919         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39920         OVERFLOW_EXCEPTION_OK.
39921         * math/libm-test.inc ("Philosophy"): Update comment about
39922         exception testing.
39923         (OVERFLOW_EXCEPTION): Define.
39924         (OVERFLOW_EXCEPTION_OK): Likewise.
39925         (INVALID_EXCEPTION_OK): Renumber.
39926         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39927         (IGNORE_ZERO_INF_SIGN): Likewise.
39928         (test_exceptions): Handle FE_OVERFLOW.
39929         (exp10_test): Expect overflow exceptions.
39930         (exp2_test): Likewise.
39931         (expm1_test): Likewise.
39932         (nextafter_test): Likewise.
39933         (pow_test): Likewise.
39934         (scalbn_test): Likewise.
39935         (scalbln_test): Likewise.
39937 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39939         * sysdeps/x86_64/bits/atomic.h
39940         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39941         64bit integer.
39942         (atomic_exchange_acq): Likewise.
39943         (__arch_exchange_and_add_body): Likewise.
39944         (__arch_add_body): Likewise.
39945         (atomic_add_negative): Likewise.
39946         (atomic_add_zero): Likewise.
39948 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39950         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39951         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39955         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39956         Check __x86_64__ instead of __WORDSIZE.
39958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39960         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39962 2012-03-19  David S. Miller  <davem@davemloft.net>
39964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39966         * sysdeps/sparc/fpu/fenv_private.h: New file.
39967         * sysdeps/sparc/fpu/math_private.h: Use it.
39968         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39969         Remove.
39970         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39971         (libc_feholdexcept_setroundl): Remove.
39972         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39973         Remove.
39974         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39975         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39979         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39980         int64_t instead of long int.
39981         (INSERT_WORDS64): Likwise.
39983 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39985         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39986         _Unwind_GetCFA return to _Unwind_Ptr first.
39988 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39990         [BZ #13629]
39991         * math/s_clog.c: Include <float.h>.
39992         (__clog): Scale large or subnormal inputs.
39993         * math/s_clogf.c: Likewise.
39994         * math/s_clogl.c: Likewise.
39995         * math/s_clog10.c: Include <float.h>.
39996         (M_LOG10_2): Define.
39997         (__clog10): Scale large or subnormal inputs.
39998         * math/s_clog10f.c: Likewise.
39999         * math/s_clog10l.c: Likewise.
40000         * math/libm-test.inc (clog_test): Add more tests.
40001         (clog10_test): Likewise.
40002         * sysdeps/i386/fpu/libm-test-ulps: Update.
40003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40005         [BZ #11451]
40006         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40007         x and y.
40008         * math/libm-test.inc (atan2_test): Add another test.
40010         * Makerules (common-objdir-compile): Remove.
40011         * sysdeps/unix/Makefile (config-generated): Do not add
40012         $(unix-generated) to variable.
40013         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40014         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40015         Remove rule.
40016         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40017         Likewise.
40018         [generic bits/local_lim.h] (before-compile): Do not append to
40019         variable.
40020         [generic bits/local_lim.h] (common-generated): Likewise.
40021         [generic sys/param.h] (before-compile): Do not append to variable.
40022         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40023         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40024         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40025         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40026         include.
40027         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40028         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40029         [generic sys/param.h] ($(addprefix
40030         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40031         [generic sys/param.h] (common-generated): Do not append to
40032         variable.
40033         [generic sys/param.h] (sysdep_headers): Likewise.
40034         [generic bits/errno.h] (before-compile): Do not append to
40035         variable.
40036         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40037         rule.
40038         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40039         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40040         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40041         [generic bits/errno.h] (common-generated): Do not append to
40042         variable.
40043         [generic bits/ioctls.h] (before-compile): Do not append to
40044         variable.
40045         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40046         rule.
40047         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40048         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40049         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40050         rule.
40051         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40052         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40053         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40054         [generic bits/ioctls.h] (common-generated): Do not append to
40055         variable.
40056         [generic sys/syscall.h] (syscall.h): Remove variable.
40057         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40058         rule.
40059         [generic sys/syscall.h] (before-compile): Do not append to
40060         variable.
40061         [generic sys/syscall.h] (common-generated): Likewise.
40062         * sysdeps/unix/errnos-tmpl.c: Remove file.
40063         * sysdeps/unix/errnos.awk: Likewise.
40064         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40065         * sysdeps/unix/ioctls.awk: Likewise.
40066         * sysdeps/unix/mk-local_lim.c: Likewise.
40067         * sysdeps/unix/snarf-ioctls: Likewise.
40069 2012-03-19  Richard Henderson  <rth@twiddle.net>
40071         * sysdeps/i386/fpu/fenv_private.h: New file.
40072         * sysdeps/i386/fpu/math_private.h: Use it.
40073         (math_opt_barrier, math_force_eval): Remove.
40074         (libc_feholdexcept_setround_53bit): Remove.
40075         (libc_feupdateenv_53bit): Remove.
40076         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40077         (math_opt_barrier, math_force_eval): Remove.
40078         (libc_feholdexcept): Remove.
40079         (libc_feholdexcept_setround): Remove.
40080         (libc_fetestexcept, libc_fesetenv): Remove.
40081         (libc_feupdateenv_test): Remove.
40082         (libc_feupdateenv, libc_feholdsetround): Remove.
40083         (libc_feresetround): Remove.
40085         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40086         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40088         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40089         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40090         (libc_feupdateenv_testl): New.
40091         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40092         (libc_feupdateenv_testf): New.
40093         (libc_feupdateenv): Use libc_feupdateenv_test.
40094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40095         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40097         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40098         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40099         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40100         (libc_feresetround_noex): New.
40101         (libc_feresetround_noexf): New.
40102         (libc_feresetround_noexl): New.
40103         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40104         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40105         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40106         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40107         SET_RESTORE_ROUND.
40108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40110         (__cos): Likewise.
40111         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40113         SET_RESTORE_ROUND_NOEX.
40114         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40115         SET_RESTORE_ROUND_NOEXF.
40116         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40117         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40118         (libc_feholdsetroundf): New.
40119         (libc_feresetround, libc_feresetroundf): New.
40121         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40122         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40123         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40125         * sysdeps/generic/math_private.h: Include <fenv.h>.
40126         (default_libc_feholdexcept): New.
40127         (default_libc_feholdexcept_setround): New.
40128         (default_libc_fesetenv, default_libc_feupdateenv): New.
40129         (libc_feholdexcept): Only define if undefined.
40130         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40131         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40132         (libc_feholdexcept_setroundl): Likewise.
40133         (libc_feholdexcept_setround_53bit): Likewise.
40134         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40135         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40136         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40137         (libc_feupdateenv_53bit): Likewise.
40138         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40139         (libc_feholdexcept): Convert from macro to inline function.
40140         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40141         (libc_fesetenv, libc_feupdateenv): Likewise.
40143         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40144         not previously defined.
40145         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40146         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40147         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40148         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40149         * sysdeps/ieee754/flt-32/math_private.h: New file.
40150         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40151         math_private.h below SET_FLOAT_WORD.
40152         (__isnan, __isinf_ns, __finite): Remove.
40153         (__isnanf, __isinf_nsf, __finitef): Remove.
40155 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40159 2012-03-17  David S. Miller  <davem@davemloft.net>
40161         [BZ #6471]
40162         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40163         for 2.16.
40165 2012-03-16  David S. Miller  <davem@davemloft.net>
40167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40168         warnings.
40170         [BZ #6471]
40171         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40172         properly.
40173         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40174         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40175         sysdep_routines when subdir is sysvipc.
40176         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40177         __getshmlba helper.
40179         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40181 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40183         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40184         [__LP64__].
40186 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40188         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40189         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40190         (__lround): Renamed to ...
40191         (__llround): This.  Replace long int with long long int.
40192         Define lround functions as aliases of llround functions.
40193         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40197         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40198         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40199         adresses to uintptr_t.  Replace "long int" and "unsigned long
40200         int" with "greg_t" on va_arg.
40202 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40204         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40205         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40207         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40208         Move e_machine check before EI_CLASS check.  Handle x32
40209         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40210         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40211         SKIP_EM_IA_64 and include
40212         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40214         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40215         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40216         (add_system_dir): New macro.
40218         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40219         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40221 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40223         [BZ #2551]
40224         [BZ #2552]
40225         [BZ #2553]
40226         [BZ #2554]
40227         [BZ #2562]
40228         [BZ #2563]
40229         [BZ #2565]
40230         [BZ #2566]
40231         [BZ #2576]
40232         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40233         (y0): Likewise.
40234         * math/w_j0f.c (j0f): Likewise.
40235         (y0f): Likewise.
40236         * math/w_j0l.c (__j0l): Likewise.
40237         (__y0l): Likewise.
40238         * math/w_j1.c (j1): Likewise.
40239         (y1): Likewise.
40240         * math/w_j1f.c (j1f): Likewise.
40241         (y1f): Likewise.
40242         * math/w_j1l.c (__j1l): Likewise.
40243         (__y1l): Likewise.
40244         * math/w_jn.c (jn): Likewise.
40245         (yn): Likewise.
40246         * math/w_jnf.c (jnf): Likewise.
40247         (ynf): Likewise.
40248         * math/w_jnl.c (__jnl): Likewise.
40249         (__ynl): Likewise.
40250         * math/libm-test.inc (j0_test): Add more tests.
40251         (j1_test): Likewise.
40252         (jn_test): Likewise.  Add trailing semicolon to existing test.
40253         (y0_test): Likewise.
40254         (y1_test): Likewise.
40255         * sysdeps/i386/fpu/libm-test-ulps: Update.
40256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40258         [BZ #13851]
40259         [BZ #13854]
40260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40261         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40262         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40263         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40264         (__tanl): Set errno for infinite argument.
40265         * sysdeps/i386/fpu/mptan.c: Remove.
40266         * sysdeps/i386/fpu/s_tan.S: Likewise.
40267         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40268         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40269         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40270         * math/libm-test.inc (tan_test): Add more tests and enable more
40271         tests for double and long double.
40272         * sysdeps/i386/fpu/libm-test-ulps: Update.
40273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40275 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40277         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40278         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40280 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40282         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40283         * configure.in: Use it for both main tree and add-ons.
40284         * configure: Regenerated.
40286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40288         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40290 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40292         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40293         in comment.
40295         [BZ #13851]
40296         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40297         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40301         infinite argument.
40302         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40303         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40304         != 0 for prec == 2.
40305         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40306         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40307         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40308         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40309         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40310         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40311         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40312         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40313         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40314         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40315         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40316         * math/libm-test.inc (cos_test): Add more tests and enable more
40317         tests for long double.
40318         (sin_test): Likewise.
40319         (sincos_test): Likewise.
40320         * sysdeps/i386/fpu/libm-test-ulps: Update.
40321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40323 2012-03-16  David S. Miller  <davem@davemloft.net>
40325         * sysdeps/sparc/fpu/math_private.h: New file.
40327 2012-03-15  David S. Miller  <davem@davemloft.net>
40329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40330         file.
40331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40333         file.
40334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40339         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40340         sysdep routines.
40341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40343         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40344         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40346         * sysdeps/sparc/sparc-ifunc.h: New file.
40347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40348         sparc-ifunc.h
40349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40351         Likewise.
40352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40353         Likewise.
40354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40358         Likewise.
40359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40364         Likewise.
40365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40366         Likewise.
40367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40385         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40387         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40388         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40392 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40394         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40395         scaling.
40396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40398 2012-03-15  Andreas Jaeger  <aj@suse.de>
40400         [BZ #13852]
40401         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40402         ieee754/flt-32 implementation for sin, cos and sincos.
40403         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40404         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40405         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40406         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40407         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40408         ieee754/flt-32 implementation for tan.
40410         * math/libm-test.inc (cos_test): Enable some large input tests for
40411         float as well
40412         (sin_test): Likewise.
40413         (sincos_test): Likewise.
40414         (tan_test): Add tests for large input.
40416         * sysdeps/i386/fpu/libm-test-ulps: Update.
40418 2012-03-15  Andreas Jaeger  <aj@suse.de>
40420         [BZ #13658]
40421         * math/libm-test.inc (cos_test): Add more test cases.
40422         (sin_test): Likewise.
40423         (sincos_test): Likewise.
40425 2012-03-15  Andreas Jaeger  <aj@suse.de>
40427         [BZ #13837]
40428         * math/libm-test.inc (cos_test): Add a test case for large input
40429         value.
40430         (sin_test): Likewise.
40431         (sincos_test): Likewise.
40433 2012-03-15  Andreas Jaeger  <aj@suse.de>
40434             Joseph Myers  <joseph@codesourcery.com>
40436         [BZ #13658]
40437         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40438         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40439         * sysdeps/i386/fpu/branred.c: Likewise.
40440         * sysdeps/i386/fpu/dosincos.c: Likewise.
40441         * sysdeps/i386/fpu/mpa.c: Likewise.
40442         * sysdeps/i386/fpu/s_cos.S: Likewise.
40443         * sysdeps/i386/fpu/s_sin.S: Likewise.
40444         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40445         * sysdeps/i386/fpu/sincos32.c: Likewise.
40447         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40448         Define.
40449         (libc_feupdateenv_53bit): Define.
40450         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40451         Define.
40452         (libc_feupdateenv_53bit): Define.
40454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40455         53 bit (without extend i386 double precision).
40457         * math/libm-test.inc (sincos_test): Add tests for large input.
40458         (sin): Likewise.
40459         (cos): Likewise.
40461         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40463 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40467 2012-03-15  David S. Miller  <davem@davemloft.net>
40469         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40470         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40471         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40472         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40485         file.
40486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40488         file.
40489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40491         file.
40492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40494         file.
40495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40497         fmin/fmax sysdep routines.
40498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40500 2012-03-14  David S. Miller  <davem@davemloft.net>
40502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40506         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40507         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40508         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40523         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40524         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40525         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40526         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40527         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40528         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40531         routines.
40532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40533         file.
40534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40536         file.
40537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40539         file.
40540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40542         file.
40543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40545         file.
40546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40548         file.
40549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40550         file.
40551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40552         file.
40553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40554         file.
40555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40556         New file.
40557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40558         file.
40559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40560         file.
40561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40563         file.
40564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40566         file.
40567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40569         file.
40570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40572         VIS3 routines.
40574         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40575         New file.
40577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40579         * sysdeps/sparc/configure.in: New file.
40580         * sysdeps/sparc/configure: Generate.
40581         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40582         * configure: Regenerate.
40583         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40584         * config.make.in (have-as-vis3): New.
40585         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40586         available use -Av9d instead of -Av9a.
40587         * sysdeps/sparc/sparc64/Makefile: Likewise.
40588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40590         New file.
40591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40592         file.
40593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40594         New file.
40595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40596         file.
40597         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40598         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40599         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40600         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40603         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40604         fzeros/fnegs to load 0x80000000 into a float register instead of
40605         using the stack.
40606         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40608 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40611         bits/syscall.h.
40612         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40613         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40614         ($(inst_includedir)/bits/syscall.h): Remove rule.
40615         ($(objpfx)bits/syscall.d): Include instead of
40616         $(objpfx)syscall-list.d.
40617         (generated): Change syscall-list.h and syscall-list.d to
40618         bits/syscall.h and bits/syscall.d.
40620 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40622         [BZ #13846]
40623         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40625 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40627         [BZ #13841]
40628         * math/s_csqrt.c: Include <float.h>.
40629         (__csqrt): Scale large or subnormal inputs.
40630         * math/s_csqrtf.c: Likewise.
40631         * math/s_csqrtl.c: Likewise.
40632         * math/libm-test.inc (csqrt_test): Add more tests.
40633         * sysdeps/i386/fpu/libm-test-ulps: Update.
40634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40636         [BZ #13840]
40637         * math/libm-test.inc (hypot_test): Add more tests.
40639 2012-03-13  David S. Miller  <davem@davemloft.net>
40641         [BZ #13840]
40642         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40643         double-precision for the calculation instead of scaling.
40645 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40647         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40648         manipulate bits before adding and subtracting TWO52[sx].
40649         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40650         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40651         Likewise.
40652         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40654 2012-03-13  David S. Miller  <davem@davemloft.net>
40656         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40657         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40659         rtld-global-offsets.h
40660         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40662         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40663         large parameters.
40665         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40667         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40668         'err' in the ifdef scope in which it is actually used.
40670         * nss/nss_db/db-init.c: Include string.h
40672 2012-03-12  David S. Miller  <davem@davemloft.net>
40674         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40675         masking out of the most significant byte of random value used.
40676         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40677         Fix coding style in previous change.
40679         * sysdeps/unix/sysv/linux/kernel-features.h
40680         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40681         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40682         expression.
40683         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40684         later.
40686 2012-03-11  David S. Miller  <davem@davemloft.net>
40688         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40689         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40690         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40691         for 'resultvar' otherwise things get truncated on 64-bit.
40693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40694         Fix masking out of the most significant byte of random value used.
40696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40698 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40702 2012-03-09  David S. Miller  <davem@davemloft.net>
40704         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40705         variables with appropriate CPP guards.
40706         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40707         from the frame pointer, not the stack pointer.  Correct layout
40708         comments.  Fix test on resulting framesize and the management of
40709         the outregs buffer for pltexit.  Preserve floating point return
40710         values across _dl_call_pltexit call.
40711         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40712         framesize and the management of the outregs buffer for pltexit.
40713         Preserve floating point return values across _dl_call_pltexit
40714         call.
40715         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40716         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40717         (la_sparc64_gnu_pltexit): New functions.
40718         (print_exit): Fix format string for return register value.
40720 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40722         * sunrpc/Makefile (others): Add rpcgen.
40723         ($(objpfx)rpcgen): Remove special build rule and dependency on
40724         libc.
40725         * sunrpc/rpcgen.c: New file.
40727 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40729         [BZ #13673]
40730         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40731         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40732         * sysdeps/i386/crti.S: Likewise.
40733         * sysdeps/i386/crtn.S: Likewise.
40734         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40735         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40736         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40737         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40738         * sysdeps/sh/crti.S: Likewise.
40739         * sysdeps/sh/crtn.S: Likewise.
40740         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40742         [BZ #13673]
40743         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40744         with URL.
40745         * locale/programs/locfile-kw.gperf: Likewise.
40746         * locale/programs/charmap-kw.h: Regenerated.
40747         * locale/programs/locfile-kw.h: Likewise.
40749         [BZ #13673]
40750         * intl/plural.y: Replace FSF snail mail address with URL.
40751         * intl/plural.c: Regenerated.
40753 2012-03-09  Richard Henderson  <rth@twiddle.net>
40755         * include/math_private.h: Remove file.
40756         * math/math_private.h: Move file ...
40757         * sysdeps/generic/math_private.h: ... here.
40759         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40760         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40761         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40763         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40764         and <math_private.h>.
40765         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40766         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40767         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40768         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40769         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40770         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40771         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40772         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40773         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40774         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40776         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40777         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40778         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40779         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40780         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40781         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40782         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40783         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40784         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40786         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40787         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40789         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40790         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40791         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40792         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40793         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40794         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40795         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40796         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40797         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40798         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40799         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40800         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40801         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40802         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40803         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40804         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40805         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40806         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40807         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40808         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40809         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40810         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40811         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40812         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40813         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40814         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40815         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40816         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40817         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40818         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40819         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40820         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40821         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40822         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40823         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40824         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40825         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40826         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40827         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40828         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40829         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40830         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40831         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40832         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40833         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40834         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40835         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40836         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40837         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40838         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40839         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40841         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40842         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40843         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40844         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40845         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40848         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40849         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40851         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40852         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40853         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40854         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40855         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40856         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40857         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40858         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40859         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40860         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40861         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40862         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40863         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40865         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40866         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40867         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40868         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40869         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40870         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40871         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40872         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40873         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40875         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40876         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40877         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40878         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40879         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40880         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40881         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40882         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40883         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40884         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40885         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40886         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40887         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40888         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40889         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40890         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40891         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40892         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40893         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40894         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40895         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40896         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40897         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40898         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40899         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40900         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40901         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40902         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40903         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40904         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40905         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40906         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40907         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40908         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40909         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40910         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40911         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40912         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40913         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40914         * sysdeps/ieee754/k_standard.c: Likewise.
40915         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40916         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40917         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40919         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40920         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40921         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40922         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40923         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40925         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40926         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40927         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40928         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40929         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40930         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40931         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40932         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40937         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40938         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40941         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40946         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40988         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40989         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40999         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41001         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41002         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41003         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41030         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41034         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41035         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41037         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41042         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41046         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41047         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41050         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41058         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41060         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41061         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41064         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41065         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41075         * sysdeps/ieee754/s_lib_version.c: Likewise.
41076         * sysdeps/ieee754/s_matherr.c: Likewise.
41077         * sysdeps/ieee754/s_signgam.c: Likewise.
41078         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41079         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41080         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41081         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41082         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41083         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41084         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41085         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41086         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41087         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41088         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41089         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41090         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41091         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41092         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41093         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41094         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41095         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41096         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41100 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41102         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41103         * sunrpc/rpc_main.c: Likewise.
41104         * sunrpc/rpc_svcout.c: Likewise.
41106 2012-03-09  David S. Miller  <davem@davemloft.net>
41108         * include/math_private.h: New file.
41110 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41112         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41113         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41114         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41115         from <bits/socket_type.h>.
41116         (enum __socket_type): Don't define here.
41117         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41119         bits/socket_type.h.
41121         [BZ #13566]
41122         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41123         checking __USE_GNU.
41125         * Makerules ($(inst_includedir)/%.h): New rule.
41126         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41127         (install-others): Remove variable setting.
41128         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41130 2012-03-08  Richard Henderson  <rth@twiddle.net>
41132         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41133         from macro to inline function; merge with the
41134         !__LIBC_INTERNAL_MATH_INLINES version.
41135         (__ieee754_sqrtf): Likewise.
41137         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41138         to inline function.
41139         (__rintf, __floor, __floorf): Likewise.
41141         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41142         macro to inline function.
41143         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41145         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41146         not <math/math_private.h>.
41148 2012-03-08  David S. Miller  <davem@davemloft.net>
41150         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41151         copyright year.
41152         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41154 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41156         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41157         normalization.
41158         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41159         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41161 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41163         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41164         be defined individually, they must be defined as a block.  Define
41165         S for printing a string instead of hidint the different by using a
41166         macro for adding the 'l'.
41167         * stdio-common/tst-fphex-wide.c: Adjust.
41169 2012-03-07  Marek Polacek  <polacek@redhat.com>
41171         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41173 2012-03-08  Marek Polacek  <polacek@redhat.com>
41175         [BZ #13806]
41176         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41177         * stdio-common/tst-fphex.c: Define a few macros to make the
41178         test reusable.  Use them.
41179         * stdio-common/tst-fphex-wide.c: New file.
41181 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41183         [BZ #6911]
41184         * manual/macros.texi (gnusystems): New macro.
41185         (nongnusystems): Likewise.
41186         (gnulinuxhurdsystems): Likewise.
41187         (gnuhurdsystems): Likewise..
41188         (gnulinuxsystems): Likewise.
41189         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41190         variants of the GNU system, not "GNU system".
41191         * manual/conf.texi: Likewise.
41192         * manual/errno.texi: Likewise.  Update example of errno macro
41193         expansion.
41194         * manual/filesys.texi: Likewise.
41195         (getumask): Document as specific to GNU/Hurd.
41196         * manual/install.texi: Likewise.  Reword some references to
41197         GNU/Linux.
41198         * manual/intro.texi: Likewise.
41199         * manual/io.texi: Likewise.
41200         (File Name Portability): Detail which constraints are inapplicable
41201         to all GNU systems and which are only inapplicable to GNU/Hurd.
41202         * manual/job.texi: Likewise.
41203         * manual/llio.texi: Likewise.
41204         (O_NOCTTY): Document as present on GNU/Linux.
41205         * manual/maint.texi: Likewise.
41206         * manual/memory.texi: Likewise.
41207         * manual/pattern.texi: Likewise.
41208         * manual/pipe.texi: Likewise.
41209         * manual/process.texi: Likewise.
41210         * manual/resource.texi: Likewise.
41211         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41212         child on GNU/Hurd.
41213         * manual/setjmp.texi: Likewise.
41214         * manual/signal.texi: Likewise.
41215         * manual/startup.texi: Likewise.
41216         * manual/stdio.texi: Likewise.
41217         * manual/terminal.texi: Likewise.
41218         (ONLCR): Document as POSIX.
41219         (OXTABS): Document availability on GNU/Linux as XTABS.
41220         (ONOEOT): Document availability separately from other bits.
41221         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41222         * manual/time.texi: Likewise.
41223         * manual/users.texi: Likewise.
41224         * INSTALL: Regenerated.
41225         * sysdeps/gnu/errlist.c: Regenerated.
41227         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41228         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41229         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41230         puts.
41231         * configure: Regenerated.
41233 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41235         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41236         default includes instead of AC_HEADER_CHECK.
41237         * sysdeps/i386/configure: Regenerated.
41239         [BZ #10716]
41240         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41241         * math/s_cacoshf.c (__cacoshf): Likewise.
41242         * math/s_cacoshl.c (__cacoshl): Likewise.
41243         * math/s_casinh.c (__casinh): Set signs of result from argument.
41244         * math/s_casinhf.c (__casinhf): Likewise.
41245         * math/s_casinhl.c (__casinhl): Likewise.
41246         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41247         (casinh_test): Add more tests.
41248         * sysdeps/i386/fpu/libm-test-ulps: Update.
41249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41251 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41253         * po/zh_TW.po: Update from translation team.
41255         * login/Makefile (distribute): Remove variable.
41256         * catgets/Makefile: Likewise.
41257         * mach/Makefile: Likewise.
41258         * malloc/Makefile: Likewise.
41259         * misc/Makefile: Likewise.
41260         * iconv/Makefile: Likewise.
41261         * nscd/Makefile: Likewise.
41262         * hurd/Makefile: Likewise.
41263         * manual/Makefile: Likewise.
41264         * locale/Makefile: Likewise.
41265         * intl/Makefile: Likewise.
41266         * conform/Makefile: Likewise.
41267         * nss/Makefile: Likewise.
41268         * time/Makefile: Likewise.
41269         * soft-fp/Makefile: Likewise.
41270         * dirent/Makefile: Likewise.
41271         * gmon/Makefile: Likewise.
41272         * po/Makefile: Likewise.
41273         * rt/Makefile: Likewise.
41274         * socket/Makefile: Likewise.
41275         * math/Makefile: Likewise.
41276         * signal/Makefile: Likewise.
41277         * debug/Makefile: Likewise.
41278         * elf/Makefile: Likewise.
41279         * timezone/Makefile: Likewise.
41280         * stdlib/Makefile: Likewise.
41281         * iconvdata/Makefile: Likewise.
41282         * sunrpc/Makefile: Likewise.
41283         * io/Makefile: Likewise.
41284         * argp/Makefile: Likewise.
41285         * inet/Makefile: Likewise.
41286         * hesiod/Makefile: Likewise.
41287         * grp/Makefile: Likewise.
41288         * csu/Makefile: Likewise.
41289         * wctype/Makefile: Likewise.
41290         * crypt/Makefile: Likewise.
41291         * libio/Makefile: Likewise.
41292         * string/Makefile: Likewise.
41293         * nis/Makefile: Likewise.
41294         * resolv/Makefile: Likewise.
41295         * stdio-common/Makefile: Likewise.
41296         * wcsmbs/Makefile: Likewise.
41297         * dlfcn/Makefile: Likewise.
41298         * posix/Makefile: Likewise.
41300         [BZ #6959]
41301         * timezone/Makefile: Don't install timezone files, just the programs
41302         and scripts.
41304 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41306         * nss/databases.def: Add missing gshadow entry.
41308         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41310 2012-03-06  Marek Polacek  <polacek@redhat.com>
41312         [BZ #13726]
41313         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41314         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41315         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41316         * stdio-common/tst-long-dbl-fphex.c: New file.
41318 2012-03-06  David S. Miller  <davem@davemloft.net>
41320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41321         (set_obp_int): New function.
41322         (get_obp_int): New function.
41323         (__get_clockfreq_via_dev_openprom): Likewise.
41324         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41325         Avoid unused variable warnings on 'val' and use builtin_expect.
41326         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41327         __builtin_expect.
41328         (INLINE_CLONE_SYSCALL): Likewise.
41330 2012-03-05  David S. Miller  <davem@davemloft.net>
41332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41334 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41338         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41339         only for |x| >= 40.
41340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41342 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41344         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41345         Replace gettimeofday with __vdso_gettimeofday.
41347         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41348         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41349         __vdso_clock_gettime and __vdso_getcpu.
41351         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41352         time with __vdso_time.
41354 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41356         * manual/lang.texi (size_t): Note types to which size_t may be
41357         equivalent with the GNU C Library, but do not describe when
41358         differences between them are significant.
41360 2012-03-05  Andreas Jaeger  <aj@suse.de>
41362         * sysdeps/i386/fpu/libm-test-ulps: Update.
41364 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41366         [BZ #3976]
41367         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41368         (__ieee754_pow): Save and restore rounding mode and use
41369         round-to-nearest for main computations.
41370         * math/libm-test.inc (pow_test_tonearest): New function.
41371         (pow_test_towardzero): Likewise.
41372         (pow_test_downward): Likewise.
41373         (pow_test_upward): Likewise.
41374         (main): Call the new functions.
41375         * sysdeps/i386/fpu/libm-test-ulps: Update.
41376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41378         [BZ #3976]
41379         * math/libm-test.inc (cosh_test_tonearest): New function.
41380         (cosh_test_towardzero): Likewise.
41381         (cosh_test_downward): Likewise.
41382         (cosh_test_upward): Likewise.
41383         (sinh_test_tonearest): Likewise.
41384         (sinh_test_towardzero): Likewise.
41385         (sinh_test_downward): Likewise.
41386         (sinh_test_upward): Likewise.
41387         (main): Call the new functions.
41388         * sysdeps/i386/fpu/libm-test-ulps: Update.
41389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41391 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41393         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41394         default stack guard is set in last bytes.
41395         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41397 2012-03-05  Kees Cook  <keescook@chromium.org>
41399         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41401         [BZ #13656]
41402         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41403         possibly allocate from heap instead of stack.
41404         * stdio-common/bug-vfprintf-nargs.c: New file.
41405         * stdio-common/Makefile (tests): Add nargs overflow test.
41407 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41411 2012-03-03  Marek Polacek  <polacek@redhat.com>
41413         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41414         * math/math_private.h: Likewise.
41415         * stdlib/tst-strtod.c: Likewise.
41416         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41417         * sysdeps/x86_64/bits/atomic.h: Likewise.
41419 2012-03-02  David S. Miller  <davem@davemloft.net>
41421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41425         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41426         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41427         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41428         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41430 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41432         [BZ #13792]
41433         * manual/examples/README: New file, says the example source files
41434         can be used under GPL>=2.
41435         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41436         line containing just "*/".
41437         * manual/examples/add.c: Add copyright header (GPL>=2).
41438         * manual/examples/argp-ex1.c: Likewise.
41439         * manual/examples/argp-ex2.c: Likewise.
41440         * manual/examples/argp-ex3.c: Likewise.
41441         * manual/examples/argp-ex4.c: Likewise.
41442         * manual/examples/atexit.c: Likewise.
41443         * manual/examples/db.c: Likewise.
41444         * manual/examples/dir.c: Likewise.
41445         * manual/examples/dir2.c: Likewise.
41446         * manual/examples/execinfo.c: Likewise.
41447         * manual/examples/filecli.c: Likewise.
41448         * manual/examples/filesrv.c: Likewise.
41449         * manual/examples/fmtmsgexpl.c: Likewise.
41450         * manual/examples/genpass.c: Likewise.
41451         * manual/examples/inetcli.c: Likewise.
41452         * manual/examples/inetsrv.c: Likewise.
41453         * manual/examples/isockad.c: Likewise.
41454         * manual/examples/longopt.c: Likewise.
41455         * manual/examples/memopen.c: Likewise.
41456         * manual/examples/memstrm.c: Likewise.
41457         * manual/examples/mkfsock.c: Likewise.
41458         * manual/examples/mkisock.c: Likewise.
41459         * manual/examples/mygetpass.c: Likewise.
41460         * manual/examples/pipe.c: Likewise.
41461         * manual/examples/popen.c: Likewise.
41462         * manual/examples/rprintf.c: Likewise.
41463         * manual/examples/search.c: Likewise.
41464         * manual/examples/select.c: Likewise.
41465         * manual/examples/setjmp.c: Likewise.
41466         * manual/examples/sigh1.c: Likewise.
41467         * manual/examples/sigusr.c: Likewise.
41468         * manual/examples/stpcpy.c: Likewise.
41469         * manual/examples/strdupa.c: Likewise.
41470         * manual/examples/strftim.c: Likewise.
41471         * manual/examples/strncat.c: Likewise.
41472         * manual/examples/subopt.c: Likewise.
41473         * manual/examples/swapcontext.c: Likewise.
41474         * manual/examples/termios.c: Likewise.
41475         * manual/examples/testopt.c: Likewise.
41476         * manual/examples/testpass.c: Likewise.
41477         * manual/examples/timeval_subtract.c: Likewise.
41479         [BZ #13792]
41480         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41481         function to ...
41482         * manual/timeval_subtract.c.texi: ... here, new file.
41484 2012-03-02  David S. Miller  <davem@davemloft.net>
41486         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41488 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41490         [BZ #3976]
41491         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41492         (__sin): Save and restore rounding mode and use round-to-nearest
41493         for all computations.
41494         (__cos): Save and restore rounding mode and use round-to-nearest
41495         for all computations.
41496         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41497         <fenv.h>.
41498         (tan): Save and restore rounding mode and use round-to-nearest for
41499         all computations.
41500         * math/libm-test.inc (cos_test_tonearest): New function.
41501         (cos_test_towardzero): Likewise.
41502         (cos_test_downward): Likewise.
41503         (cos_test_upward): Likewise.
41504         (sin_test_tonearest): Likewise.
41505         (sin_test_towardzero): Likewise.
41506         (sin_test_downward): Likewise.
41507         (sin_test_upward): Likewise.
41508         (tan_test_tonearest): Likewise.
41509         (tan_test_towardzero): Likewise.
41510         (tan_test_downward): Likewise.
41511         (tan_test_upward): Likewise.
41512         (main): Call the new functions.
41513         * sysdeps/i386/fpu/libm-test-ulps: Update.
41514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41516         [BZ #10135]
41517         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41518         small n, then large n, before computing and testing k+n.
41519         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41521         Likewise.
41522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41523         Likewise.
41524         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41525         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41526         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41527         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41528         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41529         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41530         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41531         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41532         * math/libm-test.inc (scalbn_test): Add more tests.
41533         (scalbln_test): Likewise.
41535         * manual/filesys.texi (mode_t): Describe constraints on size and
41536         signedness, not exact equivalence to a particular type.
41537         (ino_t): Likewise.
41538         (ino64_t): Likewise.
41539         (dev_t): Likewise.
41540         (nlink_t): Likewise.
41541         (blkcnt_t): Likewise.
41542         (blkcnt64_t): Likewise.
41543         * manual/llio.texi (off_t): Likewise.
41545         [BZ #3976]
41546         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41547         (__ieee754_exp): Save and restore rounding mode and use
41548         round-to-nearest for all computations.
41549         * math/libm-test.inc (exp_test_tonearest): New function.
41550         (exp_test_towardzero): Likewise.
41551         (exp_test_downward): Likewise.
41552         (exp_test_upward): Likewise.
41553         (main): Call the new functions.
41554         * sysdeps/i386/fpu/libm-test-ulps: Update.
41555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41557 2012-03-01  Chris Demetriou  <cgd@google.com>
41559         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41560         have predictable order.
41562 2012-03-01  David S. Miller  <davem@davemloft.net>
41564         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41566         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41567         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41568         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41569         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41571         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41572         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41573         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41575         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41576         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41577         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41578         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41579         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41583         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41584         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41585         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41587         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41588         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41589         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41590         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41591         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41592         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41593         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41594         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41595         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41596         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41597         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41598         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41601         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41603         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41604         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41605         * sysdeps/sparc/elf/configure: Regenerated.
41607 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41609         * configure.in (AS, LD): Require binutils 2.20 or later.
41610         * configure: Regenerated.
41611         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41612         as required minimum version.
41613         * INSTALL: Regenerated.
41615         [BZ #2541]
41616         [BZ #4108]
41617         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41618         before squaring exponent.
41619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41620         bottom long double and 27 bits of top long double before squaring
41621         exponent.
41622         * math/libm-test.inc (erfc_test): Add more tests.
41623         * sysdeps/i386/fpu/libm-test-ulps: Update.
41624         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41627 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41629         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41630         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41631         containing bit-fields.
41632         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41633         * soft-fp/single.h (_FP_UNION_S): Likewise.
41634         * soft-fp/double.h (_FP_UNION_D): Likewise.
41636 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41638         [BZ #13786]
41639         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41640         not include ../strcmp.S.
41641         [USE_AS_STRNCASECMP_L]: Likewise.
41642         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41643         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41644         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41645         (__strncasecmp_l_ia32): Define as alias to
41646         __strncasecmp_l_nonascii.
41648         [BZ #5794]
41649         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41650         * sysdeps/i386/fpu/libm-test-ulps: Update.
41651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41653         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41656 2012-02-29  Jeff Law  <law@redhat.com>
41658         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41659         out of bounds read.
41661 2012-02-29  Marek Polacek  <polacek@redhat.com>
41663         [BZ #13706]
41664         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41665         * elf/Makefile: Add rules to run tst-unused-dep.out.
41667 2012-02-28  David S. Miller  <davem@davemloft.net>
41669         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41670         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41673         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41674         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41676 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41678         * math/libm-test.inc (llround_test): Move one test from
41679         lround_test.  Use TEST_f_L in moved test.
41680         (lround_test): Move misplaced test to llround_test.  Add testcase
41681         from bug 2561.
41683 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41685         * sysdeps/x86_64/fpu/e_expf.S: New file.
41686         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41688 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41690         [BZ #13637]
41691         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41692         of remain_len that may cause incomplete multi-byte character and
41693         false match.
41694         * posix/bug-regex33.c: New file.
41695         * posix/Makefile (tests): Add bug-regex33.
41697 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41699         * manual/macros.texi: New file.
41700         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41701         * manual/libc.texinfo: Include macros.texi.
41702         * manual/creatute.texi: Likewise.
41703         * manual/install.texi: Likewise.
41704         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41705         @glibcadj{} in references to the GNU C Library.
41706         * manual/charset.texi: Likewise.
41707         * manual/conf.texi: Likewise.
41708         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41709         when not using those macros.
41710         * manual/creature.texi: Likewise.
41711         * manual/crypt.texi: Likewise.
41712         * manual/errno.texi: Likewise.
41713         * manual/filesys.texi: Likewise.
41714         * manual/header.texi: Likewise.
41715         * manual/install.texi: Likewise.
41716         * manual/intro.texi: Likewise.
41717         * manual/io.texi: Likewise.
41718         * manual/job.texi: Likewise.
41719         * manual/lang.texi: Likewise.
41720         * manual/libc.texiinfo: Likewise.
41721         * manual/llio.texi: Likewise.
41722         * manual/locale.texi: Likewise.
41723         * manual/maint.texi: Likewise.
41724         * manual/math.texi: Likewise.
41725         * manual/memory.texi: Likewise.
41726         * manual/message.texi: Likewise.
41727         * manual/nss.texi: Likewise.
41728         * manual/pattern.texi: Likewise.
41729         * manual/process.texi: Likewise.
41730         * manual/resource.texi: Likewise.
41731         * manual/search.texi: Likewise.
41732         * manual/setjmp.texi: Likewise.
41733         * manual/signal.texi: Likewise.
41734         * manual/socket.texi: Likewise.
41735         * manual/startup.texi: Likewise.
41736         * manual/stdio.texi: Likewise.
41737         * manual/string.texi: Likewise.
41738         * manual/sysinfo.texi: Likewise.
41739         * manual/syslog.texi: Likewise.
41740         * manual/terminal.texi: Likewise.
41741         * manual/time.texi: Likewise.
41742         * manual/users.texi: Likewise.
41743         * INSTALL: Regenerated.
41744         * NOTES: Regenerated.
41745         * sysdeps/gnu/errlist.c: Regenerated.
41747 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41749         * include/dirent.h: Include <dirstream.h> before
41750         <dirent/dirent.h>.
41752 2012-02-28  David S. Miller  <davem@davemloft.net>
41754         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41755         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41756         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41757         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41759 2012-02-27  David S. Miller  <davem@davemloft.net>
41761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41763         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41764         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41767         frame pointer instead of stack pointer relative arg slot.
41768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41769         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41770         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41772 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41774         [BZ #3992]
41775         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41777 2012-02-27  David S. Miller  <davem@davemloft.net>
41779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41783         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41784         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41785         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41786         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41788 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41790         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41791         later.  Allow versions 5-9.
41792         * configure: Regenerated.
41793         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41794         required minimum version and 4.6 as recommended version.  Do not
41795         mention bugs in GCC 2.7 and 2.8.
41796         * INSTALL: Regenerated.
41798 2012-02-27  David S. Miller  <davem@davemloft.net>
41800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41804         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41805         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41806         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41807         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41810         manipulate bits before adding and subtracting TWO112[sx].
41811         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41813 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41815         [BZ #13775]
41816         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41817         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41818         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41819         being in POSIX, because they are in 1003.1-2008.
41821         * rt/tst-aio.c: Include <fcntl.h>.
41822         * rt/tst-aio7.c: Likewise.
41823         * rt/tst-aio64.c: Likewise.
41825         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41827 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41829         * manual/install.texi (--with-headers): Describe headers as
41830         interface headers, not private headers.
41831         (Specific advice for GNU/Linux systems): Describe use of headers
41832         from "make headers_install", not private headers from older
41833         kernels.
41834         * INSTALL: Regenerated.
41835         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41836         Change to 2.6.19.
41837         * sysdeps/unix/sysv/linux/configure: Regenerated.
41839         * manual/llio.texi (fclean): Remove documentation.
41841         * manual/Makefile (libc-texi-generated): New variable.  Include
41842         version.texi.
41843         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41844         $(libc-texi-generated), not duplicated list of files.
41845         (version.texi, stamp-version): New rules.
41846         (realclean): Remove $(libc-texi-generated), not individual files
41847         from that list.  Do not remove dir-add.texinfo.
41848         * manual/libc.texinfo: Comment out uses of edition numbers and
41849         references to printed manual.  Remove last-updated dates.
41850         (EDITION): Comment out.
41851         (ISBN): Likewise.
41852         (VERSION, UPDATED): Remove.
41853         (version.texi): Include.
41855 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41857         * sysdeps/posix/spawni.c: Include <signal.h>.
41858         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41859         * sysdeps/pthread/aio_fsync.c: Likewise.
41861 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41863         * conform/Makefile (tests): Run only when not cross-compiling and
41864         when fast-check is not defined.
41866         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41867         * conform/data/limits.h-data: Fixes for POSIX2008.
41868         * conform/run-conformtest.sh: Run all tests.
41869         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41870         headers.
41871         * include/bits/dlfcn.h: Likewise.
41872         * include/langinfo.h: Likewise.
41873         * include/monetary.h: Likewise.
41874         * include/sys/poll.h: Likewise.
41876         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41877         for __USE_GNU.
41878         * posix/spawn.h: Define __need_sigset_t.
41879         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41880         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41881         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41882         to get sigevent_t only.
41883         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41884         only for __USE_GNU.
41885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41886         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41887         process_vm_writev only for __USE_GNU.
41888         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41890         * conform/Makefile: For now ignore errors from run-conformtest.
41891         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41892         POSIX to avoid namespace pollution.  Don't prepend headers.
41893         * conform/data/aio.h-data: Fixes for POSIX testing.
41894         * conform/data/fcntl.h-data: Likewise.
41895         * conform/data/glob.h-data: Likewise.
41896         * conform/data/grp.h-data: Likewise.
41897         * conform/data/pthread.h-data: Likewise.
41898         * conform/data/pwd.h-data: Likewise.
41899         * conform/data/signal.h-data: Likewise.
41900         * conform/data/spawn.h-data: Likewise.
41901         * conform/data/stdio.h-data: Likewise.
41902         * conform/data/stdlib.h-data: Likewise.
41903         * conform/data/stropts.h-data: Likewise.
41904         * conform/data/sys/mman.h-data: Likewise.
41905         * conform/data/sys/stat.h-data: Likewise.
41906         * conform/data/sys/types.h-data: Likewise.
41907         * conform/data/sys/wait.h-data: Likewise.
41908         * conform/data/time.h-data: Likewise.
41909         * conform/data/unistd.h-data: Likewise.
41910         * conform/data/utime.h-data: Likewise.
41912         * io/sys/stat.h: fchmod was always in POSIX.
41913         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41914         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41915         * rt/aio.h: Define __need_timespec before including <time.h>.
41916         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41917         struct.  Add forward declaration of pthread_attr_t and use it in
41918         sigevent.
41919         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41920         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41921         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41922         always remove CLK_TCK definition.
41924 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41926         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41928 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41930         * conform/run-conformtest.sh: New file.
41931         * conform/Makefile: Run run-conformtest for tests.
41932         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41933         support.
41935         * conform/data/uchar.h-data: New file.
41936         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41937         * conform/data/arpa/inet.h-data: Likewise.
41938         * conform/data/assert.h-data: Likewise.
41939         * conform/data/complex.h-data: Likewise.
41940         * conform/data/cpio.h-data: Likewise.
41941         * conform/data/ctype.h-data: Likewise.
41942         * conform/data/dirent.h-data: Likewise.
41943         * conform/data/dlfcn.h-data: Likewise.
41944         * conform/data/errno.h-data: Likewise.
41945         * conform/data/fcntl.h-data: Likewise.
41946         * conform/data/float.h-data: Likewise.
41947         * conform/data/fmtmsg.h-data: Likewise.
41948         * conform/data/fnmatch.h-data: Likewise.
41949         * conform/data/ftw.h-data: Likewise.
41950         * conform/data/glob.h-data: Likewise.
41951         * conform/data/grp.h-data: Likewise.
41952         * conform/data/iconv.h-data: Likewise.
41953         * conform/data/inttypes.h-data: Likewise.
41954         * conform/data/langinfo.h-data: Likewise.
41955         * conform/data/libgen.h-data: Likewise.
41956         * conform/data/limits.h-data: Likewise.
41957         * conform/data/locale.h-data: Likewise.
41958         * conform/data/math.h-data: Likewise.
41959         * conform/data/monetary.h-data: Likewise.
41960         * conform/data/mqueue.h-data: Likewise.
41961         * conform/data/ndbm.h-data: Likewise.
41962         * conform/data/net/if.h-data: Likewise.
41963         * conform/data/netdb.h-data: Likewise.
41964         * conform/data/netinet/in.h-data: Likewise.
41965         * conform/data/nl_types.h-data: Likewise.
41966         * conform/data/poll.h-data: Likewise.
41967         * conform/data/pthread.h-data: Likewise.
41968         * conform/data/pwd.h-data: Likewise.
41969         * conform/data/regex.h-data: Likewise.
41970         * conform/data/sched.h-data: Likewise.
41971         * conform/data/search.h-data: Likewise.
41972         * conform/data/semaphore.h-data: Likewise.
41973         * conform/data/setjmp.h-data: Likewise.
41974         * conform/data/signal.h-data: Likewise.
41975         * conform/data/spawn.h-data: Likewise.
41976         * conform/data/stdarg.h-data: Likewise.
41977         * conform/data/stdio.h-data: Likewise.
41978         * conform/data/stdlib.h-data: Likewise.
41979         * conform/data/string.h-data: Likewise.
41980         * conform/data/strings.h-data: Likewise.
41981         * conform/data/stropts.h-data: Likewise.
41982         * conform/data/sys/ipc.h-data: Likewise.
41983         * conform/data/sys/mman.h-data: Likewise.
41984         * conform/data/sys/msg.h-data: Likewise.
41985         * conform/data/sys/resource.h-data: Likewise.
41986         * conform/data/sys/select.h-data: Likewise.
41987         * conform/data/sys/sem.h-data: Likewise.
41988         * conform/data/sys/shm.h-data: Likewise.
41989         * conform/data/sys/socket.h-data: Likewise.
41990         * conform/data/sys/stat.h-data: Likewise.
41991         * conform/data/sys/statvfs.h-data: Likewise.
41992         * conform/data/sys/time.h-data: Likewise.
41993         * conform/data/sys/timeb.h-data: Likewise.
41994         * conform/data/sys/times.h-data: Likewise.
41995         * conform/data/sys/types.h-data: Likewise.
41996         * conform/data/sys/uio.h-data: Likewise.
41997         * conform/data/sys/un.h-data: Likewise.
41998         * conform/data/sys/utsname.h-data: Likewise.
41999         * conform/data/sys/wait.h-data: Likewise.
42000         * conform/data/syslog.h-data: Likewise.
42001         * conform/data/tar.h-data: Likewise.
42002         * conform/data/termios.h-data: Likewise.
42003         * conform/data/utime.h-data: Likewise.
42004         * conform/data/utmpx.h-data: Likewise.
42005         * conform/data/varargs.h-data: Likewise.
42006         * conform/data/wchar.h-data: Likewise.
42007         * conform/data/wctype.h-data: Likewise.
42008         * conform/data/wordexp.h-data: Likewise.
42010         * include/stropts.h: New file.
42011         * include/uchar.h: New file.
42012         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42013         * include/assert.h: Likewise.
42014         * include/ctype.h: Likewise.
42015         * include/dirent.h: Likewise.
42016         * include/dlfcn.h: Likewise.
42017         * include/fcntl.h: Likewise.
42018         * include/fnmatch.h: Likewise.
42019         * include/glob.h: Likewise.
42020         * include/grp.h: Likewise.
42021         * include/libio.h: Likewise.
42022         * include/locale.h: Likewise.
42023         * include/math.h: Likewise.
42024         * include/net/if.h: Likewise.
42025         * include/netdb.h: Likewise.
42026         * include/netinet/in.h: Likewise.
42027         * include/pthread.h: Likewise.
42028         * include/pwd.h: Likewise.
42029         * include/regex.h: Likewise.
42030         * include/sched.h: Likewise.
42031         * include/search.h: Likewise.
42032         * include/setjmp.h: Likewise.
42033         * include/signal.h: Likewise.
42034         * include/stdio.h: Likewise.
42035         * include/stdlib.h: Likewise.
42036         * include/string.h: Likewise.
42037         * include/sys/cdefs.h: Likewise.
42038         * include/sys/mman.h: Likewise.
42039         * include/sys/msg.h: Likewise.
42040         * include/sys/resource.h: Likewise.
42041         * include/sys/select.h: Likewise.
42042         * include/sys/socket.h: Likewise.
42043         * include/sys/stat.h: Likewise.
42044         * include/sys/statvfs.h: Likewise.
42045         * include/sys/time.h: Likewise.
42046         * include/sys/times.h: Likewise.
42047         * include/sys/uio.h: Likewise.
42048         * include/sys/utsname.h: Likewise.
42049         * include/sys/wait.h: Likewise.
42050         * include/termios.h: Likewise.
42051         * include/time.h: Likewise.
42052         * include/ulimit.h: Likewise.
42053         * include/unistd.h: Likewise.
42054         * include/utime.h: Likewise.
42055         * include/wchar.h: Likewise.
42056         * include/wctype.h: Likewise.
42057         * include/wordexp.h: Likewise.
42059         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42061         * time/time.h: TIME_UTC must be a macro.
42062         Make timespec_get available for ISO C11 only as well.
42064 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42066         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42067         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42069 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42071         * configure.in: Use -o not -a in test for unsupported multi-arch.
42073 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42075         * manual/texinfo.tex: Update to version 2012-01-19.16.
42077 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42079         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42081 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42083         [BZ #13738]
42084         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42085         * manual/fdl-1.3.texi: New file.
42086         * manual/fdl-1.1.texi: File removed.
42088         [BZ #13738]
42089         * manual/libc.texinfo (FDL_VERSION): New @set.
42090         Use it for mention of FDL in cover text.
42091         (Documentation License): Use it in @include file name.
42093 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42094             Roland McGrath  <roland@hack.frob.com>
42096         [BZ #5461]
42097         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42098         (not LONG_LONG_MAX and LONG_LONG_MIN.
42099         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42100         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42101         name.
42102         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42104 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42106         [BZ #2547]
42107         [BZ #11365]
42108         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42109         manipulate bits before adding and subtracting TWO23[sx].
42110         * math/libm-test.inc (nearbyint_test): Add more tests.
42112 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42114         [BZ #2548]
42115         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42116         bits before adding and subtracting TWO23[sx].
42117         * math/libm-test.inc (rint_test): Add more tests.
42118         (rint_test_tonearest): Likewise.
42119         (rint_test_towardzero): Likewise.
42120         (rint_test_downward): Likewise.
42121         (rint_test_upward: Likewise.
42123 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42125         [BZ #10110]
42126         * include/stdc-predef.h: New file.  Extracted from features.h.
42127         * include/features.h: Include stdc-predef.h.
42128         * Makefile (headers): Add stdc-predef.h.
42129         * CONFORMANCE (Compiler limitations): Update.
42131 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42133         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42135 2012-02-21  David S. Miller  <davem@davemloft.net>
42137         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42138         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42140 2012-02-20  David S. Miller  <davem@davemloft.net>
42142         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42143         using a normal save/restore sequence, rather than allocating a
42144         dummy stack frame just to store a frame pointer and restore.
42145         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42147 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42149         * manual/install.texi: Fix stray word in line-wrapped comment.
42151 2012-02-20  David S. Miller  <davem@davemloft.net>
42153         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42154         both binutils and gcc support GOTDATA.
42156         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42157         "rd %pc" in the PIC register setup sequences.
42159         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42160         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42161         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42162         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42163         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42164         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42165         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42166         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42168         (SYSCALL_ERROR_HANDLER): Likewise.
42169         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42170         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42172         (SYSCALL_ERROR_HANDLER): Likewise.
42174         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42175         (HAVE_GCC_GOTDATA): New.
42176         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42177         relocation support in both binutils and gcc.
42178         * sysdeps/sparc/elf/configure: Regenerate.
42180         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42181         * sysdeps/sparc/sparc32/elf/configure: Delete.
42182         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42183         * sysdeps/sparc/sparc64/elf/configure: Delete.
42184         * sysdeps/sparc/elf/configure.in: New file.
42185         * sysdeps/sparc/elf/configure: Generate.
42187         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42188         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42189         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42190         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42191         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42193 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42195         * manual/install.texi: Do not mention specific glibc version
42196         numbers.
42197         * manual/libc.texinfo (VERSION, UPDATED): Update.
42198         (@copying): Use @copyright{} and range of years.
42200 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42202         [BZ #13695]
42203         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42204         [crti.S not in sysdirs] (generated): Do not append.
42205         [crti.S not in sysdirs] (omit-deps): Likewise.
42206         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42207         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42208         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42209         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42210         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42211         Likewise.
42212         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42213         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42214         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42215         * csu/defs.awk: Remove file.
42216         * sysdeps/generic/initfini.c: Likewise.
42217         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42218         variable.
42219         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42220         Likewise.
42222 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42224         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42225         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42226         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42227         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42229         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42230         <bits/epoll.h>.
42231         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42232         (__EPOLL_PACKED): Define to empty if not defined by
42233         <bits/epoll.h>.
42234         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42236         bits/epoll.h.
42238 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42240         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42241         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42242         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42243         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42244         <bits/timerfd.h>.
42245         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42247         bits/timerfd.h.
42249 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42251         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42252         in C locale.
42253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42254         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42255         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42258 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42261         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42263 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42265         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42266         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42267         defined.
42268         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42269         Likewise.
42270         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42271         entry for 2.16.
42273 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42275         * math/w_acos.c: Use non-signaling floating-point comparisons.
42276         * math/w_acosf.c: Likewise.
42277         * math/w_acosh.c: Likewise.
42278         * math/w_acoshf.c: Likewise.
42279         * math/w_acoshl.c: Likewise.
42280         * math/w_acosl.c: Likewise.
42281         * math/w_asin.c: Likewise.
42282         * math/w_asinf.c: Likewise.
42283         * math/w_asinl.c: Likewise.
42284         * math/w_atanh.c: Likewise.
42285         * math/w_atanhf.c: Likewise.
42286         * math/w_atanhl.c: Likewise.
42287         * math/w_exp2.c: Likewise.
42288         * math/w_exp2f.c: Likewise.
42289         * math/w_exp2l.c: Likewise.
42290         * math/w_j0.c: Likewise.
42291         * math/w_j0f.c: Likewise.
42292         * math/w_j0l.c: Likewise.
42293         * math/w_j1.c: Likewise.
42294         * math/w_j1f.c: Likewise.
42295         * math/w_j1l.c: Likewise.
42296         * math/w_jn.c: Likewise.
42297         * math/w_jnf.c: Likewise.
42298         * math/w_log.c: Likewise.
42299         * math/w_log10.c: Likewise.
42300         * math/w_log10f.c: Likewise.
42301         * math/w_log10l.c: Likewise.
42302         * math/w_log2.c: Likewise.
42303         * math/w_log2f.c: Likewise.
42304         * math/w_log2l.c: Likewise.
42305         * math/w_logf.c: Likewise.
42306         * math/w_logl.c: Likewise.
42307         * math/w_sqrt.c: Likewise.
42308         * math/w_sqrtf.c: Likewise.
42309         * math/w_sqrtl.c: Likewise.
42310         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42311         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42312         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42313         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42314         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42316 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42318         [BZ #9739]
42319         * manual/string.texi (strnlen): Use correct parameter name in
42320         equivalent expression.
42322 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42324         [BZ #11174]
42325         * manual/users.texi (seteuid): Consistently use neweuid for
42326         argument name.
42328 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42330         [BZ #13704]
42331         * manual/nss.texi (Services in the NSS configuration): Correct
42332         list of services in example configuration file.
42334 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42336         [BZ #11322]
42337         * manual/arith.texi: Remove statements about negative zero
42338         behaving identically to zero.
42340 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42342         [BZ #5993]
42343         * manual/install.texi: Do not document upgrading from libc5.
42345 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42347         [BZ #4596]
42348         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42350 2012-02-18  David S. Miller  <davem@davemloft.net>
42352         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42353         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42354         %o7 across the call.
42355         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42356         instead.
42357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42358         SETUP_PIC_REG_LEAF.
42359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42360         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42361         * sysdeps/sparc/crtn.S: Likewise.
42363 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42365         * aout/Makefile: Remove.
42367 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42369         [BZ #13058]
42370         * manual/examples/argp-ex1.c (main): Format definition in GNU
42371         style.
42372         * manual/examples/argp-ex2.c (main): Likewise.
42373         * manual/examples/argp-ex3.c (main): Likewise.
42374         * manual/examples/argp-ex4.c (main): Likewise.
42375         * manual/examples/longopt.c (main): Use new-style prototype
42376         definition.
42377         * manual/examples/strncat.c (main): Specify return type and use
42378         (void) for arguments.
42379         * manual/examples/subopt.c (main): Use char **argv argument.
42381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42383         [BZ #5077]
42384         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42385         rounding modes.
42387 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42389         [BZ #6907]
42390         * manual/string.texi (strchr): Change when strchrnul is
42391         recommended.
42393 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42395         [BZ #174]
42396         * manual/locale.texi (setlocale): Document LOCPATH.
42398 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42400         [BZ #10210]
42401         * manual/process.texi (execle): Move @dots{} before last argument.
42403 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42405         [BZ #12047]
42406         * manual/charset.texi (Generic Charset Conversion): Fix typo
42407         (LC_TYPE -> LC_CTYPE).
42409 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42411         [BZ #5805]
42412         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42413         (scalbnf): Likewise.
42414         (scalbnl): Likewise.
42415         (scalbln): Likewise.
42416         (scalblnf): Likewise.
42417         (scalblnl): Likewise.
42418         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42419         (vwarnx): Likewise.
42420         (verr): Likewise.
42421         (verrx): Likewise.
42422         * manual/filesys.texi (telldir): Use braces around return type.
42423         * manual/llio.texi (mmap): Add space after comma.
42424         (mmap64): Likewise.
42425         * manual/math.texi (jn): Use @var{} on parameter names.
42426         (jnf): Likewise.
42427         (jnl): Likewise.
42428         (yn): Likewise.
42429         (ynf): Likewise.
42430         (ynl): Likewise.
42431         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42432         line.
42433         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42434         "...".
42435         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42436         (sched_get_priority_max): Likewise.
42437         * manual/signal.texi (sigvec): Add space after comma.
42438         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42439         names.
42440         (if_indextoname): Likewise.
42441         (if_freenameindex): Likewise.
42442         (sendto): Use ',' instead of '.' in prototype.
42443         * manual/startup.texi (syscall): Use @dots{} instead of literal
42444         "...".
42445         * manual/stdio.texi (__fpending): Separate initial words of
42446         paragraph from @deftypefun line.
42447         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42448         "...".
42449         (vsyslog): Use @var{} on parameter names.
42450         * manual/terminal.texi (stty): Use @var{} on parameter names.
42451         * manual/users.texi (getutmp): Use @var{} on parameter names.
42452         (getutmpx): Likewise.
42454 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42456         [BZ #6884]
42457         * manual/stdio.texi (fopen): Fix typos in description of
42458         ",ccs=STRING".
42460 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42462         [BZ #4026]
42463         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42464         get clock_id definition.
42466 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42468         [BZ #4822]
42469         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42470         (madvise): Cast every argument to void on its own.
42472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42474         [BZ #9902]
42475         * manual/startup.texi (Exit Status): Fix typo.
42477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42479         [BZ #10140]
42480         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42481         * manual/examples/argp-ex2.c: Likewise.
42482         * manual/examples/argp-ex3.c: Likewise.
42484 2012-02-16  Richard Henderson  <rth@redhat.com>
42486         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42487         * sysdeps/s390/s390-32/initfini.c: Remove.
42488         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42489         * sysdeps/s390/s390-64/initfini.c: Remove.
42491 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42493         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42494         compiler output for sysdeps/generic/initfini.c.
42495         * sysdeps/sh/elf/initfini.c: Remove file.
42497 2012-02-16  David S. Miller  <davem@davemloft.net>
42499         [BZ #11494]
42500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42502         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42503         * sysdeps/sparc/crti.S: New file.
42504         * sysdeps/sparc/crtn.S: New file.
42505         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42506         * sysdeps/sparc/sparc64/Makefile: Likewise.
42508 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42510         [BZ #3335]
42511         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42513 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42515         [BZ #4822]
42516         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42518         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42519         (write, read, close): Likewise.
42520         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42522 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42524         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42525         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42526         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42527         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42528         <bits/signalfd.h>.
42529         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42531         bits/signalfd.h.
42533 2012-02-14  Marek Polacek  <polacek@redhat.com>
42535         * sysdeps/x86_64/crti.S: New file.
42536         * sysdeps/x86_64/crtn.S: New file.
42537         * sysdeps/x86_64/elf/initfini.c: Remove file.
42539 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42541         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42542         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42543         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42544         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42545         <bits/inotify.h>.
42546         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42548         bits/inotify.h.
42550 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42552         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42553         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42554         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42555         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42556         <bits/eventfd.h>.
42557         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42559         bits/eventfd.h.
42561 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42563         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42564         __feraiseexcept instead of feraiseexcept.
42566         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42567         nanosleep invocations.
42568         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42569         strings, and add error checking for a nanosleep invocations.
42571 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42573         Replace FSF snail mail address with URLs, as per GNU coding standards.
42574         Most of the snail mail addresses were wrong anyway, and omitting
42575         them makes the source code easier to maintain.  Almost all of the
42576         changes are to license notices and to locale LC_IDENTIFICATION
42577         addresses, except for this one:
42578         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42579         not its snail mail address.
42581 2012-02-09  Richard Henderson  <rth@twiddle.net>
42583         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42584         of kernel-features.h.
42586         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42588 2012-02-08  Marek Polacek  <polacek@redhat.com>
42590         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42591         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42592         * sysdeps/gnu/_G_config.h: Likewise.
42593         * sysdeps/generic/_G_config.h: Likewise.
42595 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42597         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42598         tests.
42599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42601         * sysdeps/powerpc/powerpc32/crti.S: New file.
42602         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42603         * sysdeps/powerpc/powerpc64/crti.S: New file.
42604         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42606         * Makeconfig (have-initfini): Don't set.
42607         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42608         * configure.in (nopic_initfini): Don't substitute.
42609         * config.h.in (HAVE_INITFINI): Don't #undef.
42610         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42611         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42613 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42615         Support crti.S and crtn.S provided directly by architectures.
42616         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42617         [crti.S in sysdirs] (omit-deps): Likewise.
42618         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42619         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42620         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42621         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42622         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42623         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42624         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42625         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42626         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42627         compiler output for sysdeps/generic/initfini.c.
42628         * sysdeps/i386/elf/Makefile: Remove file.
42629         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42631 2012-02-07  Marek Polacek  <polacek@redhat.com>
42633         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42634         * sysdeps/gnu/_G_config.h: Likewise.
42635         * sysdeps/mach/hurd/_G_config.h: Likewise.
42637 2012-02-07  Marek Polacek  <polacek@redhat.com>
42639         * math/Makefile (tests): Add tst-CMPLX2.
42640         * math/tst-CMPLX2.c: New file.
42642 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42644         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42646         * math/libm-test.inc (jn_test): Add missing L suffix.
42648 2012-02-06  Marek Polacek  <polacek@redhat.com>
42650         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42651         * sysdeps/i386/fpu/e_powf.S: Likewise.
42652         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42653         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42654         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42655         * sysdeps/i386/fpu/e_pow.S: Likewise.
42656         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42657         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42658         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42659         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42660         * sysdeps/i386/fpu/e_log2.S: Likewise.
42661         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42662         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42663         * sysdeps/i386/fpu/e_powl.S: Likewise.
42664         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42665         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42666         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42667         * sysdeps/i386/fpu/e_logl.S: Likewise.
42668         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42669         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42670         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42671         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42672         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42673         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42674         * sysdeps/i386/fpu/e_log.S: Likewise.
42675         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42676         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42677         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42678         * sysdeps/i386/fpu/e_logf.S: Likewise.
42679         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42680         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42681         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42682         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42683         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42684         * sysdeps/i386/fpu/e_log10.S: Likewise.
42685         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42686         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42687         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42688         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42689         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42690         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42691         * sysdeps/i386/asm-syntax.h: Likewise.
42692         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42693         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42694         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42695         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42696         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42697         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42698         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42699         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42700         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42701         * sysdeps/powerpc/sysdep.h: Likewise.
42702         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42703         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42705 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42707         [BZ #411]
42708         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42710 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42712         * sysdeps/i386/sysdep.h: Include <features.h>.
42713         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42714         version.
42716 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42718         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42719         Define.
42720         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42721         LOAD_PIC_REG_STR.
42723 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42725         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42726         (SETUP_PIC_REG): Use GET_PC_THUNK.
42727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42728         macro.
42730 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42732         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42733         for non-PIC compilation.
42734         (SETUP_PIC_REG): Add .p2align directive.
42735         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42736         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42737         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42738         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42739         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42740         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42741         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42742         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42743         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42744         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42745         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42746         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42747         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42749         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42750         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42751         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42752         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42753         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42754         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42755         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42757         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42758         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42759         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42760         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42761         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42762         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42763         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42764         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42765         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42766         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42767         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42768         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42769         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42770         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42771         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42772         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42773         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42774         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42775         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42777 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42779         * math/tst-CMPLX.c: Include <stdio.h>.
42781 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42783         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42784         float.
42785         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42786         * sysdeps/sparc/bits/mathdef.h: Likewise.
42788 2012-01-31  Marek Polacek  <polacek@redhat.com>
42790         * libio/libio.h: Don't define _PARAMS.
42791         * locale/programs/config.h: Don't define PARAMS.
42792         * stdlib/strtol_l.c: Likewise.
42793         (__strtol_l): Remove PARAMS from the prototype.
42795 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42797         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42798         names.  Just use the correct names.  Remove unnecessary wrapper
42799         functions.
42800         * malloc/arena.c: Likewise.
42801         * malloc/hooks.c: Likewise.
42803         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42804         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42805         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42807 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42809         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42810         into tail calls.
42811         (update_get_addr): New function.
42812         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42813         GET_ADDR_MODULE parameter.
42815 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42817         * crypt/cert.c: Remove __STDC__ conditionals.
42818         * crypt/crypt-entry.c: Likewise.
42819         * crypt/crypt_util.c: Likewise.
42820         * libio/filedoalloc.c: Likewise.
42821         * libio/fileops.c: Likewise.
42822         * libio/genops.c: Likewise.
42823         * libio/iofclose.c: Likewise.
42824         * libio/iofdopen.c: Likewise.
42825         * libio/iofopen.c: Likewise.
42826         * libio/iofopen64.c: Likewise.
42827         * libio/iogetdelim.c: Likewise.
42828         * libio/iopopen.c: Likewise.
42829         * libio/obprintf.c: Likewise.
42830         * libio/oldfileops.c: Likewise.
42831         * libio/oldiofclose.c: Likewise.
42832         * libio/oldiofdopen.c: Likewise.
42833         * libio/oldiofopen.c: Likewise.
42834         * libio/oldiopopen.c: Likewise.
42835         * libio/wfiledoalloc.c: Likewise.
42836         * libio/wgenops.c: Likewise.
42837         * locale/programs/xmalloc.c: Likewise.
42838         * misc/syslog.c: Likewise.
42839         * stdio-common/xbug.c: Likewise.
42840         * string/memchr.c: Likewise.
42841         * string/memcmp.c: Likewise.
42842         * string/memrchr.c: Likewise.
42843         * string/rawmemchr.c: Likewise.
42844         * sysdeps/posix/getcwd.c: Likewise.
42845         * time/strftime_l.c: Likewise.
42847 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42849         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42850         * config.make.in (config-cflags-sse2avx): Define.
42851         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42852         Fix typo.
42854 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42856         * scripts/config.guess: Update from upstream config git repository.
42857         * scripts/config.sub: Likewise.
42859 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42861         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42862         (EM_NUM): Update.
42863         (R_TILEPRO_*, R_TILEGX_*): New macros.
42865         * scripts/firstversions.awk: Fix bug in version range handling.
42867         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42869         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42871         * include/sys/epoll.h: New file.
42872         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42873         libc_hidden_def.
42875 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42877         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42878         Avoid unnecessary __WORDSIZE == 64 test.
42879         (fmaxf): Use VEX format if possible.
42880         (fmax): Likewise.
42881         (fminf): Likewise.
42882         (fmin): Likewise.
42884         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42885         * math/math_private.h: Remove libc_fegetround* and
42886         libc_fesetround*.
42887         * sysdeps/i386/configure.in: Check for -msse2avx.
42888         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42889         also if SSE2AVX is defined.
42890         Remove libc_fegetround* and libc_fesetround*.
42891         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42892         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42893         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42894         of HAS_YMM_USABLE.
42895         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42896         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42897         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42898         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42899         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42901         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42903 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42905         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42906         size is not set.
42907         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42909 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42911         [BZ #13618]
42912         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42913         relocation.
42914         * Makeconfig (libm): Define.
42915         * elf/Makefile: Add rules to build and run tst-relsort1.
42916         * elf/tst-relsort1.c: New file.
42917         * elf/tst-relsort1mod1.c: New file.
42918         * elf/tst-relsort1mod2.c: New file.
42920 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42922         * math/s_ldexp.c: Remove __STDC__ conditionals.
42923         * math/s_ldexpf.c: Likewise.
42924         * math/s_ldexpl.c: Likewise.
42925         * math/s_nextafter.c: Likewise.
42926         * math/s_nexttowardf.c: Likewise.
42927         * math/s_significand.c: Likewise.
42928         * math/s_significandf.c: Likewise.
42929         * math/s_significandl.c: Likewise.
42930         * math/w_jnl.c: Likewise.
42931         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42932         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42933         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42934         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42935         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42936         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42937         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42938         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42939         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42940         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42941         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42942         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42943         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42944         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42945         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42946         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42947         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42948         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42950         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42951         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42952         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42953         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42954         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42955         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42956         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42957         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42958         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42959         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42960         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42961         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42962         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42963         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42964         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42965         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42966         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42967         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42968         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42969         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42970         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42971         * sysdeps/ieee754/k_standard.c: Likewise.
42972         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42973         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42974         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42976         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42977         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42979         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42980         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42981         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42982         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42983         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42984         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42985         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42986         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42987         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42988         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42989         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42990         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42991         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42992         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42993         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42994         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42995         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42996         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42997         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42998         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43001         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43003         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43004         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43005         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43006         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43007         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43008         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43009         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43010         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43011         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43012         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43014         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43015         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43016         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43019         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43020         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43021         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43022         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43023         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43025         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43026         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43027         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43028         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43029         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43030         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43031         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43032         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43033         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43034         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43035         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43036         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43037         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43038         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43039         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43040         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43041         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43042         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43043         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43045         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43046         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43047         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43048         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43050         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43051         * sysdeps/ieee754/s_matherr.c: Likewise.
43052         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43053         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43055         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43057 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43059         * crypt/md5.h: Remove __STDC__ conditionals.
43060         * libio/libioP.h: Likewise.
43061         * locale/programs/config.h: Likewise.
43062         * sysdeps/generic/sysdep.h: Likewise.
43063         * sysdeps/i386/asm-syntax.h: Likewise.
43064         * sysdeps/s390/asm-syntax.h: Likewise.
43065         * sysdeps/unix/sysdep.h: Likewise.
43066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43069 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43071         * libio/libio.h: Remove __STDC__ conditionals.
43072         * malloc/obstack.h: Likewise.
43073         * math/complex.h: Likewise.
43074         * math/math.h: Likewise.
43075         * sysdeps/generic/_G_config.h: Likewise.
43076         * sysdeps/gnu/_G_config.h: Likewise.
43077         * sysdeps/mach/hurd/_G_config.h: Likewise.
43078         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43079         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43080         * sysdeps/sparc/bits/mathdef.h: Likewise.
43082 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43084         [BZ #13583]
43085         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43086         Clean up HAS_* macros.
43087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43088         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43089         possible.
43090         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43091         HAS_AVX.
43092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43093         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43094         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43096         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43098 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43100         * elf/tst-unique3.cc (gets): Remove declaration.
43101         * elf/tst-unique3lib.cc (gets): Likewise.
43102         * elf/tst-unique3lib2.cc (gets): Likewise.
43103         * elf/tst-unique4.cc (gets): Likewise.
43105 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43107         * include/stdio.h: Add C++ protection.  Add gets declarations and
43108         definitions.
43109         * debug/tst-chk1.c: Don't declare gets here.
43110         * stdio-common/tst-gets.c: Likewise.
43112 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43114         * posix/glob: Remove directory.
43116 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43118         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43120 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43122         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43123         of the non-standard EPFNOSUPPORT.
43125 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43127         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43128         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43129         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43131 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43133         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43135 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43137         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43138         transient errors.
43139         * nscd/grpcache.c (cache_addgr): Likewise.
43140         * nscd/hstcache.c (cache_addhst): Likewise.
43141         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43142         * nscd/pwdcache.c (cache_addpw): Likewise.
43143         * nscd/servicescache.c (cache_addserv): Likewise.
43145 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43147         * malloc/malloc.c: Various cleanups.
43148         * malloc/hooks.c: Likewise.
43150         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43151         * stdlib/bug-fmtmsg1.c: New file.
43153         * stdlib/fmtmsg.c (init): Add missing unlock.
43154         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43156 2012-01-12  Marek Polacek  <polacek@redhat.com>
43158         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43159         and _GNU_SOURCE.
43161 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43163         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43164         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43165         macro to ensure uniqueness of label name.
43166         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43167         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43169 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43171         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43173         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43174         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43175         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43178 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43180         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43182         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43183         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43184         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43186         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43188         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43189         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43190         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43191         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43193         * math/bits/math-finite.h: Add ldexp support.
43195 2012-01-10  Marek Polacek  <polacek@redhat.com>
43197         * locale/programs/localedef.h (show_archive_content): Add noreturn
43198         attribute.
43200 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43202         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43204 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43206         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43208         * io/Makefile (headers): Add bits/poll2.h.
43210 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43213         typo #include statement.
43215 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43217         * include/sys/cdefs.h: Define __attribute_alloc_size.
43218         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43219         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43220         * elf/pldd.c: Likewise.
43221         * iconv/iconv_charmap.c: Likewise.
43222         * iconv/iconvconfig.c: Likewise.
43223         * iconv/strtab.c: Likewise.
43224         * locale/programs/locale.c: Likewise.
43225         * locale/programs/localedef.h: Likewise.
43226         * locale/programs/simple-hash.c: Likewise.
43227         * nscd/nscd.h: Likewise.
43228         * nss/makedb.c: Likewise.
43229         * sysdeps/generic/ldconfig.h: Likewise.
43230         * locale/programs/localedef.c: Remove xmalloc prototype.
43231         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43233 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43235         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43236         appropriate.
43238 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43240         * math/Makefile (tests): Add tst-CMPLX.
43241         * math/tst-CMPLX.c: New file.
43243         * math/complex.h (CMPLXL): Fix typo.
43245         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43246         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43247         GLIBC_2.16.
43248         * debug/tst-chk1.c: Add poll and ppoll tests.
43249         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43250         * include/sys/poll.h: Add hidden proto for ppoll.
43251         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43252         * sysdeps/mach/hurd/ppoll.c: Likewise.
43253         * io/ppoll.c: Likewise.
43254         * debug/poll_chk.c: New file.
43255         * debug/ppoll_chk.c: New file.
43256         * include/bits/poll2.h: New file.
43257         * io/bits/poll2.h: New file.
43259         [BZ #1350]
43260         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43262         * configure.in: static is always set to yes.  Remove.
43263         * config.make.in: Don't set build-static.
43264         * Makeconfig: Remove use of build-static.
43265         * dlfcn/Makefile: Likewise.
43266         * elf/Makefile: Likewise.
43267         * math/Makefile: Likewise.
43268         * misc/Makefile: Likewise.
43269         * nptl/Makefile: Likewise.
43270         * sysdeps/mach/hurd/Makefile: Likewise.
43272         * configure.in: PWD_P is not used anymore.
43273         * config.make.in: Remove PWD_P entry.
43275         * configure.in: Remove last remnants of RANLIB.
43276         No need to check for signed size_t anymore.
43277         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43278         and IA-64.
43279         Remove __builtin_expect test because we require at least gcc 3.4.
43280         * aclocal.m4: Likewise.
43282         * wcsmbs/mbrtoc16.c: Implement using towc function.
43283         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43284         * wcsmbs/wcsmbsload.c: Likewise.
43285         * iconv/gconv_simple.c: Likewise.
43286         * iconv/gconv_int.h: Likewise.
43287         * iconv/gconv_builtin.h: Likewise.
43288         * iconv/iconv_prog.c: Remove CHAR16 handling.
43290         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43292         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43294         * configure.in: Remove --with-elf and --enable-bounded options.
43295         Dont set base_machine for ia64.  More non-ELF conditions removed.
43296         Remove testing and setting of leading underscore information.
43297         * config.make.in (build-bounded): Set to no.
43298         * config.h.in: Remove NO_UNDERSCORES entry.
43299         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43300         them.
43301         * csu/start.c: Remove !NO_UNDERSCORE code.
43302         * locale/localeinfo.h: Likewise.
43303         * sysdeps/generic/machine-gmon.h: Likewise.
43304         * sysdeps/generic/sysdep.h: Likewise.
43305         * sysdeps/i386/sysdep.h: Likewise.
43306         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43307         * sysdeps/mach/sysdep.h: Likewise.
43308         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43309         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43310         * sysdeps/sh/sysdep.h: Likewise.
43311         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43312         * sysdeps/unix/i386/sysdep.S: Likewise.
43313         * sysdeps/unix/sparc/start.c: Likewise.
43314         * sysdeps/unix/sparc/sysdep.S: Likewise.
43315         * sysdeps/unix/sparc/sysdep.h: Likewise.
43316         * sysdeps/unix/start.c: Likewise.
43317         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43318         * sysdeps/x86_64/sysdep.h: Likewise.
43320 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43322         [BZ #13553]
43323         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43324         for non-gcc.
43325         * argp/argp-fmtstream.h: Use const instead __const.
43326         * argp/argp.h: Likewise.
43327         * assert/assert.h: Likewise.
43328         * bits/fenv.h: Likewise.
43329         * bits/sched.h: Likewise.
43330         * bits/sigset.h: Likewise.
43331         * bits/sigthread.h: Likewise.
43332         * catgets/nl_types.h: Likewise.
43333         * conform/data/pthread.h-data: Likewise.
43334         * crypt/crypt-private.h: Likewise.
43335         * crypt/crypt.h: Likewise.
43336         * crypt/crypt_util.c: Likewise.
43337         * ctype/ctype.h: Likewise.
43338         * debug/execinfo.h: Likewise.
43339         * debug/mbsnrtowcs_chk.c: Likewise.
43340         * debug/mbsrtowcs_chk.c: Likewise.
43341         * debug/wcsnrtombs_chk.c: Likewise.
43342         * debug/wcsrtombs_chk.c: Likewise.
43343         * debug/wcstombs_chk.c: Likewise.
43344         * dirent/dirent.h: Likewise.
43345         * dlfcn/dlfcn.h: Likewise.
43346         * elf/neededtest4.c: Likewise.
43347         * grp/grp.h: Likewise.
43348         * gshadow/gshadow.h: Likewise.
43349         * iconv/gconv.h: Likewise.
43350         * iconv/gconv_int.h: Likewise.
43351         * iconv/gconv_simple.c: Likewise.
43352         * iconv/iconv.h: Likewise.
43353         * iconv/loop.c: Likewise.
43354         * iconv/skeleton.c: Likewise.
43355         * include/aio.h: Likewise.
43356         * include/aliases.h: Likewise.
43357         * include/argz.h: Likewise.
43358         * include/arpa/inet.h: Likewise.
43359         * include/assert.h: Likewise.
43360         * include/dirent.h: Likewise.
43361         * include/dlfcn.h: Likewise.
43362         * include/execinfo.h: Likewise.
43363         * include/fcntl.h: Likewise.
43364         * include/fenv.h: Likewise.
43365         * include/glob.h: Likewise.
43366         * include/grp.h: Likewise.
43367         * include/libintl.h: Likewise.
43368         * include/mntent.h: Likewise.
43369         * include/netdb.h: Likewise.
43370         * include/pwd.h: Likewise.
43371         * include/rpc/netdb.h: Likewise.
43372         * include/sched.h: Likewise.
43373         * include/search.h: Likewise.
43374         * include/shadow.h: Likewise.
43375         * include/signal.h: Likewise.
43376         * include/stdio.h: Likewise.
43377         * include/stdlib.h: Likewise.
43378         * include/string.h: Likewise.
43379         * include/sys/socket.h: Likewise.
43380         * include/sys/stat.h: Likewise.
43381         * include/sys/statfs.h: Likewise.
43382         * include/sys/statvfs.h: Likewise.
43383         * include/sys/syslog.h: Likewise.
43384         * include/sys/time.h: Likewise.
43385         * include/sys/uio.h: Likewise.
43386         * include/time.h: Likewise.
43387         * include/unistd.h: Likewise.
43388         * include/utmp.h: Likewise.
43389         * include/wchar.h: Likewise.
43390         * include/wctype.h: Likewise.
43391         * inet/aliases.h: Likewise.
43392         * inet/arpa/inet.h: Likewise.
43393         * inet/netinet/ether.h: Likewise.
43394         * inet/netinet/in.h: Likewise.
43395         * intl/libintl.h: Likewise.
43396         * io/bits/fcntl2.h: Likewise.
43397         * io/fcntl.h: Likewise.
43398         * io/ftw.h: Likewise.
43399         * io/sys/poll.h: Likewise.
43400         * io/sys/stat.h: Likewise.
43401         * io/sys/statfs.h: Likewise.
43402         * io/sys/statvfs.h: Likewise.
43403         * io/utime.h: Likewise.
43404         * libio/bits/stdio.h: Likewise.
43405         * libio/bits/stdio2.h: Likewise.
43406         * libio/libio.h: Likewise.
43407         * libio/libioP.h: Likewise.
43408         * libio/stdio.h: Likewise.
43409         * locale/lc-ctype.c: Likewise.
43410         * locale/locale.h: Likewise.
43411         * login/utmp.h: Likewise.
43412         * malloc/arena.c: Likewise.
43413         * malloc/malloc.c: Likewise.
43414         * malloc/malloc.h: Likewise.
43415         * malloc/mcheck.c: Likewise.
43416         * malloc/mtrace.c: Likewise.
43417         * math/bits/mathcalls.h: Likewise.
43418         * math/fenv.h: Likewise.
43419         * math/math_private.h: Likewise.
43420         * misc/bits/error.h: Likewise.
43421         * misc/bits/syslog.h: Likewise.
43422         * misc/err.h: Likewise.
43423         * misc/error.h: Likewise.
43424         * misc/fstab.h: Likewise.
43425         * misc/mntent.h: Likewise.
43426         * misc/regexp.h: Likewise.
43427         * misc/search.h: Likewise.
43428         * misc/sgtty.h: Likewise.
43429         * misc/sys/mman.h: Likewise.
43430         * misc/sys/syslog.h: Likewise.
43431         * misc/sys/uio.h: Likewise.
43432         * misc/sys/xattr.h: Likewise.
43433         * misc/ttyent.h: Likewise.
43434         * nis/rpcsvc/ypclnt.h: Likewise.
43435         * nss/nss.h: Likewise.
43436         * posix/bits/unistd.h: Likewise.
43437         * posix/fnmatch.h: Likewise.
43438         * posix/glob.h: Likewise.
43439         * posix/sched.h: Likewise.
43440         * posix/spawn.h: Likewise.
43441         * posix/sys/wait.h: Likewise.
43442         * posix/unistd.h: Likewise.
43443         * posix/wordexp.h: Likewise.
43444         * pwd/pwd.h: Likewise.
43445         * resolv/netdb.h: Likewise.
43446         * resource/sys/resource.h: Likewise.
43447         * rt/aio.h: Likewise.
43448         * rt/bits/mqueue2.h: Likewise.
43449         * rt/mqueue.h: Likewise.
43450         * shadow/shadow.h: Likewise.
43451         * signal/signal.h: Likewise.
43452         * socket/send.c: Likewise.
43453         * socket/sendto.c: Likewise.
43454         * socket/sys/socket.h: Likewise.
43455         * stdio-common/printf.h: Likewise.
43456         * stdlib/bits/stdlib.h: Likewise.
43457         * stdlib/fmtmsg.h: Likewise.
43458         * stdlib/monetary.h: Likewise.
43459         * stdlib/stdlib.h: Likewise.
43460         * stdlib/ucontext.h: Likewise.
43461         * streams/stropts.h: Likewise.
43462         * string/argz.h: Likewise.
43463         * string/bits/string2.h: Likewise.
43464         * string/string.h: Likewise.
43465         * string/strings.h: Likewise.
43466         * sunrpc/rpc/auth.h: Likewise.
43467         * sunrpc/rpc/auth_des.h: Likewise.
43468         * sunrpc/rpc/clnt.h: Likewise.
43469         * sunrpc/rpc/netdb.h: Likewise.
43470         * sunrpc/rpc/pmap_clnt.h: Likewise.
43471         * sunrpc/rpc/xdr.h: Likewise.
43472         * sysdeps/generic/inttypes.h: Likewise.
43473         * sysdeps/generic/net/if.h: Likewise.
43474         * sysdeps/generic/sys/swap.h: Likewise.
43475         * sysdeps/gnu/net/if.h: Likewise.
43476         * sysdeps/gnu/utmpx.h: Likewise.
43477         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43478         * sysdeps/i386/i486/bits/string.h: Likewise.
43479         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43480         * sysdeps/s390/bits/string.h: Likewise.
43481         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43482         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43483         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43484         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43485         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43486         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43487         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43488         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43489         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43490         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43491         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43492         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43493         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43494         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43495         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43496         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43497         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43499         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43500         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43501         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43502         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43503         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43504         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43505         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43506         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43507         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43508         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43509         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43510         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43511         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43512         * sysvipc/sys/ipc.h: Likewise.
43513         * sysvipc/sys/msg.h: Likewise.
43514         * sysvipc/sys/sem.h: Likewise.
43515         * sysvipc/sys/shm.h: Likewise.
43516         * termios/termios.h: Likewise.
43517         * time/sys/time.h: Likewise.
43518         * time/time.h: Likewise.
43519         * wcsmbs/bits/wchar2.h: Likewise.
43520         * wcsmbs/uchar.h: Likewise.
43521         * wcsmbs/wchar.h: Likewise.
43522         * wctype/wctype.h: Likewise.
43524         [BZ #13551]
43525         * Makeconfig: Remove all but ELF support including AIX support.
43526         * Makerules: Likewise.
43527         * config.h.in: Likewise.
43528         * config.make.in: Likewise.
43529         * configure: Likewise.
43530         * configure.in: Likewise.
43531         * csu/Makefile: Likewise.
43532         * csu/version.c: Likewise.
43533         * debug/Makefile: Likewise.
43534         * dlfcn/Makefile: Likewise.
43535         * elf/Makefile: Likewise.
43536         * extra-lib.mk: Likewise.
43537         * iconv/Makefile: Likewise.
43538         * include/libc-symbols.h: Likewise.
43539         * include/shlib-compat.h: Likewise.
43540         * resolv/Makefile: Likewise.
43541         * resolv/res_libc.c: Likewise.
43542         * rt/Makefile: Likewise.
43543         * sysdeps/i386/asm-syntax.h: Likewise.
43544         * sysdeps/i386/sysdep.h: Likewise.
43545         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43546         * sysdeps/mach/sysdep.h: Likewise.
43547         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43548         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43549         * sysdeps/s390/asm-syntax.h: Likewise.
43550         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43551         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43552         * sysdeps/sh/sysdep.h: Likewise.
43553         * sysdeps/unix/sparc/sysdep.h: Likewise.
43554         * sysdeps/wordsize-32/divdi3.c: Likewise.
43555         * sysdeps/x86_64/sysdep.h: Likewise.
43557         * argp/Versions: Remove _argp_unlock_xxx.
43559         [BZ #13559]
43560         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43561         * abilist/libBrokenLocale.abilist: Likewise.
43562         * abilist/libanl.abilist: Likewise.
43563         * abilist/libc.abilist: Likewise.
43564         * abilist/libcrypt.abilist: Likewise.
43565         * abilist/libdl.abilist: Likewise.
43566         * abilist/libm.abilist: Likewise.
43567         * abilist/libnsl.abilist: Likewise.
43568         * abilist/libpthread.abilist: Likewise.
43569         * abilist/libresolv.abilist: Likewise.
43570         * abilist/librt.abilist: Likewise.
43571         * abilist/libthread_db.abilist: Likewise.
43572         * abilist/libutil.abilist: Likewise.
43573         * abilist/libnss_db.abilist: New file.
43575         * scripts/abilist.awk: Add support for indirect functions.
43577         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43579         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43581         * shlib-versions: Remove entries for ports architectures.
43583         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43584         files in ports.
43585         * elf/stackguard-macros.h: Remove support for IA-64.
43586         * elf/tst-auditmod1.c: Likewise.
43587         * sysdeps/generic/ldsodefs.h: Likewise.
43589         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43590         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43591         configure files.
43593         [BZ #13552]
43594         * configure.in: Remove --enable-omitfp support.
43595         * FAQ.in: Adjust.
43596         * config.make.in: Likewise.
43597         * Makeconfig: Likewise.
43598         * manual/install.texi: Likewise.
43600         In case anyone cares, the IA-64 architecture could move to ports.
43601         * sysdeps/ia64/*: Removed.
43602         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43603         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43605         [BZ #13555]
43606         * configure.in: Remove entries for unsupported architectures.
43608         [BZ #13533]
43609         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43610         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43611         routines.
43612         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43613         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43614         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43615         fall back to using wcrtomb.
43616         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43617         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43618         renaming.
43619         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43620         * wcsmbs/tst-c16c32-1.c: New file.
43622         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43623         local variable.
43625         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43627         * elf/tst-unique3.cc: Add explicit declaration of gets.
43628         * elf/tst-unique3lib.cc: Likewise.
43629         * elf/tst-unique3lib2.cc: Likewise.
43630         * elf/tst-unique4.cc: Likewise.
43632         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43634 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43636         [BZ #13566]
43637         * assert/assert.h (static_assert): Don't define for C++.
43638         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43639         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43641 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43643         * iconv/loop.c (single loop): Fix assertion in storing of
43644         remaining bytes.
43646         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43648 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43650         * posix/getconf.c: Update copyright year.
43651         * nss/getent.c: Likewise.
43652         * nss/makedb.c: Likewise.
43653         * iconv/iconvconfig.c: Likewise.
43654         * iconv/iconv_prog.c: Likewise.
43655         * elf/ldconfig.c: Likewise.
43656         * elf/pldd.c: Likewise.
43657         * elf/sotruss.ksh: Likewise.
43658         * catgets/gencat.c: Likewise.
43659         * csu/version.c: Likewise.
43660         * elf/ldd.bash.in: Likewise.
43661         * elf/sprof.c (print_version): Likewise.
43662         * locale/programs/locale.c: Likewise.
43663         * locale/programs/localedef.c: Likewise.
43664         * login/programs/pt_chown.c: Likewise.
43665         * nscd/nscd.c (print_version): Likewise.
43666         * debug/xtrace.sh: Likewise.
43667         * malloc/memusage.sh: Likewise.
43668         * malloc/mtrace.pl: Likewise.
43669         * debug/catchsegv.sh: Likewise.
43671 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43673         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43674         pure attribute.
43676 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43678         [BZ #13533]
43679         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43680         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43681         transformations.
43682         * iconv/gconv_int.h: Likewise.
43683         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43684         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43685         from libc for GLIBC_2.16.
43686         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43687         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43688         * wcsmbs/uchar.h: Really define mbstate_t.
43689         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43690         * wcsmbs/c16rtomb.c: New file.
43691         * wcsmbs/mbrtoc16.c: New file.
43692         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43693         for C/POSIX locale.
43694         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43695         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43697         * wcsmbs/wchar.h: Add missing __restrict.
43699 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43701         [BZ #13532]
43702         * time/Makefile (routines): Add timespec_get.
43703         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43704         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43705         timespec for ISO C11.
43706         * time/timespec_get.c: New file.
43707         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43708         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43710         [BZ #13531]
43711         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43712         * stdlib/stdlib.h: Declare aligned_alloc.
43713         * Versions.def: Add GLIBC_2.16 for libc.
43714         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43716         [BZ 13527]
43717         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43718         ISO C11.
43720         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43721         code.
43723         [BZ #13528]
43724         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43726         [BZ #13529]
43727         * assert/assert.h (static_assert): Define.
43729         * version.h: Update for 2.16 development version.
43731         [BZ #13526]
43732         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43733         _ISOC11_SOURCE.
43735         * version.h (RELEASE): Bump for 2.15 release.
43736         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43738         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43739         Patch by Marek Polacek <mpolacek@redhat.com>.
43741         * bits/byteswap.h: Protect long long constants with __extension__.
43742         * sysdeps/i386/bits/byteswap.h: Likewise.
43743         * sysdeps/ia64/bits/byteswap.h: Likewise.
43744         * sysdeps/s390/bits/byteswap.h: Likewise.
43745         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43747 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43749         [BZ #13540]
43750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43751         destination buffer.
43752         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43754 2011-12-23  Marek Polacek  <polacek@redhat.com>
43756         * elf/dl-addr.c (determine_info): Add inline keyword.
43757         * elf/tst-auditmod4b.c (check_avx): Likewise.
43758         * elf/tst-auditmod6b.c (check_avx): Likewise.
43759         * elf/tst-auditmod6c.c (check_avx): Likewise.
43760         * elf/tst-auditmod7b.c (check_avx): Likewise.
43762 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43764         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43765         !__SSE_MATH__.
43767 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43769         [BZ #13540]
43770         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43771         processing for last bytes.
43773 2011-08-06  Bruno Haible  <bruno@clisp.org>
43775         [BZ #13061]
43776         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43777         U+0385, not to U+1FEE.
43779         [BZ #13062]
43780         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43781         entry for U+00A5 U+0301.
43783 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43785         [BZ #13166]
43786         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43787         buffer for the output is too small.
43789         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43790         optimization.
43792         [BZ #13185]
43793         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43794         SSE flags if possible.
43796 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43798         [BZ #13540]
43799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43800         processing for last bytes.
43802 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43804         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43805         (syscall-list-default-options, syscall-list-default-condition)
43806         (syscall-list-includes): Define.
43807         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43808         list of ABIs and options and #if conditions for each ABI.  Do not
43809         handle common syscalls between ABIs specially.
43810         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43811         Remove.
43812         (syscall-list-variants, syscall-list-32bit-options)
43813         (syscall-list-32bit-condition, syscall-list-64bit-options)
43814         (syscall-list-64bit-condition): Define.
43815         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43816         (syscall-list-variants, syscall-list-32bit-options)
43817         (syscall-list-32bit-condition, syscall-list-64bit-options)
43818         (syscall-list-64bit-condition): Define.
43819         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43820         Remove.
43821         (syscall-list-variants, syscall-list-32bit-options)
43822         (syscall-list-32bit-condition, syscall-list-64bit-options)
43823         (syscall-list-64bit-condition): Define.
43824         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43825         Remove.
43826         (syscall-list-variants, syscall-list-32bit-options)
43827         (syscall-list-32bit-condition, syscall-list-64bit-options)
43828         (syscall-list-64bit-condition): Define.
43830 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43832         * locale/iso-639.def: Add brx entry.
43834         [BZ #13328]
43835         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43836         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43838         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43839         __feraiseexcept_renamed.
43841 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43843         [BZ #13538]
43844         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43845         EPOLLET with unsigned values.
43846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43847         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43849         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43850         to large cancellation.
43851         * math/s_cacoshf.c: Likewise.
43852         * math/s_cacoshl.c: Likewise.
43854 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43856         [BZ #13305]
43857         [BZ #12786]
43858         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43859         * math/s_cacoshf.c: Likewise.
43860         * math/s_cacoshl.c: Likewise.
43862 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43864         [BZ #13439]
43865         * iconv/gconv.h: Define __GCONV_SWAP.
43866         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43867         * iconvdata/utf-16.c: Likewise.
43868         * iconvdata/utf-32.c: Likewise.
43870 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43872         [BZ #13524]
43873         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43874         numerator after shifting it by one limb.
43876 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43878         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43879         under [__USE_EXTERN_INLINES].
43881 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43883         [BZ #13446]
43884         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43886 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43888         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43889         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43890         optimized code.
43891         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43892         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43893         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43894         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43895         for strncasecmp/strncasecmp_l compilation.
43896         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43897         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43899 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43901         [BZ #13484]
43902         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43903         of __asm__.
43905 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43907         [BZ #13506]
43908         * time/tzfile.c (__tzfile_read): Check values from file header.
43910 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43912         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43913         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43914         * powerpc/powerpc32/dl-start.S: Likewise.
43915         * powerpc/powerpc32/elf/start.S: Likewise.
43916         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43917         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43918         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43919         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43920         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43921         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43922         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43923         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43924         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43925         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43926         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43927         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43928         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43929         * powerpc/powerpc32/memset.S: Likewise.
43930         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43931         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43932         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43933         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43934         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43935         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43936         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43937         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43938         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43939         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43940         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43941         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43942         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43944 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43946         * math/libm-test.inc: Added more nearbyint tests.
43947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43949         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43952 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43954         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43955         FD_CLOEXEC.
43957 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43959         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43960         Add wcscpy-ssse3 wcscpy-c.
43961         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43962         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43963         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43964         * sysdeps/x86_64/wcschr.S: New file.
43965         * sysdeps/x86_64/wcsrchr.S: New file.
43966         * string/test-strcmp.c: Remove checking of wcscmp function for
43967         wrong alignments.
43968         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43969         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43970         wcsrchr-sse2 wcsrchr-c.
43971         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43972         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43973         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43974         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43975         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43976         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43977         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43978         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43979         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43980         * wcsmbc/wcschr.c (WCSCHR): New macro.
43982 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43984         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43985         * wcsmbs/test-wcsrchr.c: New file.
43986         * string/test-strrchr.c: Add wcsrchr support.
43987         (WIDE): New macro.
43988         * wcsmbs/test-wcscpy.c: New file.
43989         * string/test-strcpy.c: Add wcscpy support.
43990         (WIDE): New macro.
43992 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43994         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43995         the inner loop.
43997 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43999         [BZ #13472]
44000         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44002 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44004         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44005         Minor optimizations.
44007         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44008         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44009         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44011 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44013         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44014         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44015         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44016         for gcc to avoid warnings.
44017         * inet/Makefile (tests): Add tst-checks.
44018         * inet/tst-checks.c: New file.
44020         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44021         warning.
44023         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44024         __wmemcmp_sse2.
44026         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44027         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44029         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44031 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44033         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44034         problem.
44036         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44038 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44040         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44041         conditional on GCC version.
44042         (__arch_compare_and_exchange_val_8_acq)
44043         (__arch_compare_and_exchange_val_16_acq)
44044         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44045         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44046         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44048 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44050         * sysdeps/sh/backtrace.c: New file.
44052 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44054         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44055         parenthesis.
44057 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44059         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44060         falling back to utime.
44062 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44064         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44065         expectations for float.
44067 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44069         * locale/weight.h (findidx): Add parameter len.
44070         * locale/weightwc.h (findidx): Likewise.
44071         * posix/fnmatch_loop.c (FCT): Adjust caller.
44072         * posix/regcomp.c (build_equiv_class): Likewise.
44073         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44074         * posix/regexec.c (check_node_accept_bytes): Likewise.
44075         * string/strcoll_l.c (STRCOLL): Likewise.
44076         * string/strxfrm_l.c (STRXFRM): Likewise.
44078 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44080         * Makefile.in: Remove CVSOPT handling.
44081         * configure.in: Remove use of AC_REVISION.
44082         * iconvdata/Makefile (distribute): No need to filter out CVS.
44083         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44084         handling.
44086 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44088         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44089         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44090         [USE_AS_STRNCASECMP_L]: Likewise.
44091         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44092         NO_TLS_DIRECT_SEG_REFS.
44093         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44094         Fix argument offsets for non-PIC.
44095         [USE_AS_STRNCASECMP_L]: Likewise.
44096         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44097         NO_TLS_DIRECT_SEG_REFS.
44099 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44101         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44102         O_CLOEXEC.
44103         * locale/loadlocale.c (_nl_load_locale): Likewise.
44105 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44107         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44108         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44109         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44110         (SYSCALL_GETTIME): Set errno on error.
44112         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44113         count references to noai6ai_cached.
44115 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44117         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44119         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44120         FD_CLOEXEC for /proc/self/maps.
44122         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44123         FD_CLOEXEC for /proc/meminfo.
44125         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44126         gai.conf.
44128         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44129         FD_CLOEXEC for given file.
44131         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44133         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44134         FD_CLOEXEC for /etc/hosts.
44135         (_gethtent): Likewise.
44137         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44139         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44140         cancellation and set FD_CLOEXEC for /etc/netgroup.
44142         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44143         reading /etc/publickey.
44145         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44146         allow cancellation when reading /etc/group.
44148         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44149         cancellation.
44150         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44152         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44153         when using data file.
44155         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44157         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44158         (write_nis_obj): Use "c" and "e" in fopen.
44160         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44162         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44164         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44166         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44168         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44169         locale.alias.
44171         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44173         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44175         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44177         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44178         file parsing and set FD_CLOEXEC.
44180 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44182         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44184 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44186         * malloc/arena.c (arena_get2): Don't call reused_arena when
44187         _int_new_arena failed.
44189 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44191         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44192         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44194         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44195         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44197         to compile strcasecmp and strncasecmp.
44198         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44199         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44203 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44205         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44206         locale-defines.sym to gen-as-const-headers.
44207         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44208         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44210         to compile strcasecmp and strncasecmp.
44211         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44212         strcasecmp_l and strncasecmp_l.
44213         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44214         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44215         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44216         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44217         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44218         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44219         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44220         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44221         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44222         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44223         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44225 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44227         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44228         result of SYSDEP_GETTIME_CPU to retval.
44229         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44230         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44232         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44233         variable.
44235         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44236         mantissa words.
44237         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44239         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44240         from unused variable.
44242         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44243         DWARF definitions.
44244         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44245         for assembling.
44247         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44248         over namespaces.
44250         * sunrpc/rpc_prot.c (rejected): Fix case value.
44252         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44253         unsigned long long int to avoid warnings in shift.
44255         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44256         of use of trans.
44257         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44258         variable tmp.
44260         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44261         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44262         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44264         * nis/nis_table.c (nis_list): Use variable of correct type for
44265         result of __follow_path call.
44267 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44269         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44270         of math functions ceil, trunc, floor, round, and sqrt, when
44271         avaliable on the platform.
44272         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44273         name clash.
44274         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44275         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44276         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44278 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44280         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44281         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44283 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44285         * include/unistd.h: Fix __readlink return type.
44286         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44288 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44290         * stdlib/ucontext.h: Undo last change for makecontext.
44292 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44294         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44296         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44297         * setjmp/setjmp.h: Mark functions as non-leaf.
44298         * setjmp/bits/setjmp2.h: Likewise.
44299         * stdlib/ucontext.h: Likewise.
44301 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44303         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44304         (reused_arena): Don't check arena limit.
44305         (arena_get2): Atomically check arena limit.
44307 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44309         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44310         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44312         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44313         instructions.
44315 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44317         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44318         handler when locking.
44320         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44321         Fix size of allocated buffer.
44323 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44325         [BZ #10103]
44326         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44327         declarations for long double functions.
44328         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44330         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44332 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44334         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44335         installed.
44337         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44338         is disabled.
44340 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44342         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44344 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44346         * include/alloca.h (stackinfo_alloca_round): Define.
44347         (extend_alloca): Use it.
44348         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44349         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44350         here.
44352         * scripts/check-local-headers.sh: Ignore libaudit.h.
44354         * nscd/Makefile (extra-objs): Make recursively expanded.
44356 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44358         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44359         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44361         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44362         * posix/tst-rfc3484-2.c: Likewise.
44363         * posix/tst-rfc3484-3.c: Likewise.
44365         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44366         process_vm_writev.
44367         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44368         process_vm_writev.
44369         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44370         process_vm_writev from libc using GLIBC_2.15 version.
44372         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44374 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44376         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44377         stack usage.
44379 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44381         [BZ #13367]
44382         * nss/getent.c (initgroups_keys): Show error message in case no group
44383         names are given.
44385         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44386         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44387         __bump_nl_timestamp.
44388         * nscd/connections (nscd_init): When host database is served open
44389         netlink socket and request notification about configuration changes.
44390         (main_loop_poll): Track netlink file descriptor and bump timestamp
44391         in case data becomes available.
44392         (main_loop_epoll): Likewise.
44393         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44394         (database_pers_head): Add extra_data fileds.
44395         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44396         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44397         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44398         Adjust caller.
44399         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44400         in6ai data, call __free_in6ai.
44401         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44402         Add -DHAVE_NETLINK.
44403         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44404         interface information.  Reuse previous data if netlink timestamp
44405         is not changed.
44406         (__bump_nl_timestamp): New function.
44407         (__free_in6ai): New function.
44409 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44412         close_not_cancel_no_status here.
44413         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44415 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44417         [BZ #13276]
44418         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44419         return value.
44421         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44422         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44423         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44425 2011-07-03  Andreas Jaeger  <aj@suse.de>
44427         [BZ #10709]
44428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44429         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44430         * math/libm-test.inc (sin_test): Add test case.
44432 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44434         [BZ #13337]
44435         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44436         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44438         * elf/chroot_canon.c (chroot_canon): Cleanups.
44440         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44442         [BZ #13335]
44443         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44444         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44446         * string/test-strchr.c: Make usable for strchrnul testing.
44447         * string/test-strchrnul.c: New file.
44448         * string/Makefile (strop-tests): Add strchrnul.
44450         * po/it.po: Update from translation team.
44451         * po/es.po: Likewise.
44453 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44455         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44456         the three constants needed as parameters.  Drop the others.
44457         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44458         __m128i_strloadu_tolower.
44459         Create and initialize variable zero and use it in all the places
44460         where _mm_setzero_si128 was used.
44462         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44463         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44464         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44465         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44466         anymore.
44467         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44468         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44469         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44470         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44471         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44472         __mpranred, __mptan.
44473         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44474         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44475         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44476         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44477         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44478         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44479         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44480         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44481         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44483 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44485         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44486         redefine if SHARED.
44487         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44490         wide char related routines to wcsmbs subdir.
44492 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44494         [BZ #13344]
44495         * misc/sys/cdefs.h (__THROWNL): Define.
44496         * posix/unistd.h: Use __THREADNL instead of __THREAD
44497         for memory synchronization functions.
44499 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44501         [BZ #13349]
44502         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44503         doesn't exist.
44504         * manual/stdio.texi (Obstack Streams): Node removed.
44506 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44508         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44509         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44510         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44512         * math/math_private.h (math_force_eval): Allow non-addressable
44513         arguments.
44514         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44516 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44518         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44519         file is not needed.
44521         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44522         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44523         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44524         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44525         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44526         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44527         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44528         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44529         Add AVX variants.
44530         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44531         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44532         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44533         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44534         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44535         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44536         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44537         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44538         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44539         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44540         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44541         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44542         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44543         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44544         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44545         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44546         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44547         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44548         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44550         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44551         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44553         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44554         place.  Use VEX encoding when compiling for AVX.
44556 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44558         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44559         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44561         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44563 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44565         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44566         useless if() expression.
44567         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44568         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44569         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44570         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44571         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44572         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44573         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44574         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44576         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44577         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44578         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44579         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44580         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44581         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44582         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44583         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44584         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44585         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44587         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44589 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44591         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44592         condition.
44593         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44595 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44597         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44598         .text section.  Avoid duplicate constants.
44599         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44601         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44603         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44604         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44606         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44607         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44608         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44609         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44610         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44611         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44612         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44613         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44614         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44616         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44620         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44622         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44623         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44624         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44625         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44626         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44627         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44628         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44629         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44630         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44631         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44632         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44633         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44634         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44635         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44636         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44637         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44638         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44639         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44640         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44641         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44642         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44643         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44645 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44647         * sysdeps/x86_64/dla.h: Move to ...
44648         * sysdeps/x86_64/fpu/dla.h: ...here.
44649         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44650         situations.  Use __builtin_fma only for gcc 4.6 and up.
44652         * config.make.in: Add have-mfma4 entry.
44653         * configure.in: Substitute libc_cv_cc_fma4.
44654         * math/Makefile (dbl-only-routines): Add sincostab.
44655         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44656         Use __sincostab not sincos.
44657         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44658         name is a macro.
44659         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44661         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44663         using __copysign.
44664         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44665         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44666         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44667         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44668         and __inv.
44669         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44670         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44671         __copysign.
44672         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44673         define aliases when function name is a macro.
44674         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44675         sysdeps/ieee754/dbl-64/sincos.tbl.
44676         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44677         fma4-enabled routines.
44678         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44679         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44680         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44681         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44682         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44683         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44685         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44687         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44688         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44689         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44690         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44691         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44692         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44693         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44694         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44695         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44696         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44698         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44699         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44700         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44701         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44702         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44703         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44705         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44706         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44707         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44709         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44710         rename.
44711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44714         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44715         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44716         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44717         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44718         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44720 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44722         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44724 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44726         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44728         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44729         prediction.
44730         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44732         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44733         Remove unused variable magic_bits.
44734         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44736         * string/strnlen.c: Define and use STRNLEN macro.
44737         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44738         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44740         * wcsmbs/wcslen.c: Define and use WCSLEN.
44741         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44742         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44743         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44744         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44745         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44746         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44747         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44749 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44752         strnlen-sse2-no-bsf.
44753         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44754         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44755         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44756         Add strnlen support.
44757         (USE_AS_STRNLEN): New macro.
44758         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44759         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44760         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44761         * sysdeps/x86_64/wcslen.S: New file.
44763 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44765         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44766         XMM-moves are used for copying on small sizes.
44768 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44770         * wcsmbs/Makefile (strop-tests): Add wcschr.
44771         * wcsmbs/test-wcschr.c: New file.
44772         * string/test-strchr.c: Update.
44773         Add wcschr support.
44774         (WIDE): New macro.
44776 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44778         * wcsmbs/Makefile (strop-tests): Add wcslen.
44779         * wcsmbs/test-wcslen.c: New file.
44780         * string/test-strlen.c: Update.
44781         Add wcslen support.
44782         (WIDE): New macro.
44784 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44786         * po/it.po: Update from translation team.
44788 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44790         * sysdeps/x86_64/wcscmp.S: Update.
44791         Fix wrong comparison semantics.
44792         wcscmp shall use signed comparison not unsigned.
44793         Don't use substraction to avoid overflow bug.
44794         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44795         * wcsmbc/wcscmp.c: Likewise.
44796         * string/test-strcmp.c: Likewise.
44797         Add new tests to check cases with negative values.
44799 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44801         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44802         * sysdeps/x86_64/dla.h: ...here.  New file.
44803         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44804         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44808         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44810         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44813 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44816         __ynl_finite aliases.
44818 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44822         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44823         define DLA_FMA.
44824         [DLA_FMA] (EMULV): Use DLA_FMA.
44825         [DLA_FMA] (MUL12): Use EMULV.
44826         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44827         that are not needed.
44828         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44836 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44838         * math/s_nan.c: Undef __nan.
44839         * math/s_nanf.c: Undef __nanf.
44840         * math/s_nanl.c: Undef __nanl.
44841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44842         "math_private.h".
44844 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44846         * math/s_catan.c: Add branch predictions.
44847         * math/s_catanf.c: Likewise.
44848         * math/s_catanh.c: Likewise.
44849         * math/s_catanhf.c: Likewise.
44850         * math/s_catanhl.c: Likewise.
44851         * math/s_catanl.c: Likewise.
44852         * math/s_cexp.c: Likewise.
44853         * math/s_cexpf.c: Likewise.
44854         * math/s_cexpl.c: Likewise.
44855         * math/s_clog.c: Likewise.
44856         * math/s_clog10.c: Likewise.
44857         * math/s_clog10f.c: Likewise.
44858         * math/s_clog10l.c: Likewise.
44859         * math/s_clogf.c: Likewise.
44860         * math/s_clogl.c: Likewise.
44861         * math/s_csqrt.c: Likewise.
44862         * math/s_csqrtf.c: Likewise.
44863         * math/s_csqrtl.c: Likewise.
44864         * math/s_ctanf.c: Likewise.
44865         * math/s_ctanh.c: Likewise.
44866         * math/s_ctanhf.c: Likewise.
44867         * math/s_ctanhl.c: Likewise.
44868         * math/s_ctanl.c: Likewise.
44870         * math/math_private.h: Define __nan, __nanf, __nanl.
44871         * math/s_cacosh.c: Include <math_private.h>.
44872         * math/s_cacoshl.c: Likewise.
44873         * math/s_casinh.c: Likewise.
44874         * math/s_casinhf.c: Likewise.
44875         * math/s_casinhl.c: Likewise.
44876         * math/s_ccos.c: Rely entire on ccosh.
44877         * math/s_ccosf.c: Rely entire on ccoshf.
44878         * math/s_ccosl.c: Rely entirely on ccoshl.
44879         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44880         Remove tests for FE_INVALID.
44881         * math/s_ccoshf.c: Likewise.
44882         * math/s_ccoshl.c: Likewise.
44883         * math/s_csin.c: Likewise.
44884         * math/s_csinf.c: Likewise.
44885         * math/s_csinh.c Likewise.
44886         * math/s_csinhf.c: Likewise.
44887         * math/s_csinhl.c: Likewise.
44888         * math/s_csinl.c: Likewise.
44889         * math/s_ctan.c: Likewise.
44890         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44891         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44892         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44894 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44897         compilation problems.
44899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44900         __builtin_expect.
44902 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44904         * sysdeps/i386/configure.in: Test for -mfma4 option.
44905         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44906         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44907         COMMON_CPUID_INDEX_80000001.
44908         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44909         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44910         use it if FMA3 is not supported.
44911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44913         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44914         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44916 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44918         [BZ #12892]
44919         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44920         it would create a cycle with a link time dependency.
44922 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44924         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44925         instruction.
44926         * string/Makefile (strop-tests): Add rawmemchr.
44927         * string/test-rawmemchr.c: New file.
44929         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44930         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44931         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44932         when compiling str{,n}casecmp and when AVX is available.  Hook up
44933         new optimized code in initializers.
44935 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44937         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44938         __feraiseexcept instead of feraiseexcept.
44940 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44942         * math/math_private.h: Define defaults for libc_fetestexcept and
44943         libc_feupdateenv.
44944         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44945         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44946         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44947         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44948         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44949         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44950         libc_fetestexcept and libc_feupdateenv.
44952         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44953         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44954         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44955         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44956         libc_feholdexcept_setround.
44958         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44959         Add s_nearbyint-c and s_nearbyintf-c.
44960         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44961         nearbyintf inlines.
44962         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44963         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44964         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44965         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44967         * math/math_private.h: Define defaults for libc_fegetround,
44968         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44969         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44970         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44971         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44972         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44973         standard functions.
44974         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44975         Remove comments and hacks for old compiler versions.
44976         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44977         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44978         libc_feholdexceptl.
44980 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44982         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44983         (__feraiseexcept_renamed): Add __NTH.
44984         (feraiseexcept): Add __NTH.  Rename local variables to fix
44985         namespace violations.
44987 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44989         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44991         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44993         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44994         recently added interfaces.
44995         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44997         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44998         about macro parameter expansion.
45000         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45001         __NO_MATH_INLINES is defined.  Cleanups.
45003         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45004         and __floorf is target has SSE4.1.
45005         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45006         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45007         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45008         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45010         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45011         name.
45012         (floorf): Likewise.
45014         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45016 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45018         * misc/sys/cdefs.h: Fix last change.
45020         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45021         database lookup.
45023 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45025         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45027         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45028         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45029         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45030         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45031         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45032         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45033         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45034         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45035         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45036         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45037         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45038         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45039         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45040         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45041         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45042         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45043         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45044         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45045         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45046         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45047         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45048         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45050         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45051         ceil, ceilf, floor, floorf.
45053         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45054         Perform IRELATIVE relocations last.
45056         * elf/do-rel.h: Add another parameter nrelative, replacing the
45057         local variable with the same name.  Change name of the function
45058         to end in Rel or Rela (uppercase).
45059         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45060         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45061         elf_dynamic_do_##reloc function.
45063 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45065         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45066         is sufficient, at least on modern CPUs.
45068         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45070         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45071         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45073         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45074         __expl_finite.
45075         * math/bits/math-finite.h: Add entries for exp.
45076         * math/e_expl.c: Add __*_finite alias.
45077         * sysdeps/i386/fpu/e_exp.S: Likewise.
45078         * sysdeps/i386/fpu/e_expf.S: Likewise.
45079         * sysdeps/i386/fpu/e_expl.c: Likewise.
45080         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45081         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45084         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45085         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45086         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45088         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45089         is sufficient, at least on modern CPUs.
45091         * ctype/ctype-info.c (__ctype_init): Define.
45092         * include/ctype.h (__ctype_init): Declare.
45093         (__ctype_b_loc): The variable is always initialized.
45094         (__ctype_toupper_loc): Likewise.
45095         (__ctype_tolower_loc): Likewise.
45096         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45097         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45099 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45101         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45103         * configure.in: Also look in $cxxmachine/include for C++ system
45104         headers.
45106 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45108         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45109         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45110         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45111         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45112         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45113         (USE_AS_WMEMCMP): New macro.
45114         Fixing indents.
45115         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45116         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45117         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45118         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45120         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45121         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45122         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45123         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45124         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45125         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45126         (USE_AS_WMEMCMP): New macro.
45127         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45128         * sysdeps/string/test-memcmp.c: Update.
45129         Fix simple_wmemcmp.
45130         Add new tests.
45131         * wcsmbs/wmemcmp.c: Update.
45132         (WMEMCMP): New macro.
45133         Fix overflow bug.
45135 2011-10-12  Andreas Jaeger  <aj@suse.de>
45137         [BZ #13268]
45138         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45140 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45142         * libio/iofwide.c (do_length): Avoid warning.
45144         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45146 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45148         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45150         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45151         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45152         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45153         * sysdeps/i386/i686/fpu/e_log.S: New file.
45154         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45155         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45157         * ctype/ctype.h: Add support for inlined isXXX functions when
45158         compiling C++ code.
45160 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45162         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45164         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45166 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45168         [BZ #13291]
45169         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45171 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45173         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45174         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45175         feraiseexcept.
45177         * sysdeps/x86_64/memrchr.S: Check for zero size.
45179         * string/stratcliff.c: Add memrchr tests.
45181 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45184         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45185         rawmemchr-sse2 rawmemchr-sse2-bsf.
45186         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45187         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45188         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45189         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45190         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45191         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45192         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45193         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45194         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45195         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45196         * string/memrchr.c (MEMRCHR): New macro.
45198 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45200         Add integration with gcc's -ffinite-math-only and optimize wrapper
45201         functions in libm.
45202         * Versions.def: Define GLIBC_2.15 version for libm.
45203         * math/Makefile (headers): Add bits/math-finite.h.
45204         * math/bits/math-finite.h: New file.
45205         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45206         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45207         * math/e_acoshl.c: Add __*_finite alias.
45208         * math/e_acosl.c: Likewise.
45209         * math/e_asinl.c: Likewise.
45210         * math/e_atan2l.c: Likewise.
45211         * math/e_atanhl.c: Likewise.
45212         * math/e_coshl.c: Likewise.
45213         * math/e_exp10.c: Likewise.
45214         * math/e_exp10f.c: Likewise.
45215         * math/e_exp10l.c: Likewise.
45216         * math/e_exp2l.c: Likewise.
45217         * math/e_fmodl.c: Likewise.
45218         * math/e_gammal_r.c: Likewise.
45219         * math/e_hypotl.c: Likewise.
45220         * math/e_j0l.c: Likewise.
45221         * math/e_j1l.c: Likewise.
45222         * math/e_jnl.c: Likewise.
45223         * math/e_lgammal_r.c: Likewise.
45224         * math/e_log10l.c: Likewise.
45225         * math/e_log2l.c: Likewise.
45226         * math/e_logl.c: Likewise.
45227         * math/e_powl.c: Likewise.
45228         * math/e_sinhl.c: Likewise.
45229         * math/e_sqrtl.c: Likewise.
45230         * math/e_scalb.c: Completely rewritten and optimized.
45231         * math/e_scalbf.c: Likewise.
45232         * math/e_scalbl.c: Likewise.
45233         * math/w_acos.c: Likewise.
45234         * math/w_acosf.c: Likewise.
45235         * math/w_acosl.c: Likewise.
45236         * math/w_acosh.c: Likewise.
45237         * math/w_acoshf.c: Likewise.
45238         * math/w_acoshl.c: Likewise.
45239         * math/w_asin.c: Likewise.
45240         * math/w_asinf.c: Likewise.
45241         * math/w_asinl.c: Likewise.
45242         * math/w_atan2.c: Likewise.
45243         * math/w_atan2f.c: Likewise.
45244         * math/w_atan2l.c: Likewise.
45245         * math/w_atanh.c: Likewise.
45246         * math/w_atanhf.c: Likewise.
45247         * math/w_atanhl.c: Likewise.
45248         * math/w_exp10.c: Likewise.
45249         * math/w_exp10f.c: Likewise.
45250         * math/w_exp10l.c: Likewise.
45251         * math/w_fmod.c: Likewise.
45252         * math/w_fmodf.c: Likewise.
45253         * math/w_fmodl.c: Likewise.
45254         * math/w_j0.c: Likewise.
45255         * math/w_j0f.c: Likewise.
45256         * math/w_j0l.c: Likewise.
45257         * math/w_j1.c: Likewise.
45258         * math/w_j1f.c: Likewise.
45259         * math/w_j1l.c: Likewise.
45260         * math/w_jn.c: Likewise.
45261         * math/w_jnf.c: Likewise.
45262         * math/w_log.c: Likewise.
45263         * math/w_logf.c: Likewise.
45264         * math/w_logl.c: Likewise.
45265         * math/w_log10.c: Likewise.
45266         * math/w_log10f.c: Likewise.
45267         * math/w_log10l.c: Likewise.
45268         * math/w_log2.c: Likewise.
45269         * math/w_log2f.c: Likewise.
45270         * math/w_log2l.c: Likewise.
45271         * math/w_pow.c: Likewise.
45272         * math/w_powf.c: Likewise.
45273         * math/w_powl.c: Likewise.
45274         * math/w_remainder.c: Likewise.
45275         * math/w_remainderf.c: Likewise.
45276         * math/w_remainderl.c: Likewise.
45277         * math/w_scalb.c: Likewise.
45278         * math/w_scalbf.c: Likewise.
45279         * math/w_scalbl.c: Likewise.
45280         * math/w_sqrt.c: Likewise.
45281         * math/w_sqrtf.c: Likewise.
45282         * math/w_sqrtl.c: Likewise.
45283         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45284         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45285         used.
45286         * math/math_private.h: Declare __kernel_standard_f.
45287         * math/w_cosh.c: Remove cruft and optimize a bit.
45288         * math/w_coshf.c: Likewise.
45289         * math/w_coshl.c: Likewise.
45290         * math/w_exp2.c: Likewise.
45291         * math/w_exp2f.c: Likewise.
45292         * math/w_exp2l.c: Likewise.
45293         * math/w_hypot.c: Likewise.
45294         * math/w_hypotf.c: Likewise.
45295         * math/w_hypotl.c: Likewise.
45296         * math/w_lgamma.c: Likewise.
45297         * math/w_lgamma_r.c: Likewise.
45298         * math/w_lgammaf.c: Likewise.
45299         * math/w_lgammaf_r.c: Likewise.
45300         * math/w_lgammal.c: Likewise.
45301         * math/w_lgammal_r.c: Likewise.
45302         * math/w_sinh.c: Likewise.
45303         * math/w_sinhf.c: Likewise.
45304         * math/w_sinhl.c: Likewise.
45305         * math/w_tgamma.c: Likewise.
45306         * math/w_tgammaf.c: Likewise.
45307         * math/w_tgammal.c: Likewise.
45308         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45309         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45310         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45311         Minor optimizations.  Pretty printing.  Remove cruft.
45312         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45313         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45314         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45315         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45316         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45317         * sysdeps/i386/fpu/e_asin.S: Likewise.
45318         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45319         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45320         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45321         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45322         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45323         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45324         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45325         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45326         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45327         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45328         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45329         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45330         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45331         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45332         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45333         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45334         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45335         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45336         * sysdeps/i386/fpu/e_log.S: Likewise.
45337         * sysdeps/i386/fpu/e_log10.S: Likewise.
45338         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45339         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45340         * sysdeps/i386/fpu/e_log2.S: Likewise.
45341         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45342         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45343         * sysdeps/i386/fpu/e_logf.S: Likewise.
45344         * sysdeps/i386/fpu/e_logl.S: Likewise.
45345         * sysdeps/i386/fpu/e_pow.S: Likewise.
45346         * sysdeps/i386/fpu/e_powf.S: Likewise.
45347         * sysdeps/i386/fpu/e_powl.S: Likewise.
45348         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45349         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45350         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45351         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45352         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45353         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45354         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45355         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45356         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45357         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45358         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45359         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45360         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45361         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45362         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45363         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45364         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45365         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45366         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45367         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45368         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45369         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45370         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45371         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45373         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45374         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45375         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45377         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45378         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45379         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45380         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45381         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45382         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45383         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45384         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45385         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45386         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45387         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45388         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45389         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45391         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45392         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45393         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45394         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45395         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45396         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45397         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45398         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45399         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45400         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45401         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45402         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45403         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45404         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45405         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45406         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45407         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45408         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45409         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45410         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45411         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45412         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45413         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45414         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45415         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45417         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45418         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45419         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45422         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45423         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45424         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45425         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45427         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45428         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45429         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45430         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45431         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45433         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45434         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45435         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45436         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45437         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45438         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45439         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45440         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45441         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45442         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45443         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45444         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45445         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45446         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45447         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45448         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45449         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45450         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45451         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45452         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45453         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45454         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45455         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45456         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45457         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45458         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45459         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45460         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45461         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45462         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45463         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45465         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45466         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45467         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45468         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45469         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45470         (__isnanf): Likewise.
45471         (__isinf_ns): Likewise.
45472         (__isinf_nsf): Likewise.
45473         (__finite): Likewise.
45474         (__finitef): Likewise.
45475         (__ieee754_sqrt): Define as macro.
45476         (__ieee754_sqrtf): Define as macro.
45477         (__ieee754_sqrtl): Define as macro.
45478         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45479         inlined copy.
45480         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45481         __FINITE_MATH_ONLY__ consistent.
45482         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45484 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45486         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45487         of rawmemchr.
45489         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45491 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45493         * po/ja.po: Update from translation team.
45495 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45497         * locale/programs/locarchive.c (prepare_address_space): New function.
45498         (create_archive, enlarge_archive, open_archive): Use it.
45500         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45501         inside [SHARED], where it is used.
45503         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45505         * nss/getent.c (netgroup_keys): Remove unused variable.
45506         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45508 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45510         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45511         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45513         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45514         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45515         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45516         * math/Makefile (libm-calls): Add s_isinf_ns.
45517         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45518         * math/multc3.c: Likewise.
45519         * math/s_casin.c: Likewise.
45520         * math/s_casinf.c: Likewise.
45521         * math/s_casinl.c: Likewise.
45522         * math/s_ccos.c: Likewise.
45523         * math/s_ccosf.c: Likewise.
45524         * math/s_ccosl.c: Likewise.
45525         * math/s_ctan.c: Likewise.
45526         * math/s_ctanf.c: Likewise.
45527         * math/s_ctanh.c: Likewise.
45528         * math/s_ctanhf.c: Likewise.
45529         * math/s_ctanhl.c: Likewise.
45530         * math/s_ctanl.c: Likewise.
45531         * math/w_fmod.c: Likewise.
45532         * math/w_fmodf.c: Likewise.
45533         * math/w_fmodl.c: Likewise.
45534         * math/w_remainder.c: Likewise.
45535         * math/w_remainderf.c: Likewise.
45536         * math/w_remainderl.c: Likewise.
45537         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45538         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45539         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45541         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45542         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45543         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45544         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45546         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45547         of the number.
45548         * stdio-common/printf_fphex.c: Likewise.
45549         * stdio-common/printf_size.c: Likewise.
45551         * math/e_exp10.c: Include math_private.h using <...> not "...".
45552         * math/e_exp10f.c: Likewise.
45553         * math/e_exp10l.c: Likewise.
45554         * math/e_exp2l.c: Likewise.
45555         * math/e_j0l.c: Likewise.
45556         * math/e_j1l.c: Likewise.
45557         * math/e_jnl.c: Likewise.
45558         * math/e_lgammal_r.c: Likewise.
45559         * math/e_rem_pio2l.c: Likewise.
45560         * math/e_scalb.c: Likewise.
45561         * math/e_scalbf.c: Likewise.
45562         * math/e_scalbl.c: Likewise.
45563         * math/k_cosl.c: Likewise.
45564         * math/k_sinl.c: Likewise.
45565         * math/k_tanl.c: Likewise.
45566         * math/s_cacoshf.c: Likewise.
45567         * math/s_catan.c: Likewise.
45568         * math/s_catanf.c: Likewise.
45569         * math/s_catanh.c: Likewise.
45570         * math/s_catanhf.c: Likewise.
45571         * math/s_catanhl.c: Likewise.
45572         * math/s_catanl.c: Likewise.
45573         * math/s_ccosh.c: Likewise.
45574         * math/s_ccoshf.c: Likewise.
45575         * math/s_ccoshl.c: Likewise.
45576         * math/s_cexp.c: Likewise.
45577         * math/s_cexpf.c: Likewise.
45578         * math/s_cexpl.c: Likewise.
45579         * math/s_clog.c: Likewise.
45580         * math/s_clog10.c: Likewise.
45581         * math/s_clog10f.c: Likewise.
45582         * math/s_clog10l.c: Likewise.
45583         * math/s_clogf.c: Likewise.
45584         * math/s_clogl.c: Likewise.
45585         * math/s_csin.c: Likewise.
45586         * math/s_csinf.c: Likewise.
45587         * math/s_csinh.c: Likewise.
45588         * math/s_csinhf.c: Likewise.
45589         * math/s_csinhl.c: Likewise.
45590         * math/s_csinl.c: Likewise.
45591         * math/s_csqrt.c: Likewise.
45592         * math/s_csqrtf.c: Likewise.
45593         * math/s_csqrtl.c: Likewise.
45594         * math/s_ctan.c: Likewise.
45595         * math/s_ctanf.c: Likewise.
45596         * math/s_ctanh.c: Likewise.
45597         * math/s_ctanhf.c: Likewise.
45598         * math/s_ctanhl.c: Likewise.
45599         * math/s_ctanl.c: Likewise.
45600         * math/s_ldexp.c: Likewise.
45601         * math/s_ldexpf.c: Likewise.
45602         * math/s_ldexpl.c: Likewise.
45603         * math/s_significand.c: Likewise.
45604         * math/s_significandf.c: Likewise.
45605         * math/s_significandl.c: Likewise.
45606         * math/w_acos.c: Likewise.
45607         * math/w_acosf.c: Likewise.
45608         * math/w_acosh.c: Likewise.
45609         * math/w_acoshf.c: Likewise.
45610         * math/w_acoshl.c: Likewise.
45611         * math/w_acosl.c: Likewise.
45612         * math/w_asin.c: Likewise.
45613         * math/w_asinf.c: Likewise.
45614         * math/w_asinl.c: Likewise.
45615         * math/w_atan2.c: Likewise.
45616         * math/w_atan2f.c: Likewise.
45617         * math/w_atan2l.c: Likewise.
45618         * math/w_atanh.c: Likewise.
45619         * math/w_atanhf.c: Likewise.
45620         * math/w_atanhl.c: Likewise.
45621         * math/w_cosh.c: Likewise.
45622         * math/w_coshf.c: Likewise.
45623         * math/w_coshl.c: Likewise.
45624         * math/w_dremf.c: Likewise.
45625         * math/w_exp10.c: Likewise.
45626         * math/w_exp10f.c: Likewise.
45627         * math/w_exp10l.c: Likewise.
45628         * math/w_exp2.c: Likewise.
45629         * math/w_exp2f.c: Likewise.
45630         * math/w_fmod.c: Likewise.
45631         * math/w_fmodf.c: Likewise.
45632         * math/w_fmodl.c: Likewise.
45633         * math/w_hypot.c: Likewise.
45634         * math/w_hypotf.c: Likewise.
45635         * math/w_hypotl.c: Likewise.
45636         * math/w_j0.c: Likewise.
45637         * math/w_j0f.c: Likewise.
45638         * math/w_j0l.c: Likewise.
45639         * math/w_j1.c: Likewise.
45640         * math/w_j1f.c: Likewise.
45641         * math/w_j1l.c: Likewise.
45642         * math/w_jn.c: Likewise.
45643         * math/w_jnf.c: Likewise.
45644         * math/w_jnl.c: Likewise.
45645         * math/w_lgamma.c: Likewise.
45646         * math/w_lgamma_r.c: Likewise.
45647         * math/w_lgammaf.c: Likewise.
45648         * math/w_lgammaf_r.c: Likewise.
45649         * math/w_lgammal.c: Likewise.
45650         * math/w_lgammal_r.c: Likewise.
45651         * math/w_log.c: Likewise.
45652         * math/w_log10.c: Likewise.
45653         * math/w_log10f.c: Likewise.
45654         * math/w_log10l.c: Likewise.
45655         * math/w_log2.c: Likewise.
45656         * math/w_log2f.c: Likewise.
45657         * math/w_log2l.c: Likewise.
45658         * math/w_logf.c: Likewise.
45659         * math/w_logl.c: Likewise.
45660         * math/w_pow.c: Likewise.
45661         * math/w_powf.c: Likewise.
45662         * math/w_powl.c: Likewise.
45663         * math/w_remainder.c: Likewise.
45664         * math/w_remainderf.c: Likewise.
45665         * math/w_remainderl.c: Likewise.
45666         * math/w_scalb.c: Likewise.
45667         * math/w_scalbf.c: Likewise.
45668         * math/w_scalbl.c: Likewise.
45669         * math/w_sinh.c: Likewise.
45670         * math/w_sinhf.c: Likewise.
45671         * math/w_sinhl.c: Likewise.
45672         * math/w_sqrt.c: Likewise.
45673         * math/w_sqrtf.c: Likewise.
45674         * math/w_sqrtl.c: Likewise.
45675         * math/w_tgamma.c: Likewise.
45676         * math/w_tgammaf.c: Likewise.
45677         * math/w_tgammal.c: Likewise.
45679         * po/ja.po: Update from translation team.
45681 2011-09-29  Andreas Jaeger  <aj@suse.de>
45683         [BZ #13179]
45684         * sunrpc/netname.c (netname2host): Fix logic.
45686         [BZ #6779]
45687         [BZ #6783]
45688         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45689         correctly.
45690         * math/w_remainder.c (__remainder): Likewise.
45691         * math/w_remainderf.c (__remainderf): Likewise.
45692         * math/libm-test.inc (remainder_test): Add test cases.
45694 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45696         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45697         sdiv_qrnnd.
45699 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45701         * string/test-memcmp.c: Avoid unncessary #defines.
45702         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45704 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45706         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45707         Use new sse2 version for core i3 - i7 as it's faster
45708         than sse42 version.
45709         (bit_Prefer_PMINUB_for_stringop): New.
45710         * sysdeps/x86_64/rawmemchr.S: Update.
45711         Replace with faster SSE2 version.
45712         * sysdeps/x86_64/memrchr.S: New file.
45713         * sysdeps/x86_64/memchr.S: Update.
45714         Replace with faster SSE2 version.
45716 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45718         * elf/dl-load.c (lose): Add cast to avoid warning.
45720 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45722         * po/ca.po: Update from translation team.
45724         * inet/getnetgrent_r.c: Hook up nscd.
45725         * nscd/Makefile (routines): Add nscd_netgroup.
45726         (nscd-modules): Add netgroupcache.
45727         (CFLAGS-netgroupcache.c): Define.
45728         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45729         (cache_search): Add const to second parameter.
45730         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45731         INNETGR.
45732         (dbs): Add netgrdb entry.
45733         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45734         (verify_persistent_db): Handle netgrdb.
45735         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45736         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45737         GETFDNETGR.
45738         (netgroup_response_header): Define.
45739         (innetgroup_response_header): Define.
45740         (datahead): Add netgroup_response_header and innetgroup_response_header
45741         elements.
45742         * nscd/nscd.conf: Add entries for netgroup cache.
45743         * nscd/nscd.h (dbtype): Add netgrdb.
45744         (_PATH_NSCD_NETGROUP_DB): Define.
45745         (netgroup_iov_disabled): Declare.
45746         (xmalloc, xcalloc, xrealloc): Move declarations here.
45747         (cache_search): Adjust prototype.
45748         Add netgroup-related prototypes.
45749         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45750         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45751         (__nscd_innetgr): Declare.
45752         * nscd/selinux.c (perms): Use access_vector_t as element type and
45753         add netgroup-related initializers.
45754         * nscd/netgroupcache.c: New file.
45755         * nscd/nscd_netgroup.c: New file.
45756         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45757         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45758         For four parameters use innetgr.
45759         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45760         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45761         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45762         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45764         * nscd/connections.c (register_traced_file): Don't register file
45765         for disabled databases.
45767 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45769         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45771         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45772         from tree and freeing node.
45774 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45776         * nss/nsswitch.c (__nss_database_lookup): Handle
45777         nss_parse_service_list out of memory case.
45779 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45781         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45782         out of memory case.
45784 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45786         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45787         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45788         pass it down.
45789         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45790         elf_machine_rela, elf_machine_lazy_rel.
45791         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45792         (ELF_DYNAMIC_DO_REL): Likewise.
45793         (ELF_DYNAMIC_DO_RELA): Likewise.
45794         (ELF_DYNAMIC_RELOCATE): Likewise.
45795         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45796         to ELF_DYNAMIC_DO_REL.
45797         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45798         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45799         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45800         elf_machine_rela.
45801         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45802         skip_ifunc, don't call ifunc function if non-zero.
45803         (elf_machine_rela): Likewise.
45804         (elf_machine_lazy_rel): Likewise.
45805         (elf_machine_lazy_rela): Likewise.
45806         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45807         (elf_machine_lazy_rel): Likewise.
45808         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45809         Likewise.
45810         (elf_machine_lazy_rel): Likewise.
45811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45812         Likewise.
45813         (elf_machine_lazy_rel): Likewise.
45814         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45815         (elf_machine_lazy_rel): Likewise.
45816         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45817         (elf_machine_lazy_rel): Likewise.
45818         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45819         (elf_machine_lazy_rel): Likewise.
45820         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45821         (elf_machine_lazy_rel): Likewise.
45822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45823         (elf_machine_lazy_rel): Likewise.
45824         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45825         (elf_machine_lazy_rel): Likewise.
45827 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45829         * nss/nss_files/files-init.c (_nss_files_init): Use static
45830         initialization for all the *_traced_file variables.
45832 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45834         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45836 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45838         [BZ #13226]
45839         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45841 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45843         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45844         Reread the line before reparsing it.
45846 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45848         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45850 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45851             Maxim Kuvyrkov  <maxim@codesourcery.com>
45852             Joseph Myers  <joseph@codesourcery.com>
45854         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45855         if needed for __stack_chk_guard.
45857 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45859         * sysdeps/posix/spawni.c (script_execute): Always define it.
45860         It will be optimized away if unused.
45861         (maybe_script_execute): New function.
45862         (__spawni): Call it.
45864         * Makerules: Don't include tls.make.
45865         (config-tls): Always set to thread.
45866         * tls.make.c: File removed.
45868 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45870         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45871         * config.make.in (CPPFLAGS-config): New substituted variable.
45873 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45875         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45877         [BZ #13192]
45878         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45879         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45881 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45883         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45884         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45885         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45886         (CALL_FAIL): Likewise.
45887         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45888         (CALL_FAIL): Macro removed.
45889         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45891 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45893         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45894         for __FINITE_MATH_ONLY__ == 1.
45896 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45898         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45899         __ieee754_sqrt instead of sqrt.
45900         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45901         __ieee754_sqrtf instead of sqrtf.
45902         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45903         __floorf instead of floorf.
45904         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45905         __floorf, __truncf instead of floorf, truncf.
45907 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45909         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45911         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45912         __extern_always_inline.
45913         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45914         32-bit.
45916 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45918         * elf/rtld.c (dl_main): Also relocate in dependency order when
45919         doing symbol dependency testing.
45921 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45924         Always define `refsym'.
45926 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45928         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45929         (__FD_ELT): Renamed from __FDELT.
45930         * misc/bits/select2.h (__FD_ELT): Likewise.
45931         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45932         __FD_MASK instead of __FDELT, __FDMASK.
45933         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45934         Likewise.
45935         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45936         Likewise.
45938         * elf/Makefile (gen-ldd): Fix pattern.
45940         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45941         (init_tls): Likewise.
45943 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45945         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45947 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45949         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45950         `struct cmsghdr *' instead of `void *'.
45951         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45952         Likewise.
45954 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45956         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45957         if non-absolute.
45958         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45959         ldd_rewrite_script.
45961 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45963         * configure.in: Remove --with-tls option.
45964         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45965         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45966         out in case it is missing.
45967         * sysdeps/ia64/elf/configure.in: Likewise.
45968         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45969         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45970         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45971         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45972         * sysdeps/sh/elf/configure.in: Likewise.
45973         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45974         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45975         * sysdeps/x86_64/elf/configure.in: Likewise.
45976         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45977         * sysdeps/mach/hurd/tls.h: Likewise.
45979         [BZ #13067]
45980         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45982         [BZ #13090]
45983         * configure.in: Fix use of AC_INIT.
45985         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45987 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45989         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45990         __set_errno.
45991         * malloc/hooks.c: Likewise.
45993         [BZ #11929]
45994         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45995         variables statically.
45996         (narenas): Initialize.
45997         (list_lock): Initialize.
45998         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45999         initializtion of main_arena and list_lock.  Small cleanups.
46000         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46001         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46002         Add initializers to main_arena and mp_.
46003         (malloc_state): Remove pagesize member.  Change all users to use
46004         GLRO(dl_pagesize).
46006         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46007         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46008         is always initialized.
46010         * malloc/malloc.c: Removed unused configurations and dead code.
46011         * malloc/arena.c: Likewise.
46012         * malloc/hooks.c: Likewise.
46013         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46015         * include/tls.h: Removed.  USE___THREAD must always be defined.
46016         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46017         * elf/dl-libc.c: Likewise.
46018         * elf/dl-tsd.c: Likewise.
46019         * include/errno.h: Likewise.
46020         * include/netdb.h: Likewise.
46021         * include/resolv.h: Likewise.
46022         * inet/herrno-loc.c: Likewise.
46023         * inet/herrno.c: Likewise.
46024         * malloc/arena.c: Likewise.
46025         * malloc/hooks.c: Likewise.
46026         * malloc/malloc.c: Likewise.
46027         * resolv/res-state.c: Likewise.
46028         * resolv/res_libc.c: Likewise.
46029         * sysdeps/i386/dl-machine.h: Likewise.
46030         * sysdeps/ia64/dl-machine.h: Likewise.
46031         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46032         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46033         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46034         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46035         * sysdeps/sh/dl-machine.h: Likewise.
46036         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46037         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46038         * sysdeps/unix/i386/sysdep.S: Likewise.
46039         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46040         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46045         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46049         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46050         * sysdeps/x86_64/dl-machine.h: Likewise.
46051         * tls.make.c: Likewise.
46053         * configure.in: Remove --with-__thread option.  Make tests for
46054         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46055         tls_model attribute fail if no support is available.  Remove
46056         USE_IN_LIBIO.
46057         * Makeconfig: Adjust for dropped configure option.  All features are
46058         now mandatory.
46059         * Makerules: Likewise.
46060         * Versions.def: Likewise.
46061         * argp/argp-fmtstream.c: Likewise.
46062         * argp/argp-fmtstream.h: Likewise.
46063         * argp/argp-help.c: Likewise.
46064         * assert/assert.c: Likewise.
46065         * config.h.in: Likewise.
46066         * config.make.in: Likewise.
46067         * configure: Likewise.
46068         * configure.in: Likewise.
46069         * csu/Versions: Likewise.
46070         * csu/init.c: Likewise.
46071         * elf/tst-audit2.c: Likewise.
46072         * elf/tst-tls10.c: Likewise.
46073         * elf/tst-tls10.h: Likewise.
46074         * elf/tst-tls11.c: Likewise.
46075         * elf/tst-tls12.c: Likewise.
46076         * elf/tst-tls14.c: Likewise.
46077         * elf/tst-tlsmod11.c: Likewise.
46078         * elf/tst-tlsmod12.c: Likewise.
46079         * elf/tst-tlsmod13.c: Likewise.
46080         * elf/tst-tlsmod13a.c: Likewise.
46081         * elf/tst-tlsmod14a.c: Likewise.
46082         * elf/tst-tlsmod15b.c: Likewise.
46083         * elf/tst-tlsmod16a.c: Likewise.
46084         * elf/tst-tlsmod16b.c: Likewise.
46085         * elf/tst-tlsmod7.c: Likewise.
46086         * elf/tst-tlsmod8.c: Likewise.
46087         * elf/tst-tlsmod9.c: Likewise.
46088         * gmon/gmon.c: Likewise.
46089         * grp/fgetgrent_r.c: Likewise.
46090         * grp/putgrent.c: Likewise.
46091         * hurd/fopenport.c: Likewise.
46092         * include/libc-symbols.h: Likewise.
46093         * include/tls.h: Likewise.
46094         * intl/gettextP.h: Likewise.
46095         * intl/loadinfo.h: Likewise.
46096         * locale/global-locale.c: Likewise.
46097         * locale/localeinfo.h: Likewise.
46098         * mach/devstream.c: Likewise.
46099         * malloc/arena.c: Likewise.
46100         * malloc/set-freeres.c: Likewise.
46101         * misc/err.c: Likewise.
46102         * misc/getttyent.c: Likewise.
46103         * misc/mntent_r.c: Likewise.
46104         * posix/getopt.c: Likewise.
46105         * posix/wordexp.c: Likewise.
46106         * pwd/fgetpwent_r.c: Likewise.
46107         * resolv/Versions: Likewise.
46108         * resolv/res_hconf.c: Likewise.
46109         * shadow/fgetspent_r.c: Likewise.
46110         * shadow/putspent.c: Likewise.
46111         * stdio-common/printf_fphex.c: Likewise.
46112         * stdio-common/tmpfile.c: Likewise.
46113         * stdlib/abort.c: Likewise.
46114         * stdlib/fmtmsg.c: Likewise.
46115         * sunrpc/auth_unix.c: Likewise.
46116         * sunrpc/clnt_perr.c: Likewise.
46117         * sunrpc/clnt_tcp.c: Likewise.
46118         * sunrpc/clnt_udp.c: Likewise.
46119         * sunrpc/clnt_unix.c: Likewise.
46120         * sunrpc/openchild.c: Likewise.
46121         * sunrpc/svc_simple.c: Likewise.
46122         * sunrpc/svc_tcp.c: Likewise.
46123         * sunrpc/svc_udp.c: Likewise.
46124         * sunrpc/svc_unix.c: Likewise.
46125         * sunrpc/xdr.c: Likewise.
46126         * sunrpc/xdr_array.c: Likewise.
46127         * sunrpc/xdr_rec.c: Likewise.
46128         * sunrpc/xdr_ref.c: Likewise.
46129         * sunrpc/xdr_stdio.c: Likewise.
46131 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46133         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46135 2011-07-03  Andreas Jaeger  <aj@suse.de>
46137         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46138         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46139         regenerate with gen-libm-tests.pl.
46141 2010-05-12  Petr Baudis  <pasky@suse.cz>
46143         [BZ #11589]
46144         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46145         around j0() zero points by switching to j1().
46146         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46147         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46148         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46149         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46151 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46153         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46154         instead of 0.
46155         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46156         instead of 0.
46157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46158         Patch in part by Pavel Roskin <proski@gnu.org>.
46160         [BZ #13138]
46161         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46162         realloc.
46163         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46164         Free memory block if necessary.
46166         [BZ #12847]
46167         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46168         be NULL.  Don't lock in this case.
46170 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46172         * elf/elf.h (ELFOSABI_GNU): New macro.
46173         (ELFOSABI_LINUX): Define to that.
46175 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46177         * string/strncat.c (strncat): Undef the symbol in case it has been
46178         defined in bits/string.h.
46180 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46182         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46184         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46185         link map.
46187 2011-08-17  Andreas Jaeger  <aj@suse.de>
46189         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46191 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46192             Ian Lance Taylor  <iant@google.com>
46194         * math/libm-test.inc (lround_test): New testcase.
46195         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46197 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46199         * Makefile: Remove support for automatic cvs check-ins.
46200         * Makerules: Likewise.
46201         * config.make.in: Likewise.
46202         * configure.in: Likewise.
46203         * intl/Makefile: Likewise.
46204         * locale/Makefile: Likewise.
46205         * po/Makefile: Likewise.
46206         * posix/Makefile: Likewise.
46207         * sysdeps/gnu/Makefile: Likewise.
46208         * sysdeps/mach/hurd/Makefile: Likewise.
46209         * sysdeps/sparc/sparc32/Makefile: Likewise.
46211         [BZ #13118]
46212         * posix/Makefile (bug-regex32-ENV): Define.
46213         Patch by John Stanley <jpsinthemix@verizon.net>.
46215         * misc/Makefile (headers): Add bits/select2.h.
46216         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46217         * misc/bits/select2.h: New file.
46218         * include/bits/select2.h: New file.
46219         * debug/Makefile (routines): Add fdelt_chk.
46220         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46221         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46222         FD_ISSET.
46223         * debug/fdelt_chk.c: New file.
46225         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46226         * wcsmbs/test-wmemcmp.c: Likewise.
46227         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46228         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46230 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46232         * string/Makefile (strop-tests): Add memcmp.
46233         * string/test-wmemcmp.c: New file.
46234         * string/test-memcmp.c: Add wmemcmp support.
46236 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46238         [BZ #13153]
46239         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46240         2011-07-19 change.
46242         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46243         garbage value in a __mach_port_mod_refs call in the cases of the
46244         task-self and thread-self ports.
46246 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46248         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46250 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46252         * elf/dl-load.c (lose): Check for non-null L.
46254 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46256         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46258         * elf/dl-libc.c (dlerror_run): Pass back error code from
46259         dl_catch_error.
46261         [BZ #13123]
46262         * elf/dl-load.c (lose): Free l_origin if it is valid.
46264         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46265         names.
46266         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46267         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46268         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46269         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46270         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46271         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46273 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46275         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46276         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46277         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46278         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46279         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46280         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46281         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46282         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46283         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46284         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46286 2011-08-15  Alan Modra  <amodra@gmail.com>
46288         [BZ #13092]
46289         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46290         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46291         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46292         ppc_mcount to static-only-routines.
46293         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46294         __mcount_internal.
46295         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46296         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46298 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46300         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46301         for finite and infinity parameters.
46303 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46305         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46306         and add nop instructions for throughput optimization.
46307         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46309 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46311         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46312         aligned copy for power7 with vector-scalar instructions.
46313         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46315 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46318         AVX check.
46320 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46322         [BZ #13144]
46323         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46324         last change.
46326 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46328         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46329         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46330         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46331         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46332         clock_gettime.
46334 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46336         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46337         Forgot to demangle the pointer.
46339         * sysdeps/i386/sysdep.h: Define atom_text_section.
46340         * sysdeps/x86_64/sysdep.h: Likewise.
46341         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46342         section with atom_text_section.
46343         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46344         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46345         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46346         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46347         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46349         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46350         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46351         already be defined.  Change to take two parameters and don't assign
46352         result to variable.  Adjust all users.
46353         Define INTERNAL_GETTIME if not already defined.
46354         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46355         call.
46356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46357         HAVE_CLOCK_GETTIME_VSYSCALL.
46358         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46361         gettimeofday vsyscall, just use time.
46363 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46365         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46366         <errno.h>.
46368 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46370         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46371         syscall on x86-64.
46372         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46373         syscall.
46374         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46375         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46376         syscall if possible.
46378 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46380         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46381         e_ident.  Don't pass to find_mapsXX.
46382         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46384 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46387         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46388         * sysdeps/x86_64/multiarch/strchr.S: Update.
46389         Check bit_slow_BSF bit.
46390         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46391         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46392         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46394 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46396         [BZ #13134]
46397         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46398         before glibc 2.15.
46399         (tryshell): Define.
46400         (__spawni): Change last parameter to be flag.  Test
46401         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46402         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46403         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46404         * posix/spawni.c: Likewise.
46405         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46406         * posix/spawnp.c: Likewise.  Change normal version to use
46407         SPAWN_XFLAGS_USE_PATH.
46408         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46409         SPAWN_XFLAGS_TRY_SHELL.
46411         [BZ #13150]
46412         * posix/glob.h: Remove gcc 1.x support.
46414         [BZ #13068]
46415         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46417 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46420         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46421         strrchr-sse2-bsf
46422         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46423         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46424         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46425         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46426         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46427         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46429 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46431         * sysdeps/x86_64/wcscmp.S: New file.
46433         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46434         wcscmp-c wcscmp-sse2
46435         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46436         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46437         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46438         * wcsmbs/wcscmp.c: Allow renaming.
46440 2011-09-05  David S. Miller  <davem@davemloft.net>
46442         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46443         stack slot, rather than the struct return pointer slot.
46444         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46445         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46447         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46449 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46451         * po/ja.po: Update from translation team.
46453         [BZ #13144]
46454         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46455         kernel in 64-bit binaries.
46457 2011-09-01  David S. Miller  <davem@davemloft.net>
46459         * elf/elf.h (HWCAP_SPARC_*): Move to..
46460         * sysdeps/sparc/sysdep.h: this new file and add new values.
46461         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46462         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46463         _DL_HWCAP_COUNT to 24.
46464         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46465         entries.
46466         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46467         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46468         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46469         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46470         instead of magic constants.
46471         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46473 2011-08-31  David S. Miller  <davem@davemloft.net>
46475         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46477         Reimplement to do errno handling inline.
46478         (SYSCALL_ERROR_HANDLER): New macro.
46479         (__SYSCALL_STRING): Do not do errno handling in asm.
46480         (__CLONE_SYSCALL_STRING): Delete.
46481         (__INTERNAL_SYSCALL_STRING): Delete.
46482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46483         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46484         (PSEUDO): Reimplement to do errno handling inline.
46485         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46486         (SYSCALL_ERROR_HANDLER): New macro.
46487         (__SYSCALL_STRING): Do not do errno handling in asm.
46488         (__CLONE_SYSCALL_STRING): Delete.
46489         (__INTERNAL_SYSCALL_STRING): Delete.
46490         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46491         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46492         i386.
46493         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46494         (inline_syscall*): Add 'err' argument.
46495         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46496         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46497         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46498         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46500         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46501         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46503 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46505         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46507 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46509         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46510         directive.
46512 2011-08-24  David S. Miller  <davem@davemloft.net>
46514         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46516 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46518         * elf/Makefile: Add rules to build and run unload8 test.
46519         * elf/unload8.c: New file.
46520         * elf/unload8mod1.c: New file.
46521         * elf/unload8mod1x.c: New file.
46522         * elf/unload8mod2.c: New file.
46523         * elf/unload8mod3.c: New file.
46525         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46526         it wasn't used.
46528 2011-08-23  David S. Miller  <davem@davemloft.net>
46530         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46531         subtract stack bias.
46532         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46533         %sp not %fp in calculations.
46534         (_JMPBUF_UNWINDS_ADJ): Likewise.
46536         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46537         (aio_suspend): Call it to force an exception region around the
46538         AIO_MISC_WAIT() invocation.
46540 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46542         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46543         backslash.
46545 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46547         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46548         protection macro.
46549         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46550         and <dl-machine.h>.
46551         (Elf64_FuncDesc): Remove.
46553 2011-08-22  David S. Miller  <davem@davemloft.net>
46555         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46556         sigaltstack check, add missing cfi directives.
46557         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46558         missing cfi directives, and sigaltstack handling.
46560 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46562         [BZ #11724]
46563         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46564         object is seen twice.
46565         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46567         * elf/Makefile (distribute): Add tst-initorder2.c.
46568         (tests): Add tst-initorder2.
46569         (modules-names): Add tst-initorder2a tst-initorder2b
46570         tst-initorder2c tst-initorder2d.  Add rules to build them.
46571         ($(objpfx)tst-initorder2.out): New rule.
46572         * elf/tst-initorder2.c: New file.
46573         * elf/tst-initorder2.exp: New file.
46575 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46577         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46579         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46580         dependencies back to end of function.
46582         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46583         $(elfobjdir)/ld.so.
46585 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46588         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46589         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46590         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46591         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46592         of __vdso_gettimeofday.
46593         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46594         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46595         attribute_hidden.
46596         (_libc_vdso_platform_setup): Remove initialization of
46597         __vdso_gettimeofday and __vdso_time.
46599 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46601         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46602         and fgetc_unlocked.
46603         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46604         getc_unlocked.
46606         * elf/dl-open.c (add_to_global): Report additions to the global scope
46607         for LD_DEBUG=scopes.
46608         (dl_open_worker): Also print scope of newly loaded dependencies.
46609         (_dl_show_scope): Indicate if there is no scope.
46611         [BZ #13114]
46612         * stdio-common/Makefile (tests): Add bug24.
46613         * stdio-common/bug24.c: New file.
46615 2011-08-19  Andreas Jaeger  <aj@suse.de>
46617         [BZ #13114]
46618         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46619         non-existant file when using close-on-exec mode.
46621 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46624         the very first instruction.
46626         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46627         the CFI state in the end.
46628         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46629         inclusion of dl-trampoline.h.
46630         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46632 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46634         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46635         expectations for long double.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46638         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46640 2011-08-14  David S. Miller  <davem@davemloft.net>
46642         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46643         artificual limit depends upon the system page size.
46645 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46647         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46648         * resolv/Makefile: Define CFLAGS-libresolv.
46650 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46652         * nss/makedb.c (compute_tables): Make variables used in nested
46653         function static.
46655 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46657         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46658         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46659         if buffer was too small.
46661         * elf/pldd.c (main): Attach to all threads in the process.
46662         Rewrite /proc handling to use *at functions.
46664 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46666         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46667         specifies first scope to show.
46668         (dl_open_worker): Update callers.  Move printing scope of new
46669         object to before the relocation.
46670         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46671         * sysdeps/generic/ldsodefs.h: Update declaration.
46673         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46674         string for the scope number.
46676 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46678         * nscd/servicescache.c (cache_addserv): Make sure written is always
46679         initialized.
46681 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46683         * sysdeps/i386/i486/bits/atomic.h
46684         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46685         statement expression, so as to suppress "set but not used" warning.
46686         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46688         * string/strncat.c (STRNCAT): Use prototype definition.
46690         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46691         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46692         -Iprograms here.
46693         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46694         (localedef-modules): Add localedef.
46695         (locale-modules): Add locale.
46697         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46698         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46699         to avoid a warning.
46701 2011-08-14  David S. Miller  <davem@davemloft.net>
46703         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46704         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46706 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46708         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46709         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46710         * elf/rtld.c (dl_main): Set l_name of vDSO.
46711         Call _dl_show_scope when DL_DEBUG_SCOPES.
46712         (process_dl_debug): Recognize scopes flag and also set it for all.
46713         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46714         Declare _dl_show_scope.
46716         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46717         (do_dlopen): Pass caller_dlopen to dl_open.
46718         (__libc_dlopen_mode): Initialize caller_dlopen.
46720         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46721         of libc.  Make tolower call locale-independent.  Optimize a bit by
46722         using isdigit instead of isalnum.
46723         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46725 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46727         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46728         was a dependency or dynamically loaded.
46730 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46732         * intl/l10nflist.c: Allow architecture-specific pop function.
46733         * sysdeps/x86_64/l10nflist.c: New file.
46735         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46736         classification.
46738 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46740         * include/dirent.h: Add libc_hidden_proto for scandirat and
46741         scandirat64.  Don't declare __scandirat64.
46742         * dirent/scandirat.c: Add libc_hidden_def.
46743         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46744         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46746 2011-08-10  David S. Miller  <davem@davemloft.net>
46748         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46749         enum.
46750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46752         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46754 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46756         * Versions.def [libc]: Add GLIBC_2.15.
46757         * dirent/Makefile (routines): Add scandirat and scandirat64.
46758         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46759         GLIBC_2.15.
46760         * dirent/dirent.h: Declare scandirat and scandirat64.
46761         * dirent/scandirat.c: New file.
46762         * dirent/scandirat64.c: New file.
46763         * sysdeps/wordsize-64/scandirat.c: New file.
46764         * sysdeps/wordsize-64/scandirat64.c: New file.
46765         * dirent/opendir.c: Define opendirat.
46766         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46767         using scandirat.
46768         * dirent/scandir64.c: Adjust for scandir.c change.
46769         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46770         __scandirat64, and __scandir_cancel_handler.
46771         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46772         additional parameter and use openat instead of open (outside of ld.so).
46773         Add new __opendir as wrapper around __opendirat.
46774         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46775         here without requiring old scandirat implementation.
46777 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46779         * dirent/scandir.c (cancel_handler): Renamed to
46780         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46781         defined.  Adjust users.
46782         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46783         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46785 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46787         * string/test-string.h (IMPL): Use __STRING to expand name and then
46788         stringify it.
46790         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46791         of cleanups.
46793 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46795         * string/Makefile: Update.
46796         (strop-tests): Append strncat.
46797         * string/test-wcscmp.c: New file.
46798         New comprehensive test for wcscmp.
46799         * string/test-strcmp.c: Update.
46800         (WIDE): New define.
46802 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46804         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46805         line.
46807 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46810         encoding to ACE if AI_IDN.
46812 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46814         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46815         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46817 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46819         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46820         Fix overflow bug in strncat.
46821         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46823         * string/test-strncat.c: Update.
46824         Add new tests for checking overflow bugs.
46826 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46829         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46830         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46831         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46832         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46833         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46834         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46835         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46836         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46839         (USE_AS_STRCAT): Define.
46840         Add strcat and strncat support.
46841         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46843 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46845         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46846         __n bigger than INT_MAX+1.
46847         (__strncmp_g): Likewise.
46849 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46851         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46852         * libio/stido.h: Likewise.
46854         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46855         (AF_NFC): Define.
46856         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46857         (AF_NFC): Define.
46859         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46860         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46861         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46862         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46865         [BZ #13021]
46866         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46867         installed.
46869         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46870         typo.
46871         (_dl_x86_64_save_sse): Likewise.
46873 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46876         OSXSAVE.
46877         (_dl_x86_64_save_sse): Likewise.
46879         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46881         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46883 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46886         change.
46887         (_dl_x86_64_save_sse): Use correct AVX check.
46889 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46891         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46892         bug in strncpy/strncat.
46893         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46895 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46897         * string/tester.c (test_strcat): Add tests for different alignments
46898         of source and destination.
46899         (test_strncat): Likewise.
46901 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46903         [BZ #12852]
46904         * posix/glob.c (glob): Check passed in values before using them in
46905         expressions to avoid some overflows.
46906         (glob_in_dir): Likewise.
46908         [BZ #13007]
46909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46910         check for AVX enablement so that we don't crash with old kernels and
46911         new hardware.
46912         * elf/tst-audit4.c: Add same checks here.
46913         * elf/tst-audit6.c: Likewise.
46915         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46917 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46919         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46921 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46923         * po/cs.po: Update from translation team.
46924         * po/bg.po: Likewise.
46926 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46928         * misc/sys/cdefs.h: Add support for const attribute.
46929         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46930         to gnu_dev_{major,minor,makedev} functions.
46932 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46934         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46936 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46938         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46939         strlen results.
46941 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46944         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46945         register in order to avoid conflicts with the soft frame pointer
46946         being held in r11 when necessary.
46947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46948         (INTERNAL_VSYSCALL_NCS): Likewise.
46950 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46952         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46953         * elf/dl-fini.c (_dl_fini): Adjust caller.
46954         * elf/dl-close.c (_dl_close_worker): Likewise.
46955         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46957 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46959         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46960         "aux_cache->nlibs < 0".
46962         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46963         in the reload-count case.
46965 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46968         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46969         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46970         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46971         * sysdeps/x86_64/multiarch/strcat.S: New file.
46972         * sysdeps/x86_64/multiarch/strncat.S: New file.
46973         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46974         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46975         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46976         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46977         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46978         (USE_AS_STRCAT): Define.
46979         Add strcat and strncat support.
46980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46981         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46982         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46983         * string/strncat.c: Update.
46984         (USE_AS_STRNCAT): Define.
46985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46986         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46987         and i7.
46988         * sysdeps/x86_64/multiarch/init-arch.h
46989         (bit_Prefer_PMINUB_for_stringop): New.
46990         (index_Prefer_PMINUB_for_stringop): Likewise.
46991         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46992         bit_Prefer_PMINUB_for_stringop.
46994 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46996         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46997         buffer64.
46998         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46999         of casting of buffer.
47000         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47001         buffer32 and buffer64.
47002         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47003         writes instead of casting of buffer.
47004         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47005         buffer32.
47006         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47007         casting of buffer.
47009 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47011         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47013 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47015         * nscd/nscd.c (termination_handler): Don't do anything for a database
47016         if it has not yet been initialized.
47018 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47020         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47022 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47024         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47026 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47028         * po/nl.po: Update from translation team.
47029         * po/sv.po: Likewise.
47031 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47033         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47034         now disallowed by GCC.
47036         * configure.in (use-default-link): Default to yes if a test -shared
47037         link meets our qualifications.
47038         * configure: Regenerated.
47040         * config.make.in (output-format): New variable.
47041         * configure.in: Check for ld --print-output-format support.
47042         * configure: Regenerated.
47043         * Makerules ($(common-objpfx)format.lds)
47044         [$(output-format) != unknown]: Just use $(output-format),
47045         instead of the linker-script munging.
47047 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47049         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47050         of $(common-objpfx)shlib.lds.
47051         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47053         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47054         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47056         * configure.in (-z relro check): Adjust test code to add a large
47057         writable data section after it.
47058         * configure: Regenerated.
47060 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47062         * configure.in (-z relro check): Fix test code to make the variable
47063         truly const.
47064         * configure: Regenerated.
47066 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47068         * nscd/nscd.h (struct traced_file): Define.
47069         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47070         elements.  Add traced_files.
47071         (inotify_fd): Declare.
47072         (register_traced_file): Declare.
47073         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47074         (inotify_fd): Export.
47075         (resolv_conf_descr): Remove.
47076         (nscd_init): Move inotify descriptor creation to main.
47077         Don't register files for notification here.
47078         (register_traced_file): New function.
47079         (invalidate_cache): Don't use reset_res to determine whether to call
47080         res_init, go through the list of registered files.
47081         (main_loop_poll): The inotify descriptors are now stored in the
47082         structures for the traced files.
47083         (main_loop_epoll): Likewise
47084         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47085         to __nss_disable_nscd.
47086         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47087         for a database anymore.  Check the records for all the registered
47088         files instead.
47089         * nss/Makefile (libnss_files-routines): Add files-init.
47090         (libnss_db-routines): Add db-init.
47091         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47092         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47093         * nss/nss_db/db-init.c: New file.
47094         * nss/nss_files/files-init.c: New file.
47095         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47096         __nss_lookup_function.
47097         (__nss_lookup_function): Call nss_load_library.
47098         (nss_load_all_libraries): New function.
47099         (__nss_disable_nscd): Take parameter with callback function for files
47100         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47101         used for the cached services.
47102         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47103         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47104         options for features to all the files in nscd.
47106         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47108 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47110         * csu/elf-init.c (__libc_csu_init): Comment typo.
47112 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47114         * po/pl.po: Update from translation team.
47115         * po/ja.po: Likewise.
47116         * po/ru.po: Likewise.
47117         * po/ko.po: Likewise.
47118         * po/fr.po: Likewise.
47120 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47122         * configure.in (.ctors/.dtors header and trailer check):
47123         Use an empirical test on a built program.
47124         * configure: Regenerated.
47126         * configure.in (-z relro check): Use an empirical test on a built DSO.
47127         Detect, but do not require, on ia64.
47128         * configure: Regenerated.
47130         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47131         Update tests that use readelf to use $READELF instead.
47132         * configure: Regenerated.
47134 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47136         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47137         if the result is not used.
47139 2011-07-05  Andreas Jaeger  <aj@suse.de>
47141         [BZ#9696]
47142         * stdlib/tst-strtod.c: Add testcase.
47144 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47146         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47147         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47148         The latter has a higher limit.  Take additional parameter to pass to
47149         the new function.
47150         (__pathconf): Pass file to __statfs_link_max.
47151         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47152         __statfs_link_max.
47153         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47154         __statfs_link_max.
47156         [BZ #12868]
47157         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47158         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47159         Handle Lustre.
47160         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47161         (__statfs_filesize_max): Likewise.
47162         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47164 2011-07-05  Andreas Jaeger  <aj@suse.de>
47166         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47168 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47170         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47171         `status' variable.
47172         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47173         Likewise.
47175 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47177         * Makefile (strop-tests): Add strncat.
47178         * string/test-strncat.c: New file.
47180 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47182         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47184 2011-06-21  Andreas Jaeger  <aj@suse.de>
47186         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47187         Copy rule from iconvdata/Makefile.
47189 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47191         [BZ #12922]
47192         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47193         but no long options are defined, just return 'W'.
47195 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47197         [BZ #9696]
47198         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47200 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47202         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47203         netgroups to read.
47204         (innetgr): Likewise.
47206 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47208         * config.make.in (install_root): Default to $(DESTDIR).
47210 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47214 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47216         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47218         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47219         containing directory rather than embedding absolute directory names.
47221         * scripts/check-local-headers.sh: Rewritten using awk.
47222         Match by word, not by line.  Print error messages for matches.
47223         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47225         * Makerules [shlib-lds-flags empty]:
47226         ($(common-objpfx)libc_pic.opts): New target.
47227         ($(common-objpfx)libc_pic.os.clean): New target.
47228         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47230         * config.make.in (OBJCOPY): New variable.
47231         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47232         * configure: Regenerated.
47234         * config.make.in (use-default-link): New variable.
47235         * configure.in (use_default_link): Grok --with-default-link to set it.
47236         * configure: Regenerated.
47237         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47238         (shlib-lds, shlib-lds-flags): Define to empty.
47240         * Makerules (shlib-lds): New variable.
47241         (shlib-lds-flags): New variable.
47242         (build-shlib, build-moduile, build-module-asneeded): Use it.
47243         ($(common-objpfx)libc.so): Use $(shlib-lds).
47244         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47245         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47247         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47248         DT_FLAGS/DT_FLAGS_1 with zero flags.
47250         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47251         linker script munging.
47253 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47255         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47256         as 128-bit value.
47257         * crypt/sha512.c (sha512_process_block): Perform total addition using
47258         128-bit if possible.
47259         (__sha512_finish_ctx): Likewise.
47260         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47261         as 64-bit value.
47262         * crypt/sha256.c (SWAP64): Define.
47263         (sha256_process_block): Perform total addition using 64-bit if
47264         possible.
47265         (__sha256_finish_ctx): Likewise.
47267 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47269         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47271         * nscd/hstcache.c (cache_addhst): Likewise.
47272         * nscd/grpcache.c (cache_addgr): Likewise.
47273         * nscd/aicache.c (addhstaiX): Likewise
47274         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47276 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47278         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47280         * nscd/hstcache.c (cache_addhst): Likewise.
47281         * nscd/grpcache.c (cache_addgr): Likewise.
47282         * nscd/aicache.c (addhstaiX): Likewise
47284 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47286         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47287         domain only when needed.
47289 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47292         is always restored.
47294 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47296         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47297         are re-adding the entry.
47298         * nscd/servicescache.c (cache_addserv): Likewise.
47300 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47302         * sysdeps/generic/dl-irel.h: fix protection against multiple
47303         inclusions.
47304         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47306 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47308         [BZ #12935]
47309         * malloc/memusage.sh: Fix quoting in message.
47310         * debug/xtrace.sh: Likewise.
47312         * configure.in: Remove support for --experimental-malloc option, make
47313         it the default.
47314         * config.make.in: Likewise.
47315         * malloc/Makefile: Likewise.
47317 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47319         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47320         two-byte characters.
47322 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47324         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47325         AC_CACHE_CHECK invocation.
47326         * configure: Regenerated.
47328         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47330 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47332         [BZ #12350]
47333         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47334         bit from old_res_options.
47336         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47338         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47339         value type for setfct.
47341 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47343         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47344         __gettimeofday instead of gettimeofday.
47346 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47348         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47350 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47355         info.
47357 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47360         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47361         strcpy-sse2-unaligned strncpy-sse2-unaligned
47362         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47363         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47364         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47365         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47366         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47367         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47368         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47369         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47370         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47371         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47372         (STRCPY): Support SSE2 and SSSE3 versions.
47374 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47376         [BZ #12874]
47377         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47378         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47379         kernels which artificially limit size of requests.
47381 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47384         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47385         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47386         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47387         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47388         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47389         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47390         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47391         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47392         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47393         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47394         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47395         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47396         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47397         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47399         Enable unaligned load optimization for Intel Core i3, i5 and i7
47400         processors.
47401         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47402         Define.
47403         (index_Fast_Unaligned_Load): Define.
47404         (HAS_FAST_UNALIGNED_LOAD): Define.
47406 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47408         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47410 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47412         [BZ #12907]
47413         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47414         until it is clear that the information is realy needed.
47415         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47417 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47421 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47424         /sys/devices/system/cpu/online if it is usable.
47426         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47427         reading the information from the /proc filesystem to once a second.
47429 2011-06-21  Andreas Jaeger  <aj@suse.de>
47431         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47432         NULL after inclusion of kernel headers.
47434 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47436         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47437         calls to internal_setent.
47439         [BZ #12885]
47440         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47441         addresses using gethostbyname4_r ignore IPv4 addresses.
47443         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47444         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47446         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47448 2011-06-20  David S. Miller  <davem@davemloft.net>
47450         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47451         inclusions.
47452         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47454         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47455         (elf_irel): Use it.
47456         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47457         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47458         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47459         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47460         * sysdeps/x86_64/dl-irel.h: Likewise.
47462         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47463         * elf/dl-sym.c: Likewise.
47465 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47467         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47468         need to dereference resplen2.
47470 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47472         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47474 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47476         * Makeconfig: Define vardbdir and inst_vardbdir.
47477         * nss/Makefile: Add rules to install db-Makefile.
47479         * nss/nss_db/db-XXX.c: Cleanup.
47481         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47482         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47483         GLIBC_PRIVATE.
47484         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47485         * nss/makedb.c: Implement -g option to specify that value strings
47486         are generated and should not be added to table iterated over for
47487         get*ent calls.
47488         * nss/nss_db/db-initgroups.c: New file.
47490         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47491         interface.
47493         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47494         (internal_getgrouplist): Adjust to name change.
47495         Update use_initgroups_entry if this is not the first call.
47496         * nss/databases.def: Add initgroups entry.
47498         * nss/makedb.c (compute_tables): Check result of multiple hash table
47499         sizes to minimize maximum chain length.
47501 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47503         * Versions.def: Add entry for libnss_db.
47504         * shlib-versions: Likewise.
47505         * nss/Makefile: Add rules to build libnss_db.
47506         * nss/Versions: Add libnss_db information.  Organize libnss_files
47507         entries better.
47508         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47509         makedb progra.  Some minor improvements to generate smaller files.
47510         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47511         here from...
47512         * nss/makedb.c: ...here.
47513         Improve database format to be smaller and require less memory at
47514         runtime.
47515         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47516         db anymore.
47517         * nss/nss_db/db-netgrp.c: Likewise.
47518         * nss/nss_db/db-open.c: Likewise.
47519         * nss/nss_files/flies-XXX.x: Adjust comments.
47520         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47521         * nss/nss_files/files-grp.c: Likewise.
47522         * nss/nss_files/files-hosts.c: Likewise.
47523         * nss/nss_files/files-network.c: Likewise.
47524         * nss/nss_files/files-proto.c: Likewise.
47525         * nss/nss_files/files-pwd.c: Likewise.
47526         * nss/nss_files/files-rpc.c: Likewise.
47527         * nss/nss_files/files-service.c: Likewise.
47528         * nss/nss_files/files-sgrp.c: Likewise.
47529         * nss/nss_files/files-spwd.c: Likewise.
47530         * nss/nss_db/db-alias.c: Removed.
47531         * nss/nss_db/dummy-db.h: Removed.
47533 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47535         * nss/makedb.c: Rewritten to not use database library.
47536         * nss/Makefile: Update to build new makedb program.
47538 2011-06-14  Andreas Jaeger  <aj@suse.de>
47540         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47541         memset declaration.
47543 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47546         tmpbuf.
47548 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47550         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47551         * elf/Makefile ($(objpfx)ld.so): Likewise.
47553         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47554         Don't list ld.so twice in dependencies.
47556         * posix/bug-regex31.c: Include <stdlib.h>.
47558         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47560         * nis/nss_compat/compat-spwd.c
47561         (getspent_next_nss_netgr): Remove unused variable.
47562         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47564         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47565         nonmembers" output to use the right array.
47567         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47569         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47571         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47572         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47573         * catgets/gencat.c (read_input_file): Likewise.
47574         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47576         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47577         variable definition inside #if's controlling its use.
47579         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47581         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47583         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47585         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47586         unreachable code.
47588         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47590         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47591         * configure: Regenerated.
47593         * Makerules: Revert last change.
47594         * elf/Makefile: Likewise.
47596 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47598         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47599         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47600         (reloc-link): Likewise.
47602 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47604         * elf/Makefile: Add rules to build pldd.
47605         * elf/pldd.c: New file.
47606         * elf/pldd-xx.c: New file.
47608 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47610         * version.h: Update for 2.15 development version.
47612 2011-06-07  David S. Miller  <davem@davemloft.net>
47614         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47615         ifuncs.
47616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47617         elf_machine_lazy_rel): Likewise.
47618         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47620         elf_machine_lazy_rel): Likewise.
47621         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47622         dl_hwcap via passed in argument.
47623         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47624         Likewise.
47626 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47628         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47630 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47632         [BZ #12849]
47633         * manual/fdl-1.1.texi: New file, verbatim from:
47634         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47635         * manual/lgpl-2.1.texi: New file, verbatim from:
47636         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47637         * manual/Makefile (licenses): New variable, list those new file names.
47638         (texis): Use it.
47639         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47641         * manual/fdl.texi: File removed.
47642         * manual/lesser.texi: File removed.
47643         * manual/libc.texinfo (Copying, Documentation License):
47644         Use new @include file names, put @appendix directive before @include.
47646 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47648         [BZ #12841]
47649         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47650         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47651         (mq_open): Add __NTH.
47653 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47656         Assume Intel Core i3/i5/i7 processor if AVX is available.
47658 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47661         typo.
47663 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47665         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47666         memory.  Use alloca_account.  Fix memory leak when retrying.
47668 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47670         * version.h (RELEASE): Bump for 2.14 release.
47671         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47673         * config.make.in (RANLIB): Remove entry.
47675 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47677         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47678         (libc.pot): Work around missing support for .ksh extension in xgettext.
47680         [BZ #12684]
47681         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47682         if both request failed.
47683         (send_dg): In case of server errors clear resplen or *resplen2.
47685         [BZ #12454]
47686         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47687         when there are multiple maps.
47688         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47689         (_dl_fini): Remove test here.
47691         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47693 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47695         [BZ #12350]
47696         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47697         bit from old_res_options.
47698         (gaih_inet): Likewise.
47700         [BZ #11099]
47701         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47702         as signed.
47704         * resolv/res_init.c (res_setoptions): Make the code more compact.
47706         [BZ #11558]
47707         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47708         set RES_USEVC.
47710         [BZ #11634]
47711         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47713         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47715         [BZ #11781]
47716         * malloc/malloc.h: Declare malloc hook variables as volatile.
47718         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47719         in last patch.
47721         [BZ #11799]
47722         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47723         raise in the comment.
47724         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47725         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47726         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47728 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47730         [BZ #12811]
47731         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47732         grow the buffers more if it already has to be sufficient.
47733         (build_wcs_upper_buffer): Likewise.
47734         * posix/regexec.c (check_matching): Likewise.
47735         (clean_state_log_if_needed): Likewise.
47736         (extend_buffers): Don't enlarge buffers beyond size of the input
47737         buffer.
47738         Patches mostly by Emil Wojak <emil@wojak.eu>.
47739         * posix/bug-regex32.c: New file.
47740         * posix/Makefile (tests): Add bug-regex32.
47742         * locale/findlocale.c (_nl_find_locale): Return right away if
47743         _nl_explode_name failed.
47744         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47746         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47748         * debug/xtrace.sh: Unify messages.
47749         * malloc/memusage.sh: Likewise.
47751         [BZ #12813]
47752         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47753         time symbol from vDSO.  Substitute with vsyscall if not available.
47754         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47755         __vdso_time.
47757         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47758         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47759         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47760         Add sendmmsg and internal_sendmmsg.
47761         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47762         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47763         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47765         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47766         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47767         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47769 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47771         [BZ #12813]
47772         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47773         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47774         available.
47775         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47776         __vdso_getcpu.
47778         [BZ #12814]
47779         * iconvdata/Makefile (tests): Add bug-iconv9.
47780         * iconvdata/bug-iconv9.c: New file.
47782 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47784         [BZ #12814]
47785         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47787 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47789         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47790         (struct user_regs_struct): Change intcs field back to cs.
47792 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47794         * po/ja.po: Update from translation team.
47796 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47798         [BZ #12795]
47799         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47802 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47804         * stdlib/longlong.h: Update from GCC.
47806 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47808         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47809         parameter name.
47810         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47811         Add parameter name.
47812         (__sysconf): Pass it down.
47814 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47816         [BZ #12671]
47817         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47818         some situations.
47819         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47820         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47821         add in in __libc_use_alloca calls.  Adjust callers.
47822         (glob): Use malloc in some situations.
47824         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47825         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47826         pltexit.
47828 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47830         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47831         and CLOCK_BOOTTIME_ALARM.
47833         [BZ #12782]
47834         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47835         is returned.
47837         * string/_strerror.c (__strerror_r): Print negative errors as signed
47838         numbers.
47840         [BZ #12777]
47841         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47842         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47843         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47845         * configure.in: Fix typo in redirection and correct removal of test
47846         files in two cases.
47848         [BZ #12788]
47849         * locale/setlocale.c (new_composite_name): Fix test to check for
47850         identical name of all categories.
47852         [BZ #12792]
47853         * libio/filedoalloc.c (local_isatty): New function.
47854         (_IO_file_doallocate): Use local_isatty.
47855         * stdio-common/perror.c (perror): In case a new stream is used
47856         forward the stream error.
47857         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47858         error flag.
47860 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47862         [BZ #11869]
47863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47864         alloca.
47865         * include/alloca.h (extend_alloca_account): Define.
47867         [BZ #11857]
47868         * posix/regex.h: Fix comments with documentation of user-accessible
47869         fields after compilation and describe correct free'ing of pattern
47870         after re_compile_pattern.
47871         Patch by Reuben Thomas <rrt@sc3d.org>.
47873 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47875         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47876         and -mno-altivec to prevent the compiler from using Altivec and/or
47877         VSX instructions when the corresponding registers are not available.
47879 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47881         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47883 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47885         * libio/freopen.c (freopen): Use __dup2, not dup2.
47886         * libio/freopen64.c (freopen64): Likewise.
47888 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47890         [BZ #12775]
47891         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47892         * math/Makefile (tests): Add test-powl.
47893         (CFLAGS-test-powl.c): Define.
47894         * math/test-powl.c: New file.
47896 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47898         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47900 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47902         [BZ #11837]
47903         * iconvdata/gb18030.c: Update to GB18020-2005.
47905 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47907         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47908         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47909         Patch by Aharon Robbins <arnold@skeeve.com>.
47911         [BZ #11892]
47912         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47913         on the stack.
47915         [BZ #11895]
47916         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47917         through underflows.
47919         [BZ #12766]
47920         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47921         point to strings before performing equality test for error_one_per_line
47922         mode.
47924         [BZ #11697]
47925         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47927         [BZ #11820]
47928         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47929         (struct user_fpregs_struct): Avoid __uint*_t types.
47931         [BZ #6420]
47932         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47933         symbol info.  Use it instead of calling _dl_addr locally.
47934         (lock_and_info): New function.
47935         (tr_freehook): Call lock_and_info and pass symbol info as additional
47936         parameter to tr_where.
47937         (tr_mallochook): Likewise.
47938         (tr_reallochook): Likewise.
47939         (tr_memalignhook): Likewise.
47941         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47942         used and couldn't be at all thread-safe.
47944 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47946         * libio/freopen.c (freopen): Don't close old file descriptor
47947         before the new one is opened.  Instead dup the new file descriptor
47948         to the old one after the new stream is created.
47949         * libio/freopen64.c (freopen64): Likewise.
47950         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47951         * libio/fileops.c (_IO_new_file_close_it): Handle new
47952         _IO_FLAGS2_NOCLOSE flag.
47953         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47954         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47955         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47956         _IO_FLAGS2_NOCLOSE flag.
47957         * include/unistd.h: Add hidden_proto for dup3.
47958         Define __have_dup3.
47959         * io/dup3.c: Define hidden symbol.
47960         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47962         [BZ #7101]
47963         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47964         when an incomplete long option is used.
47965         * posix/tst-getopt_long1.c: New file.
47966         * posix/Makefile (tests): Add tst-getopt_long1.
47968         [BZ #10138]
47969         * scripts/config.guess: Update from autoconf-2.68.
47970         * scripts/config.sub: Likewise.
47972         [BZ #10157]
47973         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47974         tests into ...
47975         (has_cpuclock): ...this.  New function.
47976         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47977         macro here based on has_cpuclock code.
47979         [BZ #10149]
47980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47981         First byte (not low byte) is now always NUL.
47982         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47984         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47985         Use non-cancelable interfaces.
47987         [BZ #9809]
47988         * locale/iso-639.def: Add entry for Sorani.
47990         [BZ #11901]
47991         * include/stdlib.h: Move include protection to the right place.
47992         Define abort_msg_s.  Declare __abort_msg with it.
47993         * stdlib/abort.c (__abort_msg): Adjust type.
47994         * assert/assert.c (__assert_fail_base): New function.  Majority
47995         of code from __assert_fail.  Allocate memory for __abort_msg with
47996         mmap.
47997         (__assert_fail): Now call __assert_fail_base.
47998         * assert/assert-perr.c: Remove bulk of implementation.  Use
47999         __assert_fail_base.
48000         * include/assert.hL Declare __assert_fail_base.
48001         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48002         mmap.
48003         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48005 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48007         [BZ #11952]
48008         [BZ #12453]
48009         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48010         until all modules are registered in the DTV.
48011         * elf/Makefile: Add rules to build and run tst-tls19.
48012         * elf/tst-tls19.c: New file.
48013         * elf/tst-tls19mod1.c: New file.
48014         * elf/tst-tls19mod2.c: New file.
48015         * elf/tst-tls19mod3.c: New file.
48016         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48018         [BZ #12083]
48019         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48020         correctly.
48022         [BZ #12601]
48023         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48024         two-byte sequence errors.
48025         * iconvdata/Makefile (tests): Add bug-iconv8.
48026         * iconvdata/bug-iconv8.c: New file.
48028         [BZ #12626]
48029         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48030         buf2 definition.
48032         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48034         [BZ #12432]
48035         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48036         (dummy_getcfa): New function.
48037         (init): Get _Unwind_GetCFA address, use dummy if not found.
48038         (backtrace_helper): In recursion check, also check whether CFA changes.
48039         (__backtrace): Completely initialize arg.
48041         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48042         storing incomplete byte sequence in state object.  Avoid testing for
48043         guaranteed too small input if we know there is enough data available.
48045 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48047         * Makeconfig (+link-pie): Indent.
48048         * Rules (binaries-pie): Define if $(have-fpie) and
48049         $(build-shared).
48050         (binaries-shared): Also filter out $(binaries-pie).
48051         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48052         * nscd/Makefile (others-pie): Add nscd.
48053         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48054         ($(objpfx)nscd): Remove command override.
48055         * login/Makefile (others-pie): Add pt_chown.
48056         ($(objpfx)pt_chown): Remove command override.
48057         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48058         remove command overrides.
48060 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48062         * libio/tst_putwc.c: Fix error messages.
48064         [BZ #12724]
48065         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48066         currently writing and seek to current position when not.
48067         * libio/Makefile (tests): Add bug-fclose1.
48068         * libio/bug-fclose1.c: New file.
48070 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48072         [BZ #12511]
48073         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48074         don't set DF_1_NODELETE here.
48075         (do_lookup_x): When entering new entry test for copy relocation
48076         and if necessary set DF_1_NODELETE flag.
48077         * elf/tst-unique4.cc: New file.
48078         * elf/tst-unique4.h: New file.
48079         * elf/tst-unique4lib.cc: New file.
48080         * elf/Makefile: Add rules to build and run tst-unique4.
48081         Patch by Piotr Bury <pbury@goahead.com>.
48083 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48085         [BZ #12052]
48086         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48088         [BZ #12625]
48089         * misc/mntent_r.c (addmntent): Flush the stream after the output
48091         [BZ #12393]
48092         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48093         (is_trusted_path_normalize): Skip initial colon.  Append slash
48094         to empty buffer.  Duplicate is_trusted_path code but allow
48095         constructed patch to be prefix.
48096         (is_dst): Allow $ORIGIN followed by /.
48097         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48098         Correct testing of result of is_trusted_path_normalize
48099         (decompose_rpath): Fix warning.
48101 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48103         [BZ #11257]
48104         * grp/initgroups.c (internal_getgrouplist): When we found the service
48105         list through the initgroups entry in nsswitch.conf do not always
48106         continue on a successful lookup.  Don't always use the
48107         __nss_group_database value if it is set.
48108         * nss/nsswitch.conf (initgroups): Change action for successful db
48109         lookup to continue for compatibility.
48111 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48113         [BZ #11532]
48114         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48115         and CP774 modules.
48116         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48117         and CP774 modules.
48118         * iconvdata/tst-tables.sh: Likewise.
48119         * iconvdata/cp770.c: New file.
48120         * iconvdata/cp771.c: New file.
48121         * iconvdata/cp772.c: New file.
48122         * iconvdata/cp773.c: New file.
48123         * iconvdata/cp774.c: New file.
48124         * iconvdata/testdata/CP770: New file.
48125         * iconvdata/testdata/CP770..UTF8: New file.
48126         * iconvdata/testdata/CP771: New file.
48127         * iconvdata/testdata/CP771..UTF8: New file.
48128         * iconvdata/testdata/CP772: New file.
48129         * iconvdata/testdata/CP772..UTF8: New file.
48130         * iconvdata/testdata/CP773: New file.
48131         * iconvdata/testdata/CP773..UTF8: New file.
48132         * iconvdata/testdata/CP774: New file.
48133         * iconvdata/testdata/CP774..UTF8: New file.
48135         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48136         END CHARMAP line.
48137         * iconvdata/gen-8bit-gap.sh: Likewise.
48138         * iconvdata/gen-8bit.sh: Likewise.
48140         * locale/iso-639.def: Add ary entry.
48142         [BZ #11258]
48143         * locale/C-translit.h.in: Add U20A1 transliteration.
48145         [BZ #12178]
48146         * locale/iso-639.def: Add wae entry.
48147         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48149         [BZ #12545]
48150         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48151         for n.
48153         [BZ #12711]
48154         * locale/C-translit.h.in: Add entry for U20B9.
48155         Patch by pravin.d.s@gmail.com.
48157 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48159         [BZ #12713]
48160         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48161         ENAMETOOLONG use generic getcwd.
48162         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48163         in rtld.  Use *stat64.
48164         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48165         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48166         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48167         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48168         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48169         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48170         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48171         __fstatat64 macros.
48172         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48173         * dirent/rewinddir.c: Add libc_hidden_def.
48174         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48175         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48177         * include/dirent.h (__alloc_dir): Add flags parameter.
48178         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48179         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48180         __alloc_dir.
48181         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48182         from fdopendir if O_CLOEXEC is already set.
48184 2011-03-15  Alan Modra  <amodra@gmail.com>
48186         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48187         l_tls_firstbyte_offset non-zero.  Save padding offset in
48188         l_tls_firstbyte_offset for later use.
48189         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48190         freeing static tls block.
48192 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48194         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48195         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48196         being defined by the kernel headers.
48198 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48200         [BZ #12734]
48201         * resolv/resolv.h: Define RES_NOTLDQUERY.
48202         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48203         no-tld-query and set RES_NOTLDQUERY.
48204         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48205         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48206         modern BIND to search name as TLD unless forbidden.
48208 2011-05-07  Petr Baudis  <pasky@suse.cz>
48209             Ulrich Drepper  <drepper@gmail.com>
48211         [BZ #12393]
48212         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48213         (is_trusted_path): ...to here.
48214         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48215         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48216         using is_trusted_path_normalize() in setuid scripts.
48218 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48220         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48221         __BEGIN/__END_DECLS.
48223 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48226         NSS_STATUS_NOTFOUND if no record was found.
48228 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48230         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48231         (headers-not-in-tirpc): Remove rpc/netdb.h
48232         * resolv/netdb.h: Revert last change.
48234 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48236         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48237         circular dependency between libgcc.a and libc.a.
48239 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48241         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48242         * nis/Makefile: Don't install rpcsvc/*.
48243         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48244         instead of <rpc/types.h>.
48245         (MAXHOSTNAMELEN): Define.
48247 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48249         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48251 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48253         [BZ #12714]
48254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48255         gethostbyname4_r when IPv6 results are possible.
48257 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48259         [BZ #12723]
48260         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48261         _PC_PIPE_BUF handling.
48263 2011-04-30  Bruno Haible  <bruno@clisp.org>
48265         [BZ #12717]
48266         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48267         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48268         to 'int'.
48269         * inet/getnameinfo.c (getnameinfo): Likewise.
48271 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48273         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48274         to groups setting in database lookup.
48275         * nss/nsswitch.conf: Add initgroups entry.
48277 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48279         [BZ #12685]
48280         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48281         mode string.
48282         Patch by Eric Blake <eblake@redhat.com>.
48284 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48286         * sunrpc/Makefile (need-export-routines): Add svc_run.
48287         (routines): Remove svc_run.
48288         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48289         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48290         * sunrpc/svc_run.c (svc_run): Likewise.
48291         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48293 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48296         problem in reallocation in last patch.
48298 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48300         * sunrpc/Makefile: Move inclusion of Rules.
48302 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48304         * nss/nss_files/files-initgroups.c: New file.
48305         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48306         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48307         _nss_files_initgroups_dyn.
48309 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48311         * elf/elf.h (R_ARM_IRELATIVE): Define.
48313 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48315         * po/ru.po: Update from translation team.
48317 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48319         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48320         dependencies.
48322 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48324         [BZ #12653]
48325         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48326         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48327         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48329         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48331 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48333         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48334         differing bytes.
48335         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48336         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48337         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48339 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48341         [BZ #12420]
48342         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48343         storing it.
48344         * stdlib/bug-getcontext.c: New file.
48345         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48347 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48349         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48350         instructions into .machine "z9-109".
48351         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48352         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48354 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48356         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48357         between environment variables and auxiliary vector.
48359 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48361         * Makefile: Add rules to build linkobj/libc.so.
48362         * include/libc-symbols.h: Define libc_hidden_nolink.
48363         * include/rpc/auth.h: Mark functions which are to be hidden.
48364         * include/rpc/auth_des.h: Likewise.
48365         * include/rpc/auth_unix.h: Likewise.
48366         * include/rpc/clnt.h: Likewise.
48367         * include/rpc/des_crypt.h: Likewise.
48368         * include/rpc/key_prot.h: Likewise.
48369         * include/rpc/pmap_clnt.h: Likewise.
48370         * include/rpc/pmap_prot.h: Likewise.
48371         * include/rpc/pmap_rmt.h: Likewise.
48372         * include/rpc/rpc_msg.h: Likewise.
48373         * include/rpc/svc.h: Likewise.
48374         * include/rpc/svc_auth.h: Likewise.
48375         * include/rpc/xdr.h: Likewise.
48376         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48377         * nss/Makefile: Likewise.
48378         * sunrpc/Makefile: Don't install headers.  Build library with normal
48379         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48380         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48381         for the compat linking library.  Remove use of INTDEF/INTUSE.
48382         * sunrpc/auth_none.c: Likewise.
48383         * sunrpc/auth_unix.c: Likewise.
48384         * sunrpc/authdes_prot.c: Likewise.
48385         * sunrpc/authuxprot.c: Likewise.
48386         * sunrpc/clnt_gen.c: Likewise.
48387         * sunrpc/clnt_perr.c: Likewise.
48388         * sunrpc/clnt_raw.c: Likewise.
48389         * sunrpc/clnt_simp.c: Likewise.
48390         * sunrpc/clnt_tcp.c: Likewise.
48391         * sunrpc/clnt_udp.c: Likewise.
48392         * sunrpc/clnt_unix.c: Likewise.
48393         * sunrpc/des_crypt.c: Likewise.
48394         * sunrpc/des_soft.c: Likewise.
48395         * sunrpc/get_myaddr.c: Likewise.
48396         * sunrpc/key_call.c: Likewise.
48397         * sunrpc/key_prot.c: Likewise.
48398         * sunrpc/netname.c: Likewise.
48399         * sunrpc/pm_getmaps.c: Likewise.
48400         * sunrpc/pm_getport.c: Likewise.
48401         * sunrpc/pmap_clnt.c: Likewise.
48402         * sunrpc/pmap_prot.c: Likewise.
48403         * sunrpc/pmap_prot2.c: Likewise.
48404         * sunrpc/pmap_rmt.c: Likewise.
48405         * sunrpc/publickey.c: Likewise.
48406         * sunrpc/rpc_cmsg.c: Likewise.
48407         * sunrpc/rpc_common.c: Likewise.
48408         * sunrpc/rpc_dtable.c: Likewise.
48409         * sunrpc/rpc_prot.c: Likewise.
48410         * sunrpc/rpc_thread.c: Likewise.
48411         * sunrpc/rtime.c: Likewise.
48412         * sunrpc/svc.c: Likewise.
48413         * sunrpc/svc_auth.c: Likewise.
48414         * sunrpc/svc_authux.c: Likewise.
48415         * sunrpc/svc_raw.c: Likewise.
48416         * sunrpc/svc_run.c: Likewise.
48417         * sunrpc/svc_simple.c: Likewise.
48418         * sunrpc/svc_tcp.c: Likewise.
48419         * sunrpc/svc_udp.c: Likewise.
48420         * sunrpc/svc_unix.c: Likewise.
48421         * sunrpc/svcauth_des.c: Likewise.
48422         * sunrpc/xcrypt.c: Likewise.
48423         * sunrpc/xdr.c: Likewise.
48424         * sunrpc/xdr_array.c: Likewise.
48425         * sunrpc/xdr_float.c: Likewise.
48426         * sunrpc/xdr_intXX_t.c: Likewise.
48427         * sunrpc/xdr_mem.c: Likewise.
48428         * sunrpc/xdr_rec.c: Likewise.
48429         * sunrpc/xdr_ref.c: Likewise.
48430         * sunrpc/xdr_sizeof.c: Likewise.
48431         * sunrpc/xdr_stdio.c: Likewise.
48433 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48435         [BZ #12650]
48436         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48437         * sysdeps/ia64/dl-tls.h: Likewise.
48438         * sysdeps/powerpc/dl-tls.h: Likewise.
48439         * sysdeps/s390/dl-tls.h: Likewise.
48440         * sysdeps/sh/dl-tls.h: Likewise.
48441         * sysdeps/sparc/dl-tls.h: Likewise.
48442         * sysdeps/x86_64/dl-tls.h: Likewise.
48443         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48445 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48447         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48448         rpath element also skip the following colon.
48449         (expand_dynamic_string_token): Add is_path parameter and pass
48450         down to DL_DST_REQUIRED and _dl_dst_substitute.
48451         (decompose_rpath): Call expand_dynamic_string_token with
48452         non-zero is_path.  Ignore empty rpaths.
48453         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48454         with zero is_path.
48456 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48459         Make cancelable.
48461 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48463         [BZ #12655]
48464         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48465         Patch by Filipe David Manana <fdmanana@apache.org>.
48467 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48470         Maintain aligned stack.
48471         (CHECK_RSP): Remove unused macro.
48473 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48475         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48476         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48478 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48480         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48482         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48484 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48486         [BZ #12518]
48487         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48488         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48489         * sysdeps/x86_64/memmove.c: New file.
48490         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48491         (memcpy): Renamed to ...
48492         (__new_memcpy): This.
48493         (memcpy): Provide GLIBC_2_14 memcpy.
48494         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48495         (memcpy): Provide GLIBC_2_2_5 memcpy.
48497 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48499         [BZ #12631]
48500         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48502 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48504         * misc/syncfs.c: New file.
48505         * misc/Makefile (routines): Add syncfs.
48506         * posix/unistd.h: Declare syncfs.
48507         * sysdeps/unix/syscalls.list: Add syncfs.
48509 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48511         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48512         open_by_handle_at.
48513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48514         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48516         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48518         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48521 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48523         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48524         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48525         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48527         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48529         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48531         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48532         sync_file_range.c with -fexceptions.
48533         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48534         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48535         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48536         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48537         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48538         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48539         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48540         sync_file_range as cancellation point
48541         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48542         now a wrapper around __call_sync_file_range with cancellation handling.
48543         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48544         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48545         function name to __call_sync_file_range.
48546         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48547         Add call_sync_file_range.
48549 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48552         bits/timex.h.
48554 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48556         * iconv/iconv.h: Fix typo in comment.
48557         * io/fcntl.h: Likewise.
48558         * libio/stdio.h: Likewise.
48559         * posix/spawn.h: Likewise.
48560         * posix/unistd.h: Likewise.
48561         * stdlib/stdlib.h: Likewise.
48562         * time/time.h: Likewise.
48563         * wcsmbs/wchar.h: Likewise.
48565         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48566         open_by_handle): Add.
48567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48568         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48569         Augment a few comments.
48570         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48572         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48574         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48575         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48576         open_by_handle.
48578         * io/fcntl.h (AT_EMPTY_PATH): Define.
48580 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48582         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48583         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48584         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48585         to...
48586         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48587         * Versions.def: Add GLIBC_2.14.
48588         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48589         Export.
48591 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48593         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48594         round counter.
48595         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48597 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48599         [BZ #12597]
48600         * string/test-strncmp.c (do_page_test): New function.
48601         (check2): Likewise.
48602         (test_main): Call check2.
48603         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48605 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48607         [BZ #12587]
48608         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48609         Handle cache information in CPU leaf 4.
48610         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48612 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48614         [BZ #12583]
48615         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48616         character representation.
48617         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48619 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48621         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48622         END(__isnan) to END(__isnanf) to match function entry point/label
48623         EALIGN(__isnanf,...).
48625 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48627         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48629 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48631         [BZ #12510]
48632         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48633         copy from the symbol referenced in the relocation to initialize the
48634         used variable.
48635         Patch by Piotr Bury <pbury@goahead.com>.
48636         * elf/Makefile: Add rules to build and tst-unique3.
48637         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48638         * elf/tst-unique3.cc: New file.
48639         * elf/tst-unique3.h: New file.
48640         * elf/tst-unique3lib.cc: New file.
48641         * elf/tst-unique3lib2.cc: New file.
48643         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48645 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48647         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48648         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48649         to _start.
48651 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48653         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48654         to-be-loaded object along a path to loader is ld.so.
48656 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48657             Ulrich Drepper  <drepper@gmail.com>
48659         * sysdeps/x86_64/memset.S: After aligning destination, code
48660         branches to different locations depending on the value of
48661         misalignment, when multiarch is enabled. Fix this.
48663 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48665         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48666         Set _x86_64_preferred_memory_instruction for AMD processsors.
48667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48668         Set bit_Prefer_SSE_for_memop for AMD processors.
48670 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48672         * libio/fmemopen.c (fmemopen): Optimize a bit.
48674 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48676         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48678 2011-03-03  Roland McGrath  <roland@redhat.com>
48680         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48682 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48684         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48685         __bzero_ultra1 instead of __memset_ultra1.
48687 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48688             Ulrich Drepper  <drepper@gmail.com>
48690         [BZ #12509]
48691         * include/link.h (struct link_map): Add l_orig_initfini.
48692         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48693         returning unsuccessfully.
48694         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48695         close of a file loaded at startup, restore the original l_initfini
48696         list.
48697         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48698         list, store the pointer.
48699         * elf/Makefile ($(objpfx)noload-mem): New rule.
48700         (noload-ENV): Define.
48701         (tests): Add $(objpfx)noload-mem.
48702         * elf/noload.c: Include <memcheck.h>.
48703         (main): Call mtrace.  Close all opened handles.
48705 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48707         [BZ #12454]
48708         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48709         dependencies are missing.
48711 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48713         Fix __if_freereq crash: Unlike the generic version which uses free,
48714         Hurd needs munmap.
48715         * sysdeps/mach/hurd/ifreq.h: New file.
48717 2011-01-27  Petr Baudis  <pasky@suse.cz>
48718             Ulrich Drepper  <drepper@gmail.com>
48720         [BZ 12445]#
48721         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48722         to extend_alloca().
48723         * stdio-common/bug23.c: New file.
48724         * stdio-common/Makefile (tests): Add bug23.
48726 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48727             Ulrich Drepper  <drepper@gmail.com>
48729         [BZ #12489]
48730         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48731         before performing relro protection.  At old place add assertion
48732         to make sure nothing changed.
48734 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48735             Glauber de Oliveira Costa  <glommer@gmail.com>
48737         * elf/elf.h: Add new ARM TLS relocs.
48739 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48742         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48743         cast from r3.
48744         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48745         'tests' variable.
48746         * sysdeps/wordsize-64/tst-writev.c: New file.
48748 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48750         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48751         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48752         insns in _dl_start to prevent a TOC reference before relocs are
48753         resolved.
48755 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48757         [BZ #12469]
48758         * Makeconfig: Remove RANLIB definition.
48759         * Makerules: Don't use RANLIB.
48760         * aclocal.m4: Remove ranlib test.
48761         * configure.in: No need to check for ranlib.
48762         * elf/rtld-Rules: Don't use RANLIB.
48764 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48766         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48767         protection macro.
48768         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48769         inclusion protection macro.
48771         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48772         SIGRTMIN and SIGRTMAX and print information in that case only when
48773         SIGRTMIN is defined.
48775 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48777         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48778         arginfo fn returning -1.
48780         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48781         and thousands string is zero terminated.
48783 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48786         sysdeps/unix/sysv/linux/bits/socket.h.
48788 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48790         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48791         (__CPU_COUNT): Remove old macros.
48792         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48793         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48794         (__CPU_ALLOC, __CPU_FREE): Add macros.
48795         (__sched_cpualloc, __sched_cpufree): Add declarations.
48797 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48799         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48800         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48801         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48802         (readdhstai): Return value of addhstaiX call.
48803         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48804         (addgrbyX): Return value returned by cache_addgr.
48805         (readdgrbyname): Return value returned by addgrbyX.
48806         (readdgrbygid): Likewise.
48807         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48808         (addpwbyX): Return value returned by cache_addpw.
48809         (readdpwbyname): Return value returned by addhstbyX.
48810         (readdpwbyuid): Likewise.
48811         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48812         (addservbyX): Return value returned by cache_addserv.
48813         (readdservbyname): Return value returned by addservbyX:
48814         (readdservbyport): Likewise.
48815         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48816         (addhstbyX): Return value returned by cache_addhst.
48817         (readdhstbyname): Return value returned by addhstbyX.
48818         (readdhstbyaddr): Likewise.
48819         (readdhstbynamev6): Likewise.
48820         (readdhstbyaddrv6): Likewise.
48821         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48822         (readdinitgroups): Return value returned by addinitgroupsX.
48823         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48824         (prune_cache): Keep track of timeout value of re-added entries.
48825         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48826         * nscd/nscd.h: Adjust prototypes of readd* functions.
48828 2011-02-04  Roland McGrath  <roland@redhat.com>
48830         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48831         (nis_stats): Likewise.
48832         * nis/nis_modify.c (nis_modify): Likewise.
48833         * nis/nis_remove.c (nis_remove): Likewise.
48834         * nis/nis_add.c (nis_add): Likewise.
48836         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48838         * posix/fnmatch_loop.c: Add some consts.
48840         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48842 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48844         [BZ #12460]
48845         * config.make.in (config-cflags-novzeroupper): Define.
48846         * configure.in: Substitute libc_cv_cc_novzeroupper.
48847         * elf/Makefile (AVX-CFLAGS): Define.
48848         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48849         (CFLAGS-tst-auditmod4a.c): Likewise.
48850         (CFLAGS-tst-auditmod4b.c): Likewise.
48851         (CFLAGS-tst-auditmod6b.c): Likewise.
48852         (CFLAGS-tst-auditmod6c.c): Likewise.
48853         (CFLAGS-tst-auditmod7b.c): Likewise.
48854         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48856 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48858         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48859         function to the callback.
48860         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48862 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48864         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48865         of errno.
48867 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48869         [BZ #11724]
48870         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48871         of constructors.
48872         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48873         of destructors.
48874         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48876         [BZ #11724]
48877         * elf/Makefile: Add rules to build and run new test.
48878         * elf/tst-initorder.c: New file.
48879         * elf/tst-initorder.exp: New file.
48880         * elf/tst-initordera1.c: New file.
48881         * elf/tst-initordera2.c: New file.
48882         * elf/tst-initordera3.c: New file.
48883         * elf/tst-initordera4.c: New file.
48884         * elf/tst-initorderb1.c: New file.
48885         * elf/tst-initorderb2.c: New file.
48886         * elf/tst-order-a1.c: New file.
48887         * elf/tst-order-a2.c: New file.
48888         * elf/tst-order-a3.c: New file.
48889         * elf/tst-order-a4.c: New file.
48890         * elf/tst-order-b1.c: New file.
48891         * elf/tst-order-b2.c: New file.
48892         * elf/tst-order-main.c: New file.
48893         New test case by George Gensure <werkt0@gmail.com>.
48895 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48898         decoding ACE if AI_CANONIDN.
48900 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48902         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48904 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48906         * version.h (RELEASE): Bump for 2.13 release.
48907         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48909         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48911         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48912         MADV_NOHUGEPAGE.
48913         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48914         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48915         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48916         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48917         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48918         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48920         * posix/getconf.c: Update copyright year.
48921         * catgets/gencat.c: Likewise.
48922         * csu/version.c: Likewise.
48923         * debug/catchsegv.sh: Likewise.
48924         * debug/xtrace.sh: Likewise.
48925         * elf/ldconfig.c: Likewise.
48926         * elf/ldd.bash.in: Likewise.
48927         * elf/sprof.c (print_version): Likewise.
48928         * iconv/iconv_prog.c: Likewise.
48929         * iconv/iconvconfig.c: Likewise.
48930         * locale/programs/locale.c: Likewise.
48931         * locale/programs/localedef.c: Likewise.
48932         * malloc/memusage.sh: Likewise.
48933         * malloc/mtrace.pl: Likewise.
48934         * nscd/nscd.c (print_version): Likewise.
48935         * nss/getent.c: Likewise.
48937         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48938         PF_CAIF, and PF_ALG.
48939         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48941 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48943         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48944         (modules-names): Use them.
48945         (ifunc-test-modules, ifunc-pie-tests): Define.
48946         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48947         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48948         (test-extras): Likewise.
48949         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48950         $(compile-command.c).
48951         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48952         (all-built-dso): Define.
48953         (check-textrel.out, check-execstack.out): Depend on it.
48955         * configure.in: Don't override --enable-multi-arch.
48957 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48959         [BZ #6812]
48960         * nscd/hstcache.c (tryagain): Define.
48961         (cache_addhst): Return tryagain not notfound for temporary errors.
48962         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48963         failed.
48965 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48967         [BZ #10563]
48968         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48969         to make the syscall.
48970         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48972         [BZ #12378]
48973         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48974         and fall back to matching as normal character if the string ends before
48975         the matching ']' is found.  This is what POSIX requires.
48976         * posix/testfnm.c: Adjust test result.
48977         * posix/globtest.sh: Adjust test result.  Add new test.
48978         * posix/tst-fnmatch.input: Likewise.
48979         * posix/tst-fnmatch2.c: Add new test.
48981 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48983         * elf/Makefile (check-execstack): Revert last change.  Depend on
48984         check-execstack.h.
48985         (check-execstack.h): New target.
48986         (generated): Add check-execstack.h.
48987         * elf/check-execstack.c: Include "check-execstack.h".
48988         (main): Revert last change.
48989         (handle_file): Return zero if GNU_STACK is absent and
48990         DEFAULT_STACK_PERMS doesn't include PF_X.
48992 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48994         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48995         in child fails because the descriptor is already closed.
48996         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48997         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48998         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49000         [BZ #12397]
49001         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49002         syscall.
49004         [BZ #10484]
49005         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49006         temporary buffer used to handle multi lookups locally.
49007         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49009 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49011         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49012         loader is ld.so.
49014 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49016         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49017         alignment for SSE2.
49019 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49021         [BZ #12394]
49022         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49023         characters.  When rounding increased number of integer digits recompute
49024         number of groups.
49025         * stdio-common/tst-grouping.c: New file.
49026         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49028 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49030         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49031         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49033         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49034         void.
49035         * bits/select.h: Likewise.
49037 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49039         * po/ja.po: Update from translation team.
49041 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49043         [BZ #11155]
49044         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49045         implementation just like for lxstat, fxstatat, et al.
49047 2010-12-27  Jim Meyering  <meyering@redhat.com>
49049         [BZ #12348]
49050         * posix/regexec.c (build_trtable): Return failure indication upon
49051         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49053 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49055         [BZ #12201]
49056         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49057         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49058         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49059         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49061         [BZ #12207]
49062         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49064         [BZ #12204]
49065         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49066         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49068 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49070         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49071         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49072         script has SORT_BY_INIT_PRIORITY.
49073         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49074         NO_CTORS_DTORS_SECTIONS is defined.
49075         * elf/soinit.c: Likewise.
49076         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49077         NO_CTORS_DTORS_SECTIONS is defined.
49078         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49079         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49080         * sysdeps/sh/init-first.c: Likewise.
49081         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49083 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49085         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49086         always use the slow path.
49088 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49090         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49091         similar rule which adds the sysdep directories to the header search in
49092         order to pick up the correct platform stackinfo.h.
49093         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49094         perform test if it is, otherwise return successfully without testing.
49095         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49096         DEFAULT_STACK_PERMS define in stackinfo.h.
49097         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49098         defined in stackinfo.h.
49099         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49100         DEFAULT_STACK_PERMS defined in stackinfo.h.
49101         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49102         * sysdeps/ia64/stackinfo.h: Likewise.
49103         * sysdeps/s390/stackinfo.h: Likewise.
49104         * sysdeps/sh/stackinfo.h: Likewise.
49105         * sysdeps/sparc/stackinfo.h: Likewise.
49106         * sysdeps/x86_64/stackinfo.h: Likewise.
49107         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49108         PF_X for powerpc64.  Retain PF_X for powerpc32.
49110 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49112         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49113         accurately.
49114         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49115         GETDENTS_64BIT_ALIGNED.
49117 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49119         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49121 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49123         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49124         _GNU_SOURCE.
49126         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49127         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49128         Remove __restrict.
49129         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49130         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49132 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49134         [BZ #11655]
49135         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49136         are initialized.
49138 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49140         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49142 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49144         * po/it.po: Update from translation team.
49146 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49149         unused codes.
49151 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49153         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49155 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49157         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49158         specially.
49159         (gaih_getanswer_slice): Likewise.
49161 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49165 2010-05-31  Petr Baudis  <pasky@suse.cz>
49167         [BZ #11149]
49168         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49169         silently even in the chroot mode.
49171 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49173         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49174         last patch a bit.  Pretty printing
49176 2010-05-31  Petr Baudis <pasky@suse.cz>
49178         [BZ #10085]
49179         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49180         initialization of skip_initgroups_dyn.
49182 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49184         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49185         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49187 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49189         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49191 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49193         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49194         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49195         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49196         ($(objpfx)tst-fnmatch-mem): New rule.
49197         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49198         * posix/tst-fnmatch.c (main): Call mtrace.
49200 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49203         Support Intel processor model 6 and model 0x2c.
49205 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49207         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49208           signed comparison.
49210 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49212         [BZ #12205]
49213         * string/test-strncasecmp.c (check_result): New function.
49214         (do_one_test): Use it.
49215         (check1): New function.
49216         (test_main): Use it.
49217         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49218         Support strcasecmp and strncasecmp.
49220 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49222         [BZ #12194]
49223         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49224         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49226 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49228         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49229         IFUNC support.
49230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49231         memset-x86-64.
49232         * sysdeps/x86_64/multiarch/bzero.S: New file.
49233         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49234         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49235         * sysdeps/x86_64/multiarch/memset.S: New file.
49236         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49238         Set bit_Prefer_SSE_for_memop for Intel processors.
49239         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49240         Define.
49241         (index_Prefer_SSE_for_memop): Define.
49242         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49244 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49246         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49247         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49249 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49251         [BZ #12191]
49252         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49253         (__x86_64_raw_data_cache_size_half): Likewise.
49254         (__x86_64_raw_shared_cache_size): Likewise.
49255         (__x86_64_raw_shared_cache_size_half): Likewise.
49257         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49258         (__x86_64_raw_data_cache_size_half): Likewise.
49259         (__x86_64_raw_shared_cache_size): Likewise.
49260         (__x86_64_raw_shared_cache_size_half): Likewise.
49261         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49262         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49263         and __x86_64_raw_shared_cache_size_half.  Round
49264         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49265         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49266         to multiple of 256 bytes.
49268 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49270         [BZ #12167]
49271         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49272         of inacessible symlinks.  Verify result of symlink before returning it.
49273         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49274         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49276 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49278         * math/math.h (isinf): Fix typo in comment.
49280 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49282         * po/da.po: Update from translation team.
49284 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49286         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49287         is added to the list.
49289 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49290             Ulrich Drepper  <drepper@gmail.com>
49292         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49293         the global list here.  Move code to...
49294         (_dl_add_to_namespace_list): ...here.  New function.
49295         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49296         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49297         * elf/dl-load.c (lose): Don't remove the element from the list.
49298         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49299         (_dl_map_object): Likewise.
49301 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49303         [BZ #12159]
49304         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49305         into all bytes of SSE register.
49306         Patch by Richard Li <richardpku@gmail.com>.
49308 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49310         [BZ #12140]
49311         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49312         perturbing.
49314 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49316         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49317         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49318         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49319         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49321         submachine.
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49324 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49326         * include/dlfcn.h (__RTLD_SECURE): Define.
49327         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49328         mode & __RTLD_SECURE instead.
49329         (open_path): Rename preloaded parameter to secure.
49330         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49331         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49332         * elf/dl-deps.c (openaux): Likewise.
49333         * elf/rtld.c (struct map_args): Remove is_preloaded.
49334         (map_doit): Don't use it.
49335         (dl_main): Likewise.
49336         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49337         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49339 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49341         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49342         (sysd-rules-targets): Remove duplicates.
49343         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49344         rtld-%.$o dependency.
49346 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49348         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49349         _dl_map_object do it.
49351 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49353         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49354         fast fma builtins, define the macros in the C99 standard.
49355         (FP_FAST_FMAF): Likewise.
49356         (FP_FAST_FMAL): Likewise.
49357         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49359         * bits/mathdef.h: Update copyright year.
49360         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49362 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49364         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49365         builtins, define the macros in the C99 standard.
49366         (FP_FAST_FMAF): Likewise.
49367         (FP_FAST_FMAL): Likewise.
49368         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49369         multiply/add.
49370         (FP_FAST_FMAF): Likewise.
49372 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49374         [BZ #3268]
49375         * math/libm-test.inc (fma_test): Some new testcases.
49376         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49377         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49378         y and infinite z.  Do multiplication by C already in long double.
49379         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49381         y and infinite z.  Do bitwise or of inexact bit into u.d.
49382         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49383         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49384         * sysdeps/i386/fpu/s_fma.S: Removed.
49385         * sysdeps/i386/fpu/s_fmal.S: Removed.
49387 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49389         [BZ #3268]
49390         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49392         computation is not scheduled after fetestexcept.  Fix value
49393         of minimum denormal long double.
49395 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49397         [BZ #3268]
49398         * math/libm-test.inc (fma_test): Add some more tests.
49399         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49400         correctly.
49402 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49404         * scripts/data/localplt-s390-linux-gnu.data: New file.
49405         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49407 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49409         [BZ #3268]
49410         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49411         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49412         instead of dbl-64.
49413         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49414         inlines.
49415         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49417         if one of x and y is very large and the other is subnormal.
49418         * sysdeps/s390/fpu/s_fmaf.c: New file.
49419         * sysdeps/s390/fpu/s_fma.c: New file.
49420         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49421         * sysdeps/powerpc/fpu/s_fma.S: New file.
49422         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49423         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49424         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49426 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49428         [BZ #3268]
49429         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49430         fma tests.
49431         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49432         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49433         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49434         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49435         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49436         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49437         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49439 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49441         [BZ #12078]
49442         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49443         * posix/bug-regex31.input: Add test case.
49445 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49447         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49448         * posix/bug-regex31.input: New file.
49450         [BZ #12078]
49451         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49452         (parse_sub_exp): Fix last change, use postorder.
49454         * posix/bug-regex31.c: New file.
49455         * posix/Makefile: Add rules to build and run bug-regex31.
49457         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49459         [BZ #12078]
49460         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49462         [BZ #12108]
49463         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49464         to have entries in sys_siglist.
49466         [BZ #12093]
49467         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49468         be NULL.
49470 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49472         [BZ #3268]
49473         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49474         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49475         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49476         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49477         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49478         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49479         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49480         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49481         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49482         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49483         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49484         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49485         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49486         * math/ftestexcept.c (fetestexcept): Likewise.
49487         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49488         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49489         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49490         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49491         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49492         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49493         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49495 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49497         [BZ #12107]
49498         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49499         newline.
49501 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49503         * string/bug-strstr1.c: New file.
49504         * string/Makefile: Add rules to build and run bug-strstr1.
49506 2010-10-05  Eric Blake  <eblake@redhat.com>
49508         [BZ #12092]
49509         * string/str-two-way.h (two_way_long_needle): Always clear memory
49510         when skipping input due to the shift table.
49512 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49514         [BZ #12005]
49515         * malloc/mcheck.c: Handle large requests.
49517         [BZ #12077]
49518         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49519         for strncmp and strncasecmp.
49520         * string/stratcliff.c: Add tests for strcmp and strncmp.
49521         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49523 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49525         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49526         __set_fpscr.
49528 2010-09-30  Andreas Jaeger  <aj@suse.de>
49530         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49531         (CGROUP_SUPER_MAGIC): Define.
49532         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49533         Handle btrfs and cgroup file systems.
49534         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49535         Likewise.
49537 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49539         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49540         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49542 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49544         [BZ #12067]
49545         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49546         trying to locate the ELF header.
49548 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49550         [BZ #11611]
49551         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49552         Mask out sign-bit copies when constructing f_fsid.
49554 2010-09-24  Petr Baudis <pasky@suse.cz>
49556         * debug/stack_chk_fail_local.c: Add missing licence exception.
49557         * debug/warning-nop.c: Likewise.
49559 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49561         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49562         implementing getdents64 using getdents syscall, set d_type if
49563         __ASSUME_GETDENTS32_D_TYPE.
49565 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49567         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49568         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49570 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49572         [BZ #12037]
49573         * posix/unistd.h: Undo change of feature selection for ftruncate from
49574         2010-01-11.
49576 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49578         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49579         detection.
49581 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49583         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49584         fanotify_mark.
49585         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49587 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49589         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49590         variables after CHECK_SP call.
49591         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49593 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49594             Ulrich Drepper  <drepper@redhat.com>
49596         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49597         re-relocationg ld.so.
49598         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49599         _dl_init_paths call.
49600         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49601         here anymore.
49603 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49605         * resolv/res_init.c (__res_vinit): Count the default server we added.
49607 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49608             Ulrich Drepper  <drepper@redhat.com>
49610         [BZ #11968]
49611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49612         (____longjmp_chk): Use %ebx for saving value across system call.
49613         Add unwind info.
49615 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49617         * manual/Makefile: Don't mix pattern rules with normal rules.
49619 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49621         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49622         operation.
49623         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49624         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49625         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49626         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49628         Likewise.
49630 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49632         [BZ #11979]
49633         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49634         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49636 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49638         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49639         * sysdeps/x86_64/addmul_1.S: Likewise.
49640         * sysdeps/x86_64/lshift.S: Likewise.
49641         * sysdeps/x86_64/mul_1.S: Likewise.
49642         * sysdeps/x86_64/rshift.S: Likewise.
49643         * sysdeps/x86_64/sub_n.S: Likewise.
49644         * sysdeps/x86_64/submul_1.S: Likewise.
49646 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49648         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49649         Define __sched_param instead of SCHED_* and sched_param when
49650         <bits/sched.h> is included with __need_schedparam defined.
49651         * bits/sched.h [__need_schedparam]
49652         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49653         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49654         (__defined_schedparam): Define to 1.
49655         (__sched_param): New structure, identical to sched_param.
49656         (__need_schedparam): Undefine.
49658 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49660         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49661         (epoll_create1): Declare.
49663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49665 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49667         [BZ #7066]
49668         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49669         shifting retval into place.
49671 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49673         * nis/rpcsvc/nis.h: Update copyright notice.
49674         * nis/rpcsvc/nis.x: Likewise.
49675         * nis/rpcsvc/nis_callback.h: Likewise.
49676         * nis/rpcsvc/nis_callback.x: Likewise.
49677         * nis/rpcsvc/nis_object.x: Likewise.
49678         * nis/rpcsvc/nis_tags.h: Likewise.
49679         * nis/rpcsvc/yp.h: Likewise.
49680         * nis/rpcsvc/yp.x: Likewise.
49681         * nis/rpcsvc/ypupd.h: Likewise.
49682         * nis/yp_xdr.c: Likewise.
49683         * nis/ypupdate_xdr.c: Likewise.
49685         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49686         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49687         (pmap_getport): Use __libc_rpc_getport.
49688         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49689         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49690         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49692 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49695         fanotify_mark.
49697 2010-08-27  Roland McGrath  <roland@redhat.com>
49699         * sysdeps/i386/i686/multiarch/Makefile
49700         (CFLAGS-varshift.c): New variable.
49702 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49704         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49705         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49709         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49711 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49713         * sysdeps/x86_64/strlen.S: Unroll the loop.
49714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49715         strlen-sse2 strlen-sse2-bsf.
49716         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49717         __strlen_no_bsf if bit_Slow_BSF is set.
49718         (__strlen_sse42): Removed.
49719         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49720         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49722 2010-08-25  Roland McGrath  <roland@redhat.com>
49724         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49725         * sysdeps/x86_64/multiarch/varshift.c: New file.
49726         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49727         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49728         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49729         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49731 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49734         strlen-sse2 strlen-sse2-bsf.
49735         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49736         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49737         (__strlen_sse2): Removed.
49738         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49741         bit_Slow_BSF for Atom.
49742         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49743         (index_Slow_BSF): Define.
49744         (HAS_SLOW_BSF): Define.
49746 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49748         [BZ #10851]
49749         * resolv/res_init.c (__res_vinit): When no server address at all
49750         is given default to loopback.
49752 2010-08-24  Roland McGrath  <roland@redhat.com>
49754         * configure.in: Remove config-name.h generation.
49755         * configure: Regenerated.
49756         * config-name.in: File removed.
49757         * scripts/config-uname.sh: New file.
49758         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49759         ($(objdir)config-name.h): New target.
49761         * sunrpc/rpc_parse.h: Avoid nested comment.
49763 2010-08-24  Richard Henderson  <rth@redhat.com>
49764             Ulrich Drepper  <drepper@redhat.com>
49765             H.J. Lu  <hongjiu.lu@intel.com>
49767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49769         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49770         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49771         _mm_alignr_epi8 with _mm_loadu_si128.
49772         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49773         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49774         (__m128i_shift_right): Removed.
49775         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49776         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49777         * sysdeps/x86_64/multiarch/varshift.h: New file.
49778         * sysdeps/x86_64/multiarch/varshift.S: New file.
49780 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49782         * configure.in: Move assembler checks to before sysdep dir checking.
49784 2010-08-20  Petr Baudis  <pasky@suse.cz>
49786         * LICENSES: Sync the sunrpc license.
49788 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49790         * sunrpc/auth_des.c: Update copyright notice once again.
49791         * sunrpc/auth_none.c: Likewise.
49792         * sunrpc/auth_unix.c: Likewise.
49793         * sunrpc/authdes_prot.c: Likewise.
49794         * sunrpc/authuxprot.c: Likewise.
49795         * sunrpc/bindrsvprt.c: Likewise.
49796         * sunrpc/clnt_gen.c: Likewise.
49797         * sunrpc/clnt_perr.c: Likewise.
49798         * sunrpc/clnt_raw.c: Likewise.
49799         * sunrpc/clnt_simp.c: Likewise.
49800         * sunrpc/clnt_tcp.c: Likewise.
49801         * sunrpc/clnt_udp.c: Likewise.
49802         * sunrpc/clnt_unix.c: Likewise.
49803         * sunrpc/des_crypt.c: Likewise.
49804         * sunrpc/des_soft.c: Likewise.
49805         * sunrpc/get_myaddr.c: Likewise.
49806         * sunrpc/getrpcport.c: Likewise.
49807         * sunrpc/key_call.c: Likewise.
49808         * sunrpc/key_prot.c: Likewise.
49809         * sunrpc/openchild.c: Likewise.
49810         * sunrpc/pm_getmaps.c: Likewise.
49811         * sunrpc/pm_getport.c: Likewise.
49812         * sunrpc/pmap_clnt.c: Likewise.
49813         * sunrpc/pmap_prot.c: Likewise.
49814         * sunrpc/pmap_prot2.c: Likewise.
49815         * sunrpc/pmap_rmt.c: Likewise.
49816         * sunrpc/rpc/auth.h: Likewise.
49817         * sunrpc/rpc/auth_unix.h: Likewise.
49818         * sunrpc/rpc/clnt.h: Likewise.
49819         * sunrpc/rpc/des_crypt.h: Likewise.
49820         * sunrpc/rpc/key_prot.h: Likewise.
49821         * sunrpc/rpc/netdb.h: Likewise.
49822         * sunrpc/rpc/pmap_clnt.h: Likewise.
49823         * sunrpc/rpc/pmap_prot.h: Likewise.
49824         * sunrpc/rpc/pmap_rmt.h: Likewise.
49825         * sunrpc/rpc/rpc.h: Likewise.
49826         * sunrpc/rpc/rpc_des.h: Likewise.
49827         * sunrpc/rpc/rpc_msg.h: Likewise.
49828         * sunrpc/rpc/svc.h: Likewise.
49829         * sunrpc/rpc/svc_auth.h: Likewise.
49830         * sunrpc/rpc/types.h: Likewise.
49831         * sunrpc/rpc/xdr.h: Likewise.
49832         * sunrpc/rpc_clntout.c: Likewise.
49833         * sunrpc/rpc_cmsg.c: Likewise.
49834         * sunrpc/rpc_common.c: Likewise.
49835         * sunrpc/rpc_cout.c: Likewise.
49836         * sunrpc/rpc_dtable.c: Likewise.
49837         * sunrpc/rpc_hout.c: Likewise.
49838         * sunrpc/rpc_main.c: Likewise.
49839         * sunrpc/rpc_parse.c: Likewise.
49840         * sunrpc/rpc_parse.h: Likewise.
49841         * sunrpc/rpc_prot.c: Likewise.
49842         * sunrpc/rpc_sample.c: Likewise.
49843         * sunrpc/rpc_scan.c: Likewise.
49844         * sunrpc/rpc_scan.h: Likewise.
49845         * sunrpc/rpc_svcout.c: Likewise.
49846         * sunrpc/rpc_tblout.c: Likewise.
49847         * sunrpc/rpc_util.c: Likewise.
49848         * sunrpc/rpc_util.h: Likewise.
49849         * sunrpc/rpcinfo.c: Likewise.
49850         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49851         * sunrpc/rpcsvc/key_prot.x: Likewise.
49852         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49853         * sunrpc/rpcsvc/mount.x: Likewise.
49854         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49855         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49856         * sunrpc/rpcsvc/rex.x: Likewise.
49857         * sunrpc/rpcsvc/rstat.x: Likewise.
49858         * sunrpc/rpcsvc/rusers.x: Likewise.
49859         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49860         * sunrpc/rpcsvc/spray.x: Likewise.
49861         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49862         * sunrpc/rtime.c: Likewise.
49863         * sunrpc/svc.c: Likewise.
49864         * sunrpc/svc_auth.c: Likewise.
49865         * sunrpc/svc_authux.c: Likewise.
49866         * sunrpc/svc_raw.c: Likewise.
49867         * sunrpc/svc_run.c: Likewise.
49868         * sunrpc/svc_simple.c: Likewise.
49869         * sunrpc/svc_tcp.c: Likewise.
49870         * sunrpc/svc_udp.c: Likewise.
49871         * sunrpc/svc_unix.c: Likewise.
49872         * sunrpc/svcauth_des.c: Likewise.
49873         * sunrpc/xcrypt.c: Likewise.
49874         * sunrpc/xdr.c: Likewise.
49875         * sunrpc/xdr_array.c: Likewise.
49876         * sunrpc/xdr_float.c: Likewise.
49877         * sunrpc/xdr_mem.c: Likewise.
49878         * sunrpc/xdr_rec.c: Likewise.
49879         * sunrpc/xdr_ref.c: Likewise.
49880         * sunrpc/xdr_sizeof.c: Likewise.
49881         * sunrpc/xdr_stdio.c: Likewise.
49883         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49884         handling.
49886 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49888         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49890 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49892         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49893         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49894         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49895         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49896         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49897         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49898         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49899         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49900         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49901         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49902         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49903         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49904         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49905         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49907 2010-07-26  Anton Blanchard  <anton@samba.org>
49909         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49910         * malloc/arena.c (heap_trim): Likewise.
49912 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49914         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49915         here.  Not...
49916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49917         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49919 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49921         * sysdeps/i386/elf/Makefile: New file.
49923 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49925         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49926         from fanotify_init.
49927         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49928         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49930 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49932         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49933         of strncasecmp_l.
49934         * sysdeps/multiarch/strcmp.S: Likewise.
49936 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49938         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49939         strncase_l-nonascii.
49940         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49941         Add strncase_l-ssse3.
49942         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49943         * sysdeps/x86_64/strcmp.S: Likewise.
49944         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49945         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49946         * sysdeps/x86_64/strncase.S: New file.
49947         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49948         * sysdeps/x86_64/strncase_l.S: New file.
49949         * string/Makefile (strop-tests): Add strncasecmp.
49950         * string/test-strncasecmp.c: New file.
49952         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49953         warning.
49955         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49956         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49958 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49960         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49962 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49964         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49966         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49968 2010-05-01  Alan Modra  <amodra@gmail.com>
49970         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49971         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49972         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49973         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49974         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49975         tidying.  Don't tail-call __sigjmp_save for static lib.
49976         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49977         save location.
49978         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49979         (CALL_MCOUNT): Add eh info, and nop after bl.
49980         (TAIL_CALL_SYSCALL_ERROR): New macro.
49981         (PSEUDO_RET): Use it.
49982         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49983         Correct save location of integer regs and cr.
49984         (_dl_profile_resolve): Correct cr save location.  Delete nops
49985         after bl when SHARED.  Reduce cfi size a little by better
49986         placement of cfi directives.
49987         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49988         make a stack frame.  Instead use parm save area as a temp.
49989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49990         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49992         Don't make a stack frame for parent, use parm save area.
49993         Increase child stack frame to 112 bytes.  Don't save unused reg,
49994         and adjust reg usage.  Set up cfi on error recovery and
49995         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49997         (__makecontext): Add dummy nop after jump to exit.
49998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49999         Use correct parm save area and cr save, reduce stack frame.
50000         Correct cfi for possible PSEUDO_RET frame setup.
50001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50002         Branch to local label emitted by PSEUDO_RET rather than
50003         __syscall_error.
50005 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50007         [BZ #11904]
50008         * locale/programs/locale.c (print_assignment): New function.
50009         (show_locale_vars): Use it.
50011 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50013         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50014         field.
50015         (struct statfs64): Likewise.
50016         (_STATFS_F_FLAGS): Define.
50017         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50018         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50019         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50020         (ST_VALID): Define locally.
50021         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50022         __statvfs_getflags, use the provided value.
50023         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50024         __ASSUME_STATFS_F_FLAGS.
50026         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50028         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50029         Add sys/fanotify.h.
50030         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50031         fanotify_mask for GLIBC_2.13.
50032         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50033         fanotify_init and fanotify_mark.
50034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50035         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50037         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50038         Add prlimit.
50039         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50040         prlimit64 for GLIBC_2.13.
50041         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50042         prlimit64.
50043         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50044         syscall.
50045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50047         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50048         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50050         add prlimit alias.
50051         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50053         [BZ #11903]
50054         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50055         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50057         * nss/Makefile: Add rules to build and run tst-nss-test1.
50058         * shlib-versions: Add entry for libnss_test1.
50059         * nss/nss_test1.c: New file.
50060         * nss/tst-nss-test1.c: New file.
50062         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50063         (__nss_configure_lookup): Set appropriate entry in
50064         __nss_configure_lookup to true.
50065         * nss/nsswitch.h: Define enum with indeces of databases in
50066         databases and __nss_database_custom arrays.  Declare
50067         __nss_database_custom.
50068         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50069         to avoid using nscd when custom rules are installed.
50070         * nss/getXXbyYY_r.c: Likewise.
50071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50073         * nss/nss_files/files-parse.c: Whitespace fixes.
50075 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50077         [BZ #11883]
50078         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50079         * posix/fnmatch_loop.c: Likewise.
50081 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50083         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50084         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50085         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50086         * Versions.def [GLIBC_2.13]: Add.
50088 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50090         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50091         Also fail if tpwd after pwuid call is NULL.
50093 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50095         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50096         when converting to ms.
50098 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50100         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50101         EOPNOTSUPP errors with ENOTTY.
50102         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50103         EOPNOTSUPP errors with ENOTTY.
50105 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50107         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50108         Add strcasecmp_l-ssse3.
50109         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50110         strcasecmp.
50111         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50112         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50113         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50115 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50117         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50119         * string/Makefile (strop-tests): Add strcasecmp.
50120         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50121         strcasecmp_l-nonascii.
50122         (gen-as-const-headers): Add locale-defines.sym.
50123         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50124         * sysdeps/x86_64/strcasecmp.S: New file.
50125         * sysdeps/x86_64/strcasecmp_l.S: New file.
50126         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50127         * sysdeps/x86_64/locale-defines.sym: New file.
50128         * string/test-strcasecmp.c: New file.
50130         * string/test-strcasestr.c: Test both ends of the range of characters.
50131         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50133 2010-07-29  Roland McGrath  <roland@redhat.com>
50135         [BZ #11856]
50136         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50138 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50140         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50141         for ld.so.
50143 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50145         * manual/memory.texi (Malloc Tunable Parameters): Document
50146         M_PERTURB.
50148 2010-07-26  Roland McGrath  <roland@redhat.com>
50150         [BZ #11840]
50151         * configure.in (-fgnu89-inline check): Set and substitute
50152         gnu89_inline, not libc_cv_gnu89_inline.
50153         * configure: Regenerated.
50154         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50156 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50158         * string/test-strnlen.c: New file.
50159         * string/Makefile (strop-tests): Add strnlen.
50160         * string/tester.c (test_strnlen): Add a few more test cases.
50161         * string/tst-strlen.c: Better error reporting.
50163         * sysdeps/x86_64/strnlen.S: New file.
50165 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50167         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50168         lower-latency instructions.
50170 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50172         * string/test-strcasestr.c: New file.
50173         * string/test-strstr.c: New file.
50174         * string/Makefile (strop-tests): Add strstr and strcasestr.
50175         * string/str-two-way.h: Don't undefine MAX.
50176         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50178 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50181         strcasestr-nonascii.
50182         (CFLAGS-strcasestr-nonascii.c): Define.
50183         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50184         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50185         Remove unused attribute.
50187 2010-07-20  Roland McGrath  <roland@redhat.com>
50189         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50190         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50191         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50192         like LD_HWCAP_MASK can disable hwcaps.
50194 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50196         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50198 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50200         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50201         call in strcasestr.
50202         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50203         __strcasestr_sse42_nonascii.
50204         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50205         strcasestr-nonascii.c.
50206         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50208 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50210         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50211         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50212         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50213         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50215 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50217         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50218         fcntl.
50220 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50222         [BZ #11577]
50223         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50224         dl_signal_cerror.
50226 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50228         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50229         _PC_PIPE_BUF using F_GETPIPE_SZ.
50231 2010-07-05  Roland McGrath  <roland@redhat.com>
50233         * manual/arith.texi (Rounding Functions): Fix rint description
50234         implicit in round description.
50236 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50238         * elf/Makefile: Fix linking for a few tests to make recent linker
50239         happy.
50241 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50243         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50244         $(common-objpfx)libc_nonshared.a.
50246 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50248         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50249         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50250         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50251         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50252         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50253         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50254         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50255         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50270         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50271         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50272         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50273         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50274         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50275         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50276         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50277         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50278         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50279         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50280         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50281         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50297 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50299         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50300         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50301         * string/memmove.c (memmove): Renamed to ...
50302         (MEMMOVE): ...this.  Default to memmove.
50303         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50304         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50305         (END_CHK): Define.
50306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50307         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50308         mempcpy-ssse3-back memmove-ssse3-back.
50309         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50312         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50313         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50314         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50315         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50316         * sysdeps/x86_64/multiarch/memmove.c: New file.
50317         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50318         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50319         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50320         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50321         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50322         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50323         Define.
50324         (index_Fast_Copy_Backward): Define.
50325         (HAS_ARCH_FEATURE): Define.
50326         (HAS_FAST_REP_STRING): Define.
50327         (HAS_FAST_COPY_BACKWARD): Define.
50329 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50331         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50332         Restore proper fallback handling.
50334 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50336         [BZ #11701]
50337         * posix/group_member.c (__group_member): Correct checking loop.
50339         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50340         OOM in getpwuid_r correctly.  Return error number when the caller
50341         should return, otherwise -1.
50342         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50343         call returning > 0 value.
50344         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50346 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50348         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50349         libc_nonshared.a from targets in modules-names.
50351 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50353         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50354         requires it.
50356 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50358         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50359         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50361         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50363 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50365         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50367 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50369         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50370         and F_GETPIPE_SZ.
50371         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50372         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50375         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50376         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50378 2010-06-14  Roland McGrath  <roland@redhat.com>
50380         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50382 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50384         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50385         __REDIRECT followed by __THROW.
50386         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50387         * posix/getopt.h (getopt): Likewise.
50389 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50391         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50392         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50393         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50394         in AT_FLAGS.
50395         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50396         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50398 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50400         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50402 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50404         [BZ #11640]
50405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50406         Properly check family and model.
50408 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50410         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50412 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50414         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50416 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50418         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50419         symbol reference.
50421 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50423         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50424         symbol reference.
50426 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50428         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50429         and internal_recvmmsg.
50430         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50431         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50432         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50433         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50435         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50436         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50437         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50439 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50441         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50443 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50445         POWER7 optimizations.
50446         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50447         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50449 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50451         * version.h: Update for 2.13 development version.
50453 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50455         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50456         exceptions.  Return 0.
50458 2010-05-07  Roland McGrath  <roland@redhat.com>
50460         * elf/ldconfig.c (main): Add a const.
50462 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50464         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50465         (args_options): Add no-idn option.
50466         (ahosts_keys_int): Add idn_flags to ai_flags.
50467         (parse_option): Handle 'i' option to clear idn_flags.
50469         * malloc/malloc.c (_int_free): Possible race in the most recently
50470         added check.  Only act on the data if no current modification
50471         happened.
50473 See ChangeLog.17 for earlier changes.