Require autoconf 2.69
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * aclocal.m4: Require autoconf 2.69.
4         * configure: Regenerated.
5         * sysdeps/aarch64/configure: Likewise.
6         * sysdeps/alpha/configure: Likewise.
7         * sysdeps/arm/armv7/configure: Likewise.
8         * sysdeps/arm/configure: Likewise.
9         * sysdeps/ia64/configure: Likewise.
10         * sysdeps/mach/configure: Likewise.
11         * sysdeps/mips/configure: Likewise.
12         * sysdeps/s390/configure: Likewise.
13         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15
16         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
17         file.
18         * sysdeps/ia64/configure.ac: Likewise.
19
20 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21
22         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23         specify symbol version for ld.so.  Do not include entry for
24         libpthread.
25         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28
29         [BZ #14171]
30         * Makeconfig [$(build-shared) = yes]
31         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32         makefiles.
33         [$(build-shared) = yes && $(soversions.mk-done) = t]
34         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35         [$(build-shared) = yes && $(soversions.mk-done) = t]
36         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37         to Makerules.
38         [$(build-shared) = yes && $(soversions.mk-done) = t]
39         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40         here.
41         [$(build-shared) = yes && $(soversions.mk-done) = t]
42         (common-generated): Don't append gnu/lib-names.h and
43         gnu/lib-names.stmp here.
44         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45         (lib-names-h-abi): New variable.
46         [$(build-shared) = yes && $(soversions.mk-done) = t]
47         (lib-names-stmp-abi): Likewise.
48         [$(build-shared) = yes && $(soversions.mk-done) = t &&
49         abi-variants] (before-compile): Append
50         $(common-objpfx)$(lib-names-h-abi).
51         [$(build-shared) = yes && $(soversions.mk-done) = t &&
52         abi-variants] (common-generated): Append gnu/lib-names.h.
53         [$(build-shared) = yes && $(soversions.mk-done) = t &&
54         abi-variants] (install-others-nosubdir): Depend on
55         $(inst_includedir)/$(lib-names-h-abi).
56         [$(build-shared) = yes && $(soversions.mk-done) = t &&
57         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
58         [$(build-shared) = yes && $(soversions.mk-done) = t]
59         ($(common-objpfx)$(lib-names-h-abi)): New rule.
60         [$(build-shared) = yes && $(soversions.mk-done) = t]
61         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
62         [$(build-shared) = yes && $(soversions.mk-done) = t]
63         (common-generated): Append $(lib-names-h-abi) and
64         $(lib-names-stmp-abi).
65         * scripts/lib-names.awk: Do not handle multi being set.
66         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
67         Remove variable.
68         (abi-lp64_be-ld-soname): Likewise.
69         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
70         Likewise.
71         (abi-hard-ld-soname): Likewise.
72         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
73         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
74         Remove variable.
75         (abi-o32_hard-ld-soname): Likewise.
76         (abi-o32_soft_2008-ld-soname): Likewise.
77         (abi-o32_hard_2008-ld-soname): Likewise.
78         (abi-n32_soft-ld-soname): Likewise.
79         (abi-n32_hard-ld-soname): Likewise.
80         (abi-n32_soft_2008-ld-soname): Likewise.
81         (abi-n32_hard_2008-ld-soname): Likewise.
82         (abi-n64_soft-ld-soname): Likewise.
83         (abi-n64_hard-ld-soname): Likewise.
84         (abi-n64_soft_2008-ld-soname): Likewise.
85         (abi-n64_hard_2008-ld-soname): Likewise.
86         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
87         Likewise.
88         (abi-64-v2-ld-soname): Likewise.
89         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
90         ld.so entries.
91         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
92         variable.
93         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
94         entry.
95         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
96         variable.
97         (abi-64-ld-soname): Likewise.
98         (abi-x32-ld-soname): Likewise.
99         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
100         entry.
101         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
102
103 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
104
105         [BZ #14138]
106         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
107         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
108         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
109         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
110         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
111         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
112         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
113         syscall entry for GLIBC_2.2 symbol version.
114         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
115         Likewise.
116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
117         (setrlimit): Likewise.
118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
119         Likewise.
120
121 2014-09-23  Will Newton  <will.newton@linaro.org>
122
123         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
124         _LINUX_ARM_SYSDEP_H include guard too.
125         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
126         define.
127
128 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
129
130         * sysdeps/unix/sysv/linux/eventfd.c:
131         Make first argument unsigned.
132         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
133         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
134
135 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
136
137         * socket/recvmmsg.c (recvmmsg): Drop const argument.
138         * socket/sys/socket.h: Likewise
139         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
140
141 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
142
143         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
144
145 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
146
147         * time/tst-ftime.c: New test.
148         * time/Makefile (tests): Add tst-ftime.
149
150 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
151
152         * soft-fp/extended.h: Fix comment formatting.
153         * soft-fp/op-1.h: Likewise.
154         * soft-fp/op-2.h: Likewise.
155         * soft-fp/op-4.h: Likewise.
156         * soft-fp/op-8.h: Likewise.
157         * soft-fp/op-common.h: Likewise.
158         * soft-fp/soft-fp.h: Likewise.
159
160         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
161
162 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
163
164         [BZ #6652]
165         * Makeconfig (soversions-default-setname): Remove variable.
166         ($(common-objpfx)soversions.i): Don't pass default_setname to
167         soversions.awk.
168         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
169         oldest_abi to abi-versions.awk.
170         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
171         * config.make.in (oldest-abi): Remove variable.
172         * configure.ac (--enable-oldest-abi): Remove configure option.
173         * configure: Regenerated.
174         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
175         text.
176         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
177         * scripts/soversions.awk: Do not handle default_setname variable.
178         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
179         variable.
180         * sysdeps/mach/hurd/configure: Regenerated.
181         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
182         variable.
183         * sysdeps/unix/sysv/linux/configure: Regenerated.
184
185 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
186
187         * elf/Makefile (CFLAGS-interp.c): Remove.
188         ($(elf-objpfx)runtime-linker.h): Generate header with linker
189         path string.
190         * elf/interp.c: Include generated runtime-linker.h
191
192         * Makerules (lib%.so): Don't include $(+interp) in
193         prerequisites.
194         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
195         * dlfcn/eval.c: Remove file.
196
197         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
198         macros.
199
200         [BZ #17266]
201         * misc/sys/cdefs.h: Define __extern_always_inline for clang
202         4.2 and newer.
203
204         [BZ #17370]
205         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
206
207 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
208             Jakub Jelinek  <jakub@redhat.com>
209
210         [BZ #17266]
211         * libio/stdio.h: Check definition of __fortify_function
212         instead of __extern_always_inline to include bits/stdio2.h.
213         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
214         check if __extern_always_inline is defined.
215         [__USE_MISC || __USE_XOPEN]: Likewise.
216         [__USE_ISOC99] Likewise.
217         * misc/sys/cdefs.h (__fortify_function): Define only if
218         __extern_always_inline is defined.
219         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
220         __extern_always_inline and __extern_inline only for g++-4.3
221         and newer or a compatible gcc.
222
223 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
224
225         [BZ #17371]
226         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
227         last change to handle zero prefix length.
228
229 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
230
231         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
232         _SC_REGEX_VERSION.
233
234         * posix/getconf.c (vars): Add _POSIX_IPV6 and
235         _POSIX_RAW_SOCKETS.
236
237 2014-09-13  Allan McRae  <allan@archlinux.org>
238
239         * po/ru.po: Update Russian translation from translation project.
240
241 2014-09-12  Roland McGrath  <roland@hack.frob.com>
242
243         * locale/programs/locale.c (show_locale_vars): Inline local function
244         into its sole call site.  Clean up some style nits.
245         (print_item): New function, broken out of ...
246         (show_info): ... local function here.  Clean up style nits.
247
248         * locale/programs/ld-ctype.c (set_one_default): New function, broken
249         out of ...
250         (set_class_defaults): ... local function set_default here.
251         Define set_default as a macro locally to pass constant parameters.
252         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
253         rather than a shared local.
254
255         * stdlib/rpmatch.c (try): New function, broken out of ...
256         (rpmatch): ... local function here.  Also, prototypify definition.
257
258 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
259
260         * scripts/soversions.awk: Do not handle configuration names.
261         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
262         vendor and os variables to soversions.awk.
263         * configure.ac: Do not modify gnu-* host_os.
264         * configure: Regenerated
265         * shlib-versions: Remove first column with configuration names.
266         * nptl/shlib-versions: Likewise.
267         * nptl_db/shlib-versions: Likewise.
268         * sysdeps/hppa/shlib-versions: Likewise.
269         * sysdeps/m68k/shlib-versions: Likewise.
270         * sysdeps/mach/hurd/shlib-versions: Likewise.
271         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
272         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
273         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
274         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
275         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
276         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
277         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
278         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
280         Likewise.
281         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
282         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
283         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
284         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
285         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
286         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
287         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
288         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
289
290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
291         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
293         Regenerated.
294         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
296         Condition symbol version definitions on [HAVE_ELFV2_ABI].
297
298         * shlib-versions: Remove OS-specific entries.  Moved to files in
299         sysdeps.
300         * sysdeps/mach/hurd/shlib-versions: New file.
301         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
302
303         * nptl/shlib-versions: Remove architecture-specific entries.
304         Moved to files in sysdeps.
305         * shlib-versions: Likewise.
306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
307         file.
308         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
309         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
310         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
311         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
312
313         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
314         (UDP_NO_CHECK6_RX): Likewise.
315
316 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
317
318         * sysdeps/posix/sysconf.c (__sysconf): Spell
319         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
320
321 2014-08-12  Florian Weimer  <fweimer@redhat.com>
322
323         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
324         loading.
325         * iconv/Versions (__gconv_transliterate): Export for use from
326         gconv modules.
327         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
328         (struct __gconv_trans_data, __gconv_trans_fct,
329         __gconv_trans_context_fct, __gconv_trans_query_fct,
330         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
331         definitions.
332         (struct __gconv_step_data): Remove __trans member.
333         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
334         longer hidden.  Remove unused trans_data argument.
335         * iconv/gconv_int.h (struct trans_struct): Remove definition.
336         (__gconv_translit_find): Remove declaration.
337         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
338         prototype.
339         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
340         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
341         trans_data argument.  Add hidden definition.
342         (__gconv_translit_find): Remove.
343         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
344         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
345         * iconv/skeleton.c: Remove transliteration initialization.
346         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
347         __gconv_step_data initialization.
348         * libio/iofwide.c (__libio_translit_): Remove.
349         (_IO_fwide): Adjust struct __gconv_step_data initialization.
350         * wcsmbs/btowc.c (__btowc): Likewise.
351         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
352         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
353         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
354         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
355         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
356         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
357         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
358         * wcsmbs/wctob.c (wctob): Likewise.
359
360 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
361
362         [BZ #16194]
363         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
364         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
365         register usage.
366         * sysdeps/x86/Makefile: Adjust.
367
368 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
369             Roland McGrath  <roland@hack.frob.com>
370
371         * locale/weight.h: Add include guard.
372         (findidx): Make static rather than auto; take new parameters
373         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
374         * locale/weightwc.h: Likewise.
375         * posix/fnmatch_loop.c
376         (FCT): Change type of EXTRA from int32_t to wint_t.
377         Don't include either header inside the function.
378         Call FINDIDX rather than findidx, and pass new arguments.
379         #undef FINDIDX at the end of the file.
380         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
381         FINDIDX before including fnmatch_loop.c for the non-wide version.
382         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
383         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
384         for the wide version.
385         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
386         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
387         Pass new arguments to findidx.
388         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
389         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
390         Don't #include it inside the function.  Pass new arguments to findidx.
391         * posix/regex_internal.h
392         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
393         (re_string_elem_size_at): Don't #include it inside the function.
394         Pass new arguments to findidx.
395         * string/strcoll_l.c: #include WEIGHT_H at top level.
396         (get_next_seq): Don't #include it inside the function.
397         Pass new arguments to findidx.
398         (get_next_seq_nocache): Likewise.
399         * string/strxfrm_l.c: #include WEIGHT_H at top level.
400         (STRXFRM): Don't #include it inside the function.
401         Pass new arguments to findidx.
402
403 2014-09-11  Florian Weimer  <fweimer@redhat.com>
404
405         [BZ #17344]
406         * malloc/malloc.c (unlink): Turn asserts into a call to
407         malloc_printerr.
408
409 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
410
411         [BZ #17370]
412         * libio/wfileops (do_ftell_wide): Free OUT.
413
414 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
415
416         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
417
418 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
419
420         [BZ #17363]
421         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
422         group if the current group is empty.
423
424 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
425
426         * benchtests/bench-memset.c (test_main): Add more test from size
427         from 32 to 512 bytes.
428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
429         Add POWER8 memset object.
430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
431         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
432         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
433         implementation.
434         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
435         Likewise.
436         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
437         multiarch POWER8 memset optimization.
438         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
439         POWER8 memset optimization.
440
441         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
442         Remove bzero multiarch objects.
443         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
444         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
445         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
446         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
447         Remove define.
448         [__bzero]: Redefine to specific name.
449         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
450         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
451         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
452         define.
453         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
454         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
455
456 2014-09-10  Florian Weimer  <fweimer@redhat.com>
457
458         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
459         warnings into errors.
460
461         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
462         __cxa_thread_atexit_impl prototype.
463
464 2014-09-09  Steve Ellcey  <sellcey@mips.com>
465
466         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
467         Fix capitalization of error message.
468
469 2014-09-09  Steve Ellcey  <sellcey@mips.com>
470
471         * sysdeps/mips/preconfigure: Modify ABI tests.
472
473 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
474
475         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
476
477 2014-09-07  Roland McGrath  <roland@hack.frob.com>
478             Carlos O'Donell  <carlos@systemhalted.org>
479
480         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
481         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
482         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
483         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
484         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
485         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
486         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
487         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
488         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
489         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
490         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
491         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
492         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
493         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
494         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
495         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
496         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
497         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
498         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
499         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
500         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
501         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
502         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
503         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
504         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
505         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
506         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
507         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
508         Deconditionalize the code that was previously under [RESET_PID].
509         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
510         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
511         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
512         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
513         include sysdep.h.
514
515 2014-09-08  Allan McRae  <allan@archlinux.org>
516
517         * version.h (RELEASE): Set to "development".
518         (VERSION): Set to "2.20.90"
519
520 2014-09-07  Allan McRae  <allan@archlinux.org
521
522         * version.h (RELEASE): Set to "stable".
523         (VERSION): Set to "2.20"
524         * include/features.h (__GLIBC_MINOR__): Set to 20.
525
526         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
527         Liebler.
528
529         * po/ko.po: Update Korean translation from translation project.
530
531 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
532
533         [BZ #17354]
534         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
535         macro for handling signed relocations.
536
537 2014-09-03  Florian Weimer  <fweimer@redhat.com>
538
539         [BZ #17325]
540         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
541         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
542         assert.
543         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
544         * iconvdata/ibm935.c (BODY): Likewise.
545         * iconvdata/ibm937.c (BODY): Likewise.
546         * iconvdata/ibm939.c (BODY): Likewise.
547         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
548         assert.
549         * iconvdata/Makefile (iconv-test.out): Pass module list to test
550         script.
551         * iconvdata/run-iconv-test.sh: New test loop for checking for
552         decoder crashers.
553
554 2014-09-02  Khem Raj  <raj.khem@gmail.com>
555
556         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
557         libm_hidden_ver.
558
559 2014-09-01  Allan McRae  <allan@archlinux.org>
560
561         * po/eo.po: Update Esperanto translation from translation project.
562
563         * po/ca.po: Update Catalan translation from translation project.
564
565 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
566
567         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
568         __proc_dostop call.
569
570 2014-08-27  Mark Wielaard  <mjw@redhat.com>
571
572         [BZ #17319]
573         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
574         to call set_thread_area instead of hand written asm.
575         (__NR_set_thread_area): Removed define.
576         (TLS_FLAG_WRITABLE): Likewise.
577         (__ASSUME_SET_THREAD_AREA): Remove check.
578         (TLS_EBX_ARG): Remove define.
579         (TLS_LOAD_EBX): Likewise.
580
581 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
582
583         Simplify atomicity of socket creation in bind.
584
585         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
586         looking up the name after linking the file.
587
588 2014-08-27  Allan McRae  <allan@archlinux.org>
589
590         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
591
592 2014-08-26  Florian Weimer  <fweimer@redhat.com>
593
594         [BZ #17187]
595         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
596         trans_compare, open_translit, __gconv_translit_find):
597         Remove module loading code.
598
599 2014-08-26  Allan McRae  <allan@archlinux.org>
600
601         * po/vi.po: Update Vietnamese translation from translation project.
602
603         * po/uk.po: Update Ukrainian translation from translation project.
604
605         * po/fr.po: Update French translation from translation project.
606
607         * po/ru.po: Update Russian translation from translation project.
608
609         * po/pl.po: Update Polish translation from translation project.
610
611         * po/cs.po: Update Czech translation from translation project.
612
613         * po/de.po: Update German translation from translation project.
614
615         * po/bg.po: Update Bulgarian translation from translation project.
616
617         * po/sv.po: Update Sweedish translation from translation project.
618
619         * po/nl.po: Update Dutch translation from translation project.
620
621         * po/es.po: Update Spanish translation from translation project.
622
623 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
624
625         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
626
627         * catgets/Makefile (CPPFLAGS-gencat): Remove.
628         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
629         (CPPFLAGS-iconvconfig): Likewise.
630         * timezone/Makefile (CPPFLAGS-zic): Likewise.
631
632         * include/libc-symbols.h: Remove unnecessary check for
633         NOT_IN_libc.
634         * nptl/pthreadP.h: Likewise.
635         * sysdeps/aarch64/setjmp.S: Likewise.
636         * sysdeps/alpha/setjmp.S: Likewise.
637         * sysdeps/arm/sysdep.h: Likewise.
638         * sysdeps/i386/setjmp.S: Likewise.
639         * sysdeps/m68k/setjmp.c: Likewise.
640         * sysdeps/posix/getcwd.c: Likewise.
641         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
642         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
643         * sysdeps/s390/s390-32/setjmp.S: Likewise.
644         * sysdeps/s390/s390-64/setjmp.S: Likewise.
645         * sysdeps/sh/sh3/setjmp.S: Likewise.
646         * sysdeps/sh/sh4/setjmp.S: Likewise.
647         * sysdeps/unix/alpha/sysdep.h: Likewise.
648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
650         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
651         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
656         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
659         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
661         * sysdeps/x86_64/setjmp.S: Likewise.
662
663 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
664
665         [BZ #17263]
666         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
667         <stdint.h>.
668         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
669         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
670
671 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
672
673         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
674
675         [BZ #17262]
676         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
677         and __x86_64__ when disabling x87 inline functions.
678
679 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
680
681         [BZ #17259]
682         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
683         asm statement with __cpuid_count.
684
685 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
686
687         * configure.ac: Change __ehdr_start code to dereference the struct.
688         Run readelf on the output to look for relocations.
689         * configure: Regenerated.
690
691 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
692
693         [BZ #17261]
694         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
695         value to 0.
696         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
697
698 2014-08-12  Roland McGrath  <roland@hack.frob.com>
699
700         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
701
702 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
703
704         [BZ #16892]
705         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
706         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
707
708 2014-08-12  Sean Anderson  <seanga2@gmail.com>
709
710         * malloc/malloc.c: Fix typo in comment.
711
712 2014-08-09  Allan McRae  <allan@archlinux.org>
713
714         * Regenerate libc.po.
715
716 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
717
718         * intl/tst-gettext2.sh: Check every lang file for creation.
719
720 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
721
722         * sysdeps/aarch64/fpu/math_private.h
723         (libc_feholdsetround_noex_aarch64_ctx): New function.
724
725 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
726
727         * sysdeps/arm/armv6/strcpy.S (strcpy):
728         Fix performance issue in misaligned cases.
729
730 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
731
732         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
733         Move definition from termios.h.
734         (struct termio): Likewise.
735         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
736         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
737         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
738         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
739         Likewise.
740         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
741         Move definition to ioctl-types.h
742         (struct termio): Likewise.
743         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
744         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
745         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
746         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
747         Likewise.
748
749 2014-08-05  Richard Henderson  <rth@redhat.com>
750
751         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
752         exceptions.
753         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
754         Add fraiseexcpt.
755         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
756         Use __feraiseexcept.
757         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
758         Protect libm symbols with IS_IN_libm.
759
760         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
761
762 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
763
764         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
765
766 2014-08-04  Will Newton  <will.newton@linaro.org>
767
768         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
769         file.
770
771 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
772
773         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
774         variants for each function.
775
776 2014-08-04  Roland McGrath  <roland@hack.frob.com>
777
778         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
779         appended ...
780         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
781         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
782         appended ...
783         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
784         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
785         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
786         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
787         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
788         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
789         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
790         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
791         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
792         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
793         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
794         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
796         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
798         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
800         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
802         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
804         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
806         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
808         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
810         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
811         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
812         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
813         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
814         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
815         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
816         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
817         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
818         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
819         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
820         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
821         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
822         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
823         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
824         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
825         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
826         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
827         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
828         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
829         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
830         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
831         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
832         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
833         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
834         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
835         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
836         Update #include.
837         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
838         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
839
840 2014-08-04  Roland McGrath  <roland@hack.frob.com>
841
842         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
843         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
844         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
845         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
846         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
847         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
848
849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
850
851         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
852         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
853         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
854         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
855
856 2014-08-04  Roland McGrath  <roland@hack.frob.com>
857
858         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
859         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
860         (__libc_vfork): Define function under this name.
861         (__vfork): Define as an alias.
862         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
863         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
864
865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
866
867         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
868         that was previously under [RESET_PID].
869         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
870
871 2014-08-04  Andreas Schwab  <schwab@suse.de>
872
873         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
874
875 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
876
877         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
878         (main): Likewise.
879
880 2014-08-01  Roland McGrath  <roland@hack.frob.com>
881
882         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
883
884 2014-08-01  Richard Henderon  <rth@redhat.com>
885
886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
887         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
888         typo in exact zero test.
889         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
890         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
892
893 2014-08-01  Roland McGrath  <roland@hack.frob.com>
894
895         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
896         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
897         * sysdeps/arm/sysdep.h: ... here.
898         [!__ASSEMBLER__]: Include <stdint.h>.
899
900 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
901
902         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
903         (HAVE_WCTYPE_H): Likewise.
904         (HAVE_ISWCTYPE): Likewise.
905         (ENABLE_NLS): Likewise.
906         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
907         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
908
909         * posix/regex_internal.c: Check if DEBUG is defined and is
910         set.
911
912         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
913         (HAVE_MBSRTOWCS): Likewise.
914         * posix/fnmatch.c: Include string.h unconditionally.
915
916 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
917
918         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
919         reversal.
920
921 2014-07-31  Roland McGrath  <roland@hack.frob.com>
922
923         * sysdeps/generic/safe-fatal.h: New file.
924         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
925         * nptl/forward.c: Include it.
926         (__pthread_unwind): Use __safe_fatal as default action, rather
927         than a bogus use of INTERNAL_SYSCALL that could never work.
928
929         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
930         * configure.ac (libc_cv_builtin_trap): New test.
931         * configure: Regenerated.
932         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
933         (ABORT_INSTRUCTION): Define using __builtin_trap.
934
935         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
936         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
937         * sysdeps/nptl/nptl-signals.h: New file.
938         * nptl/pthreadP.h: Include <nptl-signals.h>.
939
940 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
941
942         * sysdeps/s390/s390-64/utf16-utf32-z9.c
943         (ONE_DIRECTION): Define.
944         * sysdeps/s390/s390-64/utf8-utf16-z9.c
945         (ONE_DIRECTION): Define.
946         * sysdeps/s390/s390-64/utf8-utf32-z9.c
947         (ONE_DIRECTION): Define.
948
949 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
950
951         * sysdeps/s390/Makefile: Delete file.
952         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
953         * sysdeps/s390/__longjmp.c: Delete file.
954         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
955         Remove fields __flags and __reserved.
956         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
957         and add versioning.
958         * sysdeps/s390/rtld-__longjmp.c: Delete file.
959         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
960         * sysdeps/s390/rtld-setjmp.S: Likewise.
961         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
962         * sysdeps/s390/s390-32/__longjmp.c: ... here.
963         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
964         * sysdeps/s390/s390-32/setjmp.S: ... here.
965         Add versioning.
966         (__sigsetjmp): Remove setting __flags field.
967         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
968         * sysdeps/s390/s390-64/__longjmp.c: ... here.
969         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
970         * sysdeps/s390/s390-64/setjmp.S: ... here.
971         Add versioning.
972         (__sigsetjmp): Remove setting __flags field.
973         * sysdeps/s390/setjmp.S: Delete file.
974         * sysdeps/s390/sigjmp.c: Likewise.
975         * sysdeps/s390/v1-longjmp.c: Likewise.
976         * sysdeps/s390/v1-setjmp.h: Likewise.
977         * sysdeps/s390/v1-sigjmp.c: Likewise.
978         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
979         Remove v1-longjmp_chk.
980         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
981         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
982         Include debug/longjmp_chk.c and add versioning.
983         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
984         Include nptl/pt-longjmp.c and add versioning.
985         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
986         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
987         Include __longjmp.c.
988         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
989         Move to ...
990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
991         (__getcontext): Remove setting __flags field.
992         Add versioning.
993         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
994         Don't restore upper high grps.
995         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
996         Likewise.
997         (__swapcontext): Remove setting uc_flags field.
998         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
999         Delete file.
1000         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1001         Include __longjmp.c.
1002         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1003         Move to ...
1004         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1005         (__getcontext): Remove setting __flags field.
1006         Add versioning.
1007         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1008         (__swapcontext): Remove setting uc_flags field.
1009         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1010         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1011         Remove fields uc_high_gprs and __reserved.
1012         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1013         New file with reverted content.
1014         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1015         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1016         Regenerated.
1017         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1018         Regenerated.
1019
1020 2014-07-31  Andreas Schwab  <schwab@suse.de>
1021
1022         * config.h.in (HAVE_IFUNC): Define to 0.
1023         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1024         definedness.
1025
1026 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1027
1028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1029         memmove-avx-unaligned, memcpy-avx-unaligned and
1030         mempcpy-avx-unaligned.
1031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1032         Add tests for AVX memcpy functions.
1033         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1034         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1035         memcpy_chk.
1036         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1037         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1038         memmove_chk.
1039         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1040         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1041         mempcpy_chk.
1042         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1043         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1044         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1045
1046 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1047
1048         [BZ #17213]
1049         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1050         powerpc64le.
1051
1052 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1053
1054         [BZ #16839]
1055         * manual/llio.texi: Add section about open file description locks.
1056         * manual/examples/ofdlocks.c: Example of open file description
1057         lock usage.
1058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1059         F_OFD_SETLK, and F_OFD_SETLKW.
1060
1061 2014-07-23  Allan McRae  <allan@archlinux.org>
1062
1063         * po/es.po: Update Spanish translation from translation project.
1064
1065 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1066
1067         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1068
1069 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1070
1071         [BZ #17078]
1072         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1073         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1074         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1075
1076 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1077
1078         [BZ #17088]
1079         * math/fesetenv.c (__fesetenv)
1080         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1081         * math/feupdateenv.c (__feupdateenv)
1082         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1083
1084         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1085         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1086         (__ASSUME_SOCKETCALL): Do not define.
1087
1088         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1089         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1090         (__ASSUME_SOCKETCALL): Do not define.
1091         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1092         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1093         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1094         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1095         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1096         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1097         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1098         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1099
1100         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1101         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1102         (__ASSUME_SOCKETCALL): Do not define.
1103         (__ASSUME_IPC64): Define unconditionally.
1104         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1105         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1106         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1107         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1108         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1109         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1110         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1111         Likewise.
1112
1113         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1114         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1115         (__ASSUME_SOCKETCALL): Do not define.
1116         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1117         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1118         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1119         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1120         (__ASSUME_REQUEUE_PI): Define unconditionally.
1121         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1122         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1123         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1124         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1126         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1127
1128         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1129         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1130         (__ASSUME_SOCKETCALL): Do not define.
1131         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1133         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1134         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1135         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1136         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1137
1138         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1139         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1140         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1141         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1142         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1143         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1145         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1146         (__ASSUME_GETCPU_SYSCALL): Likewise.
1147
1148         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1149         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1150         cases for individual architectures.
1151         * sysdeps/gnu/configure: Regenerated.
1152         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1153         LIBC_SLIBDIR_RTLDDIR.
1154         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1155         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1156         LIBC_SLIBDIR_RTLDDIR.
1157         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1159         LIBC_SLIBDIR_RTLDDIR.
1160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1161         Regenerated.
1162         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1163         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1164         file.
1165         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1166         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1167         file.
1168         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1169         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1170         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1171         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1172
1173         * sysdeps/aarch64/shlib-versions: Move to ...
1174         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1175         * sysdeps/alpha/shlib-versions: Move to ...
1176         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1177         * sysdeps/arm/shlib-versions: Move to ...
1178         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1179         * sysdeps/hppa/shlib-versions: Move all contents except for
1180         libgcc_s entry to ...
1181         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1182         entry from ...
1183         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1184         * sysdeps/ia64/shlib-versions: Move to ...
1185         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1186         entry from ...
1187         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1188         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1189         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1190         * sysdeps/microblaze/shlib-versions: Move to ...
1191         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1192         * sysdeps/mips/shlib-versions: Move to ...
1193         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1194         entry from ...
1195         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1196         * sysdeps/tile/shlib-versions: Move to ...
1197         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1198         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1199         from ...
1200         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1201         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1202         entry from ...
1203         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1204
1205 2014-07-17  Will Newton  <will.newton@linaro.org>
1206
1207         * sysdeps/arm/bits/atomic.h
1208         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1209         (__arch_compare_and_exchange_bool_16_int): Likewise.
1210         (__arch_compare_and_exchange_bool_64_int): Likewise.
1211
1212         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1213         into an #else block.
1214
1215 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1216
1217         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1218         just Linux configurations.  Test empirically that the compiler sets
1219         __ARM_EABI__, rather than using the tuple to decide.
1220         * sysdeps/arm/preconfigure: Regenerated.
1221         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1222         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1223         contents appended ...
1224         * sysdeps/arm/configure.ac: ... here.
1225         * sysdeps/arm/configure: Regenerated.
1226
1227 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1228
1229         * nptl/pthread_kill.c: New file.
1230         * nptl/pthread_sigmask.c: New file.
1231         * nptl/pthread_sigqueue.c: New file.
1232
1233         * sysdeps/nptl/lowlevellock.h: New file.
1234         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1235         * sysdeps/nptl/lowlevellock-futex.h: New file.
1236
1237         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1238         Remove dead declarations.
1239
1240 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1241
1242         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1243         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1244         config-cflags-avx2.
1245         * sysdeps/x86_64/configure.ac: Likewise.
1246         * sysdeps/i386/configure: Regenerated.
1247         * sysdeps/x86_64/configure: Likewise.
1248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1249         memset-avx2 only if config-cflags-avx2 is yes.
1250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1251         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1252         defined.
1253         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1254         only if HAVE_AVX2_SUPPORT is defined.
1255         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1256
1257 2014-07-14  Alan Modra  <amodra@gmail.com>
1258
1259         [BZ #17153]
1260         * elf/elf.h (DT_PPC64_NUM): Correct value.
1261         * NEWS: Add to fixed bug list.
1262
1263 2014-07-13  Jim Meyering  <meyering@fb.com>
1264
1265         [BZ 17150]
1266         regex: don't deref NULL upon heap allocation failure
1267         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1268         failure in one more place.
1269         To trigger the segfault, configure grep -with-included-regex,
1270         build it, and run these commands:
1271         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1272
1273 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1274
1275         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1276
1277 2014-07-11  Richard Henderson  <rth@redhat.com>
1278
1279         * sysdeps/aarch64/libm-test-ulps: Update.
1280
1281 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1282
1283         [BZ #17135]
1284         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1285         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1286         (__nptl_setxid): Initialize error member.  Call
1287         __nptl_setxid_error.
1288         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1289         * nptl/descr.h (struct xid_command): Add error member.
1290         * nptl/tst-setuid3.c: New file.
1291         * nptl/Makefile (tests): Add it.
1292
1293 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1294
1295         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1296         New define.
1297         (__lll_trylock): Use __lll_base_trylock.
1298         (__lll_cond_trylock): Likewise.
1299
1300 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1301
1302         * nptl/pthread_create.c (start_thread): Use atomic_or and
1303         lll_futex_wake directly rather than lll_robust_dead.
1304         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1305         (lll_robust_dead): Macro removed.
1306         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1307         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1308         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1309         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1310         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1311         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1312         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1313         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1314         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1315         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1316         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1318         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1319         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1320         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1321
1322         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1323         Use atomic_compare_and_exchange_val_acq directly rather than
1324         lll_robust_trylock.
1325         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1326         (__lll_robust_trylock, lll_robust_trylock): Removed.
1327         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1328         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1329         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1330         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1331         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1332         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1333         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1334         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1335         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1336         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1338         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1339         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1340         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1341
1342 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1343
1344         * manual/locale.texi (Locale Names): New section documenting
1345         locale name syntax.  Adjust menu and node chaining accordingly.
1346         (Choosing Locale): Reference Locale Names, Locale Categories.
1347         Mention setting LC_ALL=C.  Reflect that name syntax is now
1348         documented.
1349         (Locale Categories): New section title.  Reference Locale Names.
1350         LC_ALL is an environment variable, but not a category.
1351         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1352         description, now in Locale Name.  Reference that section.  Locale
1353         name syntax is now documented.
1354
1355 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1356
1357         [BZ #17137]
1358         * locale/findlocale.c (name_present, valid_locale_name): New
1359         functions.
1360         (_nl_find_locale): Use the loc_name variable to store name
1361         candidates.  Call name_present and valid_locale_name to check and
1362         validate locale names.  Return an error if the locale is invalid.
1363
1364 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1365
1366         * locale/setlocale.c (setlocale): Use strdup for allocating
1367         composite name copy.
1368
1369 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1370
1371         Sync up with gnulib.
1372         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1373         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1374         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1375         and _GL_ARG_NONNULL.
1376         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1377         [!_LIBC]: Include code for Windows and Cygwin.
1378         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1379         Include prototype for int strerror_r.
1380         [!_LIBC] (is_open): New function.
1381         (flush_stdout): New function.
1382         (print_errno_message): Use it.
1383         (error): Likewise.
1384         (error_at_line): Likewise.
1385         (error_tail) Add function attribute macros.  Use
1386         __builtin_expect.
1387
1388         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1389
1390         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1391
1392         * io/ftw.c: Include sys/param.h unconditionally.
1393
1394         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1395
1396         [BZ #17125]
1397         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1398         libc_freeres_ptr.
1399         (freecache): New function to free CACHE on exit.
1400
1401         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1402         initialization.
1403
1404 2014-07-09  David S. Miller  <davem@davemloft.net>
1405
1406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1407
1408         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1409         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1410         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1411         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1412         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1413         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1414         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1415         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1416         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1417         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1418         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1419         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1420         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1421
1422 2014-07-09  Andreas Schwab  <schwab@suse.de>
1423
1424         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1425         output.
1426         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1427         (do_test): Likewise.
1428
1429         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1430
1431 2014-07-09  Will Newton  <will.newton@linaro.org>
1432
1433         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1434         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1435         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1436         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1437         * sysdeps/hppa/start.S (_start): Likewise.
1438
1439 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1440
1441         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1442
1443         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1444         defined.
1445
1446 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1447
1448         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1449         after checking that it is non-NULL.
1450
1451         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1452
1453 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1454
1455         * sysdeps/powerpc/memmove.c: Remove file.
1456         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1457         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1458         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1459         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1460         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1461         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1462         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1463         string memmove instead of removed powerpc one.
1464
1465         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1466         [weak_alias]: Fix compiler warning due trailing data.
1467         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1468         [weak_alias]: Likewise.
1469         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1470         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1471
1472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1473         (__libc_ifunc_impl_list): Add memmove functions.
1474
1475 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1476
1477         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1478         Remove code.
1479         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1480         Likewise
1481         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1482         Likewise
1483         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1484         Likewise
1485         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1486         Likewise
1487         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1488         Likewise
1489         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1490         Likewise
1491         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1492         Likewise
1493         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1494         Likewise
1495         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1496         Likewise
1497         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1498         Likewise
1499         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1500         Likewise
1501         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1502         Likewise
1503         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1504         Likewise
1505         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1506         Likewise
1507         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1508         Likewise
1509         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1510         Likewise
1511
1512 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513
1514         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1515         to avoid alignment traps in non-cacheable memory.
1516         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1517
1518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1519         multiarch objects.
1520         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1521         file: multiarch power7 memmove.
1522         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1523         multiarch default memmove.
1524         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1525         multiarch memove for powerpc32/power4.
1526
1527         * string/bcopy.c: Use full path to include memmove.c.
1528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1529         multiarch objects.
1530         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1531         bcopy for powerpc64.
1532         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1533         bcopy for powerpc64.
1534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1535         and memmove implementations.
1536         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1537         optimized multiarch memmove for POWER7/powerpc64.
1538         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1539         default multiarch memmove for powerpc64.
1540         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1541         multiarch for powerpc64.
1542         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1543         for POWER7/powerpc64.
1544         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1545         memmove for POWER7/powerpc64.
1546
1547         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1548         glibc default one.
1549
1550         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1551         __ELF_NATIVE_CLASS equal to 64.
1552
1553 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1554
1555         * sysdeps/nptl/lowlevellock.h: File removed.
1556
1557         * NEWS: NPTL is no longer an add-on!
1558         * nptl/internaltypes.h: Moved ...
1559         * sysdeps/nptl/internaltypes.h: ... here.
1560         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1561         * sysdeps/nptl/fork.c: Likewise.
1562         * sysdeps/nptl/gai_misc.h: Likewise.
1563         * sysdeps/nptl/librt-cancellation.c: Likewise.
1564         * sysdeps/nptl/jmp-unwind.c: Likewise.
1565         * sysdeps/nptl/setxid.h: Likewise.
1566         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1567         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1568         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1569         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1570         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1571         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1572         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1573         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1574         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1575         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1576         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1577         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1578         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1579         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1580         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1581         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1582         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1583         * nptl/Makeconfig: Moved ...
1584         * sysdeps/nptl/Makeconfig: ... here.
1585         * nptl/configure: File removed.
1586         * nptl/ANNOUNCE: File removed.
1587         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1588         * sysdeps/unix/sysv/linux/configure: Regenerated.
1589
1590         * nptl/Makefile (routines): Add libc_pthread_init,
1591         libc_multiple_threads, register-atfork and unregister-atfork.
1592         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1593         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1594         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1595         pthread-pi-defines.sym, structsem.sym.
1596         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1597         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1598         [$(subdir) = nptl] (tests): Add tst-setgetname.
1599         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1600         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1601         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1602         [!LIBC_SIGACTION]: Remove aliases.
1603         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1604         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1605         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1606         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1607         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1608         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1609         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1610         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1611         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1612         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1613         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1614         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1615         __libc_allocate_rtsig_private.
1616         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1617         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1618         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1619         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1620         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1621         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1622         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1623         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1624         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1625         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1626         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1627         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1628         * nptl/internaltypes.h: ... here.
1629         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1630         * sysdeps/nptl/jmp-unwind.c: ... here.
1631         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1632         * nptl/libc-lowlevellock.c: ... here.
1633         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1634         * nptl/libc_multiple_threads.c: ... here.
1635         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1636         * nptl/libc_pthread_init.c: ... here.
1637         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1638         * nptl/lowlevelbarrier.sym: ... here.
1639         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1640         * nptl/lowlevelcond.sym: ... here.
1641         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1642         * nptl/lowlevellock.c: ... here.
1643         * nptl/lowlevellock.h: Moved ...
1644         * sysdeps/nptl/lowlevellock.h: ... here.
1645         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1646         * nptl/lowlevelrobustlock.c: ... here.
1647         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1648         * nptl/lowlevelrobustlock.sym: ... here.
1649         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1650         * nptl/lowlevelrwlock.sym: ... here.
1651         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1652         * nptl/pt-fork.c: ... here.
1653         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1654         * nptl/pthread-pi-defines.sym: ... here.
1655         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1656         * nptl/pthread_attr_getaffinity.c: ... here.
1657         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1658         * nptl/pthread_attr_setaffinity.c: ... here.
1659         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1660         * nptl/pthread_mutex_cond_lock.c: ... here.
1661         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1662         Update #include.
1663         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1664         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1665         * nptl/pthread_once.c: ... here, replacing old file.
1666         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1667         * nptl/pthread_yield.c: ... here.
1668         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1669         * nptl/register-atfork.c: ... here.
1670         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1671         * nptl/sem_post.c: ... here.
1672         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1673         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1674         * nptl/sem_timedwait.c: ... here.
1675         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1676         * nptl/sem_trywait.c: ... here.
1677         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1678         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1679         * nptl/sem_wait.c: ... here.
1680         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1681         * nptl/structsem.sym: ... here.
1682         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1683         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1684         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1685         * nptl/unregister-atfork.c: ... here.
1686         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1687         * nptl/unwindbuf.sym: ... here.
1688         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1689         * sysdeps/nptl/fork.c: ... here.
1690         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1691         * sysdeps/nptl/fork.h: ... here.
1692         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1693         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1694         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1695         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1696         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1697         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1698         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1699         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1700         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1701         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1702         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1703         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1704         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1705         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1706         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1707         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1708         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1709         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1710         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1711         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1712         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1713         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1714         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1715         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1716         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1717         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1718         * sysdeps/unix/sysv/linux/raise.c: ... here.
1719         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1720         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1722         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1723         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1724         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1725         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1726         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1727         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1728         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1730         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1731         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1732         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1733         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1734
1735 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1736
1737         * sysdeps/generic/memcopy.h: Add comment for
1738         MEMCPY_OK_FOR_FWD_MEMMOVE.
1739
1740 2014-07-04  Will Newton  <will.newton@linaro.org>
1741
1742         * string/memchr.c: Merge from gnulib.
1743         [_LIBC]: Remove conditionals.
1744         (__ptr_t): Remove define.
1745         (LONG_MAX_32_BITS): Likewise.
1746         (LONG_MAX): Likewise.
1747         (MEMCHR): Use ANSI prototype and optimize algorithm.
1748
1749         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1750
1751 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1752
1753         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1754         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1755
1756         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1757         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1758         in a bare environment with no <stdlib.h> installed.
1759         * sysdeps/nptl/configure: Regenerated.
1760
1761         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1762
1763         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1764         AC_EGREP_CPP for kernel header checks, so they only succeed if
1765         including <linux/version.h> actually works right.
1766         * sysdeps/unix/sysv/linux/configure: Regenerated.
1767
1768         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1769         value so it's not diagnosed as unused.
1770
1771         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1772         thing) with "ifeq ($(subdir),rt)".
1773
1774 2014-07-03  Richard Henderson  <rth@redhat.com>
1775
1776         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1777         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1778         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1779
1780         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1781         (math_force_eval): New.
1782
1783         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1784         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1785
1786         * sysdeps/alpha/fpu/s_round.c: Remove file.
1787         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1788
1789         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1790         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1791         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1792         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1793         (_dl_start, print_statistics): Likewise.
1794         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1795         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1796
1797         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1798         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1799         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1800         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1802         (HP_SMALL_TIMING_AVAIL): Define.
1803         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1804         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1805         (HP_SMALL_TIMING_AVAIL): Define.
1806         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1807         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1808
1809         * sysdeps/aarch64/hp-timing.h: New file.
1810
1811         * sysdeps/generic/hp-timing.h: Remove dead comment.
1812         * sysdeps/generic/hp-timing-common.h: New file.
1813         * sysdeps/alpha/hp-timing.h: Include it.
1814         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1815         * sysdeps/i386/i686/hp-timing.h: Likewise.
1816         * sysdeps/ia64/hp-timing.h: Likewise.
1817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1818         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1819         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1820         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1821         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1822         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1823         (hp_timing_t): New.
1824
1825         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1826         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1827         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1828         * elf/rtld.c (_dl_start_final): Likewise.
1829         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1830         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1831         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1832         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1833         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1834         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1835         (HP_TIMING_DIFF_INIT): Remove.
1836         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1837         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1838         (HP_TIMING_DIFF_INIT): Remove.
1839         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1840         * sysdeps/i386/i686/hp-timing.c: Remove file.
1841         * sysdeps/x86_64/hp-timing.c: Remove file.
1842         * sysdeps/ia64/hp-timing.c: Remove file.
1843         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1844         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1845         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1846         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1847
1848         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1849         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1850         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1851         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1853         (HP_TIMING_ACCUM): Remove.
1854         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1855         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1856         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1857
1858         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1859         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1860         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1861         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1863         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1864         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1865         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1866
1867         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1868
1869 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1870
1871         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1872
1873 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1874
1875         Sync up with gettext.
1876         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1877         [_MSC_VER]: Include malloc.h
1878         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1879         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1880         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1881         TEMP_FAILURE_RETRY.  Cast return of alloca.
1882         [!_LIBC] Call gl_rwlock_init.
1883         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1884
1885 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1886
1887         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1888         before checking its value.
1889
1890 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1891
1892         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1893
1894         * debug/memcpy_chk.c: Don't include pagecopy.h.
1895         * debug/mempcpy_chk.c: Likewise.
1896         * string/memcpy.c: Likewise.
1897         * string/memmove.c: Likewise.
1898         * sysdeps/powerpc/memmove.c: Likewise.
1899         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1900         definition of PAGE_COPY_FWD_MAYBE here...
1901         * sysdeps/generic/pagecopy.h: ... from here.
1902         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1903
1904 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1905             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1906
1907         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1909         optimizations.
1910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1911         (__libc_ifunc_impl_list): Likewise.
1912         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1913         multiarch strcat for PPC64.
1914         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1915         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1916
1917 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1918
1919         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1920
1921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1922
1923         * intl/loadmsgcat.c: Remove declaration of
1924         get_sysdep_segment_value.
1925         (get_sysdep_segment_value): Use ISO C style.
1926         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1927         semicolon.  Fix typo and formatting in comment.
1928         (_nl_unload_domain): Use ISO C style.
1929
1930         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1931
1932 2014-07-02  Will Newton  <will.newton@linaro.org>
1933
1934         * malloc/obstack.c: Merge from gnulib master.
1935         [HAVE_CONFIG_H]: Remove conditional code.
1936         [!_LIBC]: Include config.h.
1937         [!ELIDE_CODE]: Don't include inttypes.h, include
1938         stdint.h unconditionally.
1939         (print_and_abort): Mark as _Noreturn.
1940         (_obstack_allocated_p): Mark as __attribute_pure__.
1941         (obstack_free): Rename to __obstack_free.
1942         [!__attribute__]: Remove conditional code.
1943         * malloc/obstack.h: Merge from gnulib master.
1944         [__cplusplus]: Move conditional down.
1945         [!__attribute_pure__]: Define __attribute_pure__ here
1946         if it is not already defined.
1947         (_obstack_memory_used): Mark as __attribute_pure__.
1948         [!__obstack_free]: Define as obstack_free.
1949         [__GNUC__]: Remove check for ancient NeXT gcc.
1950
1951 2014-07-02  Will Newton  <will.newton@linaro.org>
1952             Paul Eggert  <eggert@cs.ucla.edu>
1953
1954         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1955
1956 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1957
1958         * resolv/gethnamaddr.c: Add comment warning that the file is
1959         not maintained.
1960
1961 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1962
1963         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1964         entries.
1965
1966         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1967         entry for aio_cancel and aio_cancel64.
1968         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1969         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1970         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1971         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1972         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1973         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1974         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1975         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1976         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1977         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1978         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1979         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1980         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1981
1982 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1983
1984         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1985         * nptl/pthread_mutex_lock.c: Likewise.
1986         * nptl/pthread_mutex_timedlock.c: Likewise.
1987         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1988
1989 2014-07-01  Richard henderson  <rth@redhat.com>
1990
1991         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1992         (__isnan, __isnanl): Remove.
1993         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1994
1995         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1996
1997 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1998
1999         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2000
2001 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2002
2003         * resolv/nss_dns/dns-host.c (getanswer_r)
2004         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2005
2006 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2007
2008         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2009         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2010         undefine.
2011         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2012         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2013
2014 2014-07-01  Roland McGrath <roland@hack.frob.com>
2015
2016         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2017         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2018
2019         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2020         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2021
2022         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2023         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2024         ... here.
2025         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2026         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2027
2028         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2029         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2030         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2031         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2032
2033         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2034         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2035         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2036         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2037         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2038         Moved ...
2039         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2040         ... here.
2041         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2042         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2043         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2044         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2045         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2046         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2047         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2048         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2049         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2050         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2052         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2053         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2054         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2055         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2056         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2057         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2058         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2059         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2060         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2061         ... here.
2062         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2063         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2064         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2065         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2066         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2067         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2068         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2069         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2070
2071 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2072
2073         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2074         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2075         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2076         Add sysdep.
2077
2078 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2079
2080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2081
2082 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2083
2084         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2085         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2086
2087         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2088
2089         * sysdeps/arm/libm-test-ulps: Regenerated.
2090
2091 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2092             Roland McGrath <roland@hack.frob.com>
2093
2094         * test-skeleton.c (signal_handler): Kill the whole process group
2095         before killing the child individually.
2096         (main): Report any failure on `setpgid'.
2097
2098 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2099
2100         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2101         from _TLS_H to _ARM_NPTL_TLS_H.
2102         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2103         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2104
2105 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2106
2107         [BZ #16539]
2108         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2109         (__expm1l): Return argument unchanged when small but not
2110         subnormal.
2111
2112         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2113         include macro name.
2114         (_FP_UNPACK_RAW_1_P): Likewise.
2115         (_FP_PACK_RAW_1): Likewise.
2116         (_FP_PACK_RAW_1_P): Likewise.
2117         (_FP_MUL_MEAT_1_wide): Likewise.
2118         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2119         (_FP_MUL_MEAT_1_hard): Likewise.
2120         (_FP_DIV_MEAT_1_imm): Likewise.
2121         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2122         (_FP_DIV_MEAT_1_udiv): Likewise.
2123         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2124         (_FP_UNPACK_RAW_2): Likewise.
2125         (_FP_UNPACK_RAW_2_P): Likewise.
2126         (_FP_PACK_RAW_2): Likewise.
2127         (_FP_PACK_RAW_2_P): Likewise.
2128         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2129         (_FP_MUL_MEAT_2_wide): Likewise.
2130         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2131         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2132         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2133         (_FP_MUL_MEAT_2_gmp): Likewise.
2134         (_FP_DIV_MEAT_2_udiv): Likewise.
2135         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2136         (_FP_FRAC_SRL_4): Likewise.
2137         (_FP_FRAC_SRST_4): Likewise.
2138         (_FP_FRAC_SRS_4): Likewise.
2139         (_FP_UNPACK_RAW_4): Likewise.
2140         (_FP_UNPACK_RAW_4_P): Likewise.
2141         (_FP_PACK_RAW_4): Likewise.
2142         (_FP_PACK_RAW_4_P): Likewise.
2143         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2144         (_FP_MUL_MEAT_4_wide): Likewise.
2145         (_FP_MUL_MEAT_4_gmp): Likewise.
2146         (umul_ppppmnnn): Likewise.
2147         (_FP_DIV_MEAT_4_udiv): Likewise.
2148         (__FP_FRAC_ADD_4): Likewise.
2149         (__FP_FRAC_SUB_3): Likewise.
2150         (__FP_FRAC_SUB_4): Likewise.
2151         (__FP_FRAC_DEC_3): Likewise.
2152         (__FP_FRAC_DEC_4): Likewise.
2153         (__FP_FRAC_ADDI_4): Likewise.
2154         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2155         (_FP_FRAC_SRL_8): Likewise.
2156         (_FP_FRAC_SRS_8): Likewise.
2157
2158         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2159         include macro name.
2160         (FP_UNPACK_RAW_EP): Likewise.
2161         (FP_PACK_RAW_E): Likewise.
2162         (FP_PACK_RAW_EP): Likewise.
2163         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2164         (_FP_ISSIGNAN): Likewise.
2165         (_FP_ADD_INTERNAL): Likewise.
2166         (_FP_FMA): Likewise.
2167         (_FP_CMP): Likewise.
2168         (_FP_SQRT): Likewise.
2169         (_FP_TO_INT): Likewise.
2170         (_FP_FROM_INT): Likewise.
2171         (FP_EXTEND): Likewise.
2172         (_FP_DIV_MEAT_N_loop): Likewise.
2173
2174 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2175
2176         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2177         throughout.
2178
2179 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2180
2181         [BZ #17097]
2182         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2183         result with correct sign in case of exponents that produce
2184         overflow except for X very close to 1.
2185
2186 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2187
2188         mktime: merge #if/#ifdef usage from glibc
2189         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2190         as that works with both Glibc's and Gnulib's style.
2191         See thread starting at Siddhesh Poyarekar's bug report at:
2192         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2193
2194 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2195
2196         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2197         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2198         * sysdeps/tile/tilegx/memmove.c: Remove file.
2199
2200 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2201
2202         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2203         abi-name definition.
2204         * scripts/soversions.awk: Do not handle or generate ABI lines.
2205         * shlib-versions: Remove ABI entries.
2206         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2207         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2208
2209 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2210
2211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2212         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2213         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2214         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2216         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2218         Moved ...
2219         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2220         ... here.
2221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2222         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2224         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2226         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2228         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2230         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2234         Moved ...
2235         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2239         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2241         Moved ...
2242         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2244         Moved ...
2245         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2247         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2249         Moved ...
2250         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2252         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2254         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2256         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2258         Moved ...
2259         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2261         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2262         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2263         Moved ...
2264         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2266         Moved ...
2267         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2269         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2270         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2271         Moved ...
2272         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2273         ... here.
2274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2275         Identical file removed.
2276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2277         Moved ...
2278         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2280         Identical file removed.
2281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2284         Moved ...
2285         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2286         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2287         Identical file removed.
2288         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2289         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2291         Identical file removed.
2292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2293         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2294         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2295         Identical file removed.
2296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2297         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2299         Identical file removed.
2300         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2301         Moved ...
2302         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2304         Identical file removed.
2305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2306         Moved ...
2307         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2309         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2311         Identical file removed.
2312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2313         Moved ...
2314         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2315         ... here.
2316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2317         Identical file removed.
2318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2319         Moved ...
2320         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2322         Identical file removed.
2323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2326         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2331         Moved ...
2332         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2334         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2335
2336         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2337         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2338         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2339         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2340         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2341
2342 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2343
2344         [BZ #17092]
2345         * nscd/nscd.c (monitor_child): Return exit status of child
2346         instead of return value from wait syscall.
2347
2348 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2349
2350         * configure.ac (libc_commonpagesize): Remove variable.
2351         (libc_relro_required): Likewise.
2352         (libc_cv_z_relro): Remove configure test.
2353         * configure: Regenerated.
2354         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2355         variable.
2356         (libc_relro_required): Likewise.
2357         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2358         (libc_relro_required): Likewise.
2359         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2360         (libc_relro_required): Likewise.
2361         * sysdeps/arm/preconfigure: Regenerated.
2362         * sysdeps/ia64/preconfigure: Remove file.
2363         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2364         variable.
2365         (libc_relro_required): Likewise.
2366
2367         [BZ #16561]
2368         [BZ #16562]
2369         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2370         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2371         recompute overflowing results in original rounding mode.
2372         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2373         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2374         recompute overflowing results in original rounding mode.
2375         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2376         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2377         recompute overflowing results in original rounding mode.
2378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2379         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2380         recompute overflowing results in original rounding mode.
2381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2382         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2383         recompute overflowing results in original rounding mode.
2384         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2385         (libc_feholdsetround_ctx): New macro.
2386         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2387         * sysdeps/i386/fpu/libm-test-ulps: Update.
2388         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2389
2390 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2391
2392         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2393         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2394         corresponding .cpsetup call.
2395
2396 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2397
2398         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2399         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2400         * sysdeps/arm/Makefile [$(subdir) = csu]
2401         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2402         (static-only-routines): Add aeabi_read_tp here.
2403         (shared-only-routines): Add libc-aeabi_read_tp here.
2404         (CFLAGS-libc-start.c): Add -fexceptions here.
2405         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2406         (sysdep_routines, static-only-routines, shared-only-routines):
2407         Don't add to these here.
2408         (CFLAGS-libc-start.c): Likewise.
2409
2410         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2411         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2412         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2413         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2414         * sysdeps/arm/Makefile [$(subdir) = rt]
2415         (librt-sysdep_routines, librt-shared-only-routines):
2416         Append rt-aeabi_unwind_cpp_pr1 here.
2417         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2418         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2419         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2420         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2421         Append nptl-aeabi_unwind_cpp_pr1 here.
2422         (tests): Filter out tst-cleanupx4 here.
2423         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2424         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2425         Don't do those here.
2426
2427 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2428
2429         * scripts/list-sources.sh: Do not handle ports specially.
2430
2431 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2432
2433         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2434         * sysdeps/arm/feupdateenv.c: Likewise.
2435
2436         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2437
2438 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2439
2440         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2441         trailing whitespace removed.
2442         * scripts/config.guess: Update to version 2014-03-23.
2443         * scripts/config.sub: Update to version 2014-05-01
2444         * scripts/install-sh: Update to version 2013-12-25.23.
2445         * scripts/move-if-change: Update from gnulib.
2446
2447 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2448
2449         * debug/memmove_chk.c: Remove pagecopy.h include.
2450
2451 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2452
2453         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2454         identical to gnulib mktime.
2455
2456 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2457
2458         * configure.ac: Do not test for machine being rs6000.  Do not test
2459         for powerpc*-*soft.
2460         * configure: Regenerated.
2461
2462         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2463         test.
2464         * configure: Regenerated.
2465         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2466         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2467         Remove configure test.
2468         * sysdeps/arm/configure: Regenerated.
2469         * sysdeps/nptl/configure.ac: Do not check
2470         libc_cv_asm_cfi_directives.
2471         * sysdeps/nptl/configure: Regenerated.
2472         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2473         * sysdeps/x86_64/nptl/configure: Remove generated file.
2474         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2475         unconditional.
2476         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2477
2478 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2479
2480         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2481         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2482         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2483         it is defined.
2484
2485         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2486         instead of whether it is defined.
2487         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2488         * sysdeps/hppa/dl-machine.h: Likewise.
2489         * sysdeps/ia64/dl-machine.h: Likewise.
2490         * sysdeps/m68k/dl-machine.h: Likewise.
2491         * sysdeps/microblaze/dl-machine.h: Likewise.
2492         * sysdeps/mips/dl-machine.: Likewise.
2493         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2494         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2495         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2496         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2497         * sysdeps/sh/dl-machine.h: Likewise.
2498         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2499         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2500         * sysdeps/tile/dl-machine.h: Likewise.
2501         * sysdeps/x86_64/dl-machine.h: Likewise.
2502
2503         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2504         code.
2505         (verify_persistent_db): Likewise.
2506
2507 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2508
2509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2510         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2512         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2514         Moved ...
2515         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2516         ... here.
2517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2518         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2520         Identical file removed.
2521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2522         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2524         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2526         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2530         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2532         Moved ...
2533         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2542         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2544         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2546         Identical file removed.
2547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2548         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2550         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2552         Moved ...
2553         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2554         ... here.
2555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2556         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2558         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2560         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2562         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2564         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2566         Moved ...
2567         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2569         Moved ...
2570         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2572         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2574         Moved ...
2575         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2577         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2578
2579         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2580         folded into ...
2581         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2582         * sysdeps/unix/sysv/linux/s390/Versions
2583         (libpthread: GLIBC_2.19): New version set.
2584         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2585         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2586         (librt: GLIBC_2.3.3): New version set.
2587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2588         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2589         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2590         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2591         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2592         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2593         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2594         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2595         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2596         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2597         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2598         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2599         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2600         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2601         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2602         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2603         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2604         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2605         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2606         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2607         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2608         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2609         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2610         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2611         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2612         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2613         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2614         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2615         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2617         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2618         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2623         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2625         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2627         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2629         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2631         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2632
2633         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2634         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2635         (__libc_vfork): Define the function under this name.
2636         [!NOT_IN_libc] (__vfork): Make this an alias.
2637         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2639         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2640         (__libc_vfork): Define the function under this name.
2641         [!NOT_IN_libc] (__vfork): Make this an alias.
2642         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2643         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2644         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2646         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2647         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2648
2649         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2650         code that was previously under [RESET_PID].
2651         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2654
2655         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2656         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2657         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2658         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2659         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2660         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2661         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2662         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2663         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2664         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2665         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2666         Moved ...
2667         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2671         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2675         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2677         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2679         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2680         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2681         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2682         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2683         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2684         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2685         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2686         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2689         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2690         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2691         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2692         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2693         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2695         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2696
2697 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2698
2699         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2700         that was previously under [RESET_PID].
2701         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2702
2703 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2704
2705         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2706         not undefine and redefine.
2707         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2708         [O_CLOEXEC]: Make code unconditional.
2709         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2710         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2711         <kernel-features.h>.
2712         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2713         conditional variable definition.
2714         (shm_open) [O_CLOEXEC]: Make code unconditional.
2715         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2716         code.
2717
2718         * configure.ac (USE_REGPARMS): Don't define here.
2719         * configure: Regenerated.
2720         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2721         * sysdeps/i386/configure: Regenerated.
2722
2723         * nptl/createthread.c: Don't include kernel-features.h.
2724         * nptl/pthread_cancel.c: Likewise.
2725         * nptl/pthread_condattr_setclock.c: Likewise.
2726         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2727         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2728         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2729         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2730         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2731         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2735         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2736         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2737         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2738         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2739         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2740         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2741         * nscd/gai.c: Likewise.
2742         * nss/nss_db/db-open.c: Likewise.
2743         * sysdeps/generic/ldsodefs.h: Likewise.
2744         * sysdeps/sh/nptl/tls.h: Likewise.
2745         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2746         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2747         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2748         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2749         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2750         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2751         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2752         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2754         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2755         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2756         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2757         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2758         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2759         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2760         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2761         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2762         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2763         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2764         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2767         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2768         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2773         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2774         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2775         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2776         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2777         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2778         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2779         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2780         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2781         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2782         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2783         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2784         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2785         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2786         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2787         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2788         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2789         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2790         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2791         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2792         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2793         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2794         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2795         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2796         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2797         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2798         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2799         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2800         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2801         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2802         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2825         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2826         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2827         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2828         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2829         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2830         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2831         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2832         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2833         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2834         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2835         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2836         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2837         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2838         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2839         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2840         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2841         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2842         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2843         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2844         * sysdeps/unix/sysv/linux/system.c: Likewise.
2845         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2846         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2847         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2848         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2849         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2850         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2851         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2852
2853         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2854         * configure: Regenerated.
2855         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2856
2857         * configure.ac (base_machine): Do not set specially for particular
2858         machines here.
2859         * configure: Regenerated.
2860         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2861         settings from configure.ac.
2862         * sysdeps/i386/preconfigure: New file.
2863         * sysdeps/s390/preconfigure: Likewise.
2864         * sysdeps/sh/preconfigure: Likewise.
2865         * sysdeps/sparc/preconfigure: Likewise.
2866
2867 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2868
2869         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2870         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2871         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2872         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2873         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2874         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2875         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2876         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2877         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2878         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2879         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2880         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2881         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2882         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2883         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2884         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2886         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2887         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2888
2889         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2890         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2891         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2892         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2893         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2894         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2895         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2896         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2897         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2898         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2899         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2900         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2901         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2902         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2903         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2904         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2905         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2906         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2907         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2908         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2909         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2910         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2911         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2912         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2914         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2915         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2918         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2919         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2920         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2921         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2922         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2923         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2924         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2926         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2927
2928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2929         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2933         Moved ...
2934         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2935         ... here.
2936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2941         Moved ...
2942         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2946         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2950         Moved ...
2951         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2953         Moved ...
2954         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2956         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2958         Moved ...
2959         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2961         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2963         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2965         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2967         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2969         Moved ...
2970         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2971         ... here.
2972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2973         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2975         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2977         Moved ...
2978         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2980         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2982         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2984         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2986         Moved ...
2987         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2989         Moved ...
2990         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2992         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2994         Moved ...
2995         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2997         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2999         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3000
3001 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3002
3003         * timezone/checktab.awk: Update from tzcode 2014e.
3004         * timezone/private.h: Likewise.
3005         * timezone/tzfile.h: Likewise.
3006         * timezone/zdump.c: Likewise.
3007         * timezone/zic.c: Likewise.
3008
3009         * sysdeps/unix/sysv/linux/kernel-features.h
3010         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3011         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3012         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3013         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3014         Remove conditional code.
3015
3016 2014-06-25  Will Newton  <will.newton@linaro.org>
3017
3018         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3019         (_dl_arm_cap_flags): Add HWCAP2 values.
3020         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3021         (_DL_HWCAP_COUNT): Increase to 37.
3022         (_DL_HWCAP_LAST): New define.
3023         (_DL_HWCAP2_LAST): New define.
3024         (_dl_procinfo): Add support for printing
3025         AT_HWCAP2 entries.
3026         (_dl_string_hwcap): Use _dl_hwcap_string.
3027
3028 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3029
3030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3031
3032 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3033
3034         * README: Do not mention ports directory.
3035
3036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3037         Remove macro.
3038         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3039         <kernel-features.h>.
3040         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3041         conditional variable definition.
3042         (__futimes): Update comment.
3043         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3044         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3045
3046         [BZ #16560]
3047         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3048         arguments close to 0.
3049         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3050         Likewise.
3051         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3052         Likewise.
3053         * math/auto-libm-test-in: Add more tests of exp10.
3054         * math/auto-libm-test-out: Regenerated.
3055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3056
3057         * sysdeps/unix/sysv/linux/kernel-features.h
3058         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3059         * sysdeps/unix/sysv/linux/readv.c: Do not include
3060         <kernel-features.h>.
3061         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3062         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3063         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3064         unconditional.
3065         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3066         conditional code.
3067         * sysdeps/unix/sysv/linux/writev.c: Do not include
3068         <kernel-features.h>.
3069         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3070         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3071         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3072         unconditional.
3073         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3074         conditional code.
3075
3076 2014-06-25  Will Newton  <will.newton@linaro.org>
3077
3078         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3079         comment changes throughout the file.  Remove checks
3080         for HAVE_*_H definitions that are not required.
3081         (__gen_tempname): Call abort if an unknown kind value is
3082         passed.
3083
3084 2014-06-25  Andreas Schwab  <schwab@suse.de>
3085
3086         [BZ #17086]
3087         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3088         scalbln, scalblnf, scalblnl in libc.
3089
3090 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3091
3092         [BZ #17086]
3093         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3094         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3095         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3096
3097 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3098
3099         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3100         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3101         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3102         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3103         Update #include.
3104         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3105         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3106         Update #include.
3107         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3108         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3109         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3110         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3111         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3112         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3113         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3114         * sysdeps/x86/bits/semaphore.h: ... here.
3115         * sysdeps/x86/nptl/elide.h: Moved ...
3116         * sysdeps/x86/elide.h: ... here.
3117         * sysdeps/x86_64/nptl/Implies: File removed.
3118         * sysdeps/i386/nptl/Implies: File removed.
3119
3120 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3121
3122         [BZ #16539]
3123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3124         return the argument for normal arguments with exponent below -64.
3125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3126         Likewise.
3127         * math/auto-libm-test-in: Add another test of expm1.
3128         * math/auto-libm-test-out: Regenerated.
3129
3130         [BZ #16287]
3131         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3132         calling __erfcl for arguments at least 16.
3133         * math/auto-libm-test-in: Add more tests of erf.
3134         * math/auto-libm-test-out: Regenerated.
3135
3136         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3137         individual architectures.
3138         * sysdeps/unix/sysv/linux/configure: Regenerated.
3139         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3140         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3141         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3142         (ldd_rewrite_script): Define variable.
3143         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3145         file.
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3147         generated file.
3148         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3149         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3150         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3151         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3152         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3153         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3154         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3155         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3156
3157 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3158
3159         [BZ #17084]
3160         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3161         Rename member __data.d to __data.__elision_data.
3162
3163 2014-06-24  Wilco  <wdijkstr@arm.com>
3164
3165         * NEWS: Add 16918 to fixed bug list.
3166
3167 2014-06-24  Wilco  <wdijkstr@arm.com>
3168
3169         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3170
3171 2014-06-24  Wilco  <wdijkstr@arm.com>
3172
3173         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3174         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3175         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3176         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3177         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3178         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3179         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3180         Use _FPU_MASK_RM.
3181
3182 2014-06-24  Wilco  <wdijkstr@arm.com>
3183
3184         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3185
3186 2014-06-24  Wilco  <wdijkstr@arm.com>
3187
3188         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3189         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3190         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3191         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3192
3193 2014-06-24  Wilco  <wdijkstr@arm.com>
3194
3195         [BZ #16918]
3196         * sysdeps/arm/feupdateenv.c (feupdateenv):
3197         Rewrite to reduce FPSCR accesses and fix return value.
3198
3199 2014-06-24  Wilco  <wdijkstr@arm.com>
3200
3201         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3202         Optimize to avoid unnecessary FPSCR writes.
3203         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3204         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3205         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3206         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3207
3208 2014-06-24  Wilco  <wdijkstr@arm.com>
3209
3210         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3211         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3212         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3213         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3214         Call libc_fetestexcept_vfp.
3215         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3216         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3217         __SOFTFP__ ifdef so that they can be built for softfp.
3218
3219 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3220
3221         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3222         argument type signed char.
3223
3224         * Makerules (check-abi): Dump diff of symlist if the test
3225         fails.
3226
3227 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3228
3229         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3230         using abort.
3231
3232         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3233         Remove unused variable ST.
3234
3235 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3236
3237         [BZ #16354]
3238         [BZ #17061]
3239         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3240         small arguments before calling __expm1.
3241         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3242         small arguments before calling __expm1f.
3243         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3244         small arguments before calling __expm1l.
3245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3246         Likewise.
3247         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3248         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3249         spurious underflow for some cosh tests.
3250         * math/auto-libm-test-out: Regenerated.
3251         * sysdeps/i386/fpu/libm-test-ulps: Update.
3252
3253         [BZ #17050]
3254         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3255         (__ieee754_y1): Set errno if return value overflows.
3256         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3257         (__ieee754_y1f): Set errno if return value overflows.
3258         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3259         (__ieee754_y1l): Set errno if return value overflows.
3260         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3261         (__ieee754_y1l): Set errno if return value overflows.
3262         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3263         * math/auto-libm-test-out: Regenerated.
3264
3265         * math/gen-auto-libm-tests.c: Document use of
3266         ignore-zero-inf-sign.
3267         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3268         (input_flags): Add ignore-zero-inf-sign.
3269         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3270         * math/gen-libm-test.pl (generate_testfile): Handle
3271         ignore-zero-inf-sign.
3272         * math/auto-libm-test-in: Mark some cpow tests with
3273         ignore-zero-inf-sign and some with xfail-rounding.
3274         * math/auto-libm-test-out: Regenerated.
3275         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3276         * sysdeps/i386/fpu/libm-test-ulps: Update.
3277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3278
3279         [BZ #16315]
3280         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3281         overflowing or underflowing operations take place with sign of
3282         result.
3283         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3284         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3285         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3286         (__ieee754_pow): Recompute overflowing and underflowing results in
3287         original rounding mode.
3288         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3289         (__powl_helper): Allow negative argument X and scale negated value
3290         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3291         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3292         overflowing or underflowing operations take place with sign of
3293         result.
3294         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3295         Include <math.h>.
3296         * math/auto-libm-test-in: Add more tests of pow.
3297         * math/auto-libm-test-out: Regenerated.
3298         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3299         (pow_tonearest_test_data): Remove.
3300         (pow_test_tonearest): Likewise.
3301         (pow_towardzero_test_data): Likewise.
3302         (pow_test_towardzero): Likewise.
3303         (pow_downward_test_data): Likewise.
3304         (pow_test_downward): Likewise.
3305         (pow_upward_test_data): Likewise.
3306         (pow_test_upward): Likewise.
3307         (main): Don't call removed functions.
3308         * sysdeps/i386/fpu/libm-test-ulps: Update.
3309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3310
3311 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3312
3313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3314         Moved ...
3315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3317         Moved ...
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3320         Moved ...
3321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3323         Moved ...
3324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3326         File removed.
3327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3328         File removed.
3329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3330         File removed.
3331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3332         File removed.
3333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3334         File removed.
3335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3336         File removed.
3337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3338         File removed.
3339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3340         File removed.
3341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3342         File removed.
3343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3344         File removed.
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3346         File removed.
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3348         File removed.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3350         Moved ...
3351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3353         Moved ...
3354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3355         ... here.
3356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3357         Moved ...
3358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3360         Moved ...
3361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3363         Moved ...
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3366         Moved ...
3367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3369         Moved ...
3370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3372         Moved ...
3373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3375         Moved ...
3376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3379         ... here.
3380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3381         Moved ...
3382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3384         Moved ...
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3386         ... here.
3387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3388         Moved ...
3389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3390         ... here.
3391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3392         Moved ...
3393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3394         ... here.
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3396         Moved ...
3397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3399         Moved ...
3400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3404         Moved ...
3405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3406         ... here.
3407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3408         Moved ...
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3410         ... here.
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3412         Moved ...
3413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3415         Moved ...
3416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3418         Moved ...
3419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3421         Moved ...
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3424         Moved ...
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3426         ... here.
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3428         Moved ...
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3431         Moved ...
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3434         Moved ...
3435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3437         Moved ...
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3445         Moved ...
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3448         Moved ...
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3450         ... here.
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3452         Moved ...
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3454         ... here.
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3456         Moved ...
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3458         ... here.
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3460         Moved ...
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3463         Moved ...
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3466         Moved ...
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3469         Moved ...
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3471         ... here.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3473         Moved ...
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3475         ... here.
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3477         Moved ...
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3479         ... here.
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3481         Moved ...
3482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3484         Moved ...
3485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3486
3487 2014-06-23  Will Newton  <will.newton@linaro.org>
3488             Wilco  <wdijkstr@arm.com>
3489
3490         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3491         implementation.  Include get-rounding-mode.h.
3492         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3493         [!libc_feholdsetround_noex_ctx]: Define
3494         libc_feholdsetround_noex_ctx.
3495         [!libc_feholdsetround_noexf_ctx]: Define
3496         libc_feholdsetround_noexf_ctx.
3497         [!libc_feholdsetround_noexl_ctx]: Define
3498         libc_feholdsetround_noexl_ctx.
3499         (libc_feholdsetround_ctx): New function.
3500         (libc_feresetround_ctx): New function.
3501         (libc_feholdsetround_noex_ctx): New function.
3502         (libc_feresetround_noex_ctx): New function.
3503
3504 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3505
3506         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3507         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3508         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3509         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3510         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3511         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3512
3513         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3514         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3515         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3516         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3517         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3518         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3520         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3522         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3524         Moved ...
3525         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3526         ... here.
3527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3528         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3530         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3532         Moved ...
3533         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3535         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3537         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3539         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3544         Moved ...
3545         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3552         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3554         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3555         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3556         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3558         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3560         Moved ...
3561         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3562         ... here.
3563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3564         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3566         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3568         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3570         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3572         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3574         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3579         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3580         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3581         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3583         Moved ...
3584         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3586         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3587         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3588         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3589
3590         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3591         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3592         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3593         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3594         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3609         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3611         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3612         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3613         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3614         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3618
3619 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3620
3621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3622         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3623         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3624         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3625         (IPV6_PMTUDISC_INTERFACE): Likewise.
3626         (IPV6_PMTUDISC_OMIT): Likewise.
3627
3628 2014-06-23  Andreas Schwab  <schwab@suse.de>
3629
3630         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3631         Remove unused errout label.
3632
3633 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3634
3635         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3636         macro: hardware supports Vector Crypto instructions.
3637
3638 2014-06-23  Will Newton  <will.newton@linaro.org>
3639
3640         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3641         rather than __builtin_expect.
3642
3643         * elf/dl-lookup.c (undefined_msg): Remove variable.
3644         (_dl_lookup_symbol_x): Replace undefined_msg with string
3645         literal.
3646
3647         * elf/dl-lookup.c (do_lookup_unique): New function.
3648         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3649         to a separate function.
3650
3651 2014-06-23  Andreas Schwab  <schwab@suse.de>
3652
3653         [BZ #17079]
3654         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3655         before reading the next line.
3656
3657 2014-06-23  Will Newton  <will.newton@linaro.org>
3658
3659         * test-skeleton.c (signal_handler): Use printf and %m
3660         rather than perror.  Use printf rather than fprintf to
3661         stderr.  Use puts rather than fputs to stderr.
3662         (main): Likewise.
3663
3664 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3665
3666         * nscd/nscd.c (thread_info_t): Remove typedef.
3667         (thread_info): Remove variable.
3668
3669 2014-06-21  Allan McRae  <allan@archlinux.org>
3670
3671         * NEWS: Mention CVE-2014-4043.
3672
3673 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3674
3675         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3676         * nptl/smp.h: ... here.
3677
3678         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3679
3680         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3681         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3682         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3683         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3684
3685         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3686         * nptl/stack-aliasing.h: New file.
3687         * sysdeps/i386/i686/stack-aliasing.h: New file.
3688         * sysdeps/i386/i686/nptl/Makefile: File removed.
3689         * sysdeps/x86_64/stack-aliasing.h: New file.
3690         * sysdeps/x86_64/nptl/Makefile
3691         (CFLAGS-pthread_create.c): Variable removed.
3692
3693         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3694         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3695         old file.
3696         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3697         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3698         old file.
3699
3700 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3701
3702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3703         (__ASSUME_SIGFRAME_V2): Remove macro.
3704         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3705         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3706         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3707         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3708         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3709         Declare as function.  Remove conditional macro definitions.
3710         (__default_rt_sa_restorer): Likewise.
3711         (__default_sa_restorer_v1): Remove declaration.
3712         (__default_sa_restorer_v2): Likewise.
3713         (__default_rt_sa_restorer_v1): Likewise.
3714         (__default_rt_sa_restorer_v2): Likewise.
3715         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3716         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3717         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3718
3719 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3720
3721         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3722         (libpthread-routines): Add sysdep.
3723         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3724         * sysdeps/unix/sysv/linux/sparc/Versions
3725         (libpthread: GLIBC_2.3.3): New version set.
3726         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3727         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3728         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3729         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3730         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3731         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3732         Moved ...
3733         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3735         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3736         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3737         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3738         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3739         * sysdeps/sparc/nptl/sem_init.c: ... here.
3740         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3741         * sysdeps/sparc/nptl/sem_post.c: ... here.
3742         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3743         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3744         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3745         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3746         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3747         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3748         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3749         (libpthread-routines): Add cpu_relax.
3750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3751         File removed.
3752         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3753         (librt: GLIBC_2.3.3): New version set.
3754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3755         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3756         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3757         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3760         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3762         Moved ...
3763         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3765         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3767         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3769         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3771         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3773         Moved ...
3774         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3775         Update #include.
3776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3777         Moved ...
3778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3779         Update #include.
3780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3781         Moved ...
3782         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3783         Update #include.
3784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3785         Moved ...
3786         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3787         Update #include.
3788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3789         Moved ...
3790         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3791         Update #include.
3792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3793         Moved ...
3794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3795         Update #include.
3796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3797         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3803         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3805         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3807         Moved ...
3808         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3810         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3812         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3813
3814 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3815
3816         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3817         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3818         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3819         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3820         * nscd/nscd.c: Likewise.
3821         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3822         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3823         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3824         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3825
3826         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3827         <kernel-features.h>.
3828         (init_mq_netlink): Remove conditional have_sock_cloexec
3829         definitions.  Remove code conditional on have_sock_cloexec < 0.
3830         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3831         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3832         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3833         <kernel-features.h>.
3834         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3835         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3836
3837 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3838
3839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3840         Add tests for memset_chk and memset.
3841
3842         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3843         with AVX2_Usable.
3844
3845 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3846
3847         [BZ #16046]
3848         * elf/tst-dl-iter-static.c: New file.
3849         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3850
3851         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3852         error.
3853
3854 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3855
3856         * sysdeps/unix/sysv/linux/kernel-features.h
3857         (__ASSUME_F_GETOWN_EX): Remove macro.
3858         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3859         <kernel-features.h>.
3860         (miss_F_GETOWN_EX): Remove variable or macro.
3861         (do_fcntl): Do not check miss_F_GETOWN_EX.
3862         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3863
3864         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3865         Remove macro.
3866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3867         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3868         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3869
3870         * sysdeps/unix/sysv/linux/kernel-features.h
3871         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3872         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3873         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3874         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3875
3876 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3877
3878         [BZ #17075]
3879         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3880         Fix calculation of the symbol's value.
3881         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3882         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3883         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3884         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3885         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3886         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3887         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3888         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3889         (modules-names): Add `tst-armtlsdescmod',
3890         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3891         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3892         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3893         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3894         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3895         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3896         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3897         ($(objpfx)tst-armtlsdescloc): New dependency.
3898         ($(objpfx)tst-armtlsdescextnow): Likewise.
3899         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3900         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3901         TLS scheme support.
3902         * sysdeps/arm/configure: Regenerate.
3903
3904 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3905
3906         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3907         (__atfct_seterrno_2): Likewise.
3908         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3909         <kernel-features.h>.
3910         (__ASSUME_ATFCTS): Do not undefine and redefine.
3911         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3912         (__have_atfcts): Remove conditional definition.
3913         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3914         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3915         unreachable if [__ASSUME_ATFCTS].
3916         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3917         not undefine and redefine.
3918         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3919         <kernel-features.h>.
3920         (faccessat) [__NR_faccessat]: Make code unconditional.
3921         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3922         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3923         <kernel-features.h>.
3924         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3925         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3926         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3927         <kernel-features.h>.
3928         (fchownat) [__NR_fchownat]: Make code unconditional.
3929         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3930         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3931         <kernel-features.h>.
3932         (futimesat) [__NR_futimesat]: Make code unconditional.
3933         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3934         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3935         <kernel-features.h>.
3936         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3937         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3938         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3939         <kernel-features.h>.
3940         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3941         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3942         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3943         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3944         <kernel-features.h>.
3945         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3947         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3948         <kernel-features.h>.
3949         (linkat) [__NR_linkat]: Make code unconditional.
3950         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3951         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3952         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3953         <kernel-features.h>.
3954         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3955         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3956         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3957         <kernel-features.h>.
3958         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3959         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3960         * sysdeps/unix/sysv/linux/openat.c: Do not include
3961         <kernel-features.h>.
3962         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3963         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3964         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3965         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3967         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3968         <kernel-features.h>.
3969         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3970         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3971         result of INLINE_SYSCALL directly, not via int variable.
3972         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3973         <kernel-features.h>.
3974         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3975         (renameat) [__NR_renameat]: Make code unconditional.
3976         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3977         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3978         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3979         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3980         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3981         (__ASSUME_ATFCTS): Do not undefine and redefine.
3982         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3983         <kernel-features.h>.
3984         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3985         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3986         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3987         <kernel-features.h>.
3988         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3989         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3990         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3991         (__ASSUME_ATFCTS): Do not undefine and redefine.
3992         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3993         <kernel-features.h>.
3994         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3995         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3996         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3997         <kernel-features.h>.
3998         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3999         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4000
4001 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4002
4003         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4004
4005 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4006
4007         [BZ #17069]
4008         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4009         constructed tree before returning error.
4010         * posix/bug-regexp36.c: Expand test case.
4011
4012 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4013
4014         [BZ #6803]
4015         * math/libm-test.inc (scalbln_test_date):
4016         Add errno expectations.
4017         * math/w_scalblnf.c: New File.
4018         Add wrapper which checks for setting errno to ERANGE.
4019         Add weak_alias for corresponding scalbln function.
4020         * math/w_scalbln.c: Likewise.
4021         * math/w_scalblnl.c: Likewise.
4022         * math/Makefile (libm-calls): Add w_scalbln.
4023         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4024         Remove weak_alias for corresponding scalbln function.
4025         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4026         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4027         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4029         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4030         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4031         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4032         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4033         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4034         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4035         Remove long_double_symbol for scalblnl function in libm, libc.
4036         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4037         Add wrapper which checks for setting errno to ERANGE.
4038         Add long_double_symbol for scalblnl function in libm, libc.
4039         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4040         Remove long_double_symbol for scalblnl in libm.
4041         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4042         Add wrapper which checks for setting errno to ERANGE.
4043         Add long_double_symbol for scalblnl function in libm.
4044         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4045         Do not use wrapper because of own implementation.
4046
4047 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4048
4049         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4050         3 bytes for __pad1 for x32.
4051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4052
4053 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4054             H.J. Lu  <hongjiu.lu@intel.com>
4055
4056         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4057         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4060         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4061
4062 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4063
4064         [BZ #17069]
4065         * posix/regcomp.c (parse_expression): Deallocate partially
4066         constructed tree before returning error.
4067         * posix/Makefile.c (tests): Add bug-regex36.
4068         (generated): Add bug-regex36.mtrace.
4069         (tests-special): Add $(objpfx)bug-regex36-mem.out
4070         (bug-regex36-ENV): New variable.
4071         ($(objpfx)bug-regex36-mem.out): New rule.
4072         * posix/bug-regex36.c: New file.
4073
4074 2014-06-19  Will Newton  <will.newton@linaro.org>
4075
4076         * malloc/malloc.c (systrim): If extra is zero then return
4077         early.
4078
4079 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4080
4081         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4082
4083 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4084
4085         * sysdeps/aarch64/strchr.S: New file.
4086
4087 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4088
4089         [BZ #17022]
4090         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4091         from arguments -2 or below.
4092         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4093         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4094
4095 2014-06-18  Andreas Schwab  <schwab@suse.de>
4096
4097         [BZ #17062]
4098         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4099         of a bracket expr not to run off the end of the string.
4100         * posix/Makefile (tests): Add tst-fnmatch3.
4101         * posix/tst-fnmatch3.c: New file.
4102
4103 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4104
4105         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4106         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4107         [$(cross-compiling) = no]: Likewise.
4108         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4109         [$(cross-compiling) = no]: Likewise.
4110
4111 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4112
4113         [BZ #17031]
4114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4115         double, adjusted for any remainder from the high double.
4116         * math/libm-test.inc (nearbyint): Add tests.
4117         (rint): Likewise.
4118
4119 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4120
4121         * nptl/sysdeps/powerpc/Makefile: Moved ...
4122         * sysdeps/powerpc/nptl/Makefile: ... here.
4123         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4124         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4125         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4126         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4127         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4128         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4129         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4130         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4131         * nptl/sysdeps/powerpc/tls.h: Moved ...
4132         * sysdeps/powerpc/nptl/tls.h: ... here.
4133
4134 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4135
4136         [BZ #16681]
4137         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4138         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4139         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4140         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4141         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4142         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4143         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4144         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4145         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4146
4147 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4148
4149         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4150
4151 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4152
4153         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4154         defined operator.
4155
4156         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4157         $TIMEOUTFACTOR.
4158
4159 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4160
4161         [BZ #17058]
4162         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4163         non-executed part of the test.
4164
4165 2014-06-16  Andreas Schwab  <schwab@suse.de>
4166
4167         * string/bits/string2.h (strdup, strndup): Update feature guard.
4168
4169 2014-06-14  David S. Miller  <davem@davemloft.net>
4170
4171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4172
4173 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4174
4175         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4176         that was previously under [RESET_PID].
4177         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4178
4179         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4180         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4181         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4183         (__libc_vfork): New strong alias.
4184         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4185
4186 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4187
4188         * sysdeps/generic/elide.h: New file.
4189
4190 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4191
4192         * Makefile (installed-headers): Adjust path of pthread.h header.
4193
4194 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4195
4196         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4197         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4198         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4199         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4200
4201         * nptl/sysdeps/s390/Makefile: Moved ...
4202         * sysdeps/s390/nptl/Makefile: ... here.
4203         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4204         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4205         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4206         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4207         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4208         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4209         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4210         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4211         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4212         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4213         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4214         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4215         * nptl/sysdeps/s390/tls.h: Moved ...
4216         * sysdeps/s390/nptl/tls.h: ... here.
4217
4218         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4219         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4220
4221 2014-06-13  David S. Miller  <davem@davemloft.net>
4222
4223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4226         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4230         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4231         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4232         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4233         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4234         Remove RESET_PID cpp guards.
4235         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4236         Remove RESET_PID cpp guards.
4237         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4238
4239 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4240
4241         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4242         __sp to uintptr_t.
4243
4244 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4245
4246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4251         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4257         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4258         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4263         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4266
4267         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4268         (pthread_rwlock_rdlock): Add elision.
4269         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4270         (pthread_rwlock_wrlock): Add elision.
4271         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4272         (pthread_rwlock_trywrlock): Add elision.
4273         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4274         (pthread_rwlock_tryrdlock): Add elision.
4275         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4276         (pthread_rwlock_tryrdlock): Add elision unlock.
4277         * nptl/sysdeps/pthread/pthread.h:
4278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4279         (PTHREAD_RWLOCK_INITIALIZER,
4280         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4281         Handle new elision field.
4282         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4283         * sysdeps/arm/nptl/bits/pthreadtypes.h
4284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4285         * sysdeps/sh/nptl/bits/pthreadtypes.h
4286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4287         * sysdeps/tile/nptl/bits/pthreadtypes.h
4288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4289         * sysdeps/a/nptl/bits/pthreadtypes.h
4290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4293         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4295         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4297         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4299         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4301         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4303         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4305         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4307         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4308         (elision_init): Set try_xbegin to zero when no RTM.
4309         * sysdeps/x86/nptl/bits/pthreadtypes.h
4310         (pthread_rwlock_t): Change __pad1 to __rwelision.
4311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4312
4313 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4314
4315         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4316         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4317         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4318         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4319
4320 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4321
4322         [BZ #16996]
4323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4324         that the cached result has been set before returning it.
4325
4326 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4327
4328         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4329         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4330         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4331         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4332         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4333         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4334
4335         * nptl/sysdeps/sparc/Makefile: Moved ...
4336         * sysdeps/sparc/nptl/Makefile: ... here.
4337         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4338         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4339         * nptl/sysdeps/sparc/tls.h: Moved ...
4340         * sysdeps/sparc/nptl/tls.h: ... here.
4341         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4342         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4343         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4344         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4345         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4346         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4347         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4348         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4349         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4350         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4351         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4352         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4353         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4354         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4355         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4356         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4359         Update #include.
4360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4362         Update #include.
4363         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4365         Update #include.
4366         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4367         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4368         Update #include.
4369
4370         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4371
4372         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4373         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4374
4375         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4376         (struct list_links): Type removed.
4377         (struct thread_node, struct timer_node): Replace struct list_links
4378         with struct list_head.
4379         (list_unlink_ip): Likewise.
4380         * sysdeps/pthread/timer_routines.c
4381         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4382         (list_append, list_insbefore): Likewise.
4383         (list_init): Function removed.
4384         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4385         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4386         * sysdeps/pthread/Makefile: ... here, new file.
4387
4388         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4389         * sysdeps/nptl/Implies: ... here.
4390         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4391         * nptl/sysdeps/pthread/list.h: Moved ...
4392         * include/list.h: ... here.
4393         * nptl/sysdeps/pthread/createthread.c: Moved ...
4394         * nptl/createthread.c: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4396         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4397         * nptl/pt-longjmp.c: ... here.
4398         * nptl/sysdeps/pthread/Makefile: Moved ...
4399         * sysdeps/nptl/Makefile: ... here.
4400         * nptl/sysdeps/pthread/Subdirs: Moved ...
4401         * sysdeps/nptl/Subdirs: ... here.
4402         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4403         * sysdeps/nptl/aio_misc.h: ... here.
4404         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4405         * sysdeps/nptl/bits/libc-lock.h: ... here.
4406         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4407         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4408         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4409         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4410         * nptl/sysdeps/pthread/configure: Moved ...
4411         * sysdeps/nptl/configure: ... here.
4412         * nptl/sysdeps/pthread/configure.ac: Moved ...
4413         * sysdeps/nptl/configure.ac: ... here.
4414         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4415         * sysdeps/nptl/gai_misc.h: ... here.
4416         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4417         * sysdeps/nptl/librt-cancellation.c: ... here.
4418         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4419         * sysdeps/nptl/malloc-machine.h: ... here.
4420         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4421         * sysdeps/nptl/pthread-functions.h: ... here.
4422         * nptl/sysdeps/pthread/pthread.h: Moved ...
4423         * sysdeps/nptl/pthread.h: ... here.
4424         * nptl/sysdeps/pthread/setxid.h: Moved ...
4425         * sysdeps/nptl/setxid.h: ... here.
4426         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4427         * sysdeps/nptl/sigfillset.c: ... here.
4428         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4429         * sysdeps/nptl/tcb-offsets.h: ... here.
4430         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4431         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4432         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4433         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4434         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4435         * sysdeps/pthread/allocalim.h: ... here.
4436         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4437         * sysdeps/pthread/bits/sigthread.h: ... here.
4438         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4439         * sysdeps/pthread/flockfile.c: ... here.
4440         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4441         * sysdeps/pthread/ftrylockfile.c: ... here.
4442         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4443         * sysdeps/pthread/funlockfile.c: ... here.
4444         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4445         * sysdeps/pthread/posix-timer.h: ... here.
4446         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4447         * sysdeps/pthread/timer_create.c: ... here.
4448         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4449         * sysdeps/pthread/timer_delete.c: ... here.
4450         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4451         * sysdeps/pthread/timer_getoverr.c: ... here.
4452         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4453         * sysdeps/pthread/timer_gettime.c: ... here.
4454         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4455         * sysdeps/pthread/timer_routines.c: ... here.
4456         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4457         * sysdeps/pthread/timer_settime.c: ... here.
4458         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4459         * sysdeps/pthread/tst-timer.c: ... here.
4460         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4461         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4462
4463         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4464         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4465
4466         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4467         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4468         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4469         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4470         Update #include target.
4471         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4472         * sysdeps/i386/i686/nptl/Makefile: ... here.
4473         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4474         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4475         Update #include target.
4476         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4477         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4478         * nptl/sysdeps/i386/Makefile: Moved ...
4479         * sysdeps/i386/nptl/Makefile: ... here.
4480         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4481         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4482         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4483         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4484         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4485         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4486         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4487         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4488         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4489         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4490         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4491         * nptl/sysdeps/i386/tls.h: Moved ...
4492         * sysdeps/i386/nptl/tls.h: ... here.
4493
4494         * sysdeps/sh/Makefile [$(subdir) = csu]
4495         (gen-as-const-headers): Add tcb-offsets.sym.
4496         * nptl/sysdeps/sh/Makefile: File removed.
4497         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4498         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4499         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4500         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4501         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4502         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4503         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4504         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4505         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4506         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4507         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4508         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4509         * nptl/sysdeps/sh/tls.h: Moved ...
4510         * sysdeps/sh/nptl/tls.h: ... here.
4511         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4512         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4513         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4514         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4515         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4516         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4517         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4518         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4519         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4520         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4522         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4524         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4526         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4528         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4530         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4532         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4536         Moved ...
4537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4539         Moved ...
4540         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4542         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4544         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4545         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4546         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4547         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4548         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4549         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4550         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4551         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4552         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4553         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4554         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4555         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4556         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4557         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4558         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4559
4560 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4561
4562         * posix/spawn_faction_addopen.c: Include string.h.
4563
4564 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4565
4566         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4567         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4568         * nptl/sysdeps/x86_64/Makefile: Moved ...
4569         * sysdeps/x86_64/nptl/Makefile: ... here.
4570         * nptl/sysdeps/x86_64/configure: Moved ...
4571         * sysdeps/x86_64/nptl/configure: ... here.
4572         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4573         * sysdeps/x86_64/nptl/configure.ac: ... here.
4574         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4575         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4576         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4577         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4578         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4579         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4580         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4581         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4582         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4583         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4584         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4585         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4586         * nptl/sysdeps/x86_64/tls.h: Moved ...
4587         * sysdeps/x86_64/nptl/tls.h: ... here.
4588         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4589         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4590         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4591         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4592
4593         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4594
4595 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4596
4597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4598
4599 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4600
4601         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4602         type.
4603         [POSIX] (off_t): Likewise.
4604         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4605         [POSIX] (S_ISBLK): Require macro.
4606         [POSIX] (S_ISCHR): Likewise.
4607         [POSIX] (S_ISDIR): Likewise.
4608         [POSIX] (S_ISFIFO): Likewise.
4609         [POSIX] (S_ISREG): Likewise.
4610         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4611         optional-macro.
4612         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4613         type.
4614         [POSIX] (time_t): Likewise.
4615         [POSIX] (timer_t): Likewise.
4616
4617 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4618
4619         [BZ #17048]
4620         * posix/spawn_int.h (struct __spawn_action): Make the path string
4621         non-const to support deallocation.
4622         * posix/spawn_faction_addopen.c
4623         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4624         * posix/spawn_faction_destroy.c
4625         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4626         path in all spawn_do_open actions.
4627         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4628         posix_spawn_file_actions_addopen.
4629
4630 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4631
4632         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4633         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4634         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4635         conditional code always true.
4636         (__libc_vfork): New alias.
4637
4638 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4639
4640         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4641         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4642
4643         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4644
4645         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4646         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4647
4648         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4649         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4650
4651         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4652         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4653
4654 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4655
4656         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4657         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4658         multiarch strcmp for PPC64.
4659         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4660         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4662         multiarch optimizations.
4663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4664         (__libc_ifunc_impl_list): Likewise.
4665
4666 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4667
4668         * benchtests/scripts/validate_benchout.py: New script.
4669         * benchtests/Makefile (bench-func): Call it.
4670         * benchtests/scripts/benchout.schema.json: New file.
4671
4672 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4673
4674         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4675         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4676         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4677         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4678         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4679         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4680         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4681         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4682         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4683         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4684         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4686         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4687         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4688         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4689         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4691         Moved ...
4692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4693         ... here.
4694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4695         Moved ...
4696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4698         Moved ...
4699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4700         ... here.
4701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4702         Moved ...
4703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4704         ... here.
4705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4706         Moved ...
4707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4709         Moved ...
4710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4711         ... here.
4712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4713         Moved ...
4714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4715         ... here.
4716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4717         Moved ...
4718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4720         Moved ...
4721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4722         ... here.
4723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4724         Moved ...
4725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4726         ... here.
4727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4728         Moved ...
4729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4730         ... here.
4731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4732         Moved ...
4733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4735         Moved ...
4736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4737         ... here.
4738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4739         Moved ...
4740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4741         ... here.
4742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4743         Moved ...
4744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4745         ... here.
4746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4747         Moved ...
4748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4750         Moved ...
4751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4752         ... here.
4753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4754         Moved ...
4755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4756         ... here.
4757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4758         Moved ...
4759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4761         Moved ...
4762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4763         ... here.
4764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4765         Moved ...
4766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4768         Moved ...
4769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4771         Moved ...
4772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4773         ... here.
4774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4775         Moved ...
4776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4777         ... here.
4778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4779         Moved ...
4780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4781         ... here.
4782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4783         Moved ...
4784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4786         Moved ...
4787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4788         ... here.
4789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4790         Moved ...
4791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4792         ... here.
4793         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4794         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4796         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4798         Moved ...
4799         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4800         ... here.
4801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4802         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4804         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4806         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4808         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4812         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4814         Moved ...
4815         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4817         Moved ...
4818         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4820         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4822         Moved ...
4823         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4825         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4826         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4827         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4828         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4829         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4830
4831 2014-06-10  Wilco  <wdijkstr@arm.com>
4832
4833         * math/test-fenv-return.c: New file.
4834         * math/Makefile: Add new test test-fenv-return.
4835
4836 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4837
4838         [BZ #17042]
4839         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4840         when x - 1 is zero.
4841         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4842         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4843         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4844         0.0L for an argument of 1.0L.
4845         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4846         Likewise.
4847         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4848         value when x - 1 is zero.
4849         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4850         * sysdeps/i386/fpu/libm-test-ulps: Update.
4851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4852
4853 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4854
4855         [BZ #15119]
4856         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4857
4858 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4859
4860         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4861         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4862
4863 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4864
4865         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4866         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4867
4868         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4869         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4870
4871         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4872         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4873
4874         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4875         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4876
4877         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4878         if not already defined.
4879         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4880         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4881         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4882         (TLS_INIT_TP): Use it.
4883         (TLS_DEFINE_INIT_TP): New macro.
4884         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4885
4886 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4887
4888         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4889         constant.
4890         [POSIX] (IXANY): Likewise.
4891         [POSIX] (OLCUC): Likewise.
4892         [POSIX || POSIX2008] (CBAUD): Do not allow.
4893         [POSIX || POSIX2008] (DEFECHO): Likewise.
4894         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4895         [POSIX || POSIX2008] (ECHOKE): Likewise.
4896         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4897         [POSIX || POSIX2008] (EXTA): Likewise.
4898         [POSIX || POSIX2008] (EXTB): Likewise.
4899         [POSIX || POSIX2008] (FLUSHO): Likewise.
4900         [POSIX || POSIX2008] (LOBLK): Likewise.
4901         [POSIX || POSIX2008] (PENDIN): Likewise.
4902         [POSIX || POSIX2008] (SWTCH): Likewise.
4903         [POSIX || POSIX2008] (VDISCARD): Likewise.
4904         [POSIX || POSIX2008] (VDSUSP): Likewise.
4905         [POSIX || POSIX2008] (VLNEXT): Likewise.
4906         [POSIX || POSIX2008] (VREPRINT): Likewise.
4907         [POSIX || POSIX2008] (VSTATUS): Likewise.
4908         [POSIX || POSIX2008] (VWERASE): Likewise.
4909         (B*): Change to B[0123456789]*.
4910         * conform/data/time.h-data [POSIX || UNIX98]
4911         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4912         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4913         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4914         [POSIX] (tm_*): Do not allow.
4915
4916 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4917
4918         * Makefile (install): Don't set LANGUAGE.
4919         * Makefile.in (install): Likewise.
4920         * assert/Makefile (test-assert-ENV): Remove variable.
4921         (test-assert-perr-ENV): Likewise.
4922         * elf/Makefile (neededtest4-ENV): Likewise.
4923         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4924         [$(cross-compiling) = no]: Don't set LANGUAGE.
4925         * io/ftwtest-sh (LANG): Remove variable.
4926         * libio/Makefile (tst-widetext-ENV): Likewise.
4927         * manual/install.texi (Running make install): Don't refer to
4928         environment settings for make install.
4929         * INSTALL: Regenerated.
4930         * nptl/tst-tls6.sh: Don't set LANG.
4931         * posix/globtest.sh (LANG): Remove variable.
4932         * string/Makefile (tester-ENV): Likewise.
4933         (inl-tester-ENV): Likewise.
4934         (noinl-tester-ENV): Likewise.
4935         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4936         [$(cross-compiling) = no]: Don't set LANGUAGE.
4937         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4938         without explicit environment settings.
4939
4940 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4941
4942         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4943         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4944         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4945         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4946
4947 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4948
4949         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4950         other files in the crypt directory.
4951         * crypt/crypt.c: Remove duplicate includes.
4952         * crypt/crypt-entry.c: Likewise.
4953         * crypt/crypt_util.c: Likewise.
4954
4955 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4956
4957         * Makeconfig (run-program-env): New variable.
4958         (run-program-prefix-before-env): Likewise.
4959         (run-program-prefix-after-env): Likewise.
4960         (run-program-prefix): Define in terms of new variables.
4961         (built-program-cmd-before-env): New variable.
4962         (built-program-cmd-after-env): Likewise.
4963         (built-program-cmd): Define in terms of new variables.
4964         (test-program-prefix-before-env): New variable.
4965         (test-program-prefix-after-env): Likewise.
4966         (test-program-prefix): Define in terms of new variables.
4967         (test-program-cmd-before-env): New variable.
4968         (test-program-cmd-after-env): Likewise.
4969         (test-program-cmd): Define in terms of new variables.
4970         * Rules (make-test-out): Use $(run-program-env).
4971         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4972         (help): Do not mention environment variables.  Mention
4973         --timeoutfactor option.
4974         (timeoutfactor): New variable.
4975         (blacklist_exports): Remove function.
4976         (exports): Remove variable.
4977         (command): Do not include ${exports}.
4978         * manual/install.texi (Configuring and compiling): Do not mention
4979         test wrappers preserving environment variables.  Mention that last
4980         assignment to a variable must take precedence.
4981         * INSTALL: Regenerated.
4982         * benchtests/Makefile (run-bench): Use $(run-program-env).
4983         * catgets/Makefile ($(objpfx)test1.cat): Use
4984         $(built-program-cmd-before-env), $(run-program-env) and
4985         $(built-program-cmd-after-env).
4986         ($(objpfx)test2.cat): Do not specify environment variables
4987         explicitly.
4988         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4989         $(run-program-env) and $(built-program-cmd-after-env).
4990         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4991         $(run-program-env) and $(test-program-cmd-after-env).
4992         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4993         explicitly.
4994         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4995         run_program_env and test_program_cmd_after_env arguments.
4996         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4997         * elf/tst-pathopt.sh: Use run_program_env argument.
4998         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4999         $(test-wrapper-env) and $(run-program-env).
5000         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5001         run_program_env arguments.
5002         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5003         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5004         $(test-program-prefix-before-env), $(run-program-env) and
5005         $(test-program-prefix-after-env).
5006         ($(objpfx)tst-gettext2.out): Likewise.
5007         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5008         run_program_env and test_program_prefix_after_env arguments.
5009         * intl/tst-gettext2.sh: Likewise.
5010         * intl/tst-gettext4.sh: Do not set environment variables
5011         explicitly.
5012         * intl/tst-gettext6.sh: Likewise.
5013         * intl/tst-translit.sh: Likewise.
5014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5015         $(test-program-prefix-before-env), $(run-program-env) and
5016         $(test-program-prefix-after-env).
5017         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5018         run_program_env and test_program_prefix_after_env arguments.
5019         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5020         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5021         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5022         explicitly with each use of ${test_wrapper_env}.
5023         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5024         $(test-program-prefix-before-env), $(run-program-env) and
5025         $(test-program-prefix-after-env).
5026         * posix/tst-getconf.sh: Do not set environment variables
5027         explicitly.
5028         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5029         run_program_env and test_program_prefix_after_env arguments.
5030         * stdio-common/tst-printf.sh: Do not set environment variables
5031         explicitly.
5032         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5033         $(test-program-prefix-before-env), $(run-program-env) and
5034         $(test-program-prefix-after-env).
5035         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5036         run_program_env and test_program_prefix_after_env arguments.
5037         Split $test calls into $test_pre and $test.
5038         * timezone/Makefile (build-testdata): Use
5039         $(built-program-cmd-before-env), $(run-program-env) and
5040         $(built-program-cmd-after-env).
5041
5042 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5043
5044         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5045         strlen for non SHARED builds.
5046
5047 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5048
5049         * nptl/allocatestack.c (check_list): Inlined function...
5050         (__reclaim_stacks): ... here.
5051
5052 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5053
5054         [BZ #15698]
5055         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5056         memory overrun.
5057
5058 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5059
5060         * Rules (make-test-out): Include
5061         LOCPATH=$(common-objpfx)localedata in default environment.
5062         * debug/Makefile (tst-chk1-ENV): Remove variable.
5063         (tst-chk2-ENV): Likewise.
5064         (tst-chk3-ENV): Likewise.
5065         (tst-chk4-ENV): Likewise.
5066         (tst-chk5-ENV): Likewise.
5067         (tst-chk6-ENV): Likewise.
5068         (tst-lfschk1-ENV): Likewise.
5069         (tst-lfschk2-ENV): Likewise.
5070         (tst-lfschk3-ENV): Likewise.
5071         (tst-lfschk4-ENV): Likewise.
5072         (tst-lfschk5-ENV): Likewise.
5073         (tst-lfschk6-ENV): Likewise.
5074         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5075         (tst-iconv7-ENV): Likewise.
5076         * intl/Makefile (LOCPATH-ENV): Likewise.
5077         (tst-codeset-ENV): Likewise.
5078         (tst-gettext3-ENV): Likewise.
5079         (tst-gettext5-ENV): Likewise.
5080         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5081         (tst-fopenloc-ENV): Likewise.
5082         (tst-fgetws-ENV): Remove variable.
5083         (tst-ungetwc1-ENV): Likewise.
5084         (tst-ungetwc2-ENV): Likewise.
5085         (bug-ungetwc2-ENV): Likewise.
5086         (tst-swscanf-ENV): Likewise.
5087         (bug-ftell-ENV): Likewise.
5088         (tst-fgetwc-ENV): Likewise.
5089         (tst-fseek-ENV): Likewise.
5090         (tst-ftell-partial-wide-ENV): Likewise.
5091         (tst-ftell-active-handler-ENV): Likewise.
5092         (tst-ftell-append-ENV): Likewise.
5093         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5094         (tst-regexloc-ENV): Likewise.
5095         (bug-regex1-ENV): Likewise.
5096         (tst-regex-ENV): Likewise.
5097         (tst-regex2-ENV): Likewise.
5098         (bug-regex5-ENV): Likewise.
5099         (bug-regex6-ENV): Likewise.
5100         (bug-regex17-ENV): Likewise.
5101         (bug-regex18-ENV): Likewise.
5102         (bug-regex19-ENV): Likewise.
5103         (bug-regex20-ENV): Likewise.
5104         (bug-regex22-ENV): Likewise.
5105         (bug-regex23-ENV): Likewise.
5106         (bug-regex25-ENV): Likewise.
5107         (bug-regex26-ENV): Likewise.
5108         (bug-regex30-ENV): Likewise.
5109         (bug-regex32-ENV): Likewise.
5110         (bug-regex33-ENV): Likewise.
5111         (bug-regex34-ENV): Likewise.
5112         (bug-regex35-ENV): Likewise.
5113         (tst-rxspencer-ENV): Likewise.
5114         (tst-rxspencer-no-utf8-ENV): Likewise.
5115         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5116         (tst-sscanf-ENV): Likewise.
5117         (tst-swprintf-ENV): Likewise.
5118         (tst-swscanf-ENV): Likewise.
5119         (test-vfprintf-ENV): Likewise.
5120         (scanf13-ENV): Likewise.
5121         (bug14-ENV): Likewise.
5122         (tst-grouping-ENV): Likewise.
5123         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5124         (tst-strtod3-ENV): Likewise.
5125         (tst-strtod4-ENV): Likewise.
5126         (tst-strtod5-ENV): Likewise.
5127         (testmb2-ENV): Likewise./
5128         * string/Makefile (tst-strxfrm-ENV): Likewise.
5129         (tst-strxfrm2-ENV): Likewise.
5130         (bug-strcoll1-ENV): Likewise.
5131         (test-strcasecmp-ENV): Likewise.
5132         (test-strncasecmp-ENV): Likewise.
5133         * time/Makefile (tst-strptime-ENV): Likewise.
5134         (tst-ftime_l-ENV): Likewise.
5135         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5136         (tst-mbrtowc-ENV): Likewise.
5137         (tst-wcrtomb-ENV): Likewise.
5138         (tst-mbrtowc2-ENV): Likewise.
5139         (tst-c16c32-1-ENV): Likewise.
5140         (tst-mbsnrtowcs-ENV): Likewise.
5141
5142 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5143
5144         * manual/resource.texi (How to get information about the memory
5145         subsystem?): Fix typo.
5146         Reported by Peon de la Parra Ivan <peon@keba.com>
5147
5148 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5149
5150         [BZ #16882]
5151         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5152         (pthread_spin_lock): Branch out of spin loop to proper location.
5153         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5154         (pthread_spin_lock): Likewise.
5155
5156         * nptl/tst-spin4.c: New test.
5157         * nptl/Makefile (tests): Add tst-spin4.
5158
5159 2014-06-03  Andreas Schwab  <schwab@suse.de>
5160
5161         [BZ #15946]
5162         * resolv/res_send.c (send_dg): Reload file descriptor after
5163         calling reopen.
5164
5165 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5166
5167         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5168
5169 2014-06-03  Richard Henderson  <rth@redhat.com>
5170
5171         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5172         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5173         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5174         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5175         in the SAVE_PID block.
5176         (__libc_vfork): New alias.
5177         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5178
5179         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5180         child in registers, not on the stack.  Remove RESET_PID conditionals.
5181         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5182
5183 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5184
5185         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5186
5187 2014-06-03  Wilco  <wdijkstr@arm.com>
5188
5189         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5190         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5191         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5192         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5193         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5194         Likewise.
5195
5196 2014-06-03  Wilco  <wdijkstr@arm.com>
5197
5198         * sysdeps/aarch64/fpu/math_private.h
5199         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5200         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5201         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5202         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5203         Fix declarations.
5204
5205 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5206
5207         * crypt/crypt-private.h: Include ufc-crypt.h.
5208         (__b64_from_24bit): Declare extern.
5209         * crypt/crypt_util.c(__b64_from_24bit): New function.
5210         (b64t): New static const variable.
5211         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5212         (b64t): Remove variable.
5213         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5214         * crypt/sha256-crypt.c: Include crypt-private.h.
5215         (b64t): Remove variable.
5216         (__sha256_crypt_r): Remove b64_from_24bit and replace
5217         with __b64_from_24bit.
5218         * crypt/sha512-crypt.c: Likewise.
5219
5220 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5221
5222         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5223         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5224         Label the code __libc_vfork rather than __vfork.
5225         [!NOT_IN_libc] (vfork): Define as weak alias.
5226         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5227         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5228         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5229
5230 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5231
5232         * malloc/malloc.c (malloc_info): Fix format specifier for
5233         n_mmaps.
5234
5235 2014-06-02  Wilco  <wdijkstr@arm.com>
5236
5237         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5238         FPCR write.
5239
5240 2014-06-02  Wilco  <wdijkstr@arm.com>
5241
5242         [BZ #17009]
5243         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5244         Rewrite to reduce FPCR/FPSR accesses.
5245
5246 2014-06-01  David S. Miller  <davem@davemloft.net>
5247
5248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5249
5250 2014-05-31  David S. Miller  <davem@davemloft.net>
5251
5252         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5253         to occur in round to nearest mode when |x| >= 2.0
5254
5255 2014-05-30  Richard Henderson  <rth@twiddle.net>
5256
5257         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5258         (PSEUDO_RET_NOERRNO): Remove.
5259         (ret): Don't redefine.
5260         (ret_NOERRNO): Define in terms of ret.
5261         (ret_ERRVAL): Likewise.
5262
5263         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5264         use of PSEUDO_RET; perform the error check directly.
5265
5266 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5267
5268         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5269         with __int128_t.
5270
5271 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5272
5273         * malloc/malloc (malloc_info): Fix formatting.
5274
5275 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5276             Roland McGrath  <roland@hack.frob.com>
5277
5278         * malloc/malloc (malloc_info): Also print mmapped statistics.
5279
5280 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5281
5282         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5283         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5284
5285 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5286
5287         * malloc/malloc.c (malloc_info): Inline mi_arena.
5288
5289 2014-05-29  Richard Henderson  <rth@twiddle.net>
5290
5291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5292         Remove comma before expanding ASM_ARGS_##nr.
5293         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5294         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5295         of ASM_ARGS_##nr.
5296         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5297         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5298         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5299         (ASM_ARGS_1): Add leading comma.
5300
5301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5302         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5303         to __errno_location.
5304         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5305         Remove the expected plt for __errno_location.
5306
5307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5308         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5309         call to __read_tp.
5310
5311         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5312         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5313         it and break it down.
5314         (DOCARGS_0, DOCARGS_1): Do nothing.
5315         (DOCARGS_2): Update to store into the new stack frame.
5316         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5317         (UNDOCARGS_1): Update to restore from the new stack frame.
5318         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5319         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5320
5321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5322         (SINGLE_THREAD_P): New parameter for result regno.
5323         (PSEUDO): Update to match; use cbz instead of beq.
5324
5325         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5326         Use ENTRY to define the _nocancel entry point.  Share the syscall
5327         and syscall error check paths with the cancel path.
5328         (PSEUDO_END): New.
5329
5330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5331         whitespace; tabs before and after asm mnemonics.
5332
5333 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5334
5335         [BZ #15132]
5336         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5337         Call fstat64 or stat64 internally, depending on arguments passed.
5338         Replace stat buffer argument with file descriptor argument.
5339         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5340         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5341         Pass fd to __internal_statvfs instead of calling fstat64.
5342         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5343         Pass fd to __internal_statvfs64 instead of calling fstat64.
5344         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5345         Pass -1 to __internal_statvfs instead of calling stat64.
5346         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5347         Pass -1 to __internal_statvfs64 instead of calling stat64.
5348
5349 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5350
5351         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5352         that was previously under [RESET_PID].
5353         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5354
5355         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5356         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5357
5358 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5359
5360         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5361
5362         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5363         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5364
5365 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5366
5367         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5368
5369 2014-05-27  Andreas Schwab  <schwab@suse.de>
5370
5371         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5372         TLS_INIT_TP macro.
5373         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5374         * elf/rtld.c (init_tls, dl_main): Likewise.
5375         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5376         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5377         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5378         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5379         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5380         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5381         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5382         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5383         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5384         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5385         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5386         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5387         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5388         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5389         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5390         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5391         * sysdeps/generic/tls.h: Update description.
5392
5393 2014-05-27  Will Newton  <will.newton@linaro.org>
5394
5395         [BZ #16990]
5396         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5397         and restore r2 rather than just restoring.
5398
5399 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5400
5401         [BZ #16724]
5402         * libio/tst-ftell-append.c: New test case.
5403         * libio/Makefile (tests): Add test case.
5404         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5405         append mode.
5406         * libio/wfileops.c (do_ftell_wide): Likewise.
5407
5408 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5409
5410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5411
5412         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5413         ...
5414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5416         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5417         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5418         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5419         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5420         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5423         Moved ...
5424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5426         Moved ...
5427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5428         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5429         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5430         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5431         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5432         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5433         ...
5434         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5435         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5436         Moved ...
5437         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5438         here.
5439         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5440         ...
5441         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5442         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5443         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5444
5445         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5446         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5447         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5448         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5449
5450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5451         merge into ...
5452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5454         ...
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5457         ...
5458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5460         Moved ...
5461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5462         here.
5463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5464         Moved ...
5465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5467         Moved ...
5468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5469
5470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5471         conditional [RESET_PID].
5472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5474         removed.
5475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5476         removed.
5477
5478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5479         <tcb-offsets.h>.
5480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5481         (__libc_vfork): New strong alias.
5482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5483         removed.
5484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5485         Removed.
5486
5487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5488         <tcb-offsets.h>.
5489         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5490         (__libc_vfork): New strong alias.
5491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5492         removed.
5493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5494         removed.
5495
5496 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5497
5498         * malloc/malloc.c (mi_arena): New function.
5499         (malloc_info): Remove nested function mi_arena. Call non-nosted
5500         function mi_arena.
5501
5502 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5503
5504         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5505         by insrwi.
5506         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5507         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5508         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5509         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5510         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5511         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5512         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5513
5514 2014-05-26  Andreas Schwab  <schwab@suse.de>
5515
5516         [BZ #16984]
5517         * locale/programs/repertoire.c (repertoire_read): Add slash
5518         between I18NPATH element and file name.
5519         * locale/programs/locfile.c (locfile_read): Likewise.
5520
5521 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5522
5523         * nptl/pthread_mutexattr_settype.c
5524         (__pthread_mutexattr_settype):
5525         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5526
5527 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5528
5529         * nptl/tst-mutex5 (do_test):
5530         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5531
5532 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5533
5534         * benchtests/README: Document 'init' directive.
5535         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5536         BENCH_INIT.
5537         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5538         (parse_file): Recognize 'init' directive.
5539
5540 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5541
5542         [BZ #16796]
5543         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5544         alignment of struct pthread.
5545
5546 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5547
5548         [BZ #16878]
5549         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5550         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5551         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5552         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5553
5554 2014-05-25  Richard Henderson  <rth@twiddle.net>
5555
5556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5557         (SINGLE_THREAD_P_PIC): Remove.
5558         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5559         (SINGLE_THREAD_P_PIC): Remove.
5560
5561         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5562         branch to syscall error ...
5563         (PSEUDO): ... here.
5564         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5565         from __local_syscall_error to .Lsyscall_error.
5566         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5567         (SYSCALL_ERROR): Update label name.
5568
5569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5570         Do not use DOARGS/UNDOARGS.
5571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5572         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5573         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5574         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5575         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5576
5577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5578         block comment.
5579
5580         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5581         define if !NOT_IN_libc.
5582         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5583         define with non-default symbol versions.
5584
5585 2014-05-23  Richard Henderson  <rth@twiddle.net>
5586
5587         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5588         (vfork, __vfork): Define via compat_symbol.
5589
5590         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5591         [!HAVE_IFUNC] (vfork_compat): Remove.
5592         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5593
5594 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5595
5596         [BZ #16978]
5597         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5598         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5599         variable.
5600
5601 2014-05-23  Richard Henderson  <rth@twiddle.net>
5602
5603         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5604         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5605         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5606         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5607
5608         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5609         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5610         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5611         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5612         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5613         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5614         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5615         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5616         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5617         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5618         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5619         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5620         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5621         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5622         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5623         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5624         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5625         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5626         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5627         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5628         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5629         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5630         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5631         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5632         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5633         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5634         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5635         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5636         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5637         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5638         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5639         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5640         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5641         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5642         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5643         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5644         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5645         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5646         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5647         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5648         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5649         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5650         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5651         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5653         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5655         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5657         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5659         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5661         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5663         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5664
5665         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5666         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5667         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5668         before exiting on error.
5669         (__libc_vfork): New strong alias.
5670         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5671         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5672
5673         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5674         that was previously under [RESET_PID].
5675         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5676
5677         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5678
5679 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5680
5681         [BZ #16977]
5682         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5683         value when x - 1 is zero.
5684         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5685         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5686         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5687         0.0L for an argument of 1.0L.
5688         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5689         Likewise.
5690         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5691         value when x - 1 is zero.
5692         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5693         * sysdeps/i386/fpu/libm-test-ulps: Update.
5694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695
5696 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5697
5698         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5699         alphasort and versionsort.
5700
5701 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5702
5703         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5704         macro.
5705         [copysignf]: Likewise.
5706
5707 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5708
5709         * crypt/md5-crypt.c: Fix formatting.
5710
5711 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5712
5713         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5714         (b64_from_24bit): New function.
5715
5716 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5717
5718         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5719         libc_hidden_builtin_def to ifunc.
5720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5721         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5722
5723 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5724
5725         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5726         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5727
5728 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5729
5730         * nscd/Depend (linuxthreads): Remove.
5731         (nptl): Add.
5732         * resolv/Depend (linuxthreads): Remove.
5733         * rt/Depend (linuxthreads): Remove.
5734
5735         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5736         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5737         $(common-objpfx)elf/.
5738         (link-libc-before-gnulib): Likewise.
5739         (elfobjdir): Remove variable.
5740         * Makefile (install): Use $(elf-objpfx) instead of
5741         $(common-objpfx)elf/.
5742         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5743         $(elfobjdir)/.
5744         (link-libc-deps): Likewise.
5745         ($(common-objpfx)libc.so): Likewise.
5746         ($(common-objpfx)linkobj/libc.so): Likewise.
5747         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5748         instead of $(common-objpfx)elf/.
5749         (symbolic-link-list): Likewise.
5750         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5751         [$(cross-compiling) = no]: Likewise.
5752         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5753         $(elfobjdir)/.
5754         (static-gnulib-arch): Likewise.
5755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5756         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5757         $(common-objpfx)elf/.
5758
5759 2014-05-21  Richard Henderson  <rth@redhat.com>
5760
5761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5762         (SINGLE_THREAD_P): Use the correct width load.  Fold
5763         into the ldr offset.
5764
5765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5766         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5767
5768 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5769
5770         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5771         (libgcc_s_resume): Use __attribute_used__.
5772         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5773         Likewise.
5774
5775 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5776
5777         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5778         optimization when used with float constants.
5779
5780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5781
5782 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5783
5784         [BZ #16915]
5785         * locale/nl_langinfo_l.c: Make direct reference to every
5786         _nl_current_CATEGORY symbol.
5787         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5788         (tests-static): Add tst-langinfo-static.
5789         (tests-special): Add tst-langinfo-static.out.
5790         ($(objpfx)tst-langinfo.out): Redirect output.
5791         ($(objpfx)tst-langinfo-static.out): New.
5792         * localedata/tst-langinfo.sh: Send output to stdout.
5793         * localedata/tst-langinfo-static.c: New file.
5794
5795         [BZ #16965]
5796         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5797         when the shift amount is modulo the limb size.
5798
5799 2014-05-20  Richard Henderson  <rth@redhat.com>
5800
5801         [BZ #16967]
5802         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5803         Change type of sa_flags from unsigned int to int.
5804
5805         [BZ #16966]
5806         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5807
5808         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5809
5810 2014-05-20  Will Newton  <will.newton@linaro.org>
5811
5812         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5813         Test the return value of the system call in the nocancel case.
5814
5815 2014-05-20  Will Newton  <will.newton@linaro.org>
5816             Yvan Roux  <yvan.roux@linaro.org>
5817
5818         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5819         #include of asm/ptrace.h.
5820         (PTRACE_GET_THREAD_AREA): Remove #undef.
5821         (PTRACE_GETHBPREGS): Likewise.
5822         (PTRACE_SETHBPREGS): Likewise.
5823         (struct user_regs_struct): New structure.
5824         (struct user_fpsimd_struct): New structure.
5825         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5826         #include of asm/ptrace.h and second #include of sys/user.h.
5827         (PTRACE_GET_THREAD_AREA): Remove #undef.
5828         (PTRACE_GETHBPREGS): Likewise.
5829         (PTRACE_SETHBPREGS): Likewise.
5830         (ELF_NGREG): Use new struct user_regs_struct.
5831         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5832
5833 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5834
5835         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5837
5838 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5839
5840         [BZ #16958]
5841         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5842         membar to avoid block loads/stores to overlap previous stores.
5843
5844 2014-05-17  Richard Henderson  <rth@redhat.com>
5845
5846         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5847         Create the __##syscall_name##_nocancel entry point.
5848         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5849         Remove; let the sysdep-cancel.h code create it.
5850
5851 2014-05-17  David S. Miller  <davem@davemloft.net>
5852
5853         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5854         Protect with __USE_GNU.
5855         (TIOCSET_TEMPT): Likewise.
5856         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5857         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5858         these are already provided in bits/ioctl-types.h
5859
5860 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5861
5862         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5863         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5864
5865         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5866         Use wait4 regardless of [__NR_waitpid].
5867
5868 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5869
5870         PR libgcc/60166
5871         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5872         (_FP_NANSIGN_Q): Set the quiet bit.
5873
5874 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5875
5876         * benchtests/Makefile
5877         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5878         not $(common-objpfx)math/libm.so.
5879         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5880         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5881         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5882         $(common-objpfx)dlfcn/libdl.so.
5883         ($(objpfx)tst-audit8): Depend on $(libm), not
5884         $(common-objpfx)math/libm.so.
5885         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5886         not $(common-objpfx)dlfcn/libdl.so.
5887         * math/Makefile
5888         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5889         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5890         [$(build-shared) = yes].
5891         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5892         $(common-objpfx)nptl/libpthread.so.
5893         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5894         $(common-objpfx)math/libm.so$(libm.so-version) or
5895         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5896         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5897         $(common-objpfx)dlfcn/libdl.so.
5898         * setjmp/Makefile (link-libm): Remove variable.
5899         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5900         * stdio-common/Makefile (link-libm): Remove variable.
5901         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5902         * stdlib/Makefile (link-libm): Remove variable.
5903         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5904         ($(objpfx)tst-strtod-round): Likewise.
5905         ($(objpfx)tst-tininess): Likewise.
5906         ($(objpfx)tst-strtod-underflow): Likewise.
5907         ($(objpfx)tst-strtod6): Likewise.
5908         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5909         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5910         $(common-objpfx)dlfcn/libdl.so.
5911
5912 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5913
5914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5915         BSD terminal modes definitions.
5916
5917 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5918
5919         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5920         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5921
5922         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5923         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5924         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5925         Don't do #include_next.
5926         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5927         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5928         Don't do #include_next.
5929         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5930         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5931         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5932         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5933
5934 2014-05-16  Allan McRae  <allan@archlinux.org>
5935
5936         * po/sv.po: Update Swedish translation from translation project.
5937
5938         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5939         in sed expression.
5940
5941 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5942
5943         [BZ #16917]
5944         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5945         errno if the TIOCGPTN ioctl fails with an error different than
5946         EINVAL.
5947         * login/tst-ptsname.c: New file.
5948         * login/Makefile (tests): Add tst-ptsname.
5949
5950         [BZ #16943]
5951         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5952         and prlimit64.
5953
5954 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5955
5956         [BZ #16849]
5957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5958         herrno to return EAI_AGAIN.
5959
5960 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5961
5962         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5963         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5964         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5965         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5966         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5967         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5968         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5969         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5971         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5972         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5973         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5974         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5975         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5976         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5977         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5978         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5979         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5980         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5981         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5982         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5983         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5984         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5985         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5986         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5987         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5988         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5989         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5990         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5991         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5993         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5995         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5997         Moved ...
5998         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6000         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6002         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6004         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6006         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6010         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6012         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6014         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6016         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6018         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6020         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6022         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6024         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6026         Moved ...
6027         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6029         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6031         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6033         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6035         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6037         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6039         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6041         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6043         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6045         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6047         Moved ...
6048         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6050         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6051
6052         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6053         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6054         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6055         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6056         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6058         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6059         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6060         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6061         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6062         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6063         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6064         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6065         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6066         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6067         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6068         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6069         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6070         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6071         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6072         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6073         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6074         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6075         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6076         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6077         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6078         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6079         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6080         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6081         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6082         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6083
6084         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6085         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6086
6087         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6088         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6089         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6090         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6091         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6093         Moved ...
6094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6096         Moved ...
6097         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6099         Moved ...
6100         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6101         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6102         Moved ...
6103         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6104         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6105         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6107         Moved ...
6108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6109         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6110         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6113         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6114         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6115         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6116         Moved ...
6117         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6119         Moved ...
6120         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6121         ... here.
6122         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6123         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6124         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6125         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6127         Moved ...
6128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6129         ... here.
6130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6131         Moved ...
6132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6133         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6134         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6135         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6136         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6138         Moved ...
6139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6141         Moved ...
6142         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6144         Moved ...
6145         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6146         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6147         Moved ...
6148         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6149         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6150         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6152         Moved ...
6153         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6154         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6155         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6157         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6158         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6159         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6160         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6161         Moved ...
6162         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6164         Moved ...
6165         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6166         ... here.
6167         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6168         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6169         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6170         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6172         Moved ...
6173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6174         ... here.
6175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6176         Moved ...
6177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6178         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6179         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6180         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6181         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6182         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6184         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6185         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6187         Moved ...
6188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6190         Moved ...
6191         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6193         Moved ...
6194         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6195         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6196         Moved ...
6197         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6198         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6199         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6200         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6201         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6203         Moved ...
6204         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6205         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6206         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6207         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6208         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6209         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6210         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6212         Moved ...
6213         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6215         Moved ...
6216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6217         ... here.
6218         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6219         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6220         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6221         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6223         Moved ...
6224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6225         ... here.
6226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6227         Moved ...
6228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6229         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6230         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6231         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6232         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6233         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6234         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6235         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6236         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6237         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6238         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6239
6240         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6241         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6242
6243         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6244         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6245
6246         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6247         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6248         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6249         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6250         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6251         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6252         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6253         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6254         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6255         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6257         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6258         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6259         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6260         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6262         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6264         Moved ...
6265         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6267         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6269         Moved ...
6270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6274         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6278         Moved ...
6279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6281         Moved ...
6282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6284         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6286         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6288         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6289         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6290         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6291         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6292         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6293         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6294         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6295         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6296         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6297         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6299
6300         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6301         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6302         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6303         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6304         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6305
6306         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6307         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6308         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6309         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6310         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6311         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6312         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6313         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6314         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6315         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6316
6317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6319
6320         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6321         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6323         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6324         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6325         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6326         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6327         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6328         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6329         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6330         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6331         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6332         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6333         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6335         Update #include.
6336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6337         Likewise.
6338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6339         Likewise.
6340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6341         Likewise.
6342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6343         Likewise.
6344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6345         Likewise.
6346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6347         Likewise.
6348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6349         Likewise.
6350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6351         Likewise.
6352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6353         Likewise.
6354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6359         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6364         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6366         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6368         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6369
6370         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6371         that was previously under [RESET_PID].
6372         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6373         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6374         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6375
6376         * sysdeps/i386/nptl/Implies: New file.
6377         * sysdeps/x86_64/nptl/Implies: New file.
6378         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6379         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6381         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6382
6383         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6385         (__libc_vfork): New strong alias.
6386         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6387         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6388
6389         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6391         (__libc_vfork): New strong alias.
6392         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6393         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6394
6395         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6396         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6397         (__libc_vfork): New strong alias.
6398         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6399         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6400         * nptl/pt-vfork.c: New file.
6401         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6402         (libpthread: GLIBC_2.20): New version set (empty).
6403
6404 2014-05-14  Will Newton  <will.newton@linaro.org>
6405
6406         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6407         rather than #if.
6408
6409 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6410
6411         [BZ #16564]
6412         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6413         arguments with exponent 65 or above.
6414         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6415         arguments 0x1p113L or above.
6416         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6417         to arguments 0x1p107L or above.
6418         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6419         positive arguments with exponent 65 or above.
6420         * math/auto-libm-test-in: Add more tests of log1p.
6421         * math/auto-libm-test-out: Regenerated.
6422
6423         [BZ #16928]
6424         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6425         non-finite arguments is +0.
6426         * math/s_cacosf.c (__cacosf): Likewise.
6427         * math/s_cacosl.c (__cacosl): Likewise.
6428         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6429         * sysdeps/i386/fpu/libm-test-ulps: Update.
6430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6431
6432         [BZ #16927]
6433         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6434         value.
6435         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6436         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6437         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6438         for explicit high bit of mantissa when testing for argument equal
6439         to 1.
6440         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6441         * sysdeps/i386/fpu/libm-test-ulps: Update.
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6443
6444         [BZ #16516]
6445         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6446         (__erf): Scale by 16 instead of 8 in potentially underflowing
6447         case.  Ensure exception if result actually underflows.
6448         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6449         (__erff): Scale by 16 instead of 8 in potentially underflowing
6450         case.  Ensure exception if result actually underflows.
6451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6452         (efx8): Remove variable.
6453         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6454         case.  Ensure exception if result actually underflows.
6455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6456         (efx8): Remove variable.
6457         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6458         case.  Ensure exception if result actually underflows.
6459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6460         (efx8): Remove variable.
6461         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6462         case.  Ensure exception if result actually underflows.
6463         * math/auto-libm-test-in: Add more tests of erf.
6464         * math/auto-libm-test-out: Regenerated.
6465
6466 2014-05-14  Andreas Schwab  <schwab@suse.de>
6467
6468         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6469         Remove code conditionalized on USE___THREAD.
6470
6471         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6472         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6473         not definedness.
6474
6475 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6476
6477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6478         Define unconditionally.
6479         (__ASSUME_O_CLOEXEC): Likewise.
6480         (__ASSUME_SOCK_CLOEXEC): Likewise.
6481         (__ASSUME_IN_NONBLOCK): Likewise.
6482         (__ASSUME_PIPE2): Likewise.
6483         (__ASSUME_EVENTFD2): Likewise.
6484         (__ASSUME_SIGNALFD4): Likewise.
6485         (__ASSUME_DUP3): Likewise.
6486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6487         (__ASSUME_DUP3): Do not define.
6488         (__ASSUME_EVENTFD2): Likewise.
6489         (__ASSUME_IN_NONBLOCK): Likewise.
6490         (__ASSUME_O_CLOEXEC): Likewise.
6491         (__ASSUME_PIPE2): Likewise.
6492         (__ASSUME_SIGNALFD4): Likewise.
6493         (__ASSUME_SOCK_CLOEXEC): Likewise.
6494         (__ASSUME_UTIMES): Undefine.
6495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6496         (__ASSUME_UTIMES): Do not define.
6497         (__ASSUME_O_CLOEXEC): Likewise.
6498         (__ASSUME_SOCK_CLOEXEC): Likewise.
6499         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6500         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6501         0x020621].
6502         (__ASSUME_PIPE2): Likewise.
6503         (__ASSUME_EVENTFD2): Likewise.
6504         (__ASSUME_SIGNALFD4): Likewise.
6505         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6506         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6507         Do not define.
6508         (__ASSUME_EVENTFD2): Likewise.
6509         (__ASSUME_SIGNALFD4): Likewise.
6510         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6511         (__ASSUME_32BITUIDS): Likewise.
6512         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6513         (__ASSUME_IPC64): Likewise.
6514         (__ASSUME_ST_INO_64_BIT): Likewise.
6515         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6516         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6518         (__ASSUME_UTIMES): Do not define.
6519         (__ASSUME_PSELECT): Likewise.
6520         (__ASSUME_PPOLL): Likewise.
6521         (__ASSUME_O_CLOEXEC): Likewise.
6522         (__ASSUME_SOCK_CLOEXEC): Likewise.
6523         (__ASSUME_IN_NONBLOCK): Likewise.
6524         (__ASSUME_PIPE2): Likewise.
6525         (__ASSUME_EVENTFD2): Likewise.
6526         (__ASSUME_SIGNALFD4): Likewise.
6527         (__ASSUME_DUP3): Likewise.
6528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6529         (__ASSUME_UTIMES): Likewise.
6530         (__ASSUME_O_CLOEXEC): Likewise.
6531         (__ASSUME_SOCK_CLOEXEC): Likewise.
6532         (__ASSUME_IN_NONBLOCK): Likewise.
6533         (__ASSUME_PIPE2): Likewise.
6534         (__ASSUME_EVENTFD2): Likewise.
6535         (__ASSUME_SIGNALFD4): Likewise.
6536         (__ASSUME_DUP3): Likewise.
6537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6538         (__ASSUME_UTIMES): Likewise.
6539         (__ASSUME_O_CLOEXEC): Likewise.
6540         (__ASSUME_SOCK_CLOEXEC): Likewise.
6541         (__ASSUME_IN_NONBLOCK): Likewise.
6542         (__ASSUME_PIPE2): Likewise.
6543         (__ASSUME_EVENTFD2): Likewise.
6544         (__ASSUME_SIGNALFD4): Likewise.
6545         (__ASSUME_DUP3): Likewise.
6546         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6547         Likewise.
6548         (__ASSUME_UTIMES): Likewise.
6549         (__ASSUME_EVENTFD2): Likewise.
6550         (__ASSUME_SIGNALFD4): Likewise.
6551         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
6560
6561         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6562         feclearexcept.  Remove symbol versioning code.
6563         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6564         symbol versioning code.
6565         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6566         symbol versioning code.
6567         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6568         feupdateenv.  Remove symbol versioning code.
6569         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6570         fegetexceptflag.  Remove symbol versioning code.
6571         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6572         fesetexceptflag.  Remove symbol versioning code.
6573         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6574         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6575         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6576         (__posix_fadvise64_l32): Remove prototype.
6577         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6578         code.
6579
6580 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6581
6582         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6583         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6584         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6585         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6586
6587 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6588
6589         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6590         current working directory
6591
6592 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6593
6594         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6595         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6596         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6597         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6598         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6599         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6600         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6601         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6602         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6603         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6604         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6605         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6606         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6607         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6608         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6609         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6610         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6611         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6612         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6613         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6614         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6615         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6616         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6617         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6618         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6619         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6620         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6621         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6622         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6623         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6624         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6625         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6626         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6627         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6628         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6629         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6630         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6631         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6632         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6633         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6634         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6635         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6636
6637         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6638         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6639
6640         * sysdeps/unix/sysv/linux/arm/Makefile
6641         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6642         Add rt-aeabi_unwind_cpp_pr1.
6643         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6644         Add nptl-aeabi_unwind_cpp_pr1.
6645         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6646         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6647         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6648         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6649         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6650         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6651
6652         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6653         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6654         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6655         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6656
6657         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6658         Deconditionalize the code that was previously under [RESET_PID].
6659         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6660
6661         * sysdeps/generic/exit-thread.h: New file.
6662         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6663         * include/unistd.h (__exit_thread): Remove declaration.
6664         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6665         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6666         * csu/libc-start.c: Include <exit-thread.h>.
6667         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6668         * nptl/pthread_create.c: Include <exit-thread.h>.
6669         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6670         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6671         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6672         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6673         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6674         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6675         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6676         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6677         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6678         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6679         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6680         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6681         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6682         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6683         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6684         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6685         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6686
6687 2014-05-13  Andreas Schwab  <schwab@suse.de>
6688
6689         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6690
6691 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6692
6693         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6694         (__ASSUME_UTIMES): Do not condition on kernel version.
6695         (__ASSUME_PSELECT): Define unconditionally.
6696         (__ASSUME_PPOLL): Likewise.
6697         (__ASSUME_ATFCTS): Likewise.
6698         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6699         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6700         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6701         (__ASSUME_UTIMENSAT): Define unconditionally.
6702         (__ASSUME_PRIVATE_FUTEX): Likewise.
6703         (__ASSUME_FALLOCATE): Likewise.
6704         (__ASSUME_O_CLOEXEC): Likewise.
6705         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6706         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6707         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6708         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6709         (__ASSUME_IN_NONBLOCK): Likewise.
6710         (__ASSUME_PIPE2): Likewise.
6711         (__ASSUME_EVENTFD2): Likewise.
6712         (__ASSUME_SIGNALFD4): Likewise.
6713         (__ASSUME_DUP3): Likewise.
6714         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6715         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6716         (__ASSUME_AT_RANDOM): Likewise.
6717         (__ASSUME_PREADV): Likewise.
6718         (__ASSUME_PWRITEV): Likewise.
6719         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6720         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6721         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6722         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6723         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6725         (__ASSUME_O_CLOEXEC): Define unconditionally.
6726         (__ASSUME_PSELECT): Do not undefine conditionally.
6727         (__ASSUME_PPOLL): Likewise.
6728         (__ASSUME_ATFCTS): Likewise.
6729         (__ASSUME_SET_ROBUST_LIST): Likewise.
6730         (__ASSUME_UTIMENSAT): Likewise.
6731         (__ASSUME_FDATASYNC): Define unconditionally.
6732         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6733         (__ASSUME_SIGFRAME_V2): Likewise.
6734         )__ASSUME_EVENTFD2): Likewise.
6735         (__ASSUME_SIGNALFD4): Likewise.
6736         (__ASSUME_PSELECT): Do not undefine conditionally.
6737         (__ASSUME_PPOLL): Likewise.
6738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6739         (__ASSUME_PSELECT): Define unconditionally.
6740         (__ASSUME_PPOLL): Likewise.
6741         (__ASSUME_O_CLOEXEC): Likewise.
6742         (__ASSUME_SOCK_CLOEXEC): Likewise.
6743         (__ASSUME_IN_NONBLOCK): Likewise.
6744         (__ASSUME_PIPE2): Likewise.
6745         (__ASSUME_EVENTFD2): Likewise.
6746         (__ASSUME_SIGNALFD4): Likewise.
6747         (__ASSUME_DUP3): Likewise.
6748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6749         (__ASSUME_O_CLOEXEC): Likewise.
6750         (__ASSUME_SOCK_CLOEXEC): Likewise.
6751         (__ASSUME_IN_NONBLOCK): Likewise.
6752         (__ASSUME_PIPE2): Likewise.
6753         (__ASSUME_EVENTFD2): Likewise.
6754         (__ASSUME_SIGNALFD4): Likewise.
6755         (__ASSUME_DUP3): Likewise.
6756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6757         (__ASSUME_EVENTFD2): Likewise.
6758         (__ASSUME_SIGNALFD4): Likewise.
6759         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6760
6761 2014-05-12  Andreas Schwab  <schwab@suse.de>
6762
6763         [BZ #16932]
6764         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6765         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6766         than maximum RPC packet size.
6767         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6768         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6769         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6770         (_nss_nis_getservbyport_r): Likewise.
6771
6772 2014-05-12  Will Newton  <will.newton@linaro.org>
6773
6774         * malloc/Makefile (tests): Add tst-mallopt.
6775         * malloc/tst-mallopt.c: New file.
6776
6777 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6778
6779         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6780         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6781
6782 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6783
6784         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6785         (tst-tlsmod6.so): Likewise.
6786
6787 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6788
6789         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6790
6791 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6792
6793         [BZ #16064]
6794         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6795         and <dl-procinfo.h>.
6796         (__fegetenv): Save SSE state in envp->__eip if supported.
6797         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6798         envp->__eip if supported.
6799         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6800         and <dl-procinfo.h>.
6801         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6802         __data_offset and __data_selector in environment to 0.  Set SSE
6803         state if supported.
6804         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6805         test-fenv-sse.
6806         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6807         -mfpmath=sse.
6808         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6809
6810 2014-05-09  Will Newton  <will.newton@linaro.org>
6811
6812         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6813         and libc_relro_required for ARM.
6814         * sysdeps/arm/preconfigure: Regenerate.
6815
6816 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6817             Stefan Liebler  <stli@linux.vnet.ibm.com>
6818
6819         * config.make.in (enable-lock-elision): New Makefile variable.
6820         * configure.ac: Likewise.
6821         * configure: Regenerate.
6822         * sysdeps/s390/configure.ac:
6823         Add check for gcc transactions support.
6824         * sysdeps/s390/configure: Regenerate.
6825         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6826         Build elision files if enabled.
6827         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6828         Add lock elision support for s390.
6829         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6830         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6831         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6832         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6833         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6834         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6836         Likewise.
6837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6838         Likewise.
6839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6840         Likewise.
6841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6842         Likewise.
6843         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6844         (__lll_timedlock_elision, __lll_lock_elision)
6845         (__lll_unlock_elision, __lll_trylock_elision)
6846         (lll_timedlock_elision, lll_lock_elision)
6847         (lll_unlock_elision, lll_trylock_elision): Add.
6848         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6849         (pthread_mutex_t): Add lock elision support for s390.
6850
6851 2014-05-14  Wilco  <wdijkstr@arm.com>
6852
6853         * sysdeps/arm/fclrexcpt.c: Cleanup.
6854         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6855         * sysdeps/arm/feenablxcpt.c: Cleanup.
6856         * sysdeps/arm/fegetenv.c: Cleanup.
6857         * sysdeps/arm/fegetexcept.c: Cleanup.
6858         * sysdeps/arm/fegetround.c: Cleanup.
6859         * sysdeps/arm/feholdexcpt.c: Cleanup.
6860         * sysdeps/arm/fesetenv.c: Cleanup.
6861         * sysdeps/arm/fesetround.c: Cleanup.
6862         * sysdeps/arm/feupdateenv.c: Cleanup.
6863         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6864         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6865         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6866         * sysdeps/arm/ftestexcept.c: Cleanup.
6867         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6868         * sysdeps/arm/setfpucw.c: Cleanup.
6869
6870 2014-05-09  Will Newton  <will.newton@linaro.org>
6871
6872         * sysdeps/arm/armv7/strcmp.S: New file.
6873         * NEWS: Mention addition of ARMv7 optimized strcmp.
6874
6875 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6876
6877         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6878         look for %.ac rather than %.in.
6879
6880         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6881         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6882         * sysdeps/mach/hurd/configure: Regenerated.
6883         * sysdeps/unix/sysv/linux/configure: Regenerated.
6884
6885         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6886
6887 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6888
6889         [BZ# 16922]
6890         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6891         (LONG_SUB): Ditto.
6892         (PTR_SUB): Ditto.
6893
6894 2014-05-07  Andreas Schwab  <schwab@suse.de>
6895
6896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6897         when skipping over non-matching result from nscd.
6898
6899 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6900
6901         [BZ #16876]
6902         * nptl/sockperf.c (client): Check socket return value.
6903
6904         [BZ #16877]
6905         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6906         nscd security class.
6907
6908 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6909
6910         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6911         * sysdeps/arm/unwind.h: ... here.
6912
6913 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6914
6915         [BZ# 16916]
6916         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6917         Define.
6918
6919 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6920
6921         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6922         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6923         multiarch strncpy for PPC64.
6924         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6925         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6927         multiarch optimizations.
6928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6929         (__libc_ifunc_impl_list): Likewise.
6930         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6931         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6932         multiarch stpncpy for PPC64.
6933         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6935
6936 2014-05-06  Andreas Schwab  <schwab@suse.de>
6937
6938         [BZ #16912]
6939         * gmon/mcount.c (_MCOUNT_DECL): Use
6940         atomic_compare_and_exchange_bool_acq instead of
6941         catomic_compare_and_exchange_bool_acq.
6942
6943 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6944
6945         * elf/Makefile (others, install-bin): Remove pldd.
6946         (pldd-modules): Variable removed.
6947         ($(objpfx)pldd): Target removed.
6948         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6949         (others, install-bin): Append pldd here.
6950         ($(objpfx)pldd): New target.
6951
6952         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6953         to 0, so the first #if test emitted later doesn't see it undefined.
6954         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6955         * sysdeps/gnu/errlist.c: Regenerated.
6956
6957 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6958
6959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6960         [libc_hidden_builtin_def]: Define to empty value.
6961         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6962         [libc_hidden_builtin_def]: Likewise.
6963         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6964         [libc_hidden_builtin_def]: Likewise.
6965         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6966         [libc_hidden_builtin_def]: Likewise.
6967         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6968         __redirect_memcpy and define ifunc as default hidden symbol.
6969         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6970         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6971
6972 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6973
6974         * locale/iso-4217.def: Reintroduce XDR currency.
6975
6976 2014-05-04  Allan McRae  <allan@archlinux.org>
6977
6978         * po/eo.po: Update Esperanto translation from translation project.
6979
6980 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6981
6982         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6983         and FEATURE_INDEX_MAX to 1.
6984         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6985
6986 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6987
6988         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6989         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6990         * iconvdata/big5.c (ONE_DIRECTION): Define.
6991         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6992         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6993         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6994         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6995         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6996         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6997         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6998         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6999         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7000         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7001         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7002         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7003         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7004         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7005         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7006         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7007         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7008         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7009         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7010         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7011         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7012         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7013         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7014         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7015         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7016         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7017         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7018         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7019         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7020         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7021         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7022         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7023         * iconvdata/johab.c (ONE_DIRECTION): Define.
7024         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7025         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7026         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7027         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7028         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7029         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7030         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7031         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7032         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7033         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7034
7035 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7036
7037         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7038         (_IO_JUMPS_OFFSET): Define to 0.
7039
7040         * nptl/sysdeps/pthread/bits/libc-lock.h
7041         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7042         (__libc_lock_define_initialized_recursive): Always define using
7043         initializer.  Modern compilers treat uninitialized (implicit zero) and
7044         explicit zero initializers the same (i.e. put the datum in bss).
7045
7046 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7047
7048         * nscd/nscd-client.h: Include <string.h>.
7049
7050 2014-05-01  David S. Miller  <davem@davemloft.net>
7051
7052         [BZ #16885]
7053         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7054         multiple zero bytes exist at the end of a string.
7055         Reported by Aurelien Jarno <aurelien@aurel32.net>
7056
7057         * string/test-strcmp.c (check): Add explicit test for situations where
7058         there are multiple zero bytes after the first.
7059
7060 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7061
7062         [BZ #16890]
7063         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7064         when compiling wprintf.
7065         * stdio-common/tstdiomisc.c (t3): New function.
7066         (main): Call it.
7067
7068 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7069
7070         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7071         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7072         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7073         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7074
7075 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7076
7077         * stdlib/longlong.h: Updated from GCC.
7078
7079 2014-05-01  Will Newton  <will.newton@linaro.org>
7080             Bernard Ogden  <bernie.ogden@linaro.org>
7081
7082         * NEWS: Update fixed bug list.
7083
7084         [BZ #15119]
7085         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7086
7087 2014-04-30  David S. Miller  <davem@davemloft.net>
7088
7089         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7090         (libc_feholdexcept_setround_sparc_ctx): New function.
7091         (libc_fesetenv_sparc_ctx): Likewise.
7092         (libc_feupdateenv_sparc_ctx): Likewise.
7093         (libc_feholdsetround_sparc_ctx): Likewise.
7094         (libc_feholdexcept_setround_ctx): Define.
7095         (libc_feholdexcept_setroundf_ctx): Likewise.
7096         (libc_feholdexcept_setroundl_ctx): Likewise.
7097         (libc_fesetenv_ctx): Likewise.
7098         (libc_fesetenvf_ctx): Likewise.
7099         (libc_fesetenvl_ctx): Likewise.
7100         (libc_feupdateenv_ctx): Likewise.
7101         (libc_feupdateenvf_ctx): Likewise.
7102         (libc_feupdateenvl_ctx): Likewise.
7103         (libc_feresetround_ctx): Likewise.
7104         (libc_feresetroundf_ctx): Likewise.
7105         (libc_feresetroundl_ctx): Likewise.
7106         (libc_feholdsetround_ctx): Likewise.
7107         (libc_feholdsetroundf_ctx): Likewise.
7108         (libc_feholdsetroundl_ctx): Likewise.
7109
7110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7111         with __USE_GNU instead of XOPEN cpp guards.
7112
7113         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7114         0.
7115
7116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7117         with XOPEN cpp guards.
7118
7119 2014-04-30  Julian Brown  <julian@codesourcery.com>
7120
7121         [BZ #16888]
7122         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7123         handling.
7124
7125 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7126
7127         [BZ #9894]
7128         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7129         Change to 2.6.32.
7130         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7131         * sysdeps/unix/sysv/linux/configure: Regenerated.
7132         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7133         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7134         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7135         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7136         * README: Update reference to required Linux kernel version.
7137         * manual/install.texi (Linux): Update reference to required Linux
7138         kernel headers version.
7139         * INSTALL: Regenerated.
7140
7141         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7142         header inclusion.
7143         [POSIX] (limits.h): Likewise.
7144         [POSIX] (math.h): Likewise.
7145         [POSIX] (sys/wait.h): Likewise.
7146         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7147         function.
7148         [POSIX] (stddef.h): Do not allow header inclusion.
7149
7150 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7151
7152         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7153
7154 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7155
7156         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7157         Return immediately after lll_futex_wake.
7158
7159 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7160
7161         [BZ #16791]
7162         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7163         structure.
7164         (datahead_init_pos): Call datahead_init_common early.
7165         (datahead_init_neg): Likewise.
7166
7167         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7168         datahead_init_neg): New functions.
7169         * nscd/aicache.c (addhstaiX): Use them.
7170         * nscd/grpcache.c (cache_addgr): Likewise.
7171         * nscd/hstcache.c (cache_addhst): Likewise.
7172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7173         * nscd/netgroupcache.c (do_notfound): Likewise.
7174         (addgetnetgrentX): Likewise.
7175         (addinnetgrX): Likewise.
7176         * nscd/pwdcache.c (cache_addpw): Likewise.
7177         * nscd/servicescache.c (cache_addserv): Likewise.
7178
7179 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7180             Atsushi Onoe  <atsushi@onoe.org>
7181
7182         [BZ #14308]
7183         [BZ #12994]
7184         [BZ #13651]
7185         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7186         one response is valid.
7187         * resolv/res_send.c (send_dg): Check for validity of other
7188         response if the current response is a referral.
7189
7190 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7191
7192         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7193
7194 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7195
7196         [BZ #16823]
7197         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7198         Always divide by positive zero when computing -Inf result.
7199         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7200         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7201
7202 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7203
7204         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7205         FPSCR if value do not change.
7206         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7207         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7208         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7209         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7210         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7211         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7212         function.
7213
7214 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7215
7216         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7217         * sysdeps/unix/sysv/linux/hppa: Move directory from
7218         ports/systeps/unix/sysv/linux/hppa.
7219         * README: Update listing for hppa-*-linux-gnu.
7220
7221 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7222
7223         [BZ #16754]
7224         * manual/stdio.texi (Hook functions): Fix types of stream hook
7225         functions.
7226         [BZ #16854]
7227         * socket/sys/socket.h: Fix typo in comment.
7228
7229 2014-04-28  Wilco  <wdijkstr@arm.com>
7230
7231         * sysdeps/arm/fenv_private.h: New file.
7232         * sysdeps/arm/math_private.h: New file.
7233         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7234
7235 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7236
7237         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7238         with __int128_t.
7239         (La_x86_64_retval): Likewise.
7240
7241 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7242
7243         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7244         fpsr if value didn't change.
7245         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7246         to fpcr if value didn't change.
7247         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7248         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7249         fpsr or fpcr if value didn't change.
7250         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7251         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7252         fpcr if value didn't change.
7253         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7254         to fpsr if value didn't change.
7255
7256 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7257
7258         * nptl/tst-sem3.c: Use test-skeleton.c
7259         (main): Rename to do_test.  Use return instead of
7260         exit.
7261         * nptl/tst-sem4.c: Use test-skeleton.c
7262         (main): Rename to do_test.
7263
7264 2014-04-22  David S. Miller  <davem@davemloft.net>
7265
7266         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7267         (struct sigaction): New struct member __glibc_reserved0, change
7268         type of sa_flags to int.
7269
7270 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7271
7272         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7273         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7274
7275 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7276
7277         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7278         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7279
7280 2014-04-22  Will Newton  <will.newton@linaro.org>
7281             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7282
7283         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7284         (__longjmp): Add longjmp and longjmp_target SystemTap
7285         probes.
7286         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7287         (__sigsetjmp): Add setjmp SystemTap probe.
7288
7289 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7290
7291         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7292         match manual order.
7293
7294 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7295
7296         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7297
7298         * sysdeps/powerpc/fpu/fenv_private.h
7299         (libc_feholdexcept_setroundl_ctx): Define to
7300         libc_feholdexcept_setround_ppc_ctx.
7301         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7302         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7303         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7304         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7305
7306 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7307
7308         * sysdeps/aarch64/math-tests.h: New file.
7309
7310 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7311
7312         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7313         New.
7314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7315         Check and set bit_AVX2_Usable.
7316         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7317         macro.
7318         (bit_AVX2): Likewise.
7319         (index_AVX2_Usable): Likewise.
7320         (CPUID_AVX2): Likewise.
7321         (HAS_AVX2): Likewise.
7322
7323 2014-04-17  Will Newton  <will.newton@linaro.org>
7324
7325         * manual/setjmp.texi (System V contexts): Add note that
7326         calling setcontext on a context created by a call to a
7327         signal handler is undefined.  Update text to note that
7328         setcontext from a signal handler is possible but not
7329         recommended.
7330
7331         [BZ #16629]
7332         * stdlib/tst-setcontext.c: Include signal.h.
7333         (main): Check that the signal stack before and
7334         after swapcontext is the same.
7335
7336         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7337         Re-implement to restore registers in user code and avoid
7338         rt_sigreturn system call.
7339
7340 2014-04-17  Wilco  <wdijkstr@arm.com>
7341
7342         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7343         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7344         * math/test-fenv.c: Skip exception trap tests on targets which only
7345         support non-stop mode.
7346
7347 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7348             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7349
7350         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7351         (libc_feholdsetround_aarch64_ctx)
7352         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7353         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7354         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7355         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7356         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7357         (libc_feresetround_noexl_ctx): Define.
7358
7359 2014-04-16  Richard Henderson  <rth@redhat.com>
7360
7361         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7362
7363         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7364         unwind tables.
7365
7366         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7367         const from the non-libc, non-ldso copy.
7368
7369         * sysdeps/alpha/libm-test-ulps: Regenerate.
7370
7371 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7372             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7373
7374         * sysdeps/aarch64/fpu/math_private.h: New file.
7375
7376 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7377
7378         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7379
7380 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7381
7382         [BZ #16275]
7383         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7384         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7386         Intel MPX bound registers before _dl_profile_fixup.
7387         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7388         registers after _dl_profile_fixup.  Save and restore bound
7389         registers bnd0/bnd1 when calling _dl_call_pltexit.
7390         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7391         (LR_BND_OFFSET): Likewise.
7392         (LRV_BND0_OFFSET): Likewise.
7393         (LRV_BND1_OFFSET): Likewise.
7394
7395 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7396
7397         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7398         to...
7399         * sysdeps/mach/hurd/i386/tls.h: ... here.
7400         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7401         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7402         fields.
7403
7404 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7405
7406         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7407
7408 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7409
7410         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7411
7412 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7413
7414         [BZ #14770]
7415         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7416         * sysdeps/s390/configure: Regenerate.
7417
7418         [BZ #16824]
7419         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7420         Set round-to-nearest internally to reduce error accumulation.
7421
7422 2014-04-16  Alan Modra  <amodra@gmail.com>
7423
7424         [BZ #16740]
7425         [BZ #16619]
7426         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7427         * math/libm-test.inc (frexp_test_data): Add tests.
7428         * NEWS: Update fixed bug list.
7429
7430 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7431
7432         * benchtests/Makefile: Depend on libraries in build directory.
7433         (bench-math): Separate out math tests.
7434         (bench-pthread): Separate out pthread tests.
7435         (bench): Include math and pthread tests.
7436
7437 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7438
7439         [BZ #16831]
7440         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7441         _dl_debug_initialize.
7442
7443         * configure.ac: Remove SELinux header check.
7444         * configure: Regenerate.
7445         * nscd/selinux.c (perms): Array of const char* to permission names.
7446         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7447         default policy. Call string_to_security_class and string_to_av_perm to
7448         translate strings. Enforce default policy and call avs_has_perm with
7449         results of translated strings.
7450
7451 2014-04-13  David S. Miller  <davem@davemloft.net>
7452
7453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7454
7455 2014-04-12  Allan McRae  <allan@archlinux.org>
7456
7457         [BZ #16838]
7458         * manual/string.texi (Collation Functions): Fix qsort argument
7459         order in example.
7460         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7461
7462 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7463
7464         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7465         Make the test a no-op if there are no exceptions defined.
7466
7467 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7468
7469         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7470         enable-hardcoded-path-in-tests
7471
7472 2014-04-11  Will Newton  <will.newton@linaro.org>
7473
7474         * benchtests/Makefile (extra-objs): Add json-lib.o.
7475         (bench-func): Tidy up JSON output.
7476         * benchtests/bench-skeleton.c: Include json-lib.h.
7477         (main): Use JSON library functions to do output of
7478         benchmark results.
7479         * benchtests/bench-timing-type.c (main): Output the
7480         timing type simply, leaving formatting to the user.
7481         * benchtests/json-lib.c: New file.
7482         * benchtests/json-lib.h: Likewise.
7483
7484 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7485
7486         [BZ #15215]
7487         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7488         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7489         memory barriers.  Add comments.
7490         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7491         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7492         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7493         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7494         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7495         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7496
7497 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7498
7499         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7500         * sysdeps/s390/s390-64/configure.ac: ... this ...
7501         * sysdeps/s390/configure.ac: ... to here.
7502         * sysdeps/s390/s390-32/configure: Delete file.
7503         * sysdeps/s390/s390-64/configure: Delete file.
7504         * sysdeps/s390/configure: Regenerate.
7505
7506 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7507
7508         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7509
7510 2014-04-11  Will Newton  <will.newton@linaro.org>
7511
7512         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7513         to zero if it is not defined elsewhere.  (mtrim): Test
7514         the value of MALLOC_DEBUG with #if rather than #ifdef.
7515
7516 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7517
7518         * benchtests/pthread_once-inputs: New file.
7519         * benchtests/pthread_once-source.c: New file.
7520         * benchtests/README: Update documentation.
7521
7522 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7523             H.J. Lu  <hongjiu.lu@intel.com>
7524
7525         [BZ #16275]
7526         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7527         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7528         * sysdeps/x86_64/configure: Regenerated.
7529         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7530         macro.
7531         (REGISTER_SAVE_RAX): Likewise.
7532         (REGISTER_SAVE_RCX): Likewise.
7533         (REGISTER_SAVE_RDX): Likewise.
7534         (REGISTER_SAVE_RSI): Likewise.
7535         (REGISTER_SAVE_RDI): Likewise.
7536         (REGISTER_SAVE_R8): Likewise.
7537         (REGISTER_SAVE_R9): Likewise.
7538         (REGISTER_SAVE_BND0): Likewise.
7539         (REGISTER_SAVE_BND1): Likewise.
7540         (REGISTER_SAVE_BND2): Likewise.
7541         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7542         bound registers when calling _dl_fixup.
7543
7544 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7545
7546         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7547         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7548         of its definition.
7549         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7550         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7551         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7552         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7553         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7554         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7555         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7556
7557 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7558
7559         [BZ #15514]
7560         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7561         pathconf(_PC_NAME_MAX).
7562
7563 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7564
7565         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7566         Remove macro usage.
7567         (__PTHREAD_SPINS): Move definition to ...
7568         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7569         (__PTHREAD_SPINS): ... here.
7570         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7571         (__PTHREAD_SPIN): Likewise.
7572         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7573         (__PTHREAD_SPIN): Likewise.
7574         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7575         (__PTHREAD_SPIN): Likewise.
7576         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7577         (__PTHREAD_SPIN): Likewise.
7578         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7579         (__PTHREAD_SPIN): Likewise.
7580         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7581         (__PTHREAD_SPIN): Likewise.
7582         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7583         (__PTHREAD_SPIN): Likewise.
7584         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7585         (__PTHREAD_SPIN): Likewise.
7586         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7587         (__PTHREAD_SPIN): Likewise.
7588         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7589         (__PTHREAD_SPIN): Likewise.
7590         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7591         (__PTHREAD_SPIN): Likewise.
7592         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7593         (__PTHREAD_SPIN): Likewise.
7594
7595         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7596         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7597         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7598         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7599         imply folder.
7600         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7601         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7602         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7603         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7604         correct imply path.
7605         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7606         strlen symbol for non multi-arch builds.
7607         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7608         missing hidden_def and weak_alias.
7609
7610 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7611
7612         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7613
7614 2014-04-07  Will Newton  <will.newton@linaro.org>
7615
7616         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7617         and contents.  [!_LIBC] Remove #ifndef and contents.
7618         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7619         * string/memccpy.c (__memccpy): Use ANSI prototype.
7620         * string/memfrob.c (memfrob): Likewise.
7621         * string/strcoll.c (STRCOLL): Likewise.
7622         * string/strlen.c (strlen): Likewise.
7623         * string/strtok.c (STRTOK): Likewise.
7624         * string/strcat.c: Remove unused #include of memcopy.h.
7625         (strcat): Use ANSI prototype.
7626         * string/strchr.c: Remove unused #include of memcopy.h.
7627         (strchr): Use ANSI prototype.
7628         * string/strcmp.c: Remove unused #include of memcopy.h.
7629         (strcmp): Use ANSI prototype.
7630         * string/strcpy.c: Remove unused #include of memcopy.h.
7631         (strcpy): Use ANSI prototype.
7632
7633 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7634
7635         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7636         * config.make.in (config-extra-cppflags): Set it from
7637         libc_extra_cppflags.
7638         * configure.ac (libc_extra_cflags): Make it accumulate over
7639         configure fragments.
7640         (libc_extra_cppflags): New flag.
7641         * configure. Regenerate.
7642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7643         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7644         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7646
7647         [BZ #16815]
7648         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7649         result for FE_DOWNWARD rounding mode.
7650         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7651         Likewise.
7652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7653
7654 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7655
7656         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7657         in function argument name.
7658
7659 2014-04-03  David Svoboda  <svoboda@cert.org>
7660
7661         [BZ #5666]
7662         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7663         explicitly.
7664
7665 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7666
7667         * elf/dl-unmap-segments.h: New file.
7668         * sysdeps/generic/ldsodefs.h
7669         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7670         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7671         * elf/dl-fptr.c: Likewise.
7672         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7673         * sysdeps/aarch64/tlsdesc.c: Likewise.
7674         * sysdeps/arm/tlsdesc.c: Likewise.
7675         * sysdeps/i386/tlsdesc.c: Likewise.
7676         * sysdeps/tile/dl-runtime.c: Likewise.
7677         * sysdeps/x86_64/tlsdesc.c: Likewise.
7678         * elf/dl-load.h: New file.
7679         * elf/dl-load.c: Include it.
7680         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7681         Macros moved to dl-load.h.
7682         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7683         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7684         Use _dl_unmap_segments in place of __munmap.
7685         Break out segment-mapping loop into ...
7686         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7687
7688 2014-04-03  Will Newton  <will.newton@linaro.org>
7689
7690         * elf/dl-lookup.c (do_lookup_x): Remove comment
7691         referring to nested function and move variable
7692         declarations down to before first use.
7693
7694 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7695
7696         [BZ #16799]
7697         [BZ #16800]
7698         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7699         with 0 numerator.
7700         * math/s_catanf.c (__catanf): Likewise.
7701         * math/s_catanh.c (__catanh): Likewise.
7702         * math/s_catanhf.c (__catanhf): Likewise.
7703         * math/s_catanhl.c (__catanhl): Likewise.
7704         * math/s_catanl.c (__catanl): Likewise.
7705         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7706         by positive zero when computing -Inf result.
7707         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7708         (catanh_test): Likewise.
7709         * sysdeps/i386/fpu/libm-test-ulps: Update.
7710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7711
7712         [BZ #16789]
7713         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7714         instead of using underflowing value in computing result.
7715         * math/s_clog10.c (__clog10): Likewise.
7716         * math/s_clog10f.c (__clog10f): Likewise.
7717         * math/s_clog10l.c (__clog10l): Likewise.
7718         * math/s_clogf.c (__clogf): Likewise.
7719         * math/s_clogl.c (__clogl): Likewise.
7720         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7721         (clog10_test): Likewise.
7722         * sysdeps/i386/fpu/libm-test-ulps: Update.
7723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7724
7725 2014-04-02  Alan Modra  <amodra@gmail.com>
7726
7727         [BZ #16739]
7728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7729         output when value is near a power of two.  Use int64_t for lx and
7730         remove casts.  Use decimal rather than hex exponent constants.
7731         Don't use long double multiplication when double will suffice.
7732         * math/libm-test.inc (nextafter_test_data): Add tests.
7733         * NEWS: Add 16739 and 16786 to bug list.
7734
7735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7736
7737         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7738
7739 2014-04-01  Will Newton  <will.newton@linaro.org>
7740
7741         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7742         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7743
7744 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7745
7746         [BZ #13347]
7747         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7748         * nptl/tst-setuid2.c: New file.
7749         * nptl/Makefile (xtests): Add tst-setuid2.
7750
7751 2014-04-01  Alan Modra  <amodra@gmail.com>
7752
7753         [BZ #16786]
7754         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7755
7756 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7757
7758         [BZ #6803]
7759         [BZ #6804]
7760         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7761         set errno as appropriate.
7762         * math/w_scalbf.c (__scalbf): Likewise.
7763         * math/w_scalbl.c (__scalbl): Likewise.
7764         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7765         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7766         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7767         Add more NaN tests.
7768
7769         [BZ #16349]
7770         * math/w_atan2.c: Include <errno.h>.
7771         (__atan2): Set errno for result underflowing to zero.
7772         * math/w_atan2f.c: Include <errno.h>.
7773         (__atan2f): Set errno for result underflowing to zero.
7774         * math/w_atan2l.c: Include <errno.h>.
7775         (__atan2l): Set errno for result underflowing to zero.
7776         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7777         tests.
7778         * math/auto-libm-test-out: Regenerated.
7779
7780 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7781
7782         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7783         Encode instruction correctly in little endian.
7784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7785         Likewise.
7786         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7787         Likewise.
7788         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7789         Likewise.
7790         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7791         Likewise.
7792
7793 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7794
7795         [BZ #9894]
7796         * sysdeps/unix/sysv/linux/kernel-features.h
7797         [__sparc__ && !__arch64__ && !__sparc_v9__]
7798         (__ASSUME_SET_ROBUST_LIST): Do not define.
7799         [__sparc__ && !__arch64__ && !__sparc_v9__]
7800         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7801         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7802         Likewise.
7803         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7804         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7805         (__ASSUME_REQUEUE_PI): Likewise.
7806         (__ASSUME_SET_ROBUST_LIST): Likewise.
7807         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7808         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7809         Undefine.
7810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7811         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7812         Likewise.
7813         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7814         Likewise.
7815         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7816         Likewise.
7817         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7818         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7819         Undefine.
7820         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7821         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7822         Likewise.
7823
7824         [BZ #16648]
7825         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7826         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7827         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7828
7829 2014-03-31  Will Newton  <will.newton@linaro.org>
7830
7831         * benchtests/Makefile (bench): Add ffs and ffsll to list
7832         of tests.
7833         * benchtests/ffs-inputs: New file.
7834         * benchtests/ffsll-inputs: Likewise.
7835
7836 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7837
7838         [BZ #16770]
7839         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7840         too large before casting to int.
7841         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7842         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7843         * math/libm-test.inc (scalb_test_data): Add more tests.
7844
7845 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7846
7847         * benchtests/Makefile (DETAILED_OPT): New make option.
7848         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7849         set.
7850         * benchtests/bench-skeleton.c: Include stdbool.h.
7851         (main): Store and print timings per input.
7852         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7853         member to each argument value.
7854         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7855         (_print_arg_data): Initialize per-input timing to 0.
7856
7857         * benchtests/Makefile (timing-type): New binary.
7858         (bench-clean): Also remove bench-timing-type.
7859         (bench): New target for timing-type.
7860         (bench-func): Print output in JSON format.
7861         * benchtests/bench-skeleton.c (main): Print output in JSON
7862         format.
7863         * benchtests/bench-timing-type.c: New file.
7864         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7865         (TIMING_PRINT_STATS): Remove.
7866         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7867         name separately.
7868
7869         * benchtests/bench-modf.c: Remove.
7870         * benchtests/modf-inputs: New inputs file.
7871
7872 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7873
7874         [BZ #16362]
7875         * math/s_clog10.c (M_PI_LOG10E): New macro.
7876         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7877         imaginary parts are 0.
7878         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7879         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7880         imaginary parts are 0.
7881         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7882         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7883         imaginary parts are 0.
7884         * math/libm-test.inc (clog10_test_data): Update expected results
7885         for when real and imaginary parts are 0.
7886
7887 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7888
7889         * elf/dl-load.c: Finish conversion of __builtin_expect into
7890         __glibc_{un}likely.
7891
7892 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7893
7894         [BZ #16348]
7895         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7896         1+x for argument with exponent below -67.
7897         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7898         Likewise.
7899         * math/auto-libm-test-in: Add more tests of exp.
7900         * math/auto-libm-test-out: Regenerated.
7901
7902 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7903
7904         [BZ #16759]
7905         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7906         (nscd_getnetgrent): Use it.
7907
7908         [BZ #16760]
7909         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7910         of stpcpy.
7911
7912 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7913
7914         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7915         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7916         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7917         (lll_robust_unlock): Remove out of line section. Use cfi
7918         intrinsics.
7919         (LLL_STUB_UNWIND_INFO*): Remove.
7920         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7921         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7922         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7923         (lll_robust_unlock): Remove out of line section. Use cfi
7924         intrinsics.
7925         (LLL_STUB_UNWIND_INFO*): Remove.
7926
7927 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7928
7929         [BZ #16758]
7930         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7931         blank values.
7932
7933 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7934
7935         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7936
7937 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7938
7939         [BZ #16198]
7940         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7941         fnstenv.
7942         * math/test-fenv-preserve.c: New file.
7943         * math/Makefile (tests): Add test-fenv-preserve.
7944
7945 2014-03-26  Will Newton <will.newton@linaro.org>
7946
7947         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7948
7949 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7950
7951         * scripts/versionlist.awk: Partition the version sets and emit all
7952         GLIBC_* (sorted) before all others (sorted).
7953
7954 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7955
7956         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7957         GLIBC_2.2.5 version.
7958
7959 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7960
7961         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7962         calls.
7963
7964         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7965         previous change.
7966
7967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7968
7969 2014-03-25  Andreas Schwab  <schwab@suse.de>
7970
7971         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7972         label to be used after in6ailist is initialized.
7973
7974 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7975
7976         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7977         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7978
7979 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7980
7981         [BZ #16357]
7982         [BZ #16599]
7983         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7984         min_plus_half.
7985         (fp_formats): Update initializers.
7986         (init_fp_formats): Initialize new field.
7987         (output_for_one_input_case): Allow underflow for results up to
7988         min_plus_half.
7989         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7990         * math/auto-libm-test-in: Don't mark some underflows from asin and
7991         atanh as spurious.
7992         * math/auto-libm-test-out: Regenerated.
7993         * sysdeps/i386/fpu/libm-test-ulps: Update.
7994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7995
7996 2014-03-25  Andreas Schwab  <schwab@suse.de>
7997
7998         * libio/Makefile (tst-ftell-partial-wide-ENV)
7999         (tst-ftell-active-handler-ENV): Define.
8000
8001 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8002
8003         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8004
8005 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8006
8007         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8008
8009 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8010
8011         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8012         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8013         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8014
8015 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8016
8017         [BZ #16634]
8018         * elf/dl-load.c (open_verify): Add mode parameter.
8019         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8020         (open_path): Change from boolean 'secure' to complete flag 'mode'
8021         (_dl_map_object): Adjust.
8022         * elf/Makefile (tests): Add tst-dlopen-aout.
8023         * elf/tst-dlopen-aout.c: New test.
8024
8025 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8026
8027         [BZ #16714]
8028         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8029         (struct stat): Rename member pad0 to __glibc_reserved0.
8030
8031         [BZ #16712]
8032         * sysdeps/s390/s390-32/bits/wordsize.h
8033         (__WORDSIZE32_SIZE_ULONG): New define.
8034         * sysdeps/s390/s390-64/bits/wordsize.h
8035         (__WORDSIZE32_SIZE_ULONG): Likewise.
8036         * sysdeps/generic/stdint.h (SIZE_MAX):
8037         Define as UL if __WORDSIZE32_SIZE_ULONG.
8038
8039         [BZ #16713]
8040         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8041         (__glibc_reserved0): New variable.
8042         (sa_flags): Change type to int.
8043
8044         * posix/Makefile (before-compile): Use += before-compile instead
8045         of a :=.
8046
8047         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8048         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8049
8050 2014-03-20  Andreas Schwab  <schwab@suse.de>
8051
8052         [BZ #16743]
8053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8054         non-matching result from nscd.
8055
8056 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8057
8058         * scripts/bench.py: Moved to ...
8059         * benchtests/scripts/bench.py: ... here.
8060         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8061
8062 2014-03-24  Andreas Schwab  <schwab@suse.de>
8063
8064         [BZ #16002]
8065         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8066         alloca_account and account alloca use for struct in6ailist.
8067
8068 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8069
8070         [BZ #16284]
8071         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8072         rounding mode to recompute results that overflow to infinity or
8073         underflow to zero.
8074         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8075         bug 16284.
8076         * math/auto-libm-test-out: Regenerated.
8077         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8078         (ccosh_test): Likewise.
8079         (csin_test_data): Use plus_oflow.
8080         (csin_test): Use ALL_RM_TEST.
8081         (csinh_test_data): Use plus_oflow.
8082         (csinh_test): Use ALL_RM_TEST.
8083         * sysdeps/i386/fpu/libm-test-ulps: Update.
8084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8085
8086 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8087
8088         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8089         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8090         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8091
8092         [BZ #16731]
8093         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8094         when x - 1 is zero.
8095         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8096         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8097         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8098         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8099         argument is 1.
8100         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8101         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8102         zero.
8103         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8104         * sysdeps/i386/fpu/libm-test-ulps: Update.
8105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8106
8107 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8108
8109         * scripts/bench.pl: Remove file.
8110         * scripts/bench.py: New benchmark script.
8111         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8112         * benchtests/README: Mention python dependency.
8113         * scripts/pylintrc: New file.
8114         * scripts/pylint: New file.
8115
8116         * bits/mathdef.h: Use #ifdef instead of #if.
8117         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8118         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8119         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8120         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8121         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8122         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8123
8124 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8125             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8126
8127         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8129         and strpbrk-ppc64 objects.
8130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8131         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8132         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8133         multiarch strpbrk for POWER7.
8134         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8135         multiarch strpbrk for PPC64.
8136         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8137         ifunc selector.
8138         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8139         strpbrk for POWER7.
8140
8141 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8142
8143         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8144         (atan_test): Likewise.
8145         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8146         (atanh_test): Use ALL_RM_TEST.
8147         (atan2_test_data): Likewise.
8148         (cabs_test): Likewise.
8149         (cacosh_test): Likewise.
8150         (carg_test): Likewise.
8151         (casin_test): Likewise.
8152         (casinh_test): Likewise.
8153         (cbrt_test): Likewise.
8154         (csqrt_test): Likewise.
8155         (erf_test): Likewise.
8156         (erfc_test): Likewise.
8157         (pow10_test): Likewise.
8158         (exp2_test): Likewise.
8159         (hypot_test): Likewise.
8160         (j0_test): Likewise.
8161         (j1_test): Likewise.
8162         (lgamma_test): Likewise.
8163         (gamma_test): Likewise.
8164         (sincos_test): Likewise.
8165         (tanh_test): Likewise.
8166         (y0_test): Likewise.
8167         (y1_test): Likewise.
8168         * sysdeps/i386/fpu/libm-test-ulps: Update.
8169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170
8171 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8172
8173         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8175         and strcspn-ppc64 objects.
8176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8177         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8178         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8179         multiarch strcspn for POWER7.
8180         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8181         multiarch strcspn for PPC64.
8182         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8183         ifunc selector.
8184         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8185         strcspn for POWER7.
8186
8187 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8188
8189         * math/gen-libm-test.pl (generate_testfile): Expect only function
8190         name as argument to AUTO_TESTS_* and pass results for all rounding
8191         modes to parse_args.
8192         (parse_auto_input): Separate inputs of automatic tests from
8193         outputs before storing in %auto_tests.
8194         * math/libm-test.inc (acos_test_data): Update call to
8195         AUTO_TESTS_f_f.
8196         (acos_test): Use ALL_RM_TEST.
8197         (acos_tonearest_test_data): Remove.
8198         (acos_test_tonearest): Likewise.
8199         (acos_towardzero_test_data): Likewise.
8200         (acos_test_towardzero): Likewise.
8201         (acos_downward_test_data): Likewise.
8202         (acos_test_downward): Likewise.
8203         (acos_upward_test_data): Likewise.
8204         (acos_test_upward): Likewise.
8205         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8206         (asin_test_data): Likewise.
8207         (asin_test): Use ALL_RM_TEST.
8208         (asin_tonearest_test_data): Remove.
8209         (asin_test_tonearest): Likewise.
8210         (asin_towardzero_test_data): Likewise.
8211         (asin_test_towardzero): Likewise.
8212         (asin_downward_test_data): Likewise.
8213         (asin_test_downward): Likewise.
8214         (asin_upward_test_data): Likewise.
8215         (asin_test_upward): Likewise.
8216         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8217         (atan_test_data): Likewise.
8218         (atanh_test_data): Likewise.
8219         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8220         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8221         (carg_test_data): Likewise.
8222         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8223         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8224         (ccosh_test_data): Likewise.
8225         (cexp_test_data): Likewise.
8226         (clog_test_data): Likewise.
8227         (clog10_test_data): Likewise.
8228         (cos_test_data): Update call to AUTO_TESTS_f_f.
8229         (cos_test): Use ALL_RM_TEST.
8230         (cos_tonearest_test_data): Remove.
8231         (cos_test_tonearest): Likewise.
8232         (cos_towardzero_test_data): Likewise.
8233         (cos_test_towardzero): Likewise.
8234         (cos_downward_test_data): Likewise.
8235         (cos_test_downward): Likewise.
8236         (cos_upward_test_data): Likewise.
8237         (cos_test_upward): Likewise.
8238         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8239         (cosh_test): Use ALL_RM_TEST.
8240         (cosh_tonearest_test_data): Remove.
8241         (cosh_test_tonearest): Likewise.
8242         (cosh_towardzero_test_data): Likewise.
8243         (cosh_test_towardzero): Likewise.
8244         (cosh_downward_test_data): Likewise.
8245         (cosh_test_downward): Likewise.
8246         (cosh_upward_test_data): Likewise.
8247         (cosh_test_upward): Likewise.
8248         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8249         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8250         (ctan_test_data): Likewise.
8251         (ctan_test): Use ALL_RM_TEST.
8252         (ctan_tonearest_test_data): Remove.
8253         (ctan_test_tonearest): Likewise.
8254         (ctan_towardzero_test_data): Likewise.
8255         (ctan_test_towardzero): Likewise.
8256         (ctan_downward_test_data): Likewise.
8257         (ctan_test_downward): Likewise.
8258         (ctan_upward_test_data): Likewise.
8259         (ctan_test_upward): Likewise.
8260         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8261         (ctanh_test): Use ALL_RM_TEST.
8262         (ctanh_tonearest_test_data): Remove.
8263         (ctanh_test_tonearest): Likewise.
8264         (ctanh_towardzero_test_data): Likewise.
8265         (ctanh_test_towardzero): Likewise.
8266         (ctanh_downward_test_data): Likewise.
8267         (ctanh_test_downward): Likewise.
8268         (ctanh_upward_test_data): Likewise.
8269         (ctanh_test_upward): Likewise.
8270         (erf_test_data): Update call to AUTO_TESTS_f_f.
8271         (erfc_test_data): Likewise.
8272         (exp_test_data): Likewise.
8273         (exp_test): Use ALL_RM_TEST.
8274         (exp_tonearest_test_data): Remove.
8275         (exp_test_tonearest): Likewise.
8276         (exp_towardzero_test_data): Likewise.
8277         (exp_test_towardzero): Likewise.
8278         (exp_downward_test_data): Likewise.
8279         (exp_test_downward): Likewise.
8280         (exp_upward_test_data): Likewise.
8281         (exp_test_upward): Likewise.
8282         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8283         (exp10_test): Use ALL_RM_TEST.
8284         (exp10_tonearest_test_data): Remove.
8285         (exp10_test_tonearest): Likewise.
8286         (exp10_towardzero_test_data): Likewise.
8287         (exp10_test_towardzero): Likewise.
8288         (exp10_downward_test_data): Likewise.
8289         (exp10_test_downward): Likewise.
8290         (exp10_upward_test_data): Likewise.
8291         (exp10_test_upward): Likewise.
8292         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8293         (expm1_test_data): Likewise.
8294         (expm1_test): Use ALL_RM_TEST.
8295         (expm1_tonearest_test_data): Remove.
8296         (expm1_test_tonearest): Likewise.
8297         (expm1_towardzero_test_data): Likewise.
8298         (expm1_test_towardzero): Likewise.
8299         (expm1_downward_test_data): Likewise.
8300         (expm1_test_downward): Likewise.
8301         (expm1_upward_test_data): Likewise.
8302         (expm1_test_upward): Likewise.
8303         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8304         (fma_test): Use ALL_RM_TEST.
8305         (fma_towardzero_test_data): Remove.
8306         (fma_test_towardzero): Likewise.
8307         (fma_downward_test_data): Likewise.
8308         (fma_test_downward): Likewise.
8309         (fma_upward_test_data): Likewise.
8310         (fma_test_upward): Likewise.
8311         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8312         (j0_test_data): Update call to AUTO_TESTS_f_f.
8313         (j1_test_data): Likewise.
8314         (jn_test_data): Update call to AUTO_TESTS_if_f.
8315         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8316         (log_test_data): Update call to AUTO_TESTS_f_f.
8317         (log10_test_data): Likewise.
8318         (log1p_test_data): Likewise.
8319         (log2_test_data): Likewise.
8320         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8321         (pow_tonearest_test_data): Likewise.
8322         (sin_test_data): Update call to AUTO_TESTS_f_f.
8323         (sin_test): Use ALL_RM_TEST.
8324         (sin_tonearest_test_data): Remove.
8325         (sin_test_tonearest): Likewise.
8326         (sin_towardzero_test_data): Likewise.
8327         (sin_test_towardzero): Likewise.
8328         (sin_downward_test_data): Likewise.
8329         (sin_test_downward): Likewise.
8330         (sin_upward_test_data): Likewise.
8331         (sin_test_upward): Likewise.
8332         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8333         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8334         (sinh_test): Use ALL_RM_TEST.
8335         (sinh_tonearest_test_data): Remove.
8336         (sinh_test_tonearest): Likewise.
8337         (sinh_towardzero_test_data): Likewise.
8338         (sinh_test_towardzero): Likewise.
8339         (sinh_downward_test_data): Likewise.
8340         (sinh_test_downward): Likewise.
8341         (sinh_upward_test_data): Likewise.
8342         (sinh_test_upward): Likewise.
8343         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8344         (sqrt_test): Use ALL_RM_TEST.
8345         (sqrt_tonearest_test_data): Remove.
8346         (sqrt_test_tonearest): Likewise.
8347         (sqrt_towardzero_test_data): Likewise.
8348         (sqrt_test_towardzero): Likewise.
8349         (sqrt_downward_test_data): Likewise.
8350         (sqrt_test_downward): Likewise.
8351         (sqrt_upward_test_data): Likewise.
8352         (sqrt_test_upward): Likewise.
8353         (tan_test_data): Update call to AUTO_TESTS_f_f.
8354         (tan_test): Use ALL_RM_TEST.
8355         (tan_tonearest_test_data): Remove.
8356         (tan_test_tonearest): Likewise.
8357         (tan_towardzero_test_data): Likewise.
8358         (tan_test_towardzero): Likewise.
8359         (tan_downward_test_data): Likewise.
8360         (tan_test_downward): Likewise.
8361         (tan_upward_test_data): Likewise.
8362         (tan_test_upward): Likewise.
8363         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8364         (tgamma_test_data): Likewise.
8365         (y0_test_data): Likewise.
8366         (y1_test_data): Likewise.
8367         (yn_test_data): Update call to AUTO_TESTS_if_f.
8368         (main): Do not call removed functions.
8369
8370 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8371
8372         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8373         (ldexp_test_data): Remove.
8374         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8375         scalbn_test_data.
8376         (scalb_test): Use ALL_RM_TEST.
8377
8378 2014-03-19  Andreas Schwab  <schwab@suse.de>
8379
8380         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8381
8382 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8383
8384         [BZ #16649]
8385         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8386         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8387         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8388         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8389         (__ASSUME_PREADV): Undefine.
8390         (__ASSUME_PWRITEV): Likewise.
8391
8392 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8393
8394         * bits/mman-linux.h: Add comment about non-Linux use.
8395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8396         bits/mman-linux.h resting place.
8397
8398         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8399         * bits/mman-linux.h: ... here.
8400
8401 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8402
8403         * conform/conformtest.pl: Add standard definition when calling C
8404         preprocessor on data files.
8405         (checknamespace): Remove unused variable.
8406
8407 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8408
8409         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8410         minus_oflow, plus_uflow and minus_uflow in expected results.
8411         * math/libm-test.inc (scalbn_test_data): Add more tests of
8412         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8413         minus_uflow.
8414         (scalbn_test): Use ALL_RM_TEST.
8415         (scalbln_test_data): Add more tests of negative arguments.  Use
8416         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8417         (scalbln_test): Use ALL_RM_TEST.
8418
8419 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8420
8421         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8422
8423 2014-03-18  Will Newton  <will.newton@linaro.org>
8424
8425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8426         inaccurate comment.
8427
8428 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8429
8430         * Makerules [!subdir] (check-abi): Exit with error status if a
8431         test failed.
8432
8433 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8434
8435         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8436         for rint.  Include results for all rounding modes.
8437         (nearbyint_test): Use ALL_RM_TEST.
8438         (rint_test_data): Include all tests used for nearbyint.
8439
8440 2014-03-17  Will Newton  <will.newton@linaro.org>
8441
8442         * nptl/sysdeps/pthread/pthread.h: Revert previous
8443         change.
8444
8445         * sysdeps/generic/ldsodefs.h: Revert previous
8446         change.
8447
8448         * libio/genops.c: Revert previous change.
8449         * libio/libioP.h: Likewise.
8450         * stdio-common/vfprintf.c: Likewise.
8451
8452         * sysdeps/generic/math_private.h: Revert previous
8453         change.
8454
8455         * sysdeps/generic/math_private.h: Check whether
8456         HAVE_RM_CTX is defined with #ifdef rather
8457         than #if.
8458
8459         * argp/argp-fmtstream.h: Check whether
8460         __STRICT_ANSI__ is defined with #ifdef rather
8461         than #if.
8462         * argp/argp.h: Likewise.
8463
8464         * libio/genops.c: Check whether
8465         _IO_JUMPS_OFFSET is defined with #ifdef rather
8466         than #if.
8467         * libio/libioP.h: Likewise.
8468         * stdio-common/vfprintf.c: Likewise.
8469
8470         * sysdeps/generic/ldsodefs.h: Check whether
8471         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8472         than #if.
8473
8474         * nptl/sysdeps/pthread/pthread.h: Check
8475         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8476         its value.
8477
8478 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8479
8480         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8481         setting O_APPEND.
8482         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8483         test case.
8484
8485         [BZ #16680]
8486         * libio/fileops.c (_IO_file_open): Seek to end of file but
8487         don't cache the offset.
8488         (get_file_offset): Remove function.
8489         (do_ftell): Use cached offset when available.
8490         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8491         don't cache the offset.
8492         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8493         case.
8494         (do_one_test): Call it.
8495         (do_ftell_test): Fix up expected old offset for a+ mode.
8496         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8497         available.
8498
8499         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8500         up test status with function return status.
8501         (do_write_test): Likewise.
8502         (do_append_test): Likewise.
8503
8504         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8505         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8506         Remove.
8507
8508 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8509
8510         * math/gen-libm-test.pl (parse_args): Handle results specified for
8511         each rounding mode separately.
8512         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8513         tests and results from lrint_tonearest_test_data,
8514         lrint_towardzero_test_data, lrint_downward_test_data and
8515         lrint_upward_test_data.
8516         (lrint_test): Use ALL_RM_TEST.
8517         (lrint_tonearest_test_data): Remove.
8518         (lrint_test_tonearest): Likewise.
8519         (lrint_towardzero_test_data): Likewise.
8520         (lrint_test_towardzero): Likewise.
8521         (lrint_downward_test_data): Likewise.
8522         (lrint_test_downward): Likewise.
8523         (lrint_upward_test_data): Likewise.
8524         (lrint_test_upward): Likewise.
8525         (llrint_test_data): Merge in per-rounding-mode tests and results
8526         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8527         llrint_downward_test_data and llrint_upward_test_data.
8528         (llrint_test): Use ALL_RM_TEST.
8529         (llrint_tonearest_test_data): Remove.
8530         (llrint_test_tonearest): Likewise.
8531         (llrint_towardzero_test_data): Likewise.
8532         (llrint_test_towardzero): Likewise.
8533         (llrint_downward_test_data): Likewise.
8534         (llrint_test_downward): Likewise.
8535         (llrint_upward_test_data): Likewise.
8536         (llrint_test_upward): Likewise.
8537         (rint_test_data): Merge in per-rounding-mode tests and results
8538         from rint_tonearest_test_data, rint_towardzero_test_data,
8539         rint_downward_test_data and rint_upward_test_data.  Add
8540         per-rounding-mode results for tests not in those arrays.
8541         (rint_test): Use ALL_RM_TEST.
8542         (rint_tonearest_test_data): Remove.
8543         (rint_test_tonearest): Likewise.
8544         (rint_towardzero_test_data): Likewise.
8545         (rint_test_towardzero): Likewise.
8546         (rint_downward_test_data): Likewise.
8547         (rint_test_downward): Likewise.
8548         (rint_upward_test_data): Likewise.
8549         (rint_test_upward): Likewise.
8550         (main): Don't call removed functions.
8551
8552 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8553
8554         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8555         "Compiled on ..." crapola.  It is anti-useful.
8556
8557 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8558
8559         * scripts/evaluate-test.sh: Handle fourth argument to determine
8560         whether test run should stop on failure.
8561         * Makeconfig (stop-on-test-failure): New variable.
8562         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8563         $(stop-on-test-failure).
8564         * Makefile (tests): Give a summary of results from testing and
8565         exit with failure status if they include an ERROR or FAIL.
8566         (xtests): Likewise.
8567         * manual/install.texi (Configuring and compiling): Mention
8568         stop-on-test-failure=y.
8569         * INSTALL: Regenerated.
8570
8571 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8572
8573         * scripts/versionlist.awk: New file.
8574         * Makerules [$(build-shared) = yes]
8575         (postclean-generated): Add Versions.def, not Versions.def.v and
8576         Versions.def.v.i.
8577         ($(common-objpfx)Versions.def.v.i): Target removed.
8578         ($(common-objpfx)Versions.def): New target.
8579         ($(common-objpfx)Versions.all): Depend on that rather that
8580         $(common-objpfx)Versions.def.v.
8581         * Versions.def: File removed.
8582
8583         * Makeconfig (+gccwarn): Add -Wundef.
8584         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8585         a dl-sysdep.h breaking its contract.
8586         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8587         * include/stackinfo.h: New file.
8588         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8589         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8590         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8591         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8592         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8593         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8594         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8595         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8596         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8597         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8598         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8599         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8600         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8601         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8602         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8603
8604 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8605
8606         [BZ #16707]
8607         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8608         implementation.
8609         * math/libm-test.inc (round_test_data): Add more tests.
8610
8611         [BZ #16706]
8612         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8613         implementation.
8614         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8615
8616         [BZ #16701]
8617         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8618         implementation.
8619         * math/libm-test.inc (ceil_test_data): Add more tests.
8620
8621         * math/libm-test.inc (trunc_test_data): Add more tests related to
8622         BZ#16414.
8623
8624 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8625
8626         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8627         with #if rather than #ifdef.
8628         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8629
8630 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8631
8632         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8633         first.  Disable AVX-512 GCC support if assembler doesn't support
8634         it.
8635         * sysdeps/x86_64/configure: Regenerated.
8636
8637 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8638
8639         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8640         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8641         (__old_pthread_attr_setstack): Likewise.
8642         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8643         [!_STACK_GROWS_DOWN]: Likewise.
8644
8645 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8646
8647         * config.make.in (have-bash2): Delete.
8648         * configure.ac (libc_cv_have_bash2): Delete.
8649         * configure: Regenerate.
8650         * elf/Makefile (common-ldd-rewrite): Rename to ...
8651         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8652         (sh-ldd-rewrite): Delete.
8653         (bash-ldd-rewrite): Delete.
8654         (have-bash2): Delete checks.
8655         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8656         ldd-rewrite.
8657
8658         * config.make.in (have-ksh): Delete.
8659         (KSH): Delete.
8660         * configure.ac (libc_cv_have_ksh): Delete.
8661         * configure: Regenerate.
8662
8663         * elf/Makefile: Delete $(have-ksh) check.
8664         ($(objpfx)sotruss): Change KSH to BASH.
8665         * elf/sotruss.ksh: Rename to ...
8666         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8667         function style to match POSIX.  Drop ksh vim mode setting.
8668
8669         * manual/time.texi (Specifying the Time Zone with TZ): Change
8670         Tuesday to Thursday.
8671
8672         * debug/tst-longjmp_chk2.c: Update header comment.
8673         (stackoverflow_handler): Add comment.  Call assert on pass value.
8674
8675 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8676
8677         [BZ #16194]
8678         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8679         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8680         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8681         (La_x86_64_vector): Add zmm.
8682         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8683         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8684         ($(objpfx)tst-audit10): New target.
8685         ($(objpfx)tst-audit10.out): Likewise.
8686         (tst-audit10-ENV): New.
8687         (AVX512-CFLAGS): Likewise.
8688         (CFLAGS-tst-audit10.c): Likewise.
8689         (CFLAGS-tst-auditmod10a.c): Likewise.
8690         (CFLAGS-tst-auditmod10b.c): Likewise.
8691         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8692         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8693         * sysdeps/x86_64/configure: Regenerated.
8694         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8695         AVX-512 zmm register support.
8696         (_dl_x86_64_save_sse): Likewise.
8697         (_dl_x86_64_restore_sse): Likewise.
8698         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8699         size vector registers.
8700         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8701         (ZMM_SIZE): Likewise.
8702         * sysdeps/x86_64/tst-audit10.c: New file.
8703         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8704         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8705
8706 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8707
8708         * configure.ac (HAVE_EHDR_START): New check.
8709         * configure: Regenerated.
8710         * config.h.in (HAVE_EHDR_START): New #undef.
8711         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8712         assuming the lowest-addressed segment maps the start of the file.
8713
8714 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8715
8716         * INSTALL: Regenerated.
8717
8718 2014-03-13  Will Newton  <will.newton@linaro.org>
8719
8720         * manual/setjmp.texi (System V contexts): Improve
8721         clarity and grammar of documentation.
8722
8723 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8724
8725         [BZ #16381]
8726         * elf/Makefile (tests): Add tst-pie2.
8727         (tests-pie): Add tst-pie2.
8728         * elf/tst-pie2.c: New file.
8729         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8730         for ET_EXEC.
8731         * elf/rtld.c (map_doit): Load executable as lt_executable.
8732         (dl_main): Likewise.
8733
8734 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8735
8736         [BZ #16642]
8737         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8738         (__ASSUME_PSELECT): Undefine.
8739
8740 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8741
8742         [BZ #16689]
8743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8744         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8745         static build.
8746         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8747         selector for static builds.
8748
8749 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8750
8751         [BZ #16695]
8752         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8753         key in the buffer.
8754
8755 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8756
8757         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8758         IFUNC selector for static builds.
8759
8760 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8761
8762         * sysdeps/mips/math_private.h [__mips_hard_float]
8763         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8764         libc_feresetround_mips_ctx.
8765         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8766         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8767         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8768
8769         [BZ #16677]
8770         * math/s_nextafter.c (__nextafter): Do not return value from
8771         overflowing computation.
8772         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8773         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8774         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8775         Likewise.
8776         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8777         Likewise.
8778         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8779         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8780
8781 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8782
8783         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8784         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8785         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8786         the new mov targetting sp.
8787
8788 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8789
8790         [BZ #16683]
8791         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8792         Define it for static builds as well.
8793         (NO_BZERO_IMPL): Likewise.
8794
8795 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8796
8797         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8798         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8799         multiarch strspn for PPC64.
8800         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8801         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8803         (__libc_ifunc_impl_list): Likewise.
8804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8805         multiarch optimizations
8806         * string/strspn.c (strspn): Using macro to redefine symbol name.
8807
8808 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8809             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8810
8811         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8812         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8813         multiarch strncat for PPC64.
8814         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8815         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8817         (__libc_ifunc_impl_list): Likewise.
8818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8819         multiarch optimizations
8820
8821 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8822
8823         [BZ #16639]
8824         * nscd/nscd.service: Make service type forking.
8825
8826 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8827
8828         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8829         sign in non default rounding modes.
8830         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8831
8832 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8833
8834         * math/libm-test.inc (ALL_RM_TEST): New macro.
8835         (ceil_test): Use ALL_RM_TEST.
8836         (cimag_test): Likewise.
8837         (conj_test): Likewise.
8838         (copysign_test): Likewise.
8839         (cproj_test): Likewise.
8840         (creal_test): Likewise.
8841         (fabs_test): Likewise.
8842         (floor_test): Likewise.
8843         (fmax_test): Likewise.
8844         (fmin_test): Likewise.
8845         (fmod_test): Likewise.
8846         (fpclassify_test): Likewise.
8847         (frexp_test): Likewise.
8848         (ilogb_test): Likewise.
8849         (isfinite_test): Likewise.
8850         (finite_test): Likewise.
8851         (isgreater_test): Likewise.
8852         (isgreaterequal_test): Likewise.
8853         (isinf_test): Likewise.
8854         (isless_test): Likewise.
8855         (islessequal_test): Likewise.
8856         (islessgreater_test): Likewise.
8857         (isnan_test): Likewise.
8858         (isnormal_test): Likewise.
8859         (issignaling_test): Likewise.
8860         (isunordered_test): Likewise.
8861         (logb_test): Likewise.
8862         (logb_downward_test_data): Remove.
8863         (logb_test_downward): Likewise.
8864         (lround_test): Use ALL_RM_TEST.
8865         (llround_test): Likewise.
8866         (modf_test): Likewise.
8867         (nexttoward_test): Likewise.
8868         (remainder_test): Likewise.
8869         (drem_test): Likewise.
8870         (remainder_tonearest_test_data): Likewise.
8871         (remainder_test_tonearest): Likewise.
8872         (drem_test_tonearest): Likewise.
8873         (remainder_towardzero_test_data): Likewise.
8874         (remainder_test_towardzero): Likewise.
8875         (drem_test_towardzero): Likewise.
8876         (remainder_downward_test_data): Likewise.
8877         (remainder_test_downward): Likewise.
8878         (drem_test_downward): Likewise.
8879         (remainder_upward_test_data): Likewise.
8880         (remainder_test_upward): Likewise.
8881         (drem_test_upward): Likewise.
8882         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8883         (round_test): Use ALL_RM_TEST.
8884         (signbit_test): Likewise.
8885         (trunc_test): Likewise.
8886         (significand_test): Likewise.
8887         (main): Don't call removed functions.
8888
8889 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8890
8891         [BZ #16674]
8892         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8893         || __USE_XOPEN2K8].
8894         (ILL_ILLOPN): Likewise.
8895         (ILL_ILLADR): Likewise.
8896         (ILL_ILLTRP): Likewise.
8897         (ILL_PRVOPC): Likewise.
8898         (ILL_PRVREG): Likewise.
8899         (ILL_COPROC): Likewise.
8900         (ILL_BADSTK): Likewise.
8901         (FPE_INTDIV): Likewise.
8902         (FPE_INTOVF): Likewise.
8903         (FPE_FLTDIV): Likewise.
8904         (FPE_FLTOVF): Likewise.
8905         (FPE_FLTUND): Likewise.
8906         (FPE_FLTRES): Likewise.
8907         (FPE_FLTINV): Likewise.
8908         (FPE_FLTSUB): Likewise.
8909         (SEGV_MAPERR): Likewise.
8910         (SEGV_ACCERR): Likewise.
8911         (BUS_ADRALN): Likewise.
8912         (BUS_ADRERR): Likewise.
8913         (BUS_OBJERR): Likewise.
8914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8915         (TRAP_TRACE): Likewise.
8916         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8917         __USE_XOPEN2K8].
8918         (CLD_KILLED): Likewise.
8919         (CLD_DUMPED): Likewise.
8920         (CLD_TRAPPED): Likewise.
8921         (CLD_STOPPED): Likewise.
8922         (CLD_CONTINUED): Likewise.
8923         (POLL_IN): Likewise.
8924         (POLL_OUT): Likewise.
8925         (POLL_MSG): Likewise.
8926         (POLL_ERR): Likewise.
8927         (POLL_PRI): Likewise.
8928         (POLL_HUP): Likewise.
8929         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8930         Likewise.
8931         (ILL_ILLOPN): Likewise.
8932         (ILL_ILLADR): Likewise.
8933         (ILL_ILLTRP): Likewise.
8934         (ILL_PRVOPC): Likewise.
8935         (ILL_PRVREG): Likewise.
8936         (ILL_COPROC): Likewise.
8937         (ILL_BADSTK): Likewise.
8938         (FPE_INTDIV): Likewise.
8939         (FPE_INTOVF): Likewise.
8940         (FPE_FLTDIV): Likewise.
8941         (FPE_FLTOVF): Likewise.
8942         (FPE_FLTUND): Likewise.
8943         (FPE_FLTRES): Likewise.
8944         (FPE_FLTINV): Likewise.
8945         (FPE_FLTSUB): Likewise.
8946         (SEGV_MAPERR): Likewise.
8947         (SEGV_ACCERR): Likewise.
8948         (BUS_ADRALN): Likewise.
8949         (BUS_ADRERR): Likewise.
8950         (BUS_OBJERR): Likewise.
8951         (BUS_MCEERR_AR): Likewise.
8952         (BUS_MCEERR_AO): Likewise.
8953         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8954         (TRAP_TRACE): Likewise.
8955         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8956         __USE_XOPEN2K8].
8957         (CLD_KILLED): Likewise.
8958         (CLD_DUMPED): Likewise.
8959         (CLD_TRAPPED): Likewise.
8960         (CLD_STOPPED): Likewise.
8961         (CLD_CONTINUED): Likewise.
8962         (POLL_IN): Likewise.
8963         (POLL_OUT): Likewise.
8964         (POLL_MSG): Likewise.
8965         (POLL_ERR): Likewise.
8966         (POLL_PRI): Likewise.
8967         (POLL_HUP): Likewise.
8968         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8969         (ILL_ILLOPN): Likewise.
8970         (ILL_ILLADR): Likewise.
8971         (ILL_ILLTRP): Likewise.
8972         (ILL_PRVOPC): Likewise.
8973         (ILL_PRVREG): Likewise.
8974         (ILL_COPROC): Likewise.
8975         (ILL_BADSTK): Likewise.
8976         (FPE_INTDIV): Likewise.
8977         (FPE_INTOVF): Likewise.
8978         (FPE_FLTDIV): Likewise.
8979         (FPE_FLTOVF): Likewise.
8980         (FPE_FLTUND): Likewise.
8981         (FPE_FLTRES): Likewise.
8982         (FPE_FLTINV): Likewise.
8983         (FPE_FLTSUB): Likewise.
8984         (SEGV_MAPERR): Likewise.
8985         (SEGV_ACCERR): Likewise.
8986         (BUS_ADRALN): Likewise.
8987         (BUS_ADRERR): Likewise.
8988         (BUS_OBJERR): Likewise.
8989         (BUS_MCEERR_AR): Likewise.
8990         (BUS_MCEERR_AO): Likewise.
8991         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8992         (TRAP_TRACE): Likewise.
8993         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8994         __USE_XOPEN2K8].
8995         (CLD_KILLED): Likewise.
8996         (CLD_DUMPED): Likewise.
8997         (CLD_TRAPPED): Likewise.
8998         (CLD_STOPPED): Likewise.
8999         (CLD_CONTINUED): Likewise.
9000         (POLL_IN): Likewise.
9001         (POLL_OUT): Likewise.
9002         (POLL_MSG): Likewise.
9003         (POLL_ERR): Likewise.
9004         (POLL_PRI): Likewise.
9005         (POLL_HUP): Likewise.
9006         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9007         Likewise.
9008         (ILL_ILLOPN): Likewise.
9009         (ILL_ILLADR): Likewise.
9010         (ILL_ILLTRP): Likewise.
9011         (ILL_PRVOPC): Likewise.
9012         (ILL_PRVREG): Likewise.
9013         (ILL_COPROC): Likewise.
9014         (ILL_BADSTK): Likewise.
9015         (ILL_BADIADDR): Likewise.
9016         (ILL_BREAK): Likewise.
9017         (FPE_INTDIV): Likewise.
9018         (FPE_INTOVF): Likewise.
9019         (FPE_FLTDIV): Likewise.
9020         (FPE_FLTOVF): Likewise.
9021         (FPE_FLTUND): Likewise.
9022         (FPE_FLTRES): Likewise.
9023         (FPE_FLTINV): Likewise.
9024         (FPE_FLTSUB): Likewise.
9025         (FPE_DECOVF): Likewise.
9026         (FPE_DECDIV): Likewise.
9027         (FPE_DECERR): Likewise.
9028         (FPE_INVASC): Likewise.
9029         (FPE_INVDEC): Likewise.
9030         (SEGV_MAPERR): Likewise.
9031         (SEGV_ACCERR): Likewise.
9032         (SEGV_PSTKOVF): Likewise.
9033         (BUS_ADRALN): Likewise.
9034         (BUS_ADRERR): Likewise.
9035         (BUS_OBJERR): Likewise.
9036         (BUS_MCEERR_AR): Likewise.
9037         (BUS_MCEERR_AO): Likewise.
9038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9039         (TRAP_TRACE): Likewise.
9040         (TRAP_BRANCH): Likewise.
9041         (TRAP_HWBKPT): Likewise.
9042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9043         __USE_XOPEN2K8].
9044         (CLD_KILLED): Likewise.
9045         (CLD_DUMPED): Likewise.
9046         (CLD_TRAPPED): Likewise.
9047         (CLD_STOPPED): Likewise.
9048         (CLD_CONTINUED): Likewise.
9049         (POLL_IN): Likewise.
9050         (POLL_OUT): Likewise.
9051         (POLL_MSG): Likewise.
9052         (POLL_ERR): Likewise.
9053         (POLL_PRI): Likewise.
9054         (POLL_HUP): Likewise.
9055         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9056         (ILL_ILLOPN): Likewise.
9057         (ILL_ILLADR): Likewise.
9058         (ILL_ILLTRP): Likewise.
9059         (ILL_PRVOPC): Likewise.
9060         (ILL_PRVREG): Likewise.
9061         (ILL_COPROC): Likewise.
9062         (ILL_BADSTK): Likewise.
9063         (FPE_INTDIV): Likewise.
9064         (FPE_INTOVF): Likewise.
9065         (FPE_FLTDIV): Likewise.
9066         (FPE_FLTOVF): Likewise.
9067         (FPE_FLTUND): Likewise.
9068         (FPE_FLTRES): Likewise.
9069         (FPE_FLTINV): Likewise.
9070         (FPE_FLTSUB): Likewise.
9071         (SEGV_MAPERR): Likewise.
9072         (SEGV_ACCERR): Likewise.
9073         (BUS_ADRALN): Likewise.
9074         (BUS_ADRERR): Likewise.
9075         (BUS_OBJERR): Likewise.
9076         (BUS_MCEERR_AR): Likewise.
9077         (BUS_MCEERR_AO): Likewise.
9078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9079         (TRAP_TRACE): Likewise.
9080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9081         __USE_XOPEN2K8].
9082         (CLD_KILLED): Likewise.
9083         (CLD_DUMPED): Likewise.
9084         (CLD_TRAPPED): Likewise.
9085         (CLD_STOPPED): Likewise.
9086         (CLD_CONTINUED): Likewise.
9087         (POLL_IN): Likewise.
9088         (POLL_OUT): Likewise.
9089         (POLL_MSG): Likewise.
9090         (POLL_ERR): Likewise.
9091         (POLL_PRI): Likewise.
9092         (POLL_HUP): Likewise.
9093         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9094         (ILL_ILLOPN): Likewise.
9095         (ILL_ILLADR): Likewise.
9096         (ILL_ILLTRP): Likewise.
9097         (ILL_PRVOPC): Likewise.
9098         (ILL_PRVREG): Likewise.
9099         (ILL_COPROC): Likewise.
9100         (ILL_BADSTK): Likewise.
9101         (FPE_INTDIV): Likewise.
9102         (FPE_INTOVF): Likewise.
9103         (FPE_FLTDIV): Likewise.
9104         (FPE_FLTOVF): Likewise.
9105         (FPE_FLTUND): Likewise.
9106         (FPE_FLTRES): Likewise.
9107         (FPE_FLTINV): Likewise.
9108         (FPE_FLTSUB): Likewise.
9109         (SEGV_MAPERR): Likewise.
9110         (SEGV_ACCERR): Likewise.
9111         (BUS_ADRALN): Likewise.
9112         (BUS_ADRERR): Likewise.
9113         (BUS_OBJERR): Likewise.
9114         (BUS_MCEERR_AR): Likewise.
9115         (BUS_MCEERR_AO): Likewise.
9116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9117         (TRAP_TRACE): Likewise.
9118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9119         __USE_XOPEN2K8].
9120         (CLD_KILLED): Likewise.
9121         (CLD_DUMPED): Likewise.
9122         (CLD_TRAPPED): Likewise.
9123         (CLD_STOPPED): Likewise.
9124         (CLD_CONTINUED): Likewise.
9125         (POLL_IN): Likewise.
9126         (POLL_OUT): Likewise.
9127         (POLL_MSG): Likewise.
9128         (POLL_ERR): Likewise.
9129         (POLL_PRI): Likewise.
9130         (POLL_HUP): Likewise.
9131         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9132         (ILL_ILLOPN): Likewise.
9133         (ILL_ILLADR): Likewise.
9134         (ILL_ILLTRP): Likewise.
9135         (ILL_PRVOPC): Likewise.
9136         (ILL_PRVREG): Likewise.
9137         (ILL_COPROC): Likewise.
9138         (ILL_BADSTK): Likewise.
9139         (FPE_INTDIV): Likewise.
9140         (FPE_INTOVF): Likewise.
9141         (FPE_FLTDIV): Likewise.
9142         (FPE_FLTOVF): Likewise.
9143         (FPE_FLTUND): Likewise.
9144         (FPE_FLTRES): Likewise.
9145         (FPE_FLTINV): Likewise.
9146         (FPE_FLTSUB): Likewise.
9147         (SEGV_MAPERR): Likewise.
9148         (SEGV_ACCERR): Likewise.
9149         (BUS_ADRALN): Likewise.
9150         (BUS_ADRERR): Likewise.
9151         (BUS_OBJERR): Likewise.
9152         (BUS_MCEERR_AR): Likewise.
9153         (BUS_MCEERR_AO): Likewise.
9154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9155         (TRAP_TRACE): Likewise.
9156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9157         __USE_XOPEN2K8].
9158         (CLD_KILLED): Likewise.
9159         (CLD_DUMPED): Likewise.
9160         (CLD_TRAPPED): Likewise.
9161         (CLD_STOPPED): Likewise.
9162         (CLD_CONTINUED): Likewise.
9163         (POLL_IN): Likewise.
9164         (POLL_OUT): Likewise.
9165         (POLL_MSG): Likewise.
9166         (POLL_ERR): Likewise.
9167         (POLL_PRI): Likewise.
9168         (POLL_HUP): Likewise.
9169         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9170         (ILL_ILLOPN): Likewise.
9171         (ILL_ILLADR): Likewise.
9172         (ILL_ILLTRP): Likewise.
9173         (ILL_PRVOPC): Likewise.
9174         (ILL_PRVREG): Likewise.
9175         (ILL_COPROC): Likewise.
9176         (ILL_BADSTK): Likewise.
9177         (ILL_DBLFLT): Likewise.
9178         (ILL_HARDWALL): Likewise.
9179         (FPE_INTDIV): Likewise.
9180         (FPE_INTOVF): Likewise.
9181         (FPE_FLTDIV): Likewise.
9182         (FPE_FLTOVF): Likewise.
9183         (FPE_FLTUND): Likewise.
9184         (FPE_FLTRES): Likewise.
9185         (FPE_FLTINV): Likewise.
9186         (FPE_FLTSUB): Likewise.
9187         (SEGV_MAPERR): Likewise.
9188         (SEGV_ACCERR): Likewise.
9189         (BUS_ADRALN): Likewise.
9190         (BUS_ADRERR): Likewise.
9191         (BUS_OBJERR): Likewise.
9192         (BUS_MCEERR_AR): Likewise.
9193         (BUS_MCEERR_AO): Likewise.
9194         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9195         (TRAP_TRACE): Likewise.
9196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9197         __USE_XOPEN2K8].
9198         (CLD_KILLED): Likewise.
9199         (CLD_DUMPED): Likewise.
9200         (CLD_TRAPPED): Likewise.
9201         (CLD_STOPPED): Likewise.
9202         (CLD_CONTINUED): Likewise.
9203         (POLL_IN): Likewise.
9204         (POLL_OUT): Likewise.
9205         (POLL_MSG): Likewise.
9206         (POLL_ERR): Likewise.
9207         (POLL_PRI): Likewise.
9208         (POLL_HUP): Likewise.
9209         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9210         (ILL_ILLOPN): Likewise.
9211         (ILL_ILLADR): Likewise.
9212         (ILL_ILLTRP): Likewise.
9213         (ILL_PRVOPC): Likewise.
9214         (ILL_PRVREG): Likewise.
9215         (ILL_COPROC): Likewise.
9216         (ILL_BADSTK): Likewise.
9217         (FPE_INTDIV): Likewise.
9218         (FPE_INTOVF): Likewise.
9219         (FPE_FLTDIV): Likewise.
9220         (FPE_FLTOVF): Likewise.
9221         (FPE_FLTUND): Likewise.
9222         (FPE_FLTRES): Likewise.
9223         (FPE_FLTINV): Likewise.
9224         (FPE_FLTSUB): Likewise.
9225         (SEGV_MAPERR): Likewise.
9226         (SEGV_ACCERR): Likewise.
9227         (BUS_ADRALN): Likewise.
9228         (BUS_ADRERR): Likewise.
9229         (BUS_OBJERR): Likewise.
9230         (BUS_MCEERR_AR): Likewise.
9231         (BUS_MCEERR_AO): Likewise.
9232         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9233         (TRAP_TRACE): Likewise.
9234         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9235         __USE_XOPEN2K8].
9236         (CLD_KILLED): Likewise.
9237         (CLD_DUMPED): Likewise.
9238         (CLD_TRAPPED): Likewise.
9239         (CLD_STOPPED): Likewise.
9240         (CLD_CONTINUED): Likewise.
9241         (POLL_IN): Likewise.
9242         (POLL_OUT): Likewise.
9243         (POLL_MSG): Likewise.
9244         (POLL_ERR): Likewise.
9245         (POLL_PRI): Likewise.
9246         (POLL_HUP): Likewise.
9247         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9248         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9249
9250         [BZ #16670]
9251         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9252         before #include of <time.h>.
9253         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9254         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9255         (test-xfail-UNIX98/sched.h/conform): Likewise.
9256
9257 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9258
9259         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9260         error absence of trapping exception support.
9261         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9262
9263 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9264
9265         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9266         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9267         * timezone/Makefile (testdata): Move definition above include of
9268         Rules.
9269         (test-zones): New variable.
9270         (tests-special): Add zone files.
9271         (build-testdata): Use $(evaluate-test).
9272
9273         * elf/Makefile (tests-special): Rename tests to end with .out.
9274         ($(objpfx)noload-mem): Likewise.
9275         ($(objpfx)tst-leaks1-mem): Likewise.
9276         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9277         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9278         $(objpfx)test-iconvconfig.out.
9279         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9280         set -e inside subshell and redirect output to file.
9281         * iconvdata/Makefile (generated): Rename tests to end with .out.
9282         Correct type.
9283         (tests-special): Rename tests to end with .out.
9284         ($(objpfx)mtrace-tst-loading): Likewise.
9285         * intl/Makefile (generated): Likewise.
9286         (tests-special): Likewise.
9287         ($(objpfx)mtrace-tst-gettext): Likewise.
9288         * misc/Makefile (generated): Likewise.
9289         (tests-special): Likewise.
9290         ($(objpfx)tst-error1-mem): Likewise.
9291         * nptl/Makefile (tests-special): Likewise.
9292         ($(objpfx)tst-stack3-mem): Likewise.
9293         (generated): Likewise.
9294         * posix/Makefile (generated): Likewise.
9295         (tests-special): Likewise.
9296         (xtests-special): Likewise.
9297         ($(objpfx)tst-fnmatch-mem): Likewise.
9298         ($(objpfx)bug-regex2-mem): Likewise.
9299         ($(objpfx)bug-regex14-mem): Likewise.
9300         ($(objpfx)bug-regex21-mem): Likewise.
9301         ($(objpfx)bug-regex31-mem): Likewise.
9302         ($(objpfx)tst-vfork3-mem): Likewise.
9303         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9304         ($(objpfx)tst-pcre-mem): Likewise.
9305         ($(objpfx)tst-boost-mem): Likewise.
9306         ($(objpfx)bug-ga2-mem): Likewise.
9307         ($(objpfx)bug-glob2-mem): Likewise.
9308         * resolv/Makefile (generate): Likewise.
9309         (tests-special): Likewise.
9310         (xtests-special): Likewise.
9311         (generated): Likewise.
9312         ($(objpfx)mtrace-tst-leaks): Likewise.
9313         ($(objpfx)mtrace-tst-leaks2): Likewise.
9314
9315         * scripts/merge-test-results.sh: New file.
9316         * Makefile (tests-special-notdir): New variable.
9317         (tests): Run merge-test-results.sh.
9318         (xtests): Likewise.
9319         * Rules (tests-special-notdir): New variable.
9320         (xtests-special-notdir): Likewise.
9321         (tests): Run merge-test-results.sh
9322         (xtests): Likewise.
9323
9324         * Makeconfig (test-xfail-name): New variable.
9325         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9326         compute variable name for expected failures.
9327         * conform/Makefile (conformtest-headers-data): New variable.
9328         (conformtest-standards): Likewise.
9329         (conformtest-headers-ISO): Likewise.
9330         (conformtest-headers-ISO99): Likewise.
9331         (conformtest-headers-ISO11): Likewise.
9332         (conformtest-headers-POSIX): Likewise.
9333         (conformtest-headers-XPG3): Likewise.
9334         (conformtest-headers-XPG4): Likewise.
9335         (conformtest-headers-UNIX98): Likewise.
9336         (conformtest-headers-XOPEN2K): Likewise.
9337         (conformtest-headers-POSIX2008): Likewise.
9338         (conformtest-headers-XOPEN2K8): Likewise.
9339         (conformtest-header-list-base): Likewise.
9340         (conformtest-header-list-tests): Likewise.
9341         (conformtest-header-base): Likewise.
9342         (conformtest-header-tests): Likewise.
9343         (tests-special): Add $(conformtest-header-list-tests).  If
9344         [$(fast-check) && !$(cross-compiling)], add
9345         $(conformtest-header-tests) instead of
9346         $(objpfx)run-conformtest.out.
9347         (generated): Add $(conformtest-header-list-base).  If
9348         [$(fast-check) && !$(cross-compiling)], add
9349         $(conformtest-header-base).  Remove previous setting.
9350         ($(conformtest-header-list-tests)): New target.
9351         (test-xfail-run-conformtest): Remove variable.
9352         ($(objpfx)run-conformtest.out): Remove target.
9353         (test-xfail-ISO11/complex.h/conform): New variable.
9354         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9355         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9356         (test-xfail-XPG3/varargs.h/conform): Likewise.
9357         (test-xfail-XPG4/varargs.h/conform): Likewise.
9358         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9359         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9360         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9361         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9362         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9363         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9364         (test-xfail-XPG3/ftw.h/conform): Likewise.
9365         (test-xfail-XPG3/grp.h/conform): Likewise.
9366         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9367         (test-xfail-XPG3/limits.h/conform): Likewise.
9368         (test-xfail-XPG3/pwd.h/conform): Likewise.
9369         (test-xfail-XPG3/search.h/conform): Likewise.
9370         (test-xfail-XPG3/signal.h/conform): Likewise.
9371         (test-xfail-XPG3/stdio.h/conform): Likewise.
9372         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9373         (test-xfail-XPG3/string.h/conform): Likewise.
9374         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9375         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9376         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9377         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9378         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9379         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9380         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9381         (test-xfail-XPG3/termios.h/conform): Likewise.
9382         (test-xfail-XPG3/time.h/conform): Likewise.
9383         (test-xfail-XPG3/unistd.h/conform): Likewise.
9384         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9385         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9386         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9387         (test-xfail-XPG4/netdb.h/conform): Likewise.
9388         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9389         (test-xfail-XPG4/signal.h/conform): Likewise.
9390         (test-xfail-XPG4/stdio.h/conform): Likewise.
9391         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9392         (test-xfail-XPG4/stropts.h/conform): Likewise.
9393         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9394         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9395         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9396         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9397         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9398         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9399         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9400         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9401         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9402         (test-xfail-XPG4/termios.h/conform): Likewise.
9403         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9404         (test-xfail-XPG4/unistd.h/conform): Likewise.
9405         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9406         (test-xfail-POSIX/sched.h/conform): Likewise.
9407         (test-xfail-POSIX/signal.h/conform): Likewise.
9408         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9409         (test-xfail-POSIX/tar.h/conform): Likewise.
9410         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9411         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9412         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9413         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9414         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9415         (test-xfail-UNIX98/sched.h/conform): Likewise.
9416         (test-xfail-UNIX98/signal.h/conform): Likewise.
9417         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9418         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9419         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9420         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9421         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9422         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9423         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9424         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9425         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9426         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9427         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9428         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9429         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9430         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9431         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9432         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9433         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9434         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9435         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9436         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9437         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9438         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9439         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9440         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9441         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9442         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9443         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9444         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9445         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9446         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9447         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9448         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9449         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9450         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9451         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9452         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9453         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9454         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9455         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9456         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9457         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9458         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9459         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9460         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9461         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9462         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9463         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9464         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9465         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9466         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9467         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9468         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9469         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9470         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9471         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9472         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9473         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9474         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9475         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9476         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9477         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9478         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9479         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9480         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9481         (conformtest-cc-flags): Likewise.
9482         ($(conformtest-header-tests): New target.
9483         * conform/check-header-lists.sh: New file.
9484         * conform/run-conformtest.sh: Remove.
9485
9486         * conform/conformtest.pl: Allow ' and \ in values given for
9487         constants.
9488         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9489         inclusion.
9490         [POSIX] (sys/types.h): Likewise.
9491         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9492         inclusion.
9493         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9494         inclusion.
9495         * conform/data/signal.h-data (SIGIO): Remove expectation.
9496         [XPG3] (SIGBUS): Do not expect.
9497         [POSIX || XPG3] (SIGPOLL): Likewise.
9498         [POSIX || XPG3] (SIGPROF): Likewise.
9499         [POSIX || XPG3] (SIGSYS): Likewise.
9500         [XPG3] (SIGTRAP): Likewise.
9501         [POSIX || XPG3] (SIGURG): Likewise.
9502         [POSIX || XPG3] (SIGVTALRM): Likewise.
9503         [POSIX || XPG3] (SIGXCPU): Likewise.
9504         [POSIX || XPG3] (SIGXFSZ): Likewise.
9505         [POSIX] (SA_SIGINFO): Expect.
9506         [XPG3] (siginfo_t): Do not expect type or contents.
9507         [POSIX] (si_pid): Do not expect element.
9508         [POSIX] (si_uid): Likewise.
9509         [POSIX] (si_addr): Likewise.
9510         [POSIX] (si_status): Likewise.
9511         [POSIX] (si_band): Likewise.
9512         [XPG4] (si_value): Likewise.
9513         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9514         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9515         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9516         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9517         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9518         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9519         [POSIX || XPG3] (ILL_COPROC): Likewise.
9520         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9521         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9522         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9523         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9524         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9525         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9526         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9527         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9528         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9529         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9530         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9531         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9532         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9533         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9534         [POSIX || XPG3] (CLD_EXITED): Likewise.
9535         [POSIX || XPG3] (CLD_KILLED): Likewise.
9536         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9537         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9538         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9539         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9540         [POSIX || XPG3] (POLL_IN): Likewise.
9541         [POSIX || XPG3] (POLL_OUT): Likewise.
9542         [POSIX || XPG3] (POLL_MSG): Likewise.
9543         [POSIX || XPG3] (POLL_ERR): Likewise.
9544         [POSIX || XPG3] (POLL_PRI): Likewise.
9545         [POSIX || XPG3] (POLL_HUP): Likewise.
9546         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9547         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9548         (SIG*): Do not allow.
9549         [XPG3] (si_*): Likewise.
9550         [XPG3] (SI_*): Likewise.
9551         [XPG3 || XPG4] (sigev_*): Likewise.
9552         [XPG3 || XPG4] (SIGEV_*): Likewise.
9553         [XPG3 || XPG4] (sival_*): Likewise.
9554         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9555         [POSIX || XPG3] (BUS_*): Likewise.
9556         [POSIX || XPG3] (CLD_*): Likewise.
9557         [POSIX || XPG3] (FPE_*): Likewise.
9558         [POSIX || XPG3] (ILL_*): Likewise.
9559         [POSIX || XPG3] (POLL_*): Likewise.
9560         [POSIX || XPG3] (SEGV_*): Likewise.
9561         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9562         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9563         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9564         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9565         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9566         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9567         Specify type and value.
9568         (TVERSLEN): Likewise.
9569         (REGTYPE): Likewise.
9570         (AREGTYPE): Likewise.
9571         (LNKTYPE): Likewise.
9572         (SYMTYPE): Likewise.
9573         (CHRTYPE): Likewise.
9574         (BLKTYPE): Likewise.
9575         (DIRTYPE): Likewise.
9576         (FIFOTYPE): Likewise.
9577         (CONTTYPE): Likewise.
9578         (TSUID): Likewise.
9579         (TSGID): Likewise.
9580         (TSVTX): Likewise.
9581         (TUREAD): Likewise.
9582         (TUWRITE): Likewise.
9583         (TUEXEC): Likewise.
9584         (TGREAD): Likewise.
9585         (TGWRITE): Likewise.
9586         (TGEXEC): Likewise.
9587         (TOREAD): Likewise.
9588         (TOWRITE): Likewise.
9589         (TOEXEC): Likewise.
9590         [POSIX] (TSVTX): Expect constant.
9591
9592 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9593
9594         * Makefile (tests): Change dependencies to ....
9595         (tests-special): ... additions to this variable.
9596         (tests): Depend on $(tests-special).
9597         * Makerules (check-abi-list): New variable.
9598         (check-abi): Depend on $(check-abi-list).
9599         [$(subdir) = elf] (tests-special): Add
9600         $(objpfx)check-abi-libc.out.
9601         [$(build-shared) = yes && subdir] (tests-special): Add
9602         $(check-abi-list).
9603         [$(build-shared) = yes && subdir] (tests): Do not depend on
9604         check-abi.
9605         * Rules (tests): Depend on $(tests-special).
9606         (xtests): Depend on $(xtests-special).
9607         * catgets/Makefile (tests): Change dependencies to ....
9608         (tests-special): ... additions to this variable.
9609         * conform/Makefile (tests): Change dependencies to ....
9610         (tests-special): ... additions to this variable.
9611         * elf/Makefile (tests): Change dependencies to ....
9612         (tests-special): ... additions to this variable.
9613         * grp/Makefile (tests): Change dependencies to ....
9614         (tests-special): ... additions to this variable.
9615         * iconv/Makefile (xtests): Change dependencies to ....
9616         (xtests-special): ... additions to this variable.
9617         * iconvdata/Makefile (tests): Change dependencies to ....
9618         (tests-special): ... additions to this variable.
9619         * intl/Makefile (tests): Change dependencies to ....
9620         (tests-special): ... additions to this variable.  Also add
9621         $(objpfx)tst-gettext.out.
9622         * io/Makefile (tests): Change dependencies to ....
9623         (tests-special): ... additions to this variable.
9624         * libio/Makefile (tests): Change dependencies to ....
9625         (tests-special): ... additions to this variable.
9626         * malloc/Makefile (tests): Change dependencies to ....
9627         (tests-special): ... additions to this variable.
9628         * misc/Makefile (tests): Change dependencies to ....
9629         (tests-special): ... additions to this variable.
9630         * nptl/Makefile (tests): Change dependencies to ....
9631         (tests-special): ... additions to this variable.
9632         * nptl_db/Makefile (tests): Change dependencies to ....
9633         (tests-special): ... additions to this variable.
9634         * posix/Makefile (tests): Change dependencies to ....
9635         (tests-special): ... additions to this variable.
9636         (xtests): Change dependencies to ....
9637         (xtests-special): ... additions to this variable.
9638         * resolv/Makefile (tests): Change dependencies to ....
9639         (tests-special): ... additions to this variable.
9640         (xtests): Change dependencies to ....
9641         (xtests-special): ... additions to this variable.
9642         * stdio-common/Makefile (tests): Change dependencies to ....
9643         (tests-special): ... additions to this variable.
9644         (do-tst-unbputc): Remove target.
9645         (do-tst-printf): Likewise.
9646         * stdlib/Makefile (tests): Change dependencies to ....
9647         (tests-special): ... additions to this variable.
9648         * string/Makefile (tests): Change dependencies to ....
9649         (tests-special): ... additions to this variable.
9650         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9651         (tests-special): ... additions to this variable.
9652
9653         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9654         whole file.
9655         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9656         whole file.
9657         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9658         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9659
9660         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9661         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9662         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9663         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9664         * conform/data/libgen.h-data [XPG3]: Likewise.
9665         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9666         * conform/data/ndbm.h-data [XPG3]: Likewise.
9667         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9668         * conform/data/netdb.h-data [XPG3]: Likewise.
9669         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9670         * conform/data/poll.h-data [XPG3]: Likewise.
9671         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9672         * conform/data/strings.h-data [XPG3]: Likewise.
9673         * conform/data/stropts.h-data [XPG3]: Likewise.
9674         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9675         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9676         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9677         Likewise.
9678         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9679         * conform/data/sys/time.h-data [XPG3]: Likewise.
9680         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9681         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9682         * conform/data/sys/un.h-data [XPG3]: Likewise.
9683         * conform/data/syslog.h-data [XPG3]: Likewise.
9684         * conform/data/ucontext.h-data [XPG3]: Likewise.
9685         * conform/data/utmpx.h-data [XPG3]: Likewise.
9686         * conform/data/varargs.h-data [UNIX98]: Enable file.
9687
9688         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9689
9690         * math/libm-test.inc (struct test_f_f_data): Move expected results
9691         into structure for each rounding mode.
9692         (struct test_ff_f_data): Likewise.
9693         (struct test_ff_f_data_nexttoward): Likewise.
9694         (struct test_fi_f_data): Likewise.
9695         (struct test_fl_f_data): Likewise.
9696         (struct test_if_f_data): Likewise.
9697         (struct test_fff_f_data): Likewise.
9698         (struct test_c_f_data): Likewise.
9699         (struct test_f_f1_data): Likewise.
9700         (struct test_fF_f1_data): Likewise.
9701         (struct test_ffI_f1_data): Likewise.
9702         (struct test_c_c_data): Likewise.
9703         (struct test_cc_c_data): Likewise.
9704         (struct test_f_i_data): Likewise.
9705         (struct test_ff_i_data): Likewise.
9706         (struct test_f_l_data): Likewise.
9707         (struct test_f_L_data): Likewise.
9708         (struct test_fFF_11_data): Likewise.
9709         (RM_): New macro.
9710         (RM_FE_DOWNWARD): Likewise.
9711         (RM_FE_TONEAREST): Likewise.
9712         (RM_FE_TOWARDZERO): Likewise.
9713         (RM_FE_UPWARD): Likewise.
9714         (RUN_TEST_LOOP_f_f): Update references to expected results.
9715         (RUN_TEST_LOOP_2_f): Likewise.
9716         (RUN_TEST_LOOP_fff_f): Likewise.
9717         (RUN_TEST_LOOP_c_f): Likewise.
9718         (RUN_TEST_LOOP_f_f1): Likewise.
9719         (RUN_TEST_LOOP_fF_f1): Likewise.
9720         (RUN_TEST_LOOP_fI_f1): Likewise.
9721         (RUN_TEST_LOOP_ffI_f1): Likewise.
9722         (RUN_TEST_LOOP_c_c): Likewise.
9723         (RUN_TEST_LOOP_cc_c): Likewise.
9724         (RUN_TEST_LOOP_f_i): Likewise.
9725         (RUN_TEST_LOOP_f_i_tg): Likewise.
9726         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9727         (RUN_TEST_LOOP_f_b): Likewise.
9728         (RUN_TEST_LOOP_f_b_tg): Likewise.
9729         (RUN_TEST_LOOP_f_l): Likewise.
9730         (RUN_TEST_LOOP_f_L): Likewise.
9731         (RUN_TEST_LOOP_fFF_11): Likewise.
9732         * math/gen-libm-test.pl (parse_args): Output four copies of
9733         expected results for each test.
9734
9735         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9736         (__ASSUME_UTIMES): Remove.
9737         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9738         (__ASSUME_UTIMES): Likewise.
9739
9740         * math/gen-auto-libm-tests.c: Update comment on output format.
9741         (output_for_one_input_case): Generate before-rounding and
9742         after-rounding information as conditions on output flags not
9743         floating-point format.
9744         * math/auto-libm-test-out: Regenerated.
9745         * math/gen-libm-test.pl (cond_value): New function.
9746         (or_cond_value): Use cond_value.
9747         (generate_testfile): Handle conditional exceptions.
9748
9749 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9750
9751         * math/libm-test.inc (max_valid_error): New variable.
9752         (init_max_error): Take new argument specifying whether function
9753         results are exactly determined.  Set max_valid_error and bound
9754         other variables for errors based on this argument.
9755         (set_max_error): Do not record results above max_valid_error.
9756         (check_float_internal): Only accept errors of up to 0.5ulps if
9757         also at most max_valid_error.
9758         (START): Take new argument EXACT and pass it to init_max_error.
9759         (acos_test): Update call to START.
9760         (acos_test_tonearest): Likewise.
9761         (acos_test_towardzero): Likewise.
9762         (acos_test_downward): Likewise.
9763         (acos_test_upward): Likewise.
9764         (acosh_test): Likewise.
9765         (asin_test): Likewise.
9766         (asin_test_tonearest): Likewise.
9767         (asin_test_towardzero): Likewise.
9768         (asin_test_downward): Likewise.
9769         (asin_test_upward): Likewise.
9770         (asinh_test): Likewise.
9771         (atan_test): Likewise.
9772         (atanh_test): Likewise.
9773         (atan2_test): Likewise.
9774         (cabs_test): Likewise.
9775         (cacos_test): Likewise.
9776         (cacosh_test): Likewise.
9777         (carg_test): Likewise.
9778         (casin_test): Likewise.
9779         (casinh_test): Likewise.
9780         (catan_test): Likewise.
9781         (catanh_test): Likewise.
9782         (cbrt_test): Likewise.
9783         (ccos_test): Likewise.
9784         (ccosh_test): Likewise.
9785         (ceil_test): Likewise.
9786         (cexp_test): Likewise.
9787         (cimag_test): Likewise.
9788         (clog_test): Likewise.
9789         (clog10_test): Likewise.
9790         (conj_test): Likewise.
9791         (copysign_test): Likewise.
9792         (cos_test): Likewise.
9793         (cos_test_tonearest): Likewise.
9794         (cos_test_towardzero): Likewise.
9795         (cos_test_downward): Likewise.
9796         (cos_test_upward): Likewise.
9797         (cosh_test): Likewise.
9798         (cosh_test_tonearest): Likewise.
9799         (cosh_test_towardzero): Likewise.
9800         (cosh_test_downward): Likewise.
9801         (cosh_test_upward): Likewise.
9802         (cpow_test): Likewise.
9803         (cproj_test): Likewise.
9804         (creal_test): Likewise.
9805         (csin_test): Likewise.
9806         (csinh_test): Likewise.
9807         (csqrt_test): Likewise.
9808         (ctan_test): Likewise.
9809         (ctan_test_tonearest): Likewise.
9810         (ctan_test_towardzero): Likewise.
9811         (ctan_test_downward): Likewise.
9812         (ctan_test_upward): Likewise.
9813         (ctanh_test): Likewise.
9814         (ctanh_test_tonearest): Likewise.
9815         (ctanh_test_towardzero): Likewise.
9816         (ctanh_test_downward): Likewise.
9817         (ctanh_test_upward): Likewise.
9818         (erf_test): Likewise.
9819         (erfc_test): Likewise.
9820         (exp_test): Likewise.
9821         (exp_test_tonearest): Likewise.
9822         (exp_test_towardzero): Likewise.
9823         (exp_test_downward): Likewise.
9824         (exp_test_upward): Likewise.
9825         (exp10_test): Likewise.
9826         (exp10_test_tonearest): Likewise.
9827         (exp10_test_towardzero): Likewise.
9828         (exp10_test_downward): Likewise.
9829         (exp10_test_upward): Likewise.
9830         (pow10_test): Likewise.
9831         (exp2_test): Likewise.
9832         (expm1_test): Likewise.
9833         (expm1_test_tonearest): Likewise.
9834         (expm1_test_towardzero): Likewise.
9835         (expm1_test_downward): Likewise.
9836         (expm1_test_upward): Likewise.
9837         (fabs_test): Likewise.
9838         (fdim_test): Likewise.
9839         (floor_test): Likewise.
9840         (fma_test): Likewise.
9841         (fma_test_towardzero): Likewise.
9842         (fma_test_downward): Likewise.
9843         (fma_test_upward): Likewise.
9844         (fmax_test): Likewise.
9845         (fmin_test): Likewise.
9846         (fmod_test): Likewise.
9847         (fpclassify_test): Likewise.
9848         (frexp_test): Likewise.
9849         (hypot_test): Likewise.
9850         (ilogb_test): Likewise.
9851         (isfinite_test): Likewise.
9852         (finite_test): Likewise.
9853         (isgreater_test): Likewise.
9854         (isgreaterequal_test): Likewise.
9855         (isinf_test): Likewise.
9856         (isless_test): Likewise.
9857         (islessequal_test): Likewise.
9858         (islessgreater_test): Likewise.
9859         (isnan_test): Likewise.
9860         (isnormal_test): Likewise.
9861         (issignaling_test): Likewise.
9862         (isunordered_test): Likewise.
9863         (j0_test): Likewise.
9864         (j1_test): Likewise.
9865         (jn_test): Likewise.
9866         (ldexp_test): Likewise.
9867         (lgamma_test): Likewise.
9868         (gamma_test): Likewise.
9869         (lrint_test): Likewise.
9870         (lrint_test_tonearest): Likewise.
9871         (lrint_test_towardzero): Likewise.
9872         (lrint_test_downward): Likewise.
9873         (lrint_test_upward): Likewise.
9874         (llrint_test): Likewise.
9875         (llrint_test_tonearest): Likewise.
9876         (llrint_test_towardzero): Likewise.
9877         (llrint_test_downward): Likewise.
9878         (llrint_test_upward): Likewise.
9879         (log_test): Likewise.
9880         (log10_test): Likewise.
9881         (log1p_test): Likewise.
9882         (log2_test): Likewise.
9883         (logb_test): Likewise.
9884         (logb_test_downward): Likewise.
9885         (lround_test): Likewise.
9886         (llround_test): Likewise.
9887         (modf_test): Likewise.
9888         (nearbyint_test): Likewise.
9889         (nextafter_test): Likewise.
9890         (nexttoward_test): Likewise.
9891         (pow_test): Likewise.
9892         (pow_test_tonearest): Likewise.
9893         (pow_test_towardzero): Likewise.
9894         (pow_test_downward): Likewise.
9895         (pow_test_upward): Likewise.
9896         (remainder_test): Likewise.
9897         (drem_test): Likewise.
9898         (remainder_test_tonearest): Likewise.
9899         (drem_test_tonearest): Likewise.
9900         (remainder_test_towardzero): Likewise.
9901         (drem_test_towardzero): Likewise.
9902         (remainder_test_downward): Likewise.
9903         (drem_test_downward): Likewise.
9904         (remainder_test_upward): Likewise.
9905         (drem_test_upward): Likewise.
9906         (remquo_test): Likewise.
9907         (rint_test): Likewise.
9908         (rint_test_tonearest): Likewise.
9909         (rint_test_towardzero): Likewise.
9910         (rint_test_downward): Likewise.
9911         (rint_test_upward): Likewise.
9912         (round_test): Likewise.
9913         (scalb_test): Likewise.
9914         (scalbn_test): Likewise.
9915         (scalbln_test): Likewise.
9916         (signbit_test): Likewise.
9917         (sin_test): Likewise.
9918         (sin_test_tonearest): Likewise.
9919         (sin_test_towardzero): Likewise.
9920         (sin_test_downward): Likewise.
9921         (sin_test_upward): Likewise.
9922         (sincos_test): Likewise.
9923         (sinh_test): Likewise.
9924         (sinh_test_tonearest): Likewise.
9925         (sinh_test_towardzero): Likewise.
9926         (sinh_test_downward): Likewise.
9927         (sinh_test_upward): Likewise.
9928         (sqrt_test): Likewise.
9929         (sqrt_test_tonearest): Likewise.
9930         (sqrt_test_towardzero): Likewise.
9931         (sqrt_test_downward): Likewise.
9932         (sqrt_test_upward): Likewise.
9933         (tan_test): Likewise.
9934         (tan_test_tonearest): Likewise.
9935         (tan_test_towardzero): Likewise.
9936         (tan_test_downward): Likewise.
9937         (tan_test_upward): Likewise.
9938         (tanh_test): Likewise.
9939         (tgamma_test): Likewise.
9940         (trunc_test): Likewise.
9941         (y0_test): Likewise.
9942         (y1_test): Likewise.
9943         (yn_test): Likewise.
9944         (significand_test): Likewise.
9945
9946         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9947         individual tests in comment.
9948         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9949         (prev_max_error): New variable.
9950         (prev_real_max_error): Likewise.
9951         (prev_imag_max_error): Likewise.
9952         (compare_ulp_data): Don't refer to test names in comment.
9953         (find_test_ulps): Remove function.
9954         (find_function_ulps): Likewise.
9955         (find_complex_function_ulps): Likewise.
9956         (init_max_error): Take function name as argument.  Look up ulps
9957         for that function.
9958         (print_ulps): Remove function.
9959         (print_max_error): Use prev_max_error instead of calling
9960         find_function_ulps.
9961         (print_complex_max_error): Use prev_real_max_error and
9962         prev_imag_max_error instead of calling find_complex_function_ulps.
9963         (check_float_internal): Take max_ulp parameter instead of calling
9964         find_test_ulps.  Don't call print_ulps.
9965         (check_float): Update call to check_float_internal.
9966         (check_complex): Update calls to check_float_internal.
9967         (START): Pass argument to init_max_error.
9968         * math/gen-libm-test.pl (%results): Don't include "kind"
9969         information.
9970         (parse_ulps): Don't handle ulps of individual tests.
9971         (print_ulps_file): Likewise.
9972         (output_ulps): Likewise.
9973         * math/README.libm-test: Update.
9974         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9975         individual tests.
9976         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9977         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9978         * sysdeps/arm/libm-test-ulps: Likewise.
9979         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9980         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9981         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9982         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9983         * sysdeps/microblaze/libm-test-ulps: Likewise.
9984         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9985         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9986         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9987         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9988         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9989         * sysdeps/sh/libm-test-ulps: Likewise.
9990         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9991         * sysdeps/tile/libm-test-ulps: Likewise.
9992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9993
9994 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9995
9996         * math/libm-test.inc (print_complex_max_error): Check separately
9997         whether real and imaginary errors are within allowed range and
9998         pass 0 to print_complex_function_ulps instead of value within
9999         allowed range.
10000
10001 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10002
10003         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10004         formatting.
10005         (get_handles_fopen): Likewise.
10006         (do_write_test): Likewise.
10007
10008         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10009
10010         * libio/fileops.c (do_ftell): Use cached offset when
10011         available.
10012         * libio/iofwide.c (do_ftell_wide): Likewise.
10013         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10014         _IO_file_attach.
10015         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10016
10017         [BZ #16532]
10018         * libio/libioP.h (get_file_offset): New function.
10019         * libio/fileops.c (get_file_offset): Likewise.
10020         (do_ftell): Likewise.
10021         (_IO_new_file_seekoff): Split out ftell logic.
10022         * libio/wfileops.c (do_ftell_wide): Likewise.
10023         (_IO_wfile_seekoff): Split out ftell logic.
10024         * libio/tst-ftell-active-handler.c: New test case.
10025         * libio/Makefile (tests): Add it.
10026
10027 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10028
10029         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10030         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10031
10032 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033
10034         [BZ #16639]
10035         * nscd/connections.c (nscd_init): Call do_exit.
10036         (start_threads): Call do_exit and notify_parent.
10037         (begin_drop_privileges): Call do_exit.
10038         (finish_drop_privileges): Likewise.
10039         * nscd/selinux.c (preserve_capabilities): Likewise.
10040         (install_real_capabilities): Likewise.
10041         (nscd_selinux_enabled): Likewise.
10042         (avc_create_thread): Likewise.
10043         (avc_alloc_lock): Likewise.
10044         (nscd_avc_init): Likewise.
10045         * nscd/nscd.c (parent_fd): New static variable.
10046         (main): Create a pipe between parent and child processes.
10047         Skip closing parent_fd.
10048         (monitor_child): New function.
10049         (do_exit): Likewise.
10050         (notify_parent): Likewise.
10051         * nscd/nscd.h (notify_parent): Likewise.
10052         (do_exit): Likewise.
10053
10054 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10055
10056         * malloc/malloc.c (__libc_calloc): Revert last change.
10057
10058 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10059
10060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10061
10062 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10063
10064         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10066         implementation.
10067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10068         (__libc_ifunc_impl_list): Likewise.
10069         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10070         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10071         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10072         * string/strrchr.c: Define STRRCHR.
10073
10074 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10075
10076         * benchtest/bench-strtok.c (simple_strtok): Delete.
10077         (strtok_string): Use as benchmark.
10078         * string/strtok (STRTOK): New macro.
10079
10080 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10081
10082         * manual/threads.texi: Add header and standard comments to all
10083         functions.
10084
10085         * elf/dl-lookup.c (check_match): New function.
10086         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10087         (do_lookup_x): Remove nested function check_match. Use non-nested
10088         function check_match.
10089
10090 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10091
10092         * csu/Makefile (generated, before-compile): Use += rather than =.
10093         * catgets/Makefile (generated, generated-dirs): Likewise.
10094         * debug/Makefile (generated): Likewise.
10095         * dlfcn/Makefile (generated): Likewise.
10096         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10097         * iconvdata/Makefile (before-compile, generated): Likewise.
10098         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10099         * libio/Makefile (generated): Likewise.
10100         * malloc/Makefile (generated): Likewise.
10101         * manual/Makefile (generated, generated-dirs): Likewise.
10102         * misc/Makefile (generated): Likewise.
10103         * posix/Makefile (generated): Likewise.
10104         * resolv/Makefile (generated): Likewise.
10105         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10106         * timezone/Makefile (generated, generated-dirs): Likewise.
10107
10108         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10109
10110 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10111
10112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10113         power8 implementation.
10114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10115         file: POWER8 llround ifunc implementation.
10116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10117         (__lllround): Add POWER8 implementation.
10118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10119         POWER8 llround implementation.
10120
10121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10122         power8 implementation.
10123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10124         file: POWER8 llrint ifunc implementation.
10125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10126         Add POWER8 implementation.
10127         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10128         POWER8 llrint implementation.
10129
10130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10131         power8 implementation.
10132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10133         file: POWER8 finite ifunc implementation.
10134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10135         Add POWER8 implementation.
10136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10137         Likewise.
10138         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10139         POWER8 finite implementation.
10140         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10141
10142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10143         power8 implementation.
10144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10145         file: POWER8 isinf ifunc implementation.
10146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10147         POWER8 implementation.
10148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10149         Likewise.
10150         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10151         isinf implementation.
10152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10153
10154         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10155         (INIT_ARCH): Add hwcap2 initialization.
10156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10157         power8 implementation.
10158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10159         file: POWER8 isnan ifunc implementation.
10160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10161         POWER8 implementation.
10162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10163         Likewise.
10164         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10165         isnan implementation.
10166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10167
10168 2014-02-27  Joey Ye  <joey.ye@arm.com>
10169
10170         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10171         (_FP_NANFRAC_Q): Set to zero.
10172
10173 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10174
10175         [BZ #16623]
10176         * math/auto-libm-test-in: New test inputs.
10177         * math/auto-libm-test-out: Regenerate.
10178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10179         and DA.
10180         (__cos): Likewise.
10181         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10182
10183 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10184
10185         * scripts/evaluate-test.sh: Take new argument indicating whether
10186         failure is expected.
10187         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10188         indicating whether failure is expected.
10189         * conform/Makefile (test-xfail-run-conformtest): New variable.
10190         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10191         level.
10192         * posix/Makefile (test-xfail-annexc): New variable.
10193         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10194
10195 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10196
10197         * argp/Makefile: Include Makeconfig immediately after defining
10198         subdir.
10199         * assert/Makefile: Likewise.
10200         * benchtests/Makefile: Likewise.
10201         * catgets/Makefile: Likewise.
10202         * conform/Makefile: Likewise.
10203         * crypt/Makefile: Likewise.
10204         * csu/Makefile: Likewise.
10205         (all): Remove target.
10206         * ctype/Makefile: Include Makeconfig immediately after defining
10207         subdir.
10208         * debug/Makefile: Likewise.
10209         * dirent/Makefile: Likewise.
10210         * dlfcn/Makefile: Likewise.
10211         * gmon/Makefile: Likewise.
10212         * gnulib/Makefile: Likewise.
10213         * grp/Makefile: Likewise.
10214         * gshadow/Makefile: Likewise.
10215         * hesiod/Makefile: Likewise.
10216         * hurd/Makefile: Likewise.
10217         (all): Remove target.
10218         * iconvdata/Makefile: Include Makeconfig immediately after
10219         defining subdir.
10220         * inet/Makefile: Likewise.
10221         * intl/Makefile: Likewise.
10222         * io/Makefile: Likewise.
10223         * libio/Makefile: Likewise.
10224         (all): Remove target.
10225         * locale/Makefile: Include Makeconfig immediately after defining
10226         subdir.
10227         * login/Makefile: Likewise.
10228         * mach/Makefile: Likewise.
10229         (all): Remove target.
10230         * malloc/Makefile: Include Makeconfig immediately after defining
10231         subdir.
10232         (all): Remove target.
10233         * manual/Makefile: Include Makeconfig immediately after defining
10234         subdir.
10235         * math/Makefile: Likewise.
10236         * misc/Makefile: Likewise.
10237         * nis/Makefile: Likewise.
10238         * nss/Makefile: Likewise.
10239         * po/Makefile: Likewise.
10240         (all): Remove target.
10241         * posix/Makefile: Include Makeconfig immediately after defining
10242         subdir.
10243         * pwd/Makefile: Likewise.
10244         * resolv/Makefile: Likewise.
10245         * resource/Makefile: Likewise.
10246         * rt/Makefile: Likewise.
10247         * setjmp/Makefile: Likewise.
10248         * shadow/Makefile: Likewise.
10249         * signal/Makefile: Likewise.
10250         * socket/Makefile: Likewise.
10251         * soft-fp/Makefile: Likewise.
10252         * stdio-common/Makefile: Likewise.
10253         * stdlib/Makefile: Likewise.
10254         * streams/Makefile: Likewise.
10255         * string/Makefile: Likewise.
10256         * sunrpc/Makefile: Likewise.
10257         (all): Remove target.
10258         * sysvipc/Makefile: Include Makeconfig immediately after defining
10259         subdir.
10260         * termios/Makefile: Likewise.
10261         * time/Makefile: Likewise.
10262         * timezone/Makefile: Likewise.
10263         (all): Remove target.
10264         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10265         subdir.
10266         * wctype/Makefile: Likewise.
10267
10268 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10269
10270         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10271         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10272         (libc_feholdexcept_setround_mips): Ditto.
10273         (libc_feholdsetround): New.
10274         (libc_feholdsetroundf): New.
10275         (libc_feholdsetroundl): New.
10276         (libc_feupdateenv_test_mips): New.
10277         (libc_feupdateenv_test): New.
10278         (libc_feupdateenv_testf): New.
10279         (libc_feupdateenv_testl): New.
10280         (libc_feresetround): New.
10281         (libc_feresetroundf): New.
10282         (libc_feresetroundl): New.
10283         (libc_fetestexcept_mips): New.
10284         (libc_fetestexcept): New.
10285         (libc_fetestexceptf): New.
10286         (libc_fetestexceptl): New.
10287         (HAVE_RM_CTX): New.
10288         (libc_feholdexcept_setround_mips_ctx): New.
10289         (libc_feholdexcept_setround_ctx): New.
10290         (libc_feholdexcept_setroundf_ctx): New.
10291         (libc_feholdexcept_setroundl_ctx): New.
10292         (libc_fesetenv_mips_ctx): New.
10293         (libc_fesetenv_ctx): New.
10294         (libc_fesetenv_ctxf): New.
10295         (libc_fesetenv_ctxl): New.
10296         (libc_feupdateenv_mips_ctx): New.
10297         (libc_feupdateenv_ctx): New.
10298         (libc_feupdateenvf_ctx): New.
10299         (libc_feupdateenvl_ctx): New.
10300         (libc_feholdsetround_mips_ctx): New.
10301         (libc_feholdsetround_ctx): New.
10302         (libc_feholdsetroundf_ctx): New.
10303         (libc_feholdsetroundl_ctx): New.
10304         (libc_feresetround_mips_ctx): New.
10305         (libc_feresetround_ctx): New.
10306         (libc_feresetroundf_ctx): New.
10307         (libc_feresetroundl_ctx): New.
10308
10309 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10310
10311         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10312
10313         * manual/ipc.texi: New file.
10314         * manual/Makefile (chapters): Add ipc.
10315         * manual/job.texi: Add "Inter-Process Communication" to next.
10316         * manual/process.texi: Add "Inter-Process Communication" to prev.
10317
10318 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10319
10320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10321
10322 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10323
10324         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10325
10326         * manual/arith.texi: Fix spaces after sentences.
10327         * manual/charset.texi: Likewise.
10328         * manual/errno.texi: Likewise.
10329         * manual/install.texi: Likewise.
10330         * manual/llio.texi: Likewise.
10331         * manual/locale.texi: Likewise.
10332         * manual/maint.texi: Likewise.
10333         * manual/math.texi: Likewise.
10334         * manual/memory.texi: Likewise.
10335         * manual/message.texi: Likewise.
10336         * manual/probes.texi: Likewise.
10337         * manual/resource.texi: Likewise.
10338         * manual/signal.texi: Likewise.
10339         * manual/socket.texi: Likewise.
10340         * manual/stdio.texi: Likewise.
10341         * manual/string.texi: Likewise.
10342         * manual/time.texi: Likewise.
10343         * manual/users.texi: Likewise.
10344
10345 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10346
10347         [BZ #16632]
10348         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10349         _DEFAULT_SOURCE is defined.
10350
10351 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10352             Carlos O'Donell  <carlos@redhat.com>
10353
10354         [BZ #16613]
10355         * elf/dl-tls.c (_dl_count_modids): New function.
10356         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10357         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10358         audit library and increment generation counter.
10359         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10360         * elf/tst-audit9.c: New file.
10361         * elf/tst-auditmod9a.c: New file.
10362         * elf/tst-auditmod9b.c: New file.
10363         * elf/Makefile: Add rules to build and run tst-audit9.
10364
10365 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10366
10367         [BZ #15347]
10368         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10369
10370 2014-02-25  Will Newton  <will.newton@linaro.org>
10371
10372         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10373         (__longjmp): Restore sp and lr before restoring callee
10374         saved registers.  Add longjmp and longjmp_target
10375         SystemTap probe point.
10376         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10377         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10378         Define to zero to match jmpbuf layout.
10379         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10380         (__sigsetjmp): Save sp and lr before saving callee
10381         saved registers.  Add setjmp SystemTap probe point.
10382
10383 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10384
10385         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10386
10387 2014-02-24  Andreas Schwab  <schwab@suse.de>
10388
10389         [BZ #15804]
10390         * elf/pldd.c (wait_for_ptrace_stop): New function.
10391         (main): Call it after attaching.
10392
10393 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10394
10395         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10396         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10397         Versions files is now verboten.
10398         * hurd/Versions (libc: GLIBC_2.0):
10399         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10400         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10401         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10402         * mach/Versions: Likewise.
10403
10404         * csu/Versions: Remove unused %include.
10405         * resolv/Versions: Likewise.
10406
10407 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10408
10409         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10410         ($(objpfx)check-local-headers.out): Likewise.
10411         ($(objpfx)begin-end-check.out): Likewise.
10412         * Makerules (check-abi-%.out): Likewise.
10413         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10414         ($(objpfx)test2.cat): Likewise.
10415         ($(objpfx)de/libc.cat): Likewise.
10416         ($(objpfx)test-gencat.out): Likewise.
10417         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10418         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10419         ($(objpfx)noload-mem): Likewise.
10420         ($(objpfx)tst-pathopt.out): Likewise.
10421         ($(objpfx)tst-rtld-load-self.out): Likewise.
10422         ($(objpfx)tst-array1-cmp.out): Likewise.
10423         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10424         ($(objpfx)tst-array2-cmp.out): Likewise.
10425         ($(objpfx)tst-array3-cmp.out): Likewise.
10426         ($(objpfx)tst-array4-cmp.out): Likewise.
10427         ($(objpfx)tst-array5-cmp.out): Likewise.
10428         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10429         ($(objpfx)check-textrel.out): Likewise.
10430         ($(objpfx)check-execstack.out): Likewise.
10431         ($(objpfx)check-localplt.out): Likewise.
10432         ($(objpfx)order2-cmp.out): Likewise.
10433         ($(objpfx)tst-leaks1-mem): Likewise.
10434         ($(objpfx)tst-leaks1-static-mem): Likewise.
10435         ($(objpfx)tst-initorder-cmp.out): Likewise.
10436         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10437         ($(objpfx)tst-unused-dep.out): Likewise.
10438         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10439         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10440         * iconv/Makefile (test-iconvconfig): Likewise.
10441         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10442         ($(objpfx)iconv-test.out): Likewise.
10443         ($(objpfx)tst-tables.out): Likewise.
10444         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10445         ($(objpfx)tst-gettext.out): Likewise.
10446         ($(objpfx)tst-translit.out): Likewise.
10447         ($(objpfx)tst-gettext2.out): Likewise.
10448         ($(objpfx)tst-gettext4.out): Likewise.
10449         ($(objpfx)tst-gettext6.out): Likewise.
10450         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10451         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10452         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10453         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10454         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10455         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10456         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10457         ($(objpfx)wordexp-tst.out): Likewise.
10458         ($(objpfx)annexc.out): Likewise.
10459         ($(objpfx)tst-fnmatch-mem): Likewise.
10460         ($(objpfx)bug-regex2-mem): Likewise.
10461         ($(objpfx)bug-regex14-mem): Likewise.
10462         ($(objpfx)bug-regex21-mem): Likewise.
10463         ($(objpfx)bug-regex31-mem): Likewise.
10464         ($(objpfx)tst-vfork3-mem): Likewise.
10465         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10466         ($(objpfx)tst-pcre-mem): Likewise.
10467         ($(objpfx)tst-boost-mem): Likewise.
10468         ($(objpfx)tst-getconf.out): Likewise.
10469         ($(objpfx)bug-ga2-mem): Likewise.
10470         ($(objpfx)bug-glob2-mem): Likewise.
10471         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10472         ($(objpfx)mtrace-tst-leaks2): Likewise.
10473         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10474         ($(objpfx)tst-printf.out): Likewise.
10475         ($(objpfx)tst-setvbuf1.out): Likewise.
10476         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10477         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10478         ($(objpfx)tst-fmtmsg.out): Likewise.
10479         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10480         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10481
10482         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10483         * bits/sigaction.h [__USE_MISC]: Likewise.
10484         * bits/waitstatus.h: Update #endif comments.
10485         * ctype/ctype.h: Likewise.
10486         * dirent/dirent.h: Likewise.
10487         [__USE_MISC]: Remove redundant conditionals.
10488         * grp/grp.h: Update #endif comments.
10489         [__USE_GNU]: Remove redundant conditionals.
10490         [__USE_MISC]: Likewise.
10491         * inet/netinet/in.h [__USE_GNU]: Likewise.
10492         * io/sys/stat.h [__USE_MISC]: Likewise.
10493         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10494         * libio/bits/stdio.h: Update #endif comments.
10495         [__USE_MISC]: Remove redundant conditionals.
10496         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10497         * libio/stdio.h: Update #endif comments.
10498         [__USE_MISC]: Remove redundant conditionals.
10499         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10500         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10501         * math/math.h: Update #else and #endif comments.
10502         [__USE_MISC]: Remove redundant conditionals.
10503         * misc/sys/uio.h: Update #endif comments.
10504         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10505         * posix/glob.h [__USE_MISC]: Likewise.
10506         * posix/sys/types.h: Update #endif comments.
10507         [__USE_MISC]: Remove redundant conditionals.
10508         * posix/sys/wait.h: Update #endif comments.
10509         [__USE_MISC]: Remove redundant conditionals.
10510         * posix/unistd.h: Update #endif comments.
10511         [__USE_MISC]: Remove redundant conditionals.
10512         * pwd/pwd.h [__USE_GNU]: Likewise.
10513         [__USE_MISC]: Likewise.
10514         * resolv/netdb.h [__USE_GNU]: Likewise.
10515         * signal/signal.h: Update #endif comments.
10516         [__USE_MISC]: Remove redundant conditionals.
10517         * stdlib/stdlib.h: Update #else and #endif comments.
10518         [__USE_MISC]: Remove redundant conditionals.
10519         [__USE_GNU]: Likewise.
10520         * string/bits/string2.h [__USE_MISC]: Likewise.
10521         * string/string.h: Update #endif comments.
10522         [__USE_MISC]: Remove redundant conditionals.
10523         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10524         Likewise.
10525         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10526         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10527         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10528         Likewise.
10529         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10530         Likewise.
10531         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10532         comments.
10533         [__USE_MISC]: Remove redundant conditionals.
10534         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10535         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10536         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10537         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10538         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10539         Likewise.
10540         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10541         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10542         Likewise.
10543         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10544         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10545         Likewise.
10546         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10547         Likewise.
10548         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10549         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10550         Likewise.
10551         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10552         Likewise.
10553         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10554         * sysdeps/x86/bits/string.h: Update #endif comments.
10555         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10556         conditionals.
10557         * time/sys/time.h: Update #endif comments.
10558         * time/time.h: Likewise.
10559         [__USE_MISC]: Remove redundant conditionals.
10560
10561 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10562
10563         [BZ #16600]
10564         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10565
10566 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10567
10568         * Versions.def (librt): Add GLIBC_2.17.
10569
10570 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10571
10572         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10573         synonym for _SYS_AUXV_H to allow direct inclusion.
10574         * sysdeps/sparc/bits/hwcap.h: Likewise.
10575         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10576         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10577         * sysdeps/sparc/sysdep.h: Likewise.
10578
10579 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10580
10581         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10582
10583 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10584
10585         * benchtests/bench-strrchr.c: Print length instead of position.
10586
10587 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10588
10589         [BZ #16611]
10590         * sysdeps/unix/sysv/linux/kernel-features.h
10591         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10592         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10593         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10594         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10595         Likewise.
10596         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10597         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10598         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10599         (__ASSUME_SENDMMSG): Define instead of using previous
10600         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10601         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10602         (__ASSUME_SENDMMSG_SYSCALL): Define.
10603         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10604         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10605         Likewise.
10606         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10608         Likewise.
10609         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10610         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10611         Likewise.
10612         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10613         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10614         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10615         [__ASSUME_SENDMMSG]: Change conditionals to
10616         [__ASSUME_SENDMMSG_SOCKETCALL].
10617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10618         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10619         Define.
10620         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10621         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10622         Likewise.
10623         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10624         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10625         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10626         [!__ASSUME_SENDMMSG]: Change conditional to
10627         [!__ASSUME_SENDMMSG_SOCKETCALL].
10628         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10629         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10630         Define.
10631
10632         [BZ #16610]
10633         * sysdeps/unix/sysv/linux/kernel-features.h
10634         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10635         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10636         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10637         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10638         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10639         [__i386__ || __sparc__]
10640         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10641         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10642         (__ASSUME_RECVMMSG): Define instead of using previous
10643         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10644         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10645         (__ASSUME_RECVMMSG_SYSCALL): Define.
10646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10648         Likewise.
10649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10651         Likewise.
10652         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10654         Likewise.
10655         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10656         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10657         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10658         [__ASSUME_RECVMMSG]: Change condition to
10659         [__ASSUME_RECVMMSG_SOCKETCALL].
10660         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10661         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10662         Define.
10663         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10664         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10665         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10666         Likewise.
10667         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10668         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10669         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10670         [!__ASSUME_RECVMMSG]: Change condition to
10671         [!__ASSUME_RECVMMSG_SOCKETCALL].
10672         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10673         (__ASSUME_RECVMMSG_SYSCALL): Define.
10674
10675         [BZ #16609]
10676         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10677         __powerpc__ || __s390__ || __sh__ || __sparc__]
10678         (__ASSUME_SOCKETCALL): Define.
10679         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10680         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10681         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10682         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10683         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10684         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10685         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10686         (__ASSUME_ACCEPT4): Define instead of using previous
10687         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10688         __powerpc__ || __sparc__ || __s390__)] condition.
10689         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10690         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10691         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10692         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10693         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10694         [!__ASSUME_ACCEPT4]: Change condition to
10695         [!__ASSUME_ACCEPT4_SOCKETCALL].
10696         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10697         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10698         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10699         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10700         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10701         __ASSUME_ACCEPT4_SYSCALL.
10702         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10703         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10704         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10705         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10706         __ASSUME_ACCEPT4_SYSCALL.
10707         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10708         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10709         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10710         [__ASSUME_ACCEPT4]: Change condition to
10711         [__ASSUME_ACCEPT4_SOCKETCALL].
10712         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10713         (__ASSUME_SOCKETCALL): Define.
10714         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10715         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10716         (__ASSUME_SOCKETCALL): Define.
10717         (__ASSUME_ACCEPT4): Remove.
10718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10719         Define.
10720         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10721         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10724         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10725
10726         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10727         macro.
10728         (HWCAP_ARM_LPAE): Likewise.
10729         (HWCAP_ARM_EVTSTRM): Likewise.
10730         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10731         Add vpfd32, lpae and evtstrm.
10732         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10733         Increase to 22.
10734
10735 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10736
10737         * math/auto-libm-test-in: Add tests of clog10.
10738         * math/auto-libm-test-out: Regenerated.
10739         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10740         * sysdeps/i386/fpu/libm-test-ulps: Update.
10741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742
10743 2014-02-18  Andreas Schwab  <schwab@suse.de>
10744
10745         [BZ #16574]
10746         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10747         Store non-zero if the second buffer was newly allocated.
10748         (send_dg): Likewise.
10749         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10750         to send_vc and send_dg.
10751         (res_nsend): Pass NULL for ansp2_malloced.
10752         * resolv/res_query.c (__libc_res_nquery): Add parameter
10753         answerp2_malloced and pass it down to __libc_res_nsend.
10754         (res_nquery): Pass additional NULL to __libc_res_nquery.
10755         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10756         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10757         second answer buffer if answerp2_malloced was set.
10758         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10759         (__libc_res_nquerydomain): Add parameter
10760         answerp2_malloced and pass it down to __libc_res_nquery.
10761         (res_nquerydomain): Pass additional NULL to
10762         __libc_res_nquerydomain.
10763         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10764         additional NULL to __libc_res_nsend and __libc_res_nquery.
10765         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10766         additional NULL to __libc_res_nsearch.
10767         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10768         parameter of __libc_res_nsearch to check for separately allocated
10769         second buffer.
10770         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10771         __libc_res_nquery.
10772         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10773         additional NULL to __libc_res_nquery.
10774         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10775         __libc_res_nsearch.
10776         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10777         * include/resolv.h: Update prototypes of __libc_res_nquery,
10778         __libc_res_nsearch, __libc_res_nsend.
10779
10780 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10781
10782         * math/auto-libm-test-in: Add tests of fma.
10783         * math/auto-libm-test-out: Regenerated.
10784         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10785         (fma_towardzero_test_data): Likewise.
10786         (fma_downward_test_data): Likewise.
10787         (fma_upward_test_data): Likewise.
10788         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10789         mpc_mode.
10790         (rounding_modes): Add values for new field.
10791         (func_calc_method): Add value mpfr_fff_f.
10792         (func_calc_desc): Add mpfr_fff_f union field.
10793         (test_function): Add field exact_args.
10794         (FUNC): Add macro argument EXACT_ARGS.
10795         (FUNC_mpfr_f_f): Update call to FUNC.
10796         (FUNC_mpfr_f_f): Likewise.
10797         (FUNC_mpfr_ff_f): Likewise.
10798         (FUNC_mpfr_if_f): Likewise.
10799         (FUNC_mpc_c_f): Likewise.
10800         (FUNC_mpc_c_c): Likewise.
10801         (test_functions): Add fma.  Update calls to FUNC.
10802         (handle_input_arg): Add argument exact_args.
10803         (add_test): Update call to handle_input_arg.
10804         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10805         (output_for_one_input_case): Update call to calc_generic_results.
10806         Recalculate exact zero results in each rounding mode.
10807
10808         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10809         non-negative before setting low bit.
10810         * math/auto-libm-test-in: Mark one asin test possibly having
10811         spurious underflow.
10812         * math/auto-libm-test-out: Regenerated.
10813         * sysdeps/i386/fpu/libm-test-ulps: Update.
10814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10815
10816 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10817
10818         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10819         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10820         ports/sysdeps/unix/sysv/linux/microblaze.
10821         * README: Add missing listing for microblaze*-*-linux-gnu.
10822
10823 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10824
10825         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10826         duplicate code
10827
10828 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10829
10830         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10831         * sysdeps/unix/sysv/linux/ia64: Move directory from
10832         ports/sysdeps/unix/sysv/linux/ia64.
10833         * README: Update listing for ia64-*-linux-gnu.
10834
10835 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10836             Joseph Myers  <joseph@codesourcery.com>
10837
10838         * Makeconfig (test-name): New variable.
10839         (evaluate-test): Likewise.
10840         * Makerules (do-test-clean): Remove .test-result files.
10841         (common-mostlyclean): Likewise.
10842         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10843         * scripts/evaluate-test.sh: New file.
10844
10845 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10846
10847         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10848         separate $(objpfx)tst-fopenloc-cmp.out and
10849         $(objpfx)tst-fopenloc-mem.out targets.
10850         (tests): Update dependencies.
10851         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10852         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10853         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10854         (tst-rxspencer-no-utf8-ARGS): New variable.
10855         (tst-rxspencer-no-utf8-ENV): Likewise.
10856         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10857         instead of $(objpfx)tst-rxspencer-mem.
10858         ($(objpfx)tst-rxspencer-mem): Change target to
10859         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10860         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10861         * posix/tst-rxspencer-no-utf8.c: New file.
10862
10863         * elf/Makefile ($(objpfx)order.out): Remove rule.
10864         [$(run-built-tests) = yes] (tests): Depend on
10865         $(objpfx)order-cmp.out.
10866         ($(objpfx)order-cmp.out): New rule.
10867         [$(run-built-tests) = yes] (tests): Depend on
10868         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10869         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10870         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10871         $(objpfx)tst-array5-static-cmp.out.
10872         ($(objpfx)tst-array1.out): Remove rule.
10873         ($(objpfx)tst-array1-cmp.out): New rule.
10874         ($(objpfx)tst-array1-static.out): Remove rule.
10875         ($(objpfx)tst-array1-static-cmp.out): New rule.
10876         ($(objpfx)tst-array2.out): Remove rule.
10877         ($(objpfx)tst-array2-cmp.out): New rule.
10878         ($(objpfx)tst-array3.out): Remove rule.
10879         ($(objpfx)tst-array3-cmp.out): New rule.
10880         ($(objpfx)tst-array4.out): Remove rule.
10881         ($(objpfx)tst-array4-cmp.out): New rule.
10882         ($(objpfx)tst-array5.out): Remove rule.
10883         ($(objpfx)tst-array5-cmp.out): New rule.
10884         ($(objpfx)tst-array5-static.out): Remove rule.
10885         ($(objpfx)tst-array5-static-cmp.out): New rule.
10886         [$(run-built-tests) = yes] (tests): Depend on
10887         $(objpfx)order2-cmp.out.
10888         ($(objpfx)order2.out): Remove rule.
10889         ($(objpfx)order2-cmp.out): New rule.
10890         ($(objpfx)tst-initorder.out): Remove rule.
10891         [$(run-built-tests) = yes] (tests): Depend on
10892         $(objpfx)tst-initorder-cmp.out.
10893         ($(objpfx)tst-initorder-cmp.out): New rule.
10894         ($(objpfx)tst-initorder2.out): Remove rule.
10895         [$(run-built-tests) = yes] (tests): Depend on
10896         $(objpfx)tst-initorder2-cmp.out.
10897         ($(objpfx)tst-initorder2-cmp.out): New rule.
10898         [$(run-built-tests) = yes] (tests): Depend on
10899         $(objpfx)tst-unused-dep-cmp.out.
10900         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10901         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10902         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10903         on $(objpfx)tst-setvbuf1-cmp.out.
10904         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10905         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10906         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10907         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10908         ($(objpfx)tst-svc.out): Remove rule.
10909         ($(objpfx)tst-svc-cmp.out): New rule.
10910
10911 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10912
10913         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10914         * ctype/ctype.h [__USE_MISC]: Likewise.
10915         * dirent/dirent.h [__USE_MISC]: Likewise.
10916         * grp/grp.h [__USE_MISC]: Likewise.
10917         * io/fcntl.h [__USE_MISC]: Likewise.
10918         * io/sys/stat.h [__USE_MISC]: Likewise.
10919         * libio/stdio.h [__USE_MISC]: Likewise.
10920         * posix/unistd.h [__USE_MISC]: Likewise.
10921         * pwd/pwd.h [__USE_MISC]: Likewise.
10922         * stdlib.h [__USE_MISC]: Likewise.
10923         * string/bits/string2.h [__USE_MISC]: Likewise.
10924         * string/string.h [__USE_MISC]: Likewise.
10925         * time/time.h [__USE_MISC]: Likewise.
10926
10927 2014-02-13  Andreas Schwab  <schwab@suse.de>
10928
10929         [BZ #16574]
10930         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10931         second answer buffer if it was separately allocated.
10932
10933 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10934
10935         * sysdeps/mips/math-tests.h: Include <features.h>.
10936         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10937         (ROUNDING_TESTS_long_double): Do not define.
10938         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10939         (EXCEPTION_TESTS_long_double): Likewise.
10940         * sysdeps/mips/mips64/libm-test-ulps: Update.
10941
10942         * include/features.h (__USE_BSD): Remove macro definitions.
10943         (__USE_SVID): Likewise.
10944         (_BSD_SOURCE): Likewise.
10945         (_SVID_SOURCE): Likewise.
10946         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10947         from definition of _DEFAULT_SOURCE.
10948         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10949         [_DEFAULT_SOURCE].
10950         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10951         * bits/mman.h [__USE_BSD]: Likewise.
10952         * bits/termios.h [__USE_BSD]: Likewise.
10953         * bits/waitstatus.h [__USE_BSD]: Likewise.
10954         * ctype/ctype.h [__USE_SVID]: Likewise.
10955         * dirent/dirent.h [__USE_BSD]: Likewise.
10956         * grp/grp.h [__USE_SVID]: Likewise.
10957         [__USE_BSD]: Likewise.
10958         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10959         * io/fcntl.h [__USE_BSD]: Likewise.
10960         * io/ftw.h [__USE_BSD]: Likewise.
10961         * io/sys/stat.h [__USE_BSD]: Likewise.
10962         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10963         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10964         * libio/stdio.h [__USE_SVID]: Likewise.
10965         [__USE_BSD]: Likewise.
10966         * math/math.h [__USE_SVID]: Likewise.
10967         [__USE_BSD]: Likewise.
10968         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10969         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10970         * misc/search.h [__USE_SVID]: Likewise.
10971         * misc/sys/mman.h [__USE_BSD]: Likewise.
10972         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10973         * misc/sys/uio.h [__USE_BSD]: Likewise.
10974         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10975         * posix/glob.h [__USE_BSD]: Likewise.
10976         * posix/regex.h [__USE_BSD]: Likewise.
10977         * posix/sys/types.h [__USE_BSD]: Likewise.
10978         [__USE_SVID]: Likewise.
10979         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10980         * posix/sys/wait.h [__USE_BSD]: Likewise.
10981         [__USE_SVID]: Likewise.
10982         * posix/unistd.h [__USE_BSD]: Likewise.
10983         [__USE_SVID]: Likewise.
10984         * pwd/pwd.h [__USE_SVID]: Likewise.
10985         * resolv/netdb.h [__USE_BSD]: Likewise.
10986         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10987         * signal/signal.h [__USE_BSD]: Likewise.
10988         [__USE_SVID]: Likewise.
10989         * socket/sys/socket.h [__USE_BSD]: Likewise.
10990         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10991         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10992         [__USE_SVID]: Likewise.
10993         * string/bits/string2.h [__USE_BSD]: Likewise.
10994         [__USE_SVID]: Likewise.
10995         * string/bits/string3.h [__USE_BSD]: Likewise.
10996         * string/endian.h [__USE_BSD]: Likewise.
10997         * string/string.h [__USE_SVID]: Likewise.
10998         [__USE_BSD]: Likewise.
10999         * string/strings.h [__USE_BSD]: Likewise.
11000         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11001         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11002         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11003         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11004         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11005         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11006         Likewise.
11007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11008         Likewise.
11009         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11010         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11011         Likewise.
11012         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11013         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11014         Likewise.
11015         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11016         Likewise.
11017         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11018         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11019         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11020         Likewise.
11021         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11022         Likewise.
11023         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11024         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11025         * termios/termios.h [__USE_BSD]: Likewise.
11026         * time/sys/time.h [__USE_BSD]: Likewise.
11027         * time/time.h [__USE_BSD]: Likewise.
11028         [__USE_SVID]: Likewise.
11029
11030         * Makefile (subdir_targets): Remove subdir_lint.out.
11031
11032         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11033         (do-tst-printf): Likewise.
11034         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11035         $(objpfx)tst-printf.out.
11036
11037         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11038
11039         * Makerules (check-abi-%): Change target to
11040         $(objpfx)check-abi-%.out.
11041         (check-abi target): Update dependencies.
11042         (check-abi-pattern variable): Redirect output of diff to $@.
11043         (check-abi variable): Likewise.
11044         * elf/Makefile (check-abi): Update dependencies.
11045
11046         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11047         unused.
11048         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11049         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11050         subnormal range.
11051         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11052         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11053         value has largest subnormal exponent.
11054         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11055         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11056         * sysdeps/aarch64/soft-fp/sfp-machine.h
11057         (_FP_TININESS_AFTER_ROUNDING): New macro.
11058         * sysdeps/alpha/soft-fp/sfp-machine.h
11059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11060         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11061         Likewise.
11062         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11063         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11064         * sysdeps/mips/soft-fp/sfp-machine.h
11065         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11066         * sysdeps/powerpc/soft-fp/sfp-machine.h
11067         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11068         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11069         Likewise.
11070         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11071         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11072         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11073         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11074         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11075         Likewise.
11076
11077 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11078
11079         [BZ #16545]
11080         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11081         model 1.
11082
11083 2014-02-12  Richard Henderson  <rth@redhat.com>
11084
11085         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11086         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11087         * sysdeps/unix/sysv/linux/alpha: Move directory from
11088         ports/sysdeps/unix/sysv/linux/alpha.
11089         * README: Update listing for alpha-*-linux-gnu.
11090
11091 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11092
11093         * include/features.h: Update comment documenting feature test
11094         macros.
11095         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11096         _DEFAULT_SOURCE.
11097         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11098         (_SVID_SOURCE): Likewise.
11099         (_DEFAULT_SOURCE): Update description of default features.
11100         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11101         with _GNU_SOURCE.
11102         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11103         (S_ISVTX): Likewise.
11104         * manual/math.texi (Mathematical Constants): Likewise.
11105         * manual/signal.texi (Interrupted Primitives): Likewise.
11106         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11107         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11108         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11109         Don't refer to _SVID_SOURCE in warning text.
11110
11111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11112
11113         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11114         already defined.
11115         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11116         * sysdeps/mips/dl-lookup.c: Remove.
11117         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11118
11119 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11120
11121         [BZ #16447]
11122         * math/auto-libm-test-in: Add testcase for expl.
11123         * math/auto-libm-test-out: Regenerate.
11124         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11125         calculation of unsafe.
11126         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11127
11128 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11129
11130         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11131         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11132         ports/sysdeps/unix/sysv/linux/aarch64.
11133         * README: Update listing for aarch64*-*-linux-gnu.
11134
11135 2014-02-11  Will Newton  <will.newton@linaro.org>
11136
11137         * manual/probes.texi (Mathematical Function Probes): Use
11138         "triggered" instead of "hit".
11139
11140         * manual/probes.texi (Internal Probes): Add documentation
11141         of setjmp, longjmp and longjmp_target probes.
11142
11143         * include/stap-probe.h: Add comment about probe argument
11144         format.
11145
11146         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11147         definition.  (tr_where, tr_freehook, tr_mallochook,
11148         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11149
11150 2014-02-11  David S. Miller  <davem@davemloft.net>
11151
11152         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11153         processing int_tests.
11154
11155 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11156
11157         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11158         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11159         * sysdeps/unix/sysv/linux/mips: Move directory from
11160         ports/sysdeps/unix/sysv/linux/mips.
11161         * README: Update listing for mips-*-linux-gnu and
11162         mips64-*-linux-gnu.
11163
11164 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11165
11166         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11167         * sysdeps/unix/sysv/linux/m68k: Move directory from
11168         ports/sysdeps/unix/sysv/linux/m68k.
11169         * README: Update listing for m68k-*-linux-gnu.
11170
11171 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11172
11173         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11174         * sysdeps/unix/sysv/linux/generic: Move directory from
11175         ports/sysdeps/unix/sysv/linux/generic.
11176         * sysdeps/unix/sysv/linux/tile: Move directory from
11177         ports/sysdeps/unix/sysv/linux/tile.
11178         * README: Update listing for tile*-*-linux-gnu.
11179
11180 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11181
11182         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11183         __builtin_expect.
11184         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11185         * catgets/open_catalog.c (__open_catalog): Likewise.
11186         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11187         * debug/confstr_chk.c: Likewise.
11188         * debug/fread_chk.c (__fread_chk): Likewise.
11189         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11190         * debug/getgroups_chk.c: Likewise.
11191         * debug/mbsnrtowcs_chk.c: Likewise.
11192         * debug/mbsrtowcs_chk.c: Likewise.
11193         * debug/mbstowcs_chk.c: Likewise.
11194         * debug/memcpy_chk.c: Likewise.
11195         * debug/memmove_chk.c: Likewise.
11196         * debug/mempcpy_chk.c: Likewise.
11197         * debug/memset_chk.c: Likewise.
11198         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11199         * debug/strcat_chk.c (__strcat_chk): Likewise.
11200         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11201         * debug/strncat_chk.c (__strncat_chk): Likewise.
11202         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11203         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11204         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11205         * debug/wcpncpy_chk.c: Likewise.
11206         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11207         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11208         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11209         * debug/wcsncpy_chk.c: Likewise.
11210         * debug/wcsnrtombs_chk.c: Likewise.
11211         * debug/wcsrtombs_chk.c: Likewise.
11212         * debug/wcstombs_chk.c: Likewise.
11213         * debug/wmemcpy_chk.c: Likewise.
11214         * debug/wmemmove_chk.c: Likewise.
11215         * debug/wmempcpy_chk.c: Likewise.
11216         * debug/wmemset_chk.c: Likewise.
11217         * dirent/scandirat.c (SCANDIRAT): Likewise.
11218         * dlfcn/dladdr1.c (dladdr1): Likewise.
11219         * dlfcn/dladdr.c (dladdr): Likewise.
11220         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11221         * dlfcn/dlerror.c (__dlerror): Likewise.
11222         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11223         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11224         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11225         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11226         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11227         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11228         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11229         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11230         Likewise.
11231         * elf/dl-conflict.c: Likewise.
11232         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11233         * elf/dl-dst.h: Likewise.
11234         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11235         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11236         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11237         * elf/dl-init.c (call_init, _dl_init): Likewise.
11238         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11239         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11240         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11241         Likewise.
11242         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11243         Likewise.
11244         * elf/dl-minimal.c (__libc_memalign): Likewise.
11245         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11246         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11247         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11248         * elf/dl-sym.c (do_sym): Likewise.
11249         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11250         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11251         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11252         * elf/dl-writev.h (_dl_writev): Likewise.
11253         * elf/ldconfig.c (search_dir): Likewise.
11254         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11255         (dl_main): Likewise.
11256         * elf/setup-vdso.h (setup_vdso): Likewise.
11257         * grp/compat-initgroups.c (compat_call): Likewise.
11258         * grp/fgetgrent.c (fgetgrent): Likewise.
11259         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11260         * grp/putgrent.c (putgrent): Likewise.
11261         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11262         Likewise.
11263         * hurd/hurdinit.c: Likewise.
11264         * iconvdata/8bit-gap.c (struct): Likewise.
11265         * iconvdata/ansi_x3.110.c : Likewise.
11266         * iconvdata/big5.c : Likewise.
11267         * iconvdata/big5hkscs.c : Likewise.
11268         * iconvdata/cp1255.c: Likewise.
11269         * iconvdata/cp1258.c : Likewise.
11270         * iconvdata/cp932.c : Likewise.
11271         * iconvdata/euc-cn.c: Likewise.
11272         * iconvdata/euc-jisx0213.c : Likewise.
11273         * iconvdata/euc-jp.c: Likewise.
11274         * iconvdata/euc-jp-ms.c : Likewise.
11275         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11276         * iconvdata/gb18030.c : Likewise.
11277         * iconvdata/gbbig5.c (const): Likewise.
11278         * iconvdata/gbgbk.c: Likewise.
11279         * iconvdata/gbk.c : Likewise.
11280         * iconvdata/ibm1364.c : Likewise.
11281         * iconvdata/ibm930.c : Likewise.
11282         * iconvdata/ibm932.c: Likewise.
11283         * iconvdata/ibm933.c : Likewise.
11284         * iconvdata/ibm935.c : Likewise.
11285         * iconvdata/ibm937.c : Likewise.
11286         * iconvdata/ibm939.c : Likewise.
11287         * iconvdata/ibm943.c: Likewise.
11288         * iconvdata/iso_11548-1.c: Likewise.
11289         * iconvdata/iso-2022-cn.c : Likewise.
11290         * iconvdata/iso-2022-cn-ext.c : Likewise.
11291         * iconvdata/iso-2022-jp-3.c: Likewise.
11292         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11293         * iconvdata/iso-2022-kr.c : Likewise.
11294         * iconvdata/iso646.c (gconv_end): Likewise.
11295         * iconvdata/iso_6937-2.c : Likewise.
11296         * iconvdata/iso_6937.c : Likewise.
11297         * iconvdata/iso8859-1.c: Likewise.
11298         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11299         * iconvdata/shift_jisx0213.c : Likewise.
11300         * iconvdata/sjis.c : Likewise.
11301         * iconvdata/t.61.c : Likewise.
11302         * iconvdata/tcvn5712-1.c : Likewise.
11303         * iconvdata/tscii.c: Likewise.
11304         * iconvdata/uhc.c : Likewise.
11305         * iconvdata/unicode.c (gconv_end): Likewise.
11306         * iconvdata/utf-16.c (gconv_end): Likewise.
11307         * iconvdata/utf-32.c (gconv_end): Likewise.
11308         * iconvdata/utf-7.c (base64): Likewise.
11309         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11310         * iconv/gconv_close.c (__gconv_close): Likewise.
11311         * iconv/gconv_open.c (__gconv_open): Likewise.
11312         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11313         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11314         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11315         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11316         (ucs4le_internal_loop_single): Likewise.
11317         * iconv/iconv.c (iconv): Likewise.
11318         * iconv/iconv_close.c: Likewise.
11319         * iconv/loop.c (SINGLE): Likewise.
11320         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11321         * include/atomic.h: Likewise.
11322         * inet/inet6_option.c (option_alloc): Likewise.
11323         * intl/bindtextdom.c (set_binding_values): Likewise.
11324         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11325         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11326         * intl/localealias.c (read_alias_file): Likewise.
11327         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11328         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11329         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11330         * libio/fmemopen.c (fmemopen): Likewise.
11331         * libio/iofgets.c (_IO_fgets): Likewise.
11332         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11333         * libio/iofgetws.c (fgetws): Likewise.
11334         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11335         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11336         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11337         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11338         * locale/findlocale.c (_nl_find_locale): Likewise.
11339         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11340         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11341         Likewise.
11342         * locale/setlocale.c (setlocale): Likewise.
11343         * login/programs/pt_chown.c (main): Likewise.
11344         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11345         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11346         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11347         (mmap, mmap64, mremap, munmap): Likewise.
11348         * math/e_exp2l.c: Likewise.
11349         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11350         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11351         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11352         * math/s_catan.c (__catan): Likewise.
11353         * math/s_catanf.c (__catanf): Likewise.
11354         * math/s_catanh.c (__catanh): Likewise.
11355         * math/s_catanhf.c (__catanhf): Likewise.
11356         * math/s_catanhl.c (__catanhl): Likewise.
11357         * math/s_catanl.c (__catanl): Likewise.
11358         * math/s_ccosh.c (__ccosh): Likewise.
11359         * math/s_ccoshf.c (__ccoshf): Likewise.
11360         * math/s_ccoshl.c (__ccoshl): Likewise.
11361         * math/s_cexp.c (__cexp): Likewise.
11362         * math/s_cexpf.c (__cexpf): Likewise.
11363         * math/s_cexpl.c (__cexpl): Likewise.
11364         * math/s_clog10.c (__clog10): Likewise.
11365         * math/s_clog10f.c (__clog10f): Likewise.
11366         * math/s_clog10l.c (__clog10l): Likewise.
11367         * math/s_clog.c (__clog): Likewise.
11368         * math/s_clogf.c (__clogf): Likewise.
11369         * math/s_clogl.c (__clogl): Likewise.
11370         * math/s_csin.c (__csin): Likewise.
11371         * math/s_csinf.c (__csinf): Likewise.
11372         * math/s_csinh.c (__csinh): Likewise.
11373         * math/s_csinhf.c (__csinhf): Likewise.
11374         * math/s_csinhl.c (__csinhl): Likewise.
11375         * math/s_csinl.c (__csinl): Likewise.
11376         * math/s_csqrt.c (__csqrt): Likewise.
11377         * math/s_csqrtf.c (__csqrtf): Likewise.
11378         * math/s_csqrtl.c (__csqrtl): Likewise.
11379         * math/s_ctan.c (__ctan): Likewise.
11380         * math/s_ctanf.c (__ctanf): Likewise.
11381         * math/s_ctanh.c (__ctanh): Likewise.
11382         * math/s_ctanhf.c (__ctanhf): Likewise.
11383         * math/s_ctanhl.c (__ctanhl): Likewise.
11384         * math/s_ctanl.c (__ctanl): Likewise.
11385         * math/w_pow.c: Likewise.
11386         * math/w_powf.c: Likewise.
11387         * math/w_powl.c: Likewise.
11388         * math/w_scalb.c (sysv_scalb): Likewise.
11389         * math/w_scalbf.c (sysv_scalbf): Likewise.
11390         * math/w_scalbl.c (sysv_scalbl): Likewise.
11391         * misc/error.c (error_tail): Likewise.
11392         * misc/pselect.c (__pselect): Likewise.
11393         * nis/nis_callback.c (__nis_create_callback): Likewise.
11394         * nis/nis_call.c (__nisfind_server): Likewise.
11395         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11396         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11397         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11398         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11399         * nis/nis_lookup.c (nis_lookup): Likewise.
11400         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11401         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11402         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11403         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11404         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11405         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11406         * nis/nss_compat/compat-initgroups.c (add_group)
11407         (internal_getgrent_r): Likewise.
11408         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11409         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11410         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11411         (internal_getspnam_r): Likewise.
11412         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11413         (_nss_nis_getaliasbyname_r): Likewise.
11414         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11415         (_nss_nis_getntohost_r): Likewise.
11416         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11417         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11418         (_nss_nis_getgrgid_r): Likewise.
11419         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11420         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11421         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11422         (_nss_nis_gethostbyname4_r): Likewise.
11423         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11424         (initgroups_netid): Likewise.
11425         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11426         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11427         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11428         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11429         (_nss_nis_getprotobynumber_r): Likewise.
11430         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11431         (_nss_nis_getsecretkey): Likewise.
11432         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11433         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11434         (_nss_nis_getpwuid_r): Likewise.
11435         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11436         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11437         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11438         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11439         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11440         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11441         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11442         Likewise.
11443         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11444         (_nss_nisplus_getntohost_r): Likewise.
11445         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11446         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11447         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11448         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11449         Likewise.
11450         * nis/nss_nisplus/nisplus-initgroups.c
11451         (_nss_nisplus_initgroups_dyn): Likewise.
11452         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11453         (_nss_nisplus_getnetbyaddr_r): Likewise.
11454         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11455         (_nss_nisplus_getprotobynumber_r): Likewise.
11456         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11457         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11458         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11459         Likewise.
11460         * nis/nss_nisplus/nisplus-service.c
11461         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11462         (_nss_nisplus_getservbyport_r): Likewise.
11463         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11464         (_nss_nisplus_getspnam_r): Likewise.
11465         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11466         Likewise.
11467         * nscd/aicache.c (addhstaiX): Likewise.
11468         * nscd/cache.c (cache_search, prune_cache): Likewise.
11469         * nscd/connections.c (register_traced_file, send_ro_fd)
11470         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11471         (main_loop_epoll): Likewise.
11472         * nscd/grpcache.c (addgrbyX): Likewise.
11473         * nscd/hstcache.c (addhstbyX): Likewise.
11474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11475         * nscd/mem.c (gc, mempool_alloc): Likewise.
11476         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11477         (addinnetgrX): Likewise.
11478         * nscd/nscd-client.h (__nscd_acquire_maplock)
11479         (__nscd_drop_map_ref): Likewise.
11480         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11481         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11482         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11483         Likewise.
11484         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11485         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11486         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11487         (__nscd_get_map_ref): Likewise.
11488         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11489         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11490         Likewise.
11491         * nscd/pwdcache.c (addpwbyX): Likewise.
11492         * nscd/selinux.c (preserve_capabilities): Likewise.
11493         * nscd/servicescache.c (addservbyX): Likewise.
11494         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11495         * posix/fnmatch.c (fnmatch): Likewise.
11496         * posix/getopt.c (_getopt_internal_r): Likewise.
11497         * posix/glob.c (glob, glob_in_dir): Likewise.
11498         * posix/wordexp.c (exec_comm_child): Likewise.
11499         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11500         (getanswer_r, gaih_getanswer_slice): Likewise.
11501         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11502         * resolv/res_init.c: Likewise.
11503         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11504         * resolv/res_query.c (__libc_res_nquery): Likewise.
11505         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11506         Likewise.
11507         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11508         * stdio-common/perror.c (perror): Likewise.
11509         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11510         * stdio-common/tmpnam.c (tmpnam): Likewise.
11511         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11512         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11513         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11514         Likewise.
11515         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11516         * stdlib/putenv.c (putenv): Likewise.
11517         * stdlib/setenv.c (__add_to_environ): Likewise.
11518         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11519         * stdlib/strtol_l.c (INTERNAL): Likewise.
11520         * string/memmem.c (memmem): Likewise.
11521         * string/strerror.c (strerror): Likewise.
11522         * string/strnlen.c (__strnlen): Likewise.
11523         * string/test-memmem.c (simple_memmem): Likewise.
11524         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11525         * sunrpc/pm_getport.c (__get_socket): Likewise.
11526         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11527         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11528         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11529         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11530         Likewise.
11531         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11532         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11533         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11534         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11535         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11536         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11537         Likewise.
11538         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11539         Likewise.
11540         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11541         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11543         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11544         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11546         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11547         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11548         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11549         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11550         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11551         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11552         Likewise.
11553         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11554         Likewise.
11555         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11556         Likewise.
11557         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11558         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11559         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11560         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11561         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11562         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11563         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11566         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11567         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11569         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11570         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11572         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11573         Likewise.
11574         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11575         Likewise.
11576         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11577         Likewise.
11578         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11579         Likewise.
11580         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11581         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11582         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11583         Likewise.
11584         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11585         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11586         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11587         * sysdeps/posix/sleep.c: Likewise.
11588         * sysdeps/posix/tempname.c: Likewise.
11589         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11590         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11591         Likewise.
11592         * sysdeps/powerpc/powerpc32/dl-machine.h
11593         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11594         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11595         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11596         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11597         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11598         Likewise.
11599         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11600         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11601         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11602         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11603         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11604         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11605         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11606         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11607         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11608         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11609         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11610         (elf_machine_lazy_rel): Likewise.
11611         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11613         (elf_machine_lazy_rel): Likewise.
11614         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11615         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11616         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11617         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11618         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11619         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11620         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11622         Likewise.
11623         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11624         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11625         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11626         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11627         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11628         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11629         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11630         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11631         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11632         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11633         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11634         Likewise.
11635         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11636         (__posix_fallocate64_l64): Likewise.
11637         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11638         (posix_fallocate): Likewise.
11639         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11640         Likewise.
11641         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11642         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11643         (getifaddrs_internal): Likewise.
11644         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11645         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11646         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11647         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11648         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11649         (__posix_fallocate64_l64): Likewise.
11650         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11651         Likewise.
11652         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11653         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11654         (__get_clockfreq): Likewise.
11655         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11656         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11657         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11658         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11660         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11661         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11662         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11663         Likewise.
11664         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11665         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11666         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11667         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11668         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11669         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11670         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11671         Likewise.
11672         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11673         (posix_fallocate): Likewise.
11674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11675         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11676         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11677         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11678         (elf_machine_rela, elf_machine_rela_relative)
11679         (elf_machine_lazy_rel): Likewise.
11680         * time/asctime.c (asctime_internal): Likewise.
11681         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11682         * time/tzset.c (__tzset_parse_tz): Likewise.
11683         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11684         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11685         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11686         * wcsmbs/wcsmbsload.h: Likewise.
11687
11688         [BZ #15894]
11689         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11690
11691         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11692         (arena_get2): Remove THREAD_STATS conditionals.
11693         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11694         (__malloc_stats, int): Likewise.
11695
11696 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11697
11698         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11699         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11700
11701         * manual/setjmp.texi: Fix typos/grammar errors.
11702
11703         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11704         Only return early when n is <= 0.  Delete unused return statement.
11705
11706         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11707         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11708         * debug/tst-longjmp_chk3.c: New file.
11709
11710         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11711         (test_main): Replace code with set_fortify_handler call.
11712         * debug/test-strcpy_chk.c: Likewise.
11713         * debug/tst-chk1.c: Likewise.
11714         * debug/tst-longjmp_chk.c: Likewise.
11715         * test-skeleton.c: Include fcntl.h & paths.h
11716         (set_fortify_handler): Define.
11717
11718         * debug/tst-longjmp_chk.c: Add header comment and include
11719         ../test-skeleton.c.
11720         (do_test): Mark static.
11721         (TEST_FUNCTION): Define.
11722
11723         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11724         (IP_PMTUDISC_INTERFACE): Likewise.
11725         (IP_MULTICAST_IF): Likewise.
11726         (IP_MULTICAST_TTL): Likewise.
11727         (IP_MULTICAST_LOOP): Likewise.
11728         (IP_ADD_MEMBERSHIP): Likewise.
11729         (IP_DROP_MEMBERSHIP): Likewise.
11730         (IP_UNBLOCK_SOURCE): Likewise.
11731         (IP_BLOCK_SOURCE): Likewise.
11732         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11733         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11734         (IP_MSFILTER): Likewise.
11735         (MCAST_JOIN_GROUP): Likewise.
11736         (MCAST_BLOCK_SOURCE): Likewise.
11737         (MCAST_UNBLOCK_SOURCE): Likewise.
11738         (MCAST_LEAVE_GROUP): Likewise.
11739         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11740         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11741         (MCAST_MSFILTER): Likewise.
11742         (IP_MULTICAST_ALL): Likewise.
11743         (IP_UNICAST_IF): Likewise.
11744
11745         * timezone/Makefile: Delete $(have-ksh) check.
11746         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11747         * timezone/tzselect.ksh: Add +x mode bits.
11748
11749         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11750         (ANON_INODE_FS_MAGIC): Likewise.
11751         (BDEVFS_MAGIC): Likewise.
11752         (BINFMTFS_MAGIC): Likewise.
11753         (BTRFS_TEST_MAGIC): Likewise.
11754         (CRAMFS_MAGIC_WEND): Likewise.
11755         (DEBUGFS_MAGIC): Likewise.
11756         (ECRYPTFS_SUPER_MAGIC): Likewise.
11757         (EXT3_SUPER_MAGIC): Likewise.
11758         (EXT4_SUPER_MAGIC): Likewise.
11759         (FUTEXFS_SUPER_MAGIC): Likewise.
11760         (HOSTFS_SUPER_MAGIC): Likewise.
11761         (HUGETLBFS_MAGIC): Likewise.
11762         (MINIX3_SUPER_MAGIC): Likewise.
11763         (MTD_INODE_FS_MAGIC): Likewise.
11764         (NILFS_SUPER_MAGIC): Likewise.
11765         (OPENPROM_SUPER_MAGIC): Likewise.
11766         (PIPEFS_MAGIC): Likewise.
11767         (PSTOREFS_MAGIC): Likewise.
11768         (QNX6_SUPER_MAGIC): Likewise.
11769         (RAMFS_MAGIC): Likewise.
11770         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11771         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11772         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11773         (SECURITYFS_MAGIC): Likewise.
11774         (SELINUX_MAGIC): Likewise.
11775         (SMACK_MAGIC): Likewise.
11776         (SOCKFS_MAGIC): Likewise.
11777         (SQUASHFS_MAGIC): Likewise.
11778         (STACK_END_MAGIC): Likewise.
11779         (TMPFS_MAGIC): Likewise.
11780         (USBDEVICE_SUPER_MAGIC): Likewise.
11781         (V9FS_MAGIC): Likewise.
11782         (XENFS_SUPER_MAGIC): Likewise.
11783         (CRAMFS_MAGIC): Fix typo in comment.
11784         (EXT2_SUPER_MAGIC): Update comment.
11785         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11786
11787 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11788
11789         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11790         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11791         * sysdeps/unix/sysv/linux/arm: Move directory from
11792         ports/sysdeps/unix/sysv/linux/arm.
11793         * README: Update listing for arm-*-linux-gnueabi.
11794
11795         * README: Remove mention of am33.
11796
11797 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11798
11799         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11800         than the comma operator, to avoid "rhs of comma has no effect"
11801         compiler warnings.
11802         (__sigfillset, __sigandset, __sigorset): Likewise.
11803         * include/signal.h (__sigemptyset): Likewise.
11804         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11805
11806 2014-02-07  Allan McRae  <allan@archlinux.org>
11807
11808         * version.h (RELEASE): Set to "development".
11809         (VERSION): Set to "2.19.90"
11810         * NEWS: Add 2.20 section.
11811
11812 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11813
11814         [BZ #16529]
11815         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11816
11817 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11818
11819         * manual/contrib.texi: Update entry for Carlos O'Donell,
11820         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11821
11822 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11823
11824         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11825
11826         * sysdeps/unix/sysv/linux/kernel-features.h
11827         [__LINUX_KERNEL_VERSION >= 0x020621]
11828         (__ASSUME_PROC_PID_TASK_COMM): Define.
11829
11830 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11831
11832         [BZ #16398]
11833         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11834         conversion when destination buffer does not have enough space.
11835         * libio/tst-ftell-partial-wide.c: New test case.
11836         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11837
11838         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11839         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11840         Leonard and Allan McRae.
11841
11842 2014-02-04  David S. Miller  <davem@davemloft.net>
11843
11844         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11845         32-bit.
11846
11847 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11848
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11850         New file
11851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11852         New file
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11854         New file.
11855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11856         New file.
11857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11858         New file.
11859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11860         New file.
11861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11862         New file.
11863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11864         New file.
11865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11866         New file.
11867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11868         New file.
11869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11870         New file.
11871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11872         New file.
11873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11874         New file.
11875
11876 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11877
11878         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11879         * shlib-versions: Likewise.
11880
11881 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11882             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883
11884         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11885         (abilist-pattern): New variable, set to %-le.abilist.
11886
11887         * Makerules (abilist-pattern): New variable.
11888         (vpath): Use $(abilist-pattern) in place of %.abilist.
11889         (check-abi-% pattern rule): Likewise.
11890         (check-abi, update-abi): Likewise.
11891
11892 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11893
11894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11895
11896 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11897
11898         * manual/startup.texi: Add next, previous, and top entries for
11899         the `Program Arguments' and `Environment Variables' nodes.
11900
11901 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11902
11903         * manual/macros.texi: Add comments before MTASC-safety macros.
11904
11905         * manual/users.texi: Document MTASC-safety properties.
11906
11907         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11908         (pthread_getspecific, pthread_setspecific): Format with
11909         @deftypefun, and add @safety note.
11910         * manual/signal.texi: Move comments that analyze the above
11911         functions to their home place.
11912
11913 2014-02-03  Allan McRae  <allan@archlinux.org>
11914
11915         * po/sl.po: Update Slovenian translation from translation project.
11916
11917 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11918
11919         * manual/time.texi (timegm): Add missing blank after @c.
11920         Reported by Joseph Myers <joseph@codesourcery.com>.
11921
11922 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11923
11924         * manual/check-safety.sh: New.
11925         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11926
11927         * manual/terminal.texi: Document MTASC-safety properties.
11928
11929         * manual/filesys.texi: Document MTASC-safety properties.
11930
11931         * manual/errno.texi: Document MTASC-safety properties.
11932
11933         * manual/intro.texi: Document safety identifiers and
11934         conditionals.
11935
11936         * manual/string.texi (wcstok): Fix prototype.
11937         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11938
11939         * manual/time.texi: Document MTASC-safety properties.
11940
11941         * manual/string.texi: Document MTASC-safety properties.
11942
11943         * manual/threads.texi: Document MTASC-safety properties.
11944
11945         * manual/stdio.texi: Document MTASC-safety properties.
11946
11947         * manual/syslog.texi: Document MTASC-safety properties.
11948
11949         * manual/sysinfo.texi: Document MTASC-safety properties.
11950
11951         * manual/startup.texi: Document MTASC-safety properties.
11952
11953         * manual/socket.texi: Document MTASC-safety properties.
11954
11955         * manual/signal.texi: Document MTASC-safety properties.
11956
11957 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11958
11959         * manual/setjmp.texi: Document MTASC-safety properties.
11960
11961         * manual/search.texi: Document MTASC-safety properties.
11962
11963         * manual/resource.texi: Document MTASC-safety properties.
11964
11965         * manual/process.texi: Document MTASC-safety properties.
11966
11967         * manual/platform.texi: Document MTASC-safety properties.
11968
11969         * manual/pipe.texi: Document MTASC-safety properties.
11970
11971         * manual/pattern.texi: Document MTASC-safety properties.
11972
11973         * manual/message.texi: Document MTASC-safety properties.
11974
11975         [BZ #12751]
11976         * manual/memory.texi: Document MTASC-safety properties.
11977
11978         * manual/math.texi: Document MTASC-safety properties.
11979
11980         * manual/locale.texi: Document MTASC-safety properties.
11981
11982         * manual/llio.texi: Document MTASC-safety properties.
11983
11984         * manual/libdl.texi: New.
11985
11986         * manual/lang.texi: Document MTASC-safety properties.
11987
11988         * manual/job.texi: Document MTASC-safety properties.
11989
11990         * manual/getopt.texi: Document MTASC-safety properties.
11991
11992         * manual/ctype.texi: Document MTASC-safety properties.
11993
11994 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11995
11996         [BZ #16046]
11997         * csu/libc-tls.c (static_map): Remove variable.
11998         (__libc_setup_tls): Use main executable's link map for TLS data.
11999         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12000         casing for LM_ID_BASE and GL(dl_nns).
12001         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12002         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12003         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12004         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12005         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12006         member.
12007         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12008         l_phnum members.
12009
12010 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12011
12012         * manual/debug.texi: Document MTASC-safety properties.
12013
12014 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12015
12016         [BZ #16510]
12017         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12018         of __x86_64__ when disabling x87 inline functions.
12019
12020 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12021
12022         * manual/charset.texi: Document MTASC-safety properties.
12023
12024         * manual/crypt.texi: Document MTASC-safety properties.
12025
12026         * manual/conf.texi: Document MTASC-safety properties.
12027
12028         * manual/arith.texi: Document MTASC-safety properties.
12029
12030         * manual/argp.texi: Document MTASC-safety properties.
12031
12032         * manual/macros.texi: Introduce macros to document multi
12033         thread, asynchronous signal and asynchronous cancellation
12034         safety properties.
12035         * manual/intro.texi: Introduce the properties themselves.
12036
12037 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12038
12039         * sysdeps/sh/sh4/Makefile: New file.
12040
12041 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12042
12043         * math/gen-libm-test.pl ($srcdir): New variable.
12044         ($auto_input): Use it.
12045
12046 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12047
12048         [BZ #16506]
12049         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12050         access beyond array bounds when parsing netgroups file.
12051
12052         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12053         the old buffer before realloc.
12054
12055 2014-01-27  Allan McRae  <allan@archlinux.org>
12056
12057         * po/fr.po: Update French translation from translation project.
12058
12059 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12060
12061         * sysdeps/sh/libm-test-ulps: Regenerate.
12062
12063 2014-01-24  David S. Miller  <davem@davemloft.net>
12064
12065         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12066
12067 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12068
12069         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12070         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12071
12072 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12073
12074         [BZ #16474]
12075         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12076         string pointers after reallocation.
12077
12078 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12079
12080         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12081         __SH4A__ instead of __SH_FPU_ANY__.
12082
12083 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12084
12085         * sysdeps/sh/fpu_control.h: New file.
12086         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12087         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12088         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12089         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12090         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12091         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12092         * sysdeps/sh/sys/ucontext.h: Remove.
12093         * sysdeps/sh/sys: Remove directory.
12094
12095 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12096
12097         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12098         s390/sys/ucontext.h.
12099         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12100         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12101
12102 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12103
12104         [BZ #15605]
12105         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12106
12107 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12108
12109         [BZ#16431]
12110         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12111         Adjust the vDSO correctly for internal calls.
12112         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12113
12114 2014-01-20  Allan McRae  <allan@archlinux.org>
12115
12116         * po/ca.po: Update Catalan translation from translation project.
12117
12118 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12119
12120         * sysdeps/s390/sotruss-lib.c: New file.
12121
12122 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12123
12124         [BZ#16430]
12125         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12126         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12127         local calls issues by not having a PLT stub required for IFUNC calls.
12128         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12129
12130 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12131
12132         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12133         * math/test-fpucw-static.c: Likewise.
12134
12135 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12136
12137         [BZ #16453]
12138         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12139
12140 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12141
12142         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12143         implementation for powerpc.
12144
12145 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12146
12147         [BZ #14782]
12148         * sysdeps/posix/system.c (__libc_system): Do not enable
12149         asynchronous cancellation.
12150
12151 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12152
12153         [BZ #16427]
12154         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12155         handling only for numbers special also in the IEEE case.
12156
12157 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12158
12159         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12160
12161 2014-01-11  Allan McRae  <allan@archlinux.org>
12162
12163         * po/bg.po: Update Bulgarian translation from translation project.
12164
12165         * po/de.po: Update German translation from translation project.
12166
12167 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12168
12169         * sysdeps/generic/gcc-compat.h: New file.
12170
12171 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12172
12173         * benchtests/asin-inputs: Correct slow inputs.
12174         * benchtests/acos-inputs: Likewise.
12175
12176 2014-01-10  Allan McRae  <allan@archlinux.org>
12177
12178         * po:sv.po: Update Swedish translation from translation project.
12179
12180         * po/vi.po: Update Vietnamese translation from translation project.
12181
12182         * po/eo.po: Update Esperanto translation from translation project.
12183
12184         * po/cs.po: Update Czech translation from translation project.
12185
12186         * po/nl.po: Update Dutch translation from translation project.
12187
12188         * po/pl.po: Update Polish translation from translation project.
12189
12190         * po/ru.po: Update Russian translation from translation project.
12191
12192         * po/uk.po: Update Ukrainian translation from translation project.
12193
12194 2014-01-08  Brooks Moses  <bmoses@google.com>
12195
12196         * elf/dl-load.c: Fix comment typo.
12197
12198 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12199
12200         * po/header.pot: Rename to...
12201         * po/pot.header: ... this.
12202         * po/Makefile: Use pot.header.
12203
12204 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12205             Maxim Kuvyrkov  <maxim@kugelworks.com>
12206
12207         [BZ #16394]
12208         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12209         SRC and DEST against LEN.
12210
12211 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12212
12213         [BZ #16414]
12214         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12215         implementation.
12216         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12217
12218 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12219
12220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12221
12222 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12223
12224         [BZ #16408]
12225         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12226         for large positive arguments.
12227
12228 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12229
12230         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12231
12232         * math/auto-libm-test-in: Mark various tests with
12233         xfail-rounding:ldbl-128ibm.
12234         * math/auto-libm-test-out: Regenerated.
12235
12236         [BZ #16407]
12237         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12238         Increase overflow threshold.
12239
12240 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12241
12242         [BZ #14286]
12243         * stdio-common/vfprintf.c: Check for integer overflow.
12244
12245 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12246
12247         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12248         the first argument and return value of __tls_get_addr_internal.
12249
12250 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12251
12252         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12253         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12254
12255 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12256
12257         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12258         * sysdeps/s390/rtld-global-offsets.sym: New file.
12259         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12260         GLIBC_2.19 symbol.
12261         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12262         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12263         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12264         ... this.
12265         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12266         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12267         ... this.
12268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12269         Regenerate.
12270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12271         Regenerate.
12272         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12273         halfs of GPRs for high_gprs contexts.
12274         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12275         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12276         field.
12277         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12278         uc_flags field.
12279         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12280         64 bit versions:
12281         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12282         for high GPRs (uc_high_gprs) and for future extensions
12283         (__reserved).
12284         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12285         for future extensions (__reserved).
12286         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12287         64 bit versions:
12288         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12289         SC_HIGHGPRS offset definition.
12290         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12291         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12292
12293         * Versions.def: Add GLIBC_2.19 for libpthread.
12294         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12295         siglongjmp for libpthread with GLIBC_2.19 symver.
12296         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12297         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12298         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12299         * sysdeps/s390/__longjmp.c: New file.
12300         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12301         * sysdeps/s390/longjmp.c: New file.
12302         * sysdeps/s390/setjmp.S: New file.
12303         * sysdeps/s390/sigjmp.S: New file.
12304         * sysdeps/s390/v1-longjmp.c: New file.
12305         * sysdeps/s390/v1-setjmp.h: New file.
12306         * sysdeps/s390/v1-sigjmp.c: New file.
12307         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12308         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12309         GLIBC_2.19 version.
12310         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12311         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12312         versioned symbols for ____longjmp_chk.
12313         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12316         Regenerate.
12317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12318         Regenerate.
12319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12320         Regenerate.
12321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12322         Regenerate.
12323         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12324         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12325         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12326         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12327         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12328         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12329         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12330         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12331         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12332         * sysdeps/s390/rtld-__longjmp.c: New file.
12333         * sysdeps/s390/rtld-setjmp.S: New file.
12334
12335 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12336
12337         [BZ #16400]
12338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12339         Return -__logl (x) for small positive arguments without evaluating
12340         a polynomial.
12341
12342 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12343
12344         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12345         Rename to ...
12346         (__ptrace_peeksiginfo_args): ... this.
12347         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12348         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12349         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12350
12351 2014-01-06  Allan McRae  <allan@archlinux.org>
12352
12353         * inet/netinet/in.h: Fix typo in comment.
12354
12355 2014-01-05  Andreas Jaeger  <aj@suse.de>
12356
12357         * sysdeps/i386/fpu/libm-test-ulps: Update.
12358
12359 2014-01-05  Allan McRae  <allan@archlinux.org>
12360
12361         * po/libc.pot: Regenerated.
12362
12363         * malloc/memusagestat.c: Fix gettext call formatting.
12364
12365 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12366
12367         * nscd/nscd.c: Improve usage() output.
12368
12369 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12370
12371         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12372         * sysdeps/unix/sysv/linux/configure: Regenerated.
12373         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12374         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12375
12376 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12377
12378         [BZ #16390]
12379         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12380         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12381
12382 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12383
12384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12385         extra tokens at end of #undef directive.
12386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12387         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12388         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12389
12390 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12391
12392         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12393
12394         * math/auto-libm-test-in: Mark various tests with
12395         xfail-rounding:ldbl-128ibm.
12396         * math/auto-libm-test-out: Regenerated.
12397
12398 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12399
12400         [BZ #16386]
12401         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12402         numbers with subnormal high part when calculating exponent.
12403
12404         [BZ #16385]
12405         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12406         fabs.
12407
12408         [BZ #16384]
12409         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12410         M_LN2l.
12411         (__ieee754_acoshl): Use __log1pl not __log1p.
12412
12413 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12414
12415         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12416         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12417         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12418         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12419         (reused_arena, arena_get2): Convert to GNU style.
12420         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12421         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12422         (memalign_check, __malloc_set_state): Likewise.
12423         * malloc/mallocbug.c (main): Likewise.
12424         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12425         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12426         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12427         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12428         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12429         (__posix_memalign, malloc_info): Likewise.
12430         * malloc/malloc.h: Likewise.
12431         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12432         (mallochook, memalignhook, reallochook, mabort): Likewise.
12433         * malloc/mcheck.h: Likewise.
12434         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12435         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12436         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12437         * malloc/morecore.c (__default_morecore): Likewise.
12438         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12439         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12440         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12441         (print_and_abort): Likewise.
12442         * malloc/obstack.h: Likewise.
12443         * malloc/set-freeres.c (__libc_freeres): Likewise.
12444         * malloc/tst-mallocstate.c (main): Likewise.
12445         * malloc/tst-mtrace.c (main): Likewise.
12446         * malloc/tst-realloc.c (do_test): Likewise.
12447
12448 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12449
12450         [BZ #16366]
12451         * nscd/netgroupcache.c (do_notfound): New function.
12452         (addgetnetgrentX): Use it.
12453
12454         [BZ # 16365]
12455         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12456         NSS_STATUS_NOTFOUND.
12457
12458 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12459
12460         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12462
12463 2014-01-01  Allan McRae  <allan@archlinux.org>
12464
12465         * scripts/update-copyrights: Update configure input file suffix.
12466
12467         * NEWS: Update copyright year.
12468         * catgets/gencat.c: Likewise.
12469         * csu/version.c: Likewise.
12470         * debug/catchsegv.sh: Likewise.
12471         * debug/pcprofiledump.c: Likewise.
12472         * debug/xtrace.sh: Likewise.
12473         * elf/ldconfig.c: Likewise.
12474         * elf/ldd.bash.in: Likewise.
12475         * elf/pldd.c: Likewise.
12476         * elf/sotruss.ksh: Likewise.
12477         * elf/sprof.c: Likewise.
12478         * iconv/iconv_prog.c: Likewise.
12479         * iconv/iconvconfig.c: Likewise.
12480         * locale/programs/locale.c: Likewise.
12481         * locale/programs/localedef.c: Likewise.
12482         * login/programs/pt_chown.c: Likewise.
12483         * malloc/memusage.sh: Likewise.
12484         * malloc/memusagestat.c: Likewise.
12485         * malloc/mtrace.pl: Likewise.
12486         * manual/libc.texinfo: Likewise.
12487         * nscd/nscd.c: Likewise.
12488         * nss/getent.c: Likewise.
12489         * nss/makedb.c: Likewise.
12490         * posix/getconf.c: Likewise.
12491         * scripts/test-installation.pl: Likewise.
12492
12493         * All files with FSF copyright notices: Update copyright dates
12494         using scripts/update-copyrights.
12495         * intl/plural.c: Regenerated.
12496         * locale/programs/charmap-kw.h: Likewise.
12497         * locale/programs/locfile-kw.h: Likewise.
12498
12499 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12500
12501         * sysdeps/unix/sysv/linux/configure: Regenerated.
12502         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12503         the linux/fanotify.h header.
12504         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12505         HAVE_LINUX_FANOTIFY_H is defined.
12506
12507 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12508
12509         * benchtests/cos-inputs: New inputs.
12510         * benchtests/sin-inputs: Likewise.
12511
12512         * benchtests/atan-inputs: New inputs. Fix name of multiple
12513         precision fallback inputs.
12514
12515         * benchtests/atanh-inputs: New inputs.
12516         * benchtests/tanh-inputs: Likewise.
12517
12518         * benchtests/acosh-inputs: New inputs.
12519         * benchtests/asinh-inputs: Likewise.
12520
12521         * benchtests/cosh-inputs: New inputs.
12522         * benchtests/sinh-inputs: Likewise.
12523
12524         * benchtests/acos-inputs: Add more inputs.
12525         * benchtests/asin-inputs: Likewise.
12526
12527 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12528
12529         [BZ #16375]
12530         * manual/arith.texi: Fix spelling.
12531         * manual/charset.texi: Likewise.
12532         * manual/errno.texi: Likewise.
12533         * manual/filesys.texi: Likewise.
12534         * manual/lang.texi: Likewise.
12535         * manual/llio.texi: Likewise.
12536         * manual/locale.texi: Likewise.
12537         * manual/message.texi: Likewise.
12538         * manual/resource.texi: Likewise.
12539         * manual/search.texi: Likewise.
12540         * manual/setjmp.texi: Likewise.
12541         * manual/stdio.texi: Likewise.
12542         * manual/string.texi: Likewise.
12543         * manual/sysinfo.texi: Likewise.
12544         * manual/time.texi: Likewise.
12545
12546 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12547
12548         * po/sl.po: New file.
12549
12550 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12551
12552         * .gitignore: Add core/.gdbinit/.gdb_history.
12553
12554 2013-12-27  Allan McRae  <allan@archlinux.org>
12555
12556         [BZ #16369]
12557         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12558         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12559
12560 2013-12-24  Brooks Moses  <bmoses@google.com>
12561
12562         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12563         all compilers that claim C++98 compliance, not just GCC.
12564         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12565         Likewise.
12566
12567 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12568
12569         * NEWS: Restore accidentally deleted bug-fix entries.
12570
12571 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12572             Ondřej Bílka  <neleai@seznam.cz>
12573
12574         [BZ #15073]
12575         * malloc/malloc.c (_int_free): Perform sanity check only if we
12576         have_lock.
12577
12578 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12579
12580         [BZ #12986]
12581         * manual/stdio.texi (String Input Conversions): Clarify that character
12582         classes are not supported.
12583
12584 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12585
12586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12587
12588 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12589
12590         [BZ #16337]
12591         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12592         Calculate results for small negative arguments directly rather
12593         than using reflection formula with special underflow handling.
12594
12595         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12596         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12597         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12598         (fchflags): Likewise.
12599         (revoke): Likewise.
12600         (setlogin): Likewise.
12601         (sigaltstack): Likewise.
12602         (wait4): Likewise.
12603         (sigblock): Remove.
12604         (sigsetmask): Likewise.
12605         (wait3): Likewise.
12606         (waitpid): Likewise.
12607         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12608         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12609         file.
12610         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12611         * sysdeps/unix/bsd/Makefile: ... here.
12612         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12613         * sysdeps/unix/bsd/Versions: ... here.
12614         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12615         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12616         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12617         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12618         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12619         * sysdeps/unix/bsd/sigblock.c: ... here.
12620         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12621         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12622         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12623         * sysdeps/unix/bsd/sigvec.c: ... here.
12624         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12625         * sysdeps/unix/bsd/tcdrain.c: ... here.
12626         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12627         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12628         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12629         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12630         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12631         * sysdeps/unix/bsd/wait.c: ... here.
12632         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12633         * sysdeps/unix/bsd/wait3.c: ... here.
12634         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12635         * sysdeps/unix/bsd/waitpid.c: ... here.
12636
12637 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12638
12639         [BZ #16356]
12640         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12641         round-to-nearest for [!USE_AS_EXPM1L].
12642         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12643         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12644         more tests of exp and exp10.  Expect some exp10 tests to miss
12645         exceptions or fail in directed rounding modes.
12646         * math/auto-libm-test-out: Regenerated.
12647         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12648         (exp10_test_tonearest): New function.
12649         (exp10_towardzero_test_data): New array.
12650         (exp10_test_towardzero): New function.
12651         (exp10_downward_test_data): New array.
12652         (exp10_test_downward): New function.
12653         (exp10_upward_test_data): New array.
12654         (exp10_test_upward): New function.
12655         (main): Call the new functions.
12656         * sysdeps/i386/fpu/libm-test-ulps: Update.
12657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12658
12659 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12660
12661         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12662         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12663         * math/auto-libm-test-out: Regenerated.
12664         * math/libm-test.inc (acosh_test_data): Add more tests.
12665         (atanh_test_data): Likewise.
12666         (ceil_test_data): Likewise.
12667         (copysign_test_data): Likewise.
12668         * sysdeps/i386/fpu/libm-test-ulps: Update.
12669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12670
12671         * timezone/checktab.awk: Update from tzcode 2013i.
12672         * timezone/private.h: Likewise.
12673         * timezone/scheck.c: Likewise.
12674         * timezone/tzfile.h: Likewise.
12675         * timezone/tzselect.ksh: Likewise.
12676         * timezone/zdump.c: Likewise.
12677         * timezone/zic.c: Likewise.
12678
12679         * math/auto-libm-test-in: Add tests of cpow.
12680         * math/auto-libm-test-out: Regenerated.
12681         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12682         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12683         mpc_cc_c.
12684         (func_calc_desc): Add mpc_cc_c union field.
12685         (test_functions): Add cpow.
12686         (special_fill_2pi): New function.
12687         (special_real_inputs): Add 2pi.
12688         (calc_generic_results): Handle mpc_cc_c.
12689         * sysdeps/i386/fpu/libm-test-ulps: Update.
12690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12691
12692         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12693         csqrt, ctan and ctanh.
12694         * math/auto-libm-test-out: Regenerated.
12695         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12696         (TEST_COND_x86): Likewise.
12697         (ccos_test_data): Use AUTO_TESTS_c_c.
12698         (ccosh_test_data): Likewise.
12699         (cexp_test_data): Likewise.
12700         (clog_test_data): Likewise.
12701         (csqrt_test_data): Likewise.
12702         (ctan_test_data): Likewise.
12703         (ctan_tonearest_test_data): Likewise.
12704         (ctan_towardzero_test_data): Likewise.
12705         (ctan_downward_test_data): Likewise.
12706         (ctan_upward_test_data): Likewise.
12707         (ctanh_test_data): Likewise.
12708         (ctanh_tonearest_test_data): Likewise.
12709         (ctanh_towardzero_test_data): Likewise.
12710         (ctanh_downward_test_data): Likewise.
12711         (ctanh_upward_test_data): Likewise.
12712         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12713         mpc_c_c.
12714         (func_calc_desc): Add mpc_c_c union field.
12715         (FUNC_mpc_c_c): New macro.
12716         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12717         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12718         ctanh.
12719         (special_fill_min_subnorm_p120): New function.
12720         (special_real_inputs): Add min_subnorm_p120.
12721         (calc_generic_results): Handle mpc_c_c.
12722         * sysdeps/i386/fpu/libm-test-ulps: Update.
12723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12724
12725 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12726
12727         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12728         (do_sin_slow): New functions.
12729         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12730         (cslow2, csloww1, csloww2): Use the new functions.
12731
12732         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12733         Use M to change sign of result instead of X.  Assume X is
12734         positive.
12735         (csloww1): Likewise.
12736         (__sin): Adjust.
12737         (__cos): Adjust.
12738
12739         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12740         arguments A and DA.
12741         (__sin): Adjust.
12742         (__cos): Likewise.
12743
12744         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12745         (__cos): Likewise.
12746         (sloww1): Don't adjust sign of DX.
12747         (csloww1): Likewise.
12748         (sloww2): Use X directly and don't adjust sign of DX.
12749         (csloww2): Likewise.
12750
12751 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12752
12753         * math/auto-libm-test-in: Add tests of cabs and carg.
12754         * math/auto-libm-test-out: Regenerated.
12755         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12756         (carg_test_data): Likewise.
12757         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12758         mpc_c_f.
12759         (func_calc_desc): Add mpc_c_f union field.
12760         (test_functions): Add cabs and carg.
12761         (calc_generic_results): Handle mpc_c_f.
12762
12763         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12764         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12765         as a macro and a compat symbol.
12766         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12767         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12768         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12769         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12770         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12771         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12772         not use .hidden.
12773         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12774         Likewise.
12775         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12776         Likewise.
12777         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12778         Likewise.
12779         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12780         Likewise.
12781         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12782         Likewise.
12783         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12784         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12785         from GLIBC_2.3.2.
12786
12787 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12788
12789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12790
12791 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12792
12793         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12794         trailing whitespace removed.
12795         * scripts/config.guess: Update to version 2013-11-29.
12796         * scripts/config.sub: Update to version 2013-10-01.
12797
12798         * math/auto-libm-test-in: Add tests of sincos.
12799         * math/auto-libm-test-out: Regenerated.
12800         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12801         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12802         mpfr_f_11.
12803         (func_calc_desc): Add mpfr_f_11 union field.
12804         (test_functions): Add sincos.
12805         (calc_generic_results): Handle mpfr_f_11.
12806         * sysdeps/i386/fpu/libm-test-ulps: Update.
12807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12808
12809 2013-12-19  Andreas Schwab  <schwab@suse.de>
12810
12811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12812         CALL_MCOUNT.
12813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12814         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12815         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12816
12817 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12818
12819         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12820         * sysdeps/i386/fpu/libm-test-ulps: Update.
12821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12822
12823         [BZ #16293]
12824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12825         round-to-nearest mode when using frndint.
12826         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12827         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12828         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12829         Likewise.
12830         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12831         sinh test to fail.
12832         * math/auto-libm-test-out: Regenerated.
12833         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12834         (TEST_COND_x86): Likewise.
12835         (expm1_tonearest_test_data): New array.
12836         (expm1_test_tonearest): New function.
12837         (expm1_towardzero_test_data): New array.
12838         (expm1_test_towardzero): New function.
12839         (expm1_downward_test_data): New array.
12840         (expm1_test_downward): New function.
12841         (expm1_upward_test_data): New array.
12842         (expm1_test_upward): New function.
12843         (main): Run the new test functions.
12844         * sysdeps/i386/fpu/libm-test-ulps: Update.
12845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12846
12847         * include/features.h: Update comment documenting feature test
12848         macros.  Mention _DEFAULT_SOURCE in comment.
12849         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12850         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12851         _BSD_SOURCE and _SVID_SOURCE.
12852         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12853         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12854         !_SVID_SOURCE]: Likewise.
12855         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12856         (__USE_POSIX_IMPLICITLY): Define.
12857         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12858         (_POSIX_SOURCE): Undefine and redefine.
12859         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12860         (_POSIX_C_SOURCE): Likewise.
12861         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12862         (Feature Test Macros): Update documentation of default features.
12863
12864 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12865
12866         * benchtests/Makefile: Add bench-strtok.
12867         * benchtests/bench-strtok.c: New file: strtok benchtest.
12868
12869 2013-12-19  Allan McRae  <allan@archlinux.org>
12870
12871         * manual/install.texi: Suppress menu for plain text output.
12872         * INSTALL: Regenerated.
12873
12874 2013-12-18  Brooks Moses  <bmoses@google.com>
12875
12876         [BZ #15846]
12877         * misc/getauxval.c: Include errno.h.
12878         (__getauxval): Set errno to ENOENT if the requested type is not
12879         found.
12880         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12881         don't declare with __attribute_const__.
12882         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12883         * manual/startup.texi: Document that getauxval sets errno.
12884
12885 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12886
12887         * math/auto-libm-test-in: Add tests of jn and yn.
12888         * math/auto-libm-test-out: Regenerated.
12889         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12890         (yn_test_data): Likewise.
12891         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12892         mpfr_if_f.
12893         (func_calc_desc): Add mpfr_if_f union field.
12894         (FUNC_mpfr_if_f): New macro.
12895         (test_functions): Add jn and yn.
12896         (calc_generic_results): Assert type of second input for
12897         mpfr_ff_f.  Handle mpfr_if_f.
12898         (output_for_one_input_case): Disable all checking for arguments
12899         fitting floating-point types in case of an integer argument.
12900         * sysdeps/i386/fpu/libm-test-ulps: Update.
12901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12902
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12904         Don't expect fegetround reference in libm.so.
12905
12906 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12907
12908         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12909         $(config-cflags-nofma).
12910
12911 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12912
12913         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12914         * math/auto-libm-test-out: Regenerated.
12915
12916         [BZ #16338]
12917         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12918         to determine exponent and adjust argument to have exponent of -1.
12919         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12920         log2.
12921         * math/auto-libm-test-out: Regenerated.
12922         * sysdeps/i386/fpu/libm-test-ulps: Update.
12923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924
12925 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12926
12927         * manual/probes.texi: Remove cases when per-thread arenas are
12928         disabled.
12929
12930 2013-12-18  Andreas Schwab  <schwab@suse.de>
12931
12932         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12933         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12934         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12935         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12936         * sysdeps/i386/i686/multiarch/Makefile: Update.
12937         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12938
12939 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12940
12941         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12942         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12943
12944 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12945
12946         [BZ #15968]
12947         Support TZ transition times < 00:00:00.
12948         This is needed for version-3 tz-format files; it supports time
12949         stamps past 2037 for America/Godthab (the only entry in the tz
12950         database for which this change is relevant).
12951         * manual/time.texi (TZ Variable): Document transition times
12952         from -167:59:59 through -00:00:01.
12953         * time/tzset.c (tz_rule): Time of day is now signed.
12954         (__tzset_parse_tz): Parse negative time of day.
12955
12956         Document TZ transition times >= 25:00:00.
12957         * manual/time.texi (TZ Variable): Document transition times from
12958         25:00:00 through 167:59:59.  These are already supported, and this
12959         support will help with version-3 tz-format files.
12960
12961         * manual/time.texi (TZ Variable): Modernize North America example
12962         to reflect current (i.e., 2007-and-later) daylight saving rules.
12963
12964         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12965
12966 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12967
12968         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12969         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12970         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12971         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12972         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12973         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12974         * sysdeps/unix/bsd/clock.c: Likewise.
12975         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12976         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12977         * sysdeps/unix/bsd/init-posix.c: Likewise.
12978         * sysdeps/unix/bsd/poll.c: Likewise.
12979         * sysdeps/unix/bsd/ptsname.c: Likewise.
12980         * sysdeps/unix/bsd/seekdir.c: Likewise.
12981         * sysdeps/unix/bsd/setegid.c: Likewise.
12982         * sysdeps/unix/bsd/seteuid.c: Likewise.
12983         * sysdeps/unix/bsd/setgid.c: Likewise.
12984         * sysdeps/unix/bsd/setrgid.c: Likewise.
12985         * sysdeps/unix/bsd/setruid.c: Likewise.
12986         * sysdeps/unix/bsd/setsid.c: Likewise.
12987         * sysdeps/unix/bsd/setuid.c: Likewise.
12988         * sysdeps/unix/bsd/sigaction.c: Likewise.
12989         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12990         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12991         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12992         * sysdeps/unix/bsd/telldir.c: Likewise.
12993         * sysdeps/unix/bsd/times.c: Likewise.
12994         * sysdeps/unix/bsd/usleep.c: Likewise.
12995
12996         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12997         ($(objpfx)libbsd-compat.a): Remove rule.
12998
12999         * include/features.h (__FAVOR_BSD): Do not define.
13000         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13001         features conflicting with POSIX.
13002         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13003         (_BSD_SOURCE): Remove description of not being a subset of other
13004         feature test macros.
13005         * manual/job.texi (getpgrp): Do not document BSD version.
13006         (getpgid): Do not document by reference to BSD getpgrp.
13007         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13008         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13009         * signal/signal.h [__FAVOR_BSD]: Likewise.
13010         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13011         instead of making contents conditional on [__FAVOR_BSD].
13012         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13013
13014 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13015
13016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13017
13018 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13019
13020         [BZ #16314]
13021         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13022         values below 2**-450, not 2**-500.
13023         * math/auto-libm-test-in: Don't allow spurious underflow from
13024         hypot.
13025         * math/auto-libm-test-out: Regenerated.
13026
13027         [BZ #16316]
13028         [BZ #16330]
13029         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13030         values of ha and hb and sort them after adjusting subnormal
13031         arguments.
13032         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13033         Likewise.
13034         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13035         values of ea and eb and sort them after adjusting subnormal
13036         arguments.
13037         * math/auto-libm-test-in: Do not expect some hypot tests of
13038         subnormals to fail.  Add more hypot tests.
13039         * math/auto-libm-test-out: Regenerated.
13040
13041 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13042
13043         [BZ #13304]
13044         * sysdeps/sh/s_fma.c: New file.
13045         * sysdeps/sh/s_fmaf.c: New file.
13046         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13047         version.
13048         * sysdeps/sh/Implies: Add sh/soft-fp.
13049
13050 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13051
13052         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13053         level of indirection to members `objname', `errstring', `malloced'.
13054         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13055         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13056         it as the __longjmp argument (just pass 1 instead).
13057         (_dl_catch_error): Initialize C with argument pointers and address of
13058         volatile local ERRCODE rather than copying values out of C at return.
13059
13060 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13061
13062         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13063         * math/auto-libm-test-out: Regenerated.
13064         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13065         (hypot_test_data): Likewise.
13066         (pow_test_data): Likewise.
13067         (pow_tonearest_test_data): Likewise.
13068         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13069         mpfr_ff_f.
13070         (func_calc_desc): Add mpfr_ff_f union field.
13071         (FUNC_mpfr_ff_f): New macro.
13072         (test_functions): Add atan2, hypot and pow.
13073         (special_fill_min): New function.
13074         (special_fill_minus_min): Likewise.
13075         (special_fill_min_subnorm): Likewise.
13076         (special_fill_minus_min_subnorm): Likewise.
13077         (special_real_inputs): Add min, -min, min_subnorm and
13078         -min_subnorm.
13079         (calc_generic_results): Handle mpfr_ff_f.
13080         * sysdeps/i386/fpu/libm-test-ulps: Update.
13081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13082
13083 2013-12-16  Will Newton  <will.newton@linaro.org>
13084
13085         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13086         (Aligned Memory Blocks): Add documentation for aligned_alloc
13087         and suggest it as an alternative to posix_memalign.
13088         (Hooks for Malloc): Document __memalign_hook is also called
13089         for aligned_alloc.  (Summary of Malloc): Add summary for
13090         aligned alloc.  Document __memalign_hook is also called
13091         for aligned_alloc.
13092
13093 2013-12-16  Will Newton  <will.newton@linaro.org>
13094
13095         * manual/memory.texi (Malloc Examples): Clarify default
13096         alignment documentation.  Suggest posix_memalign rather
13097         than memalign or valloc.
13098         (Aligned Memory Blocks): Remove suggestion to use memalign
13099         or valloc.  Remove obsolete comment about BSD.
13100         Document memalign errno values and mark the function obsolete.
13101         Document posix_memalign returned error codes.  Mark valloc
13102         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13103         called for posix_memalign and valloc.
13104         (Summary of Malloc): Add posix_memalign to function summary.
13105         __memalign_hook is also called for posix_memalign and valloc.
13106
13107 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13108
13109         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13110         TAYLOR_SIN.
13111         (__sin): Adjust.
13112         (__cos): Likewise.
13113         (sloww): Use mynumber union.  Expand ternary operator into
13114         if-else statements.
13115         (cslow): use mynumber union.
13116
13117 2013-12-16  Allan McRae  <allan@archlinux.org>
13118
13119         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13120         * configure: Regenerated.
13121
13122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13123
13124         [BZ #14120]
13125         * configure.ac: Added --enable-maintainer-mode. Check for
13126         autoconf when enabled.
13127         * configure: Regenerated.
13128
13129         * nscd/nscd.service: New file.
13130         * nscd/nscd.tmpfiles: New file.
13131
13132 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13133
13134         [BZ #12100]
13135         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13136         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13137         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13138         (strstr): Add __strstr_sse2_unaligned ifunc.
13139         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13140         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13141         (strcasestr): Remove __strcasestr_sse42 ifunc.
13142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13145
13146 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13147
13148         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13149         * sysdeps/sh/bits/fenv.h: ... here.
13150         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13151
13152 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13153
13154         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13155
13156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13157         hypotf multiarch implementations.
13158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13160         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13161         multiarch hypot for PPC64.
13162         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13165         multiarch hypotf for PPC64.
13166
13167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13168         modff multiarch implementations.
13169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13172         multiarch modf for PPC64.
13173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13176         multiarch modff for PPC64.
13177
13178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13179         and logl multiarch implementations.
13180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13183         multiarch logb for PPC64.
13184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13187         multiarch logb for PPC64.
13188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13191         multiarch logb for PPC64.
13192
13193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13194         isinff multiarch implementation.
13195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13196         file.
13197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13199         multiarch isinf for PPC64.
13200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13201         file.
13202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13203         multiarch isinff for PPC64.
13204
13205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13206         finitef multiarch implementation.
13207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13208         file.
13209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13211         multiarch finite for PPC64.
13212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13213         file.
13214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13215         multiarch finitef for PPC64.
13216
13217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13218         lrint multiarch implementation.
13219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13220         file.
13221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13223         multiarch llrint for PPC64.
13224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13225         multiarch lrint for PPC64.
13226
13227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13228         copysignf multiarch implementation.
13229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13230         file.
13231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13232         file.
13233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13234         multiarch copysign for PPC64.
13235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13236         multiarch copysignf for PPC64.
13237
13238         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13239         multiarch implementation.
13240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13241         file.
13242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13243         file.
13244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13245         file.
13246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13247         file.
13248         multiarch llround for PPC64.
13249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13250         multiarch trunc for PPC64.
13251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13252         multiarch truncf for PPC64.
13253
13254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13255         multiarch implementation.
13256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13257         file.
13258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13259         file.
13260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13261         file.
13262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13263         file.
13264         multiarch llround for PPC64.
13265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13266         multiarch round for PPC64.
13267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13268         multiarch roundf for PPC64.
13269
13270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13271         multiarch implementation.
13272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13273         file.
13274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13275         file.
13276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13277         file.
13278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13279         file.
13280         multiarch llround for PPC64.
13281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13282         multiarch floor for PPC64.
13283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13284         multiarch floorf for PPC64.
13285
13286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13287         multiarch implementation.
13288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13289         file.
13290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13291         file.
13292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13293         file.
13294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13295         file.
13296         multiarch llround for PPC64.
13297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13298         multiarch ceil for PPC64.
13299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13300         multiarch ceilf for PPC64.
13301
13302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13303         multiarch implementation.
13304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13305         file.
13306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13307         file.
13308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13309         file.
13310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13311         multiarch llround for PPC64.
13312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13313         multiarch lround for PPC64.
13314
13315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13316         multiarch implementation.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13320         file.
13321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13324         multiarch isnan for PPC64.
13325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13326         multiarch isnanf for PPC64.
13327
13328         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13329         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13330         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13331         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13332         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13334
13335         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13336         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13339
13340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13341         multiarch implementations.
13342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13343         (__libc_ifunc_impl_list): Likewise.
13344         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13345         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13346         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13347         multiarch stpcpy for PPC64.
13348
13349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13350         multiarch implementations.
13351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13352         (__libc_ifunc_impl_list): Likewise.
13353         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13354         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13355         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13356         multiarch strcpy for PPC64.
13357
13358         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13359         redefine function name.
13360         (_wordcopy_fwd_dest_aligned): Likewise.
13361         (_wordcopy_bwd_aligned): Likewise.
13362         (_wordcopy_bwd_dest_aligned): Likewise.
13363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13364         multiarch implementations.
13365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13366         (__libc_ifunc_impl_list): Likewise.
13367         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13368         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13369         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13371         multiarch wcscpy for PPC64.
13372
13373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13374         multiarch implementations.
13375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13376         (__libc_ifunc_impl_list): Likewise.
13377         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13378         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13379         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13380         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13381         multiarch wcscpy for PPC64.
13382
13383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13384         multiarch implementations.
13385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13386         (__libc_ifunc_impl_list): Likewise.
13387         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13388         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13389         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13390         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13391         multiarch wcsrchr for PPC64.
13392
13393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13394         multiarch implementations.
13395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13396         (__libc_ifunc_impl_list): Likewise.
13397         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13398         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13399         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13400         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13401         multiarch wcschr for PPC64.
13402
13403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13404         multiarch implementations.
13405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13406         (__libc_ifunc_impl_list): Likewise.
13407         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13408         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13409         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13410         multiarch strchrnul for PPC64.
13411
13412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13413         implementations.
13414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13415         (__libc_ifunc_impl_list): Likewise.
13416         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13417         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13418         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13419         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13420         strchr for PPC64.
13421
13422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13423         implementations.
13424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13425         (__libc_ifunc_impl_list): Likewise.
13426         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13427         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13428         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13429         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13430         strncmp for PPC64.
13431
13432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13433         multiarch implementations.
13434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13435         (__libc_ifunc_impl_list): Likewise.
13436         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13437         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13438         strncasecmp for PPC64.
13439         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13440         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13441         multiarch strncasecmp_l for PPC64.
13442
13443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13444         multiarch implementations.
13445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13446         (__libc_ifunc_impl_list): Likewise.
13447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13448         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13449         multiarch strcasecmp for PPC64.
13450         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13451         file.
13452         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13453         multiarch strcasecmp_l for PPC64.
13454
13455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13456         implementations.
13457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13458         (__libc_ifunc_impl_list): Likewise.
13459         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13460         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13461         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13462         strnlen for PPC64.
13463
13464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13465         implementations.
13466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13467         (__libc_ifunc_impl_list): Likewise.
13468         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13469         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13470         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13471         strlen for PPC64.
13472
13473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13474         implementations.
13475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13476         (__libc_ifunc_impl_list): Likewise.
13477         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13478         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13479         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13480         rawmemrchr for PPC64.
13481
13482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13483         implementation.
13484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13485         (__libc_ifunc_impl_list): Likewise.
13486         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13487         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13488         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13489         memrchr for PPC64.
13490
13491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13492         implementation.
13493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13494         (__libc_ifunc_impl_list): Likewise.
13495         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13496         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13497         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13498         memchr for PPC64.
13499
13500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13501         implementation.
13502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13503         (__libc_ifunc_impl_list): Likewise.
13504         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13505         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13506         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13507         mempcpy for PPC64.
13508
13509         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13510         avoid cretion of __bzero symbol.
13511         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13512         Likewise.
13513         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13514         Likewise.
13515         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13516         Likewise.
13517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13518         multiarch implementations.
13519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13520         (__libc_ifunc_impl_list): Likewise.
13521         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13522         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13523         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13524         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13525         bzero for PPC32.
13526         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13527         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13528         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13529         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13530         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13531         memset for PPC64.
13532         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13533
13534         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13536         implementations.
13537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13538         (__libc_ifunc_impl_list): Likewise.
13539         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13540         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13541         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13542         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13543         memcmp for PPC64.
13544
13545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13546         multiarch for POWER/PPC64.
13547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13548         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13549         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13550         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13551         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13552         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13553         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13554         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13555         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13556         memcpy for PPC64.
13557
13558         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13559         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13560         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13561         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13562         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13563         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13564         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13565         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13566         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13567         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13568         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13569         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13570         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13571         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13572         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13580
13581 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13582
13583         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13584
13585 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13586
13587         * benchtests/Makefile (bench): Add exp2 and log2.
13588         (LDLIBS-bench-exp2): Add -lm.
13589         (LDLIBS-bench-log2): Likewise.
13590         * benchtests/exp2-inputs: New inputs file.
13591         * benchtests/log2-inputs: New inputs file.
13592         * benchtests/log-inputs: Add new inputs.
13593         * benchtests/tan-inputs: Likewise.
13594
13595 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13596
13597         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13598         definition...
13599         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13600         (csloww2): ... from here.
13601
13602         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13603         instead of structures.
13604         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13605         (POLYNOMIAL): Likewise.
13606         (TAYLOR_SLOW): Likewise.
13607         (__sin): Likewise.
13608         (__cos): Likewise.
13609         (slow1): Likewise.
13610         (slow2): Likewise.
13611         (sloww): Likewise.
13612         (sloww1); Likewise.
13613         (sloww2): Likewise.
13614         (bsloww1): Likewise.
13615         (bsloww2): Likewise.
13616         (cslow2): Likewise.
13617         (csloww): Likewise.
13618         (csloww1): Likewise.
13619         (csloww2): Likewise.
13620
13621 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13622
13623         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13624         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13625         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13626         * malloc/hooks.c (realloc_check): Likewise.
13627
13628         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13629         * malloc/arena.c: Remove PER_THREAD conditional.
13630         [!PER_THREAD]: Remove code.
13631         (ptmalloc_unlock_all2): Likewise.
13632         (ptmalloc_init): Likewise.
13633         (_int_new_arena): Likewise.
13634         (arena_get2): Likewise.
13635         * malloc/hooks.c (__malloc_get_state): Likewise.
13636         (__malloc_set_state): Likewise.
13637         * malloc/malloc.c: Likewise.
13638         (struct malloc_state): Likewise.
13639         (struct malloc_par): Likewise.
13640         (__libc_realloc): Likewise.
13641         (__libc_mallopt): Likewise.
13642
13643 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13644
13645         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13646
13647 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13648
13649         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13650         macro to a function.  Check for zero perturb_byte.
13651         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13652
13653         * malloc/malloc.c: (force_reg): Remove.
13654         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13655         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13656         force_reg by atomic_forced_read.
13657         * malloc/arena.c (ptmalloc_init): Likewise.
13658         * malloc/hooks.c (top_check): Likewise.
13659
13660 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13661
13662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13663
13664 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13665
13666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13667
13668 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13669
13670         * math/auto-libm-test-in: Add tests of lgamma.
13671         * math/auto-libm-test-out: Regenerated.
13672         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13673         (M_LOG_2_SQRT_PIl): Likewise.
13674         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13675         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13676         mpfr_f_f1.
13677         (func_calc_desc): Add mpfr_f_f1 union field.
13678         (ARGS1): New macro.
13679         (ARGS2): Likewise.
13680         (ARGS3): Likewise.
13681         (ARGS4): Likewise.
13682         (RET1): Likewise.
13683         (RET2): Likewise.
13684         (CALC): Likewise.
13685         (FUNC): Likewise.
13686         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13687         (test_functions): Add lgamma.
13688         (calc_generic_results): Handle mpfr_f_f1.
13689         * sysdeps/i386/fpu/libm-test-ulps: Update.
13690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13691
13692 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13693
13694         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13695         __mpn_add_n for PowerPC64/POWER7.
13696         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13697         __mpn_sub_n for PowerPC64/POWER7.
13698
13699         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13700         __mpn_addmul_1 for PowerPC64.
13701         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13702         __mpn_submul_1 for PowerPC64.
13703         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13704         for PowerPC64.
13705         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13706         for PowerPC64.
13707
13708 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13709
13710         [BZ #15089]
13711         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13712
13713 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13714
13715         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13716
13717         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13718         add multiarch folders.
13719         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13720         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13721         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13722         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13723         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13724         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13725         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13726         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13727         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13728         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13729         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13736
13737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13738         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13740         New file.
13741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13742         New file.
13743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13744         multiarch __ieee754_hypot for PowerPC32.
13745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13746         New file.
13747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13748         New file.
13749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13750         multiarch __ieee754_hypotf for PowerPC32.
13751
13752         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13753         long_double_symbol only if __logbl is defined.
13754         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13755         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13756         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13757         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13758         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13759         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13760         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13761         path for implementation.
13762         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13763         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13765         logb, and logbl multiarch implementations for PowerPC32.
13766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13767         file.
13768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13769         file.
13770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13771         multiarch logb for PowerPC32.
13772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13773         file.
13774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13775         file.
13776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13777         multiarch logbf for PowerPC32.
13778         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13780         file.
13781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13782         multiarch logbl implementation for PowerPC32.
13783
13784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13785         and modff multiarch implementations.
13786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13787         New file.
13788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13789         New file.
13790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13791         multiarch modf for PowerPC32.
13792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13793         New file.
13794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13795         New file.
13796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13797         multiarch modff for PowerPC32.
13798
13799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13800         and lrintf multiarch implementations.
13801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13802         New file.
13803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13804         New file.
13805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13806         multiarch lrint for PowerPC32.
13807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13808         file: multiarch lrintf for PowerPC32.
13809
13810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13811         and lroundf multiarch implementations.
13812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13813         New file.
13814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13815         New file.
13816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13817         New file.
13818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13819         multiarch lround for PowerPC32.
13820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13821         file: multiarch lroundf for PowerPC32.
13822
13823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13824         copysign and copysignf multiarch implementations.
13825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13826         New file.
13827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13828         New file.
13829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13830         file: multiarch copysign for PowerPC32.
13831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13832         file: multiarch copysignf for PowerPC32.
13833
13834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13835         and truncf multiarch implementations.
13836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13837         New file.
13838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13839         file.
13840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13841         multiarch trunc for PowerPC32.
13842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13843         New file.
13844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13845         New file.
13846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13847         multiarch truncf for PowerPC32.
13848
13849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13850         and roundf multiarch implementations.
13851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13852         New file.
13853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13854         file.
13855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13856         multiarch round for PowerPC32.
13857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13858         New file.
13859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13860         New file.
13861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13862         multiarch roundf for PowerPC32.
13863
13864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13865         and floorf multiarch implementations.
13866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13867         New file.
13868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13869         file.
13870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13871         multiarch floor for PowerPC32.
13872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13873         New file.
13874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13875         New file.
13876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13877         multiarch floorf for PowerPC32.
13878
13879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13880         and ceilf multiarch implementations.
13881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13882         New file.
13883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13884         file.
13885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13886         multiarch ceil for PowerPC32.
13887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13888         New file.
13889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13890         file.
13891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13892         multiarch ceilf for PowerPC32.
13893
13894         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13895         is defined.
13896         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13897         FINITEF is defined.
13898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13899         and finitef multiarch implementations.
13900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13901         New file.
13902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13903         file.
13904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13905         multiarch finite for PowerPC32.
13906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13907         New file.
13908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13909         file: multiarch finitef for PowerPC32.
13910
13911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13912         and isinff multiarch implementations.
13913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13914         file.
13915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13916         file.
13917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13918         multiarch isinf for PowerPC32.
13919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13920         New file.
13921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13922         multiarch isinff for PowerPC32.
13923
13924         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13925         alias when __isnan is defined.
13926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13927         and isnanf multiarch implementations.
13928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13929         file.
13930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13931         file.
13932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13933         file.
13934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13935         file.
13936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13937         multiarch isnan for PowerPC32.
13938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13939         New file.
13940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13941         New file.
13942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13943         multiarch isnanf for PowerPC32.
13944
13945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13946         and sqrtf multiarch implementations.
13947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13948         file.
13949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13950         file.
13951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13952         multiarch sqrt for PowerPC32.
13953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13954         file.
13955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13956         file.
13957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13958         multiarch sqrtf for PowerPC32.
13959
13960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13961         and llroundf multiarch implementations.
13962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13963         New file.
13964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13965         New file.
13966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13967         New file.
13968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13969         file: multiarch llround for PowerPC32.
13970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13971         file: multiarch llroundf for PowerPC32.
13972
13973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13974         multiarch PowerPC32 fpu implementations.
13975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13976         New file.
13977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13978         New file.
13979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13980         multiarch llrint for PowerPC32.
13981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13982         New file.
13983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13984         New file.
13985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13986         file.
13987
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13989
13990         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13991         file.
13992         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13993         file.
13994         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13995         file.
13996         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13997         multiarch wordcopy for PPC32.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13999         wordcopy objects.
14000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14001         (__libc_ifunc_impl_list): Likewise.
14002         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14003         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14004         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14005         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14006         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14007         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14008
14009         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14011         file.
14012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14013         file.
14014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14015         file.
14016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14017         multiarch wcscpy for PPC32.
14018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14019         multiarch objects.
14020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14021         (__libc_ifunc_impl_list): Likewise.
14022         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14023         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14024         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14025         sysdeps/powerpc/power6/wcscpy.c.
14026
14027         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14029         file.
14030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14031         file.
14032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14033         file.
14034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14035         multiarch wcsrchr for PPC32.
14036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14037         multiarch objects.
14038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14039         (__libc_ifunc_impl_list): Likewise.
14040         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14041         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14042         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14043         sysdeps/powerpc/power6/wcsrchr.c.
14044
14045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14046         file.
14047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14048         file.
14049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14051         multiarch wcschr for PPc32.
14052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14053         multiarch objects.
14054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14055         (__libc_ifunc_impl_list): Likewise.
14056         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14057         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14058         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14059         sysdeps/powerpc/power6/wcschr.c.
14060
14061         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14062         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14063         file.
14064         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14065         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14066         file: multiarch strchr for PPC32.
14067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14068         multiarch objects.
14069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14070         (__libc_ifunc_impl_list): Likewise.
14071
14072         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14073         name.
14074         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14075         file.
14076         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14077         file.
14078         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14079         multiarch strchrnul for PPC32.
14080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14081         multiarch objects.
14082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14083         (__libc_ifunc_impl_list): Likewise.
14084
14085         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14086         file.
14087         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14088         multiarch strncasecmp for PPC32.
14089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14090         file.
14091         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14092         multiarch strncasecmp_l for PPC32.
14093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14094         strncasecmp multiarch objects.
14095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14096         (__libc_ifunc_impl_list): Likewise.
14097
14098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14099         file.
14100         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14101         multiarch strncasecmp for PPC32.
14102         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14103         New file.
14104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14105         multiarch strcasecmp_l for PPC32.
14106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14107         multiarch objects.
14108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14109         (__libc_ifunc_impl_list): Likewise.
14110
14111         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14112         file.
14113         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14114         file.
14115         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14116         multiarch strncmp for PPC32.
14117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14118         multiarch objects.
14119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14120         (__libc_ifunc_impl_list): Likewise.
14121
14122         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14123         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14124         file.
14125         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14128         multiarch objects.
14129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14130         (__libc_ifunc_impl_list): Likewise.
14131
14132         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14133         file.
14134         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14135         file.
14136         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14138         multiarch objects.
14139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14140         (__libc_ifunc_impl_list): Likewise.
14141
14142         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14143         file.
14144         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14145         file.
14146         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14147         multiarch rawmemchr for PPC32.
14148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14149         multiarch objects.
14150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14151         (__libc_ifunc_impl_list): Likewise.
14152
14153         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14154         file.
14155         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14156         file.
14157         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14158         file: memrchr multiarch for PPC32.
14159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14160         multiarch objects.
14161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14162         (__libc_ifunc_impl_list): Likewise.
14163
14164         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14165         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14166         file.
14167         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14168         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14169         multiarch memchr for PPC32.
14170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14171         multiarch objects.
14172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14173         (__libc_ifunc_impl_list): Likewise.
14174
14175         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14176         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14177         file.
14178         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14179         file.
14180         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14181         file: multiarch mempcpy for PPC32.
14182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14183         multiarch objects.
14184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14185         (__libc_ifunc_impl_list): Likewise.
14186
14187         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14188         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14189         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14190         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14191         multiarch bzero for PPC32.
14192         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14193         file.
14194         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14195         file.
14196         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14197         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14198         file: multiarch memset for PPC32.
14199         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14201         memset multiarch objects.
14202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14203         (__libc_ifunc_impl_list): Likewise.
14204
14205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14206         file.
14207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14209         memcmp for PPC32.
14210         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14212         multiarch objects.
14213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14214         (__libc_ifunc_impl_list): Likewise.
14215
14216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14219         file.
14220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14221         file.
14222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14223         file.
14224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14225         multiarch memcpy for PPC32.
14226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14227         multiarch objects.
14228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14229         (__libc_ifunc_impl_list): Likewise.
14230
14231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14232         support multiarch for POWER/PPC32.
14233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14234         Likewise.
14235         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14237         Implies file to make multiarch folder appers before the fpu and
14238         default folder for power4 configuration.
14239
14240 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14241
14242         * scripts/bench.pl: Append volatile keyword to type.
14243
14244 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14245
14246         * sysdeps/sh/sotruss-lib.c: New file.
14247         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14248
14249 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14250
14251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14252
14253 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14254
14255         [BZ #6810]
14256         * math/w_tgamma.c: Include <errno.h>.
14257         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14258         * math/w_tgammaf.c: Include <errno.h>.
14259         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14260         * math/w_tgammal.c: Include <errno.h>.
14261         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14262         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14263         underflow.  Add more tgamma tests.
14264         * math/auto-libm-test-out: Regenerated.
14265         * sysdeps/i386/fpu/libm-test-ulps: Update.
14266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14267
14268         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14269         sin, sinh, tan, tanh, tgamma, y0 and y1.
14270         * math/auto-libm-test-out: Regenerated.
14271         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14272         (TEST_COND_x86): Likewise.
14273         (M_E2l): Remove macro.
14274         (M_E3l): Likewise.
14275         (M_2_SQRT_PIl): Likewise.
14276         (M_SQRT_PIl): Likewise.
14277         (M_1_DIV_El): Likewise.
14278         (log_test_data): Use AUTO_TESTS_f_f.
14279         (log10_test_data): Likewise.
14280         (log1p_test_data): Likewise.
14281         (log2_test_data): Likewise.
14282         (sin_test_data): Likewise.
14283         (sin_tonearest_test_data): Likewise.
14284         (sin_towardzero_test_data): Likewise.
14285         (sin_downward_test_data): Likewise.
14286         (sin_upward_test_data): Likewise.
14287         (sinh_test_data): Likewise.
14288         (sinh_tonearest_test_data): Likewise.
14289         (sinh_towardzero_test_data): Likewise.
14290         (sinh_downward_test_data): Likewise.
14291         (sinh_upward_test_data): Likewise.
14292         (tan_test_data): Likewise.
14293         (tan_tonearest_test_data): Likewise.
14294         (tan_towardzero_test_data): Likewise.
14295         (tan_downward_test_data): Likewise.
14296         (tan_upward_test_data): Likewise.
14297         (tanh_test_data): Likewise.
14298         (tgamma_test_data): Likewise.
14299         (y0_test_data): Likewise.
14300         (y1_test_data): Likewise.
14301         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14302         (special_real_inputs): Add pi/4.
14303         * sysdeps/i386/fpu/libm-test-ulps: Update.
14304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305
14306 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14307
14308         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14309         "longjmp_target" static probes.
14310         (__longjmp): Rename to __longjmp_symbol.
14311         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14312         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14313         on which longjmp to generate.
14314         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14315         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14316         probe.
14317         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14318         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14319         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14320         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14321         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14322         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14324         __longjmp_symbol based on which __longjmp to generate.
14325         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14326         probe.
14327         (setjmp): Rename to setjmp_symbol.
14328         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14329         (_setjmp): Rename to _setjmp_symbol.
14330         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14331         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14332         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14333         which setjmp to generate.
14334         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14335         "longjmp_target" static probes.
14336
14337 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14338
14339         * benchtests/README: Add note about output arguments.
14340         * benchtests/bench-sincos.c: Remove file.
14341         * benchtests/sincos-inputs: New file.
14342         * scripts/bench.pl: Identify output arguments and define
14343         static variables for them.
14344
14345         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14346
14347         [BZ #15941]
14348         * Makefile (INSTALL): Add install-plain.texi as the primary
14349         dependency.
14350         * manual/install-plain.texi: New file.
14351         * manual/install.texi: Include node directive only for
14352         non-plaintext output.
14353
14354 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14355
14356         * stdlib/longlong.h: Update from GCC.
14357
14358         [BZ #6807]
14359         [BZ #15901]
14360         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14361         * math/w_j0f.c (y0f): Likewise.
14362         * math/w_j0l.c (__y0l): Likewise.
14363         * math/w_j1.c (y1): Likewise.
14364         * math/w_j1f.c (y1f): Likewise.
14365         * math/w_j1l.c (__y1l): Likewise
14366         * math/w_jn.c (yn): Likewise.
14367         * math/w_jnf.c (ynf): Likewise.
14368         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14369         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14370         value for Bessel function domain errors outside _SVID_ mode.
14371         Adjust sign of return value for yn (negative integer, 0).
14372         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14373         by zero in return for negative x and set sign appropriately for
14374         negative n.
14375         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14376         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14377         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14378         expectations in error cases.
14379         (y1_test_data): Likewise.
14380         (yn_test_data): Likewise.
14381         * sysdeps/i386/fpu/libm-test-ulps: Update.
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14383
14384 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14385
14386         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14387         "64" to "64-v1".  Add "64-v2".
14388         (abi-64-options): Rename to ...
14389         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14390         (abi-64-condition): Rename to ...
14391         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14392         (abi-64-ld-soname): Rename to ...
14393         (abi-64-v1-ld-soname): ... this.
14394         (abi-64-v2-options): Define.
14395         (abi-64-v2-condition): Likewise.
14396         (abi-64-v2-ld-soname): Likewise.
14397         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14398         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14402
14403 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14404             Alan Modra  <amodra@gmail.com>
14405
14406         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14407         New versions for use with the ELFv2 ABI.
14408         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14409         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14410         declaration.
14411         (struct La_ppc64v2_retval): Likewise.
14412         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14413         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14414         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14415         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14416         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14417         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14418         Do not save or restore CR.
14419         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14420         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14421         return values for ELFv2 ABI.  Fix location of FPR return registers.
14422         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14423         updated values for _CALL_ELF == 2.
14424         (La_regs, La_retval, int_retval): Likewise.
14425
14426 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14427
14428         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14429         (FRAME_MIN_SIZE_PARM): Likewise.
14430         (FRAME_BACKCHAIN): Likewise.
14431         (FRAME_CR_SAVE): Likewise.
14432         (FRAME_LR_SAVE): Likewise.
14433         (FRAME_TOC_SAVE): Likewise.
14434         (FRAME_PARM_SAVE): Likewise.
14435         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14436         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14437         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14438         (call_mcount_parm_offset): New macro.
14439         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14440         (PROF): Use symbolic stack frame offsets.
14441         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14442         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14443         Redefine in terms of FRAME_MIN_SIZE.
14444         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14445         (_dl_profile_resolve): Likewise.  Update comment.
14446         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14447         symbols stack frame offsets.
14448         (__sigsetjmp): Likewise.
14449         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14450         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14451         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14452         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14453
14454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14455         (FRAME_BACKCHAIN): Remove.
14456         (FRAME_CR_SAVE): Likewise.
14457         (FRAME_LR_SAVE): Likewise.
14458         (FRAME_COMPILER_DW): Likewise.
14459         (FRAME_LINKER_DW): Likewise.
14460         (FRAME_TOC_SAVE): Likewise.
14461         (FRAME_PARM_SAVE): Likewise.
14462         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14463         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14464         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14466         (CHECK_SP): Use symbolic stack frame offsets.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14468         zone" instead of caller's parameter save area for temp storage.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14470         Likewise.  Also, use symbolic stack frame offsets.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14472         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14473         our own stack frame instead of the caller's.
14474         (__socket): Use symbolic stack frame offsets.
14475
14476 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14477             Alan Modra  <amodra@gmail.com>
14478
14479         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14480         Define.
14481         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14482         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14483         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14484         New function.
14485         (elf_machine_fixup_plt): Call it.
14486         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14487         reloc arguments.
14488         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14490         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14491         r2 before calling target.
14492
14493 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14494             Alan Modra  <amodra@gmail.com>
14495
14496         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14497         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14498         versions of macros to support ELFv2 ABI.
14499         (LOCALENTRY): New macro.
14500         (ENTRY, EALIGN): Use it.
14501         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14502         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14503         fall through into ENTRY entry point.
14504         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14505         Only define if _CALL_ELF != 2.
14506
14507         (elf_machine_matches_host): Verify ABI version matches.
14508         (RTLD_START): Use LOCALENTRY.
14509         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14510         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14511         (PLT_ENTRY_WORDS): New macro.
14512         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14513         (elf_machine_runtime_setup): Support ELFv2 ABI.
14514         (elf_machine_fixup_plt): Likewise.
14515         (elf_machine_plt_conflict): Likewise.
14516         (resolve_ifunc): Likewise.
14517         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14518         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14519         Likewise.
14520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14521         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14523         (makecontext): Support ELFv2 ABI.
14524         * elf/elf.h (EF_PPC64_ABI): Define.
14525
14526 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14527
14528         * sysdeps/powerpc/powerpc64/sysdep.h
14529         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14530         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14531         (ENTRY) [ASSEMBLER]: ... but instead here ...
14532         (EALIGN) [ASSEMBLER]: ... and here.
14533         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14534         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14535         (ENTRY_2) [!ASSEMBLER]: Use it.
14536         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14537         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14538         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14539         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14540         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14542         Use PPC64_LOAD_FUNCPTR.
14543
14544         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14545
14546 2013-12-04  Alan Modra  <amodra@gmail.com>
14547
14548         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14549         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14550         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14551         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14552
14553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14554         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14555         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14556         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14557         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14558         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14559
14560 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14561
14562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14563         (__makecontext): Fix incorrect CFI when backtracing out of
14564         context created via makecontext.
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14566         (__setcontext): Fix incorrect CFI during switch to new context.
14567         (__novec_setcontext): Likewise.
14568
14569 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14570
14571         [BZ #4772]
14572         * time/strptime_l.c (__strptime_internal): Allow modifiers
14573         in strptime.
14574         * time/tst-strptime.c (day_tests): Add testcase.
14575
14576 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14577
14578         * scripts/bench.pl: Skip over blank lines.
14579
14580 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14581
14582         [BZ #926]
14583         * manual/time.texi (Calendar Time): Clarify what timezone functions
14584         use.
14585
14586 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14587
14588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14589
14590 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14591
14592         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14593         implementation.
14594         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14595         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14596         * debug/memset_chk.c (__memset_chk): Likewise.
14597         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14598         * debug/strncpy_chk.c: Likewise.
14599
14600 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14601
14602         [BZ #15268]
14603         [BZ #15425]
14604         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14605         (__ieee754_exp): For possibly underflowing results, check size of
14606         result and force underflow exception if required.
14607         * math/auto-libm-test-in: Add more tests of exp.
14608         * math/auto-libm-test-out: Regenerated.
14609         * sysdeps/i386/fpu/libm-test-ulps: Update.
14610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14611
14612         [BZ #16283]
14613         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14614         * math/w_exp2f.c (__exp2f): Likewise.
14615         * math/w_exp2l.c (__exp2l): Likewise.
14616         * math/auto-libm-test-in: Do not allow missing errno on exp2
14617         underflow.
14618         * math/auto-libm-test-out: Regenerated.
14619
14620 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14621
14622         [BZ #16274]
14623         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14624         handle filename validation.
14625         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14626         (do_open): Delete.
14627
14628 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14629
14630         [BZ #6786]
14631         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14632         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14633         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14634         <float.h>.
14635         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14636         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14637         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14639         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14640         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14641         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14642         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14643         Add more erfc tests.
14644         * math/auto-libm-test-out: Regenerated.
14645         * sysdeps/i386/fpu/libm-test-ulps: Update.
14646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647
14648         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14649         exp2, expm1, j0 and j1.
14650         * math/auto-libm-test-out: Regenerated.
14651         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14652         (erfc_test_data): Likewise.
14653         (exp_test_data): Likewise.
14654         (exp_tonearest_test_data): Likewise.
14655         (exp_towardzero_test_data): Likewise.
14656         (exp_downward_test_data): Likewise.
14657         (exp_upward_test_data): Likewise.
14658         (exp10_test_data): Likewise.
14659         (exp2_test_data): Likewise.
14660         (expm1_test_data): Likewise.
14661         (j0_test_data): Likewise.
14662         (j1_test_data): Likewise.
14663         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14664         (input_flag_type): Add flag_xfail_rounding.
14665         (input_flags): Add xfail-rounding.
14666         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14667         (output_for_one_input_case): Handle flag_xfail_rounding.
14668         * sysdeps/i386/fpu/libm-test-ulps: Update.
14669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14670
14671 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14672
14673         [BZ #16289]
14674         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14675         division by 0.
14676
14677 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14678
14679         [BZ #16195]
14680         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14681         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14682         (STAP_PROBE0): New macro.
14683         (STAP_PROBE1): Likewise.
14684         (STAP_PROBE2): Likewise.
14685         (STAP_PROBE3): Likewise.
14686         (STAP_PROBE4): Likewise.
14687
14688 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14689
14690         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14691
14692 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14693
14694         * benchtests/Makefile (bench): Add sqrt.
14695         (LDLIBS-bench-sqrt): New.
14696         * benchtests/sqrt-input: New.
14697
14698 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14699
14700         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14701         (GAIH_EAI): Likewise.
14702         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14703         (gaih_inet): Likewise.
14704         (getaddrinfo): Don't use GAIH_EAI.
14705
14706         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14707         (struct gaih): Remove definition.
14708
14709 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14710
14711         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14712         Use HERRNOP directly.
14713
14714 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14715
14716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14717
14718 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14719
14720         * math/gen-auto-libm-tests.c (test_functions): Add more
14721         single-argument functions.
14722         (special_fill_pi_2): New function.
14723         (special_fill_minus_pi_2): Likewise.
14724         (special_fill_pi_6): Likewise.
14725         (special_fill_minus_pi_6): Likewise.
14726         (special_fill_pi_3): Likewise.
14727         (special_fill_2pi_3): Likewise.
14728         (special_fill_e): Likewise.
14729         (special_fill_1_e): Likewise.
14730         (special_fill_e_minus_1): Likewise.
14731         (special_real_inputs): Add more special inputs.
14732         (output_for_one_input_case): Do not require ERANGE on underflow to
14733         zero if round-to-nearest result does not underflow to zero, unless
14734         exact results required.
14735         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14736         atan, atanh, cbrt, cos and cosh.
14737         * math/auto-libm-test-out: Regenerated.
14738         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14739         (acos_tonearest_test_data): Likewise.
14740         (acos_towardzero_test_data): Likewise.
14741         (acos_downward_test_data): Likewise.
14742         (acos_upward_test_data): Likewise.
14743         (acosh_test_data): Likewise.
14744         (asin_test_data): Likewise.
14745         (asin_tonearest_test_data): Likewise.
14746         (asin_towardzero_test_data): Likewise.
14747         (asin_upward_test_data): Likewise.
14748         (asinh_test_data): Likewise.
14749         (atan_test_data): Likewise.
14750         (atanh_test_data): Likewise.
14751         (cbrt_test_data): Likewise.
14752         (cos_test_data): Likewise.
14753         (cos_tonearest_test_data): Likewise.
14754         (cos_towardzero_test_data): Likewise.
14755         (cos_downward_test_data): Likewise.
14756         (cos_upward_test_data): Likewise.
14757         (cosh_test_data): Likewise.
14758         (cosh_tonearest_test_data): Likewise.
14759         (cosh_towardzero_test_data): Likewise.
14760         (cosh_downward_test_data): Likewise.
14761         (cosh_upward_test_data): Likewise.
14762         * sysdeps/i386/fpu/libm-test-ulps: Update.
14763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
14765 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14766
14767         [BZ #6787]
14768         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14769         * math/w_exp10f.c (__exp10f): Likewise.
14770         * math/w_exp10l.c (__exp10l): Likewise.
14771         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14772         errno settings in existing tests.
14773
14774         [BZ #14032]
14775         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14776         precision control set to double precision.
14777         * sysdeps/i386/fpu/w_sqrt.c: New file.
14778         * math/auto-libm-test-in: Add more tests.
14779         * math/auto-libm-test-out: Update.
14780
14781         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14782         (sqrt_test_tonearest): New function.
14783         (sqrt_towardzero_test_data): New variable.
14784         (sqrt_test_towardzero): New function.
14785         (sqrt_downward_test_data): New variable.
14786         (sqrt_test_downward): New function.
14787         (sqrt_upward_test_data): New variable.
14788         (sqrt_test_upward): New function.
14789         (main): Call the new functions.
14790
14791         * math/gen-auto-libm-tests.c: New file.
14792         * math/auto-libm-test-in: Likewise.
14793         * math/auto-libm-test-out: New generated file.
14794         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14795         variables.
14796         (%beautify): Add generated representations of zero.
14797         (top level): Set $auto_input and call parse_auto_input.
14798         (beautify): Remove trailing "f" from hex float constants.
14799         (parse_args): Handle XFAIL_TEST.
14800         (convert_condition): New function.
14801         (or_value): Likewise.
14802         (or_cond_value): Likewise.
14803         (generate_testfile): Handle AUTO_TESTS_* lines.
14804         (parse_auto_input): New function.
14805         * math/libm-test.inc (XFAIL_TEST): New macro.
14806         (ERRNO_UNCHANGED): Update value.
14807         (ERRNO_EDOM): Likewise.
14808         (ERRNO_ERANGE): Likewise.
14809         (IGNORE_RESULT): Likewise.
14810         (TEST_COND_flt_32): New macro.
14811         (TEST_COND_dbl_64): Likewise.
14812         (TEST_COND_ldbl_96_intel): Likewise.
14813         (TEST_COND_ldbl_96_m68k): Likewise.
14814         (TEST_COND_ldbl_128): Likewise.
14815         (TEST_COND_ldbl_128ibm): Likewise.
14816         (TEST_COND_long32): Likewise.
14817         (TEST_COND_long64): Likewise.
14818         (TEST_COND_before_rounding): Likewise.
14819         (TEST_COND_after_rounding): Likewise.
14820         (enable_test): Handle XFAIL_TEST flag.
14821         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14822         with finite results.
14823         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14824         auto-libm-test-out.
14825
14826 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14827             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14828
14829         [BZ #16214]
14830         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14831         __tls_get_addr_internal instead of __tls_get_offset in order to
14832         avoid GOT pointer dependency.  Make rtld export
14833         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14834         __tls_get_addr since we are a __tls_get_offset platform.
14835         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14836         GOT pointer being set up before.
14837         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14838
14839 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14840
14841         * manual/math.texi (Errors in Math Functions): Document accuracy
14842         goals.
14843
14844         [BZ #15004]
14845         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14846         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14847         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14848         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14849         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14850         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14851         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14852         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14853         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14854         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14855         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14856         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14857         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14858         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14859         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14860         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14861
14862         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14863         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14864         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14865         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14866         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14867         Likewise.
14868         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14869         Likewise.
14870         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14871         Likewise.
14872         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14873         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14874         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14875         atomic-feupdateenv and flt-rounds.
14876         * sysdeps/powerpc/nofpu/Versions (libc): Add
14877         __atomic_feholdexcept, __atomic_feclearexcept,
14878         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14879         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14880         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14881         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14882         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14883         here.
14884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14885         Update.
14886
14887         * manual/arith.texi (FP Exceptions): Document that exceptions may
14888         not be raised when matherr is used.
14889         (Math Error Reporting): Document overflow in directed rounding
14890         modes.  Document that errno may not be set when finite values are
14891         returned on overflow.  Document intent to set errno on underflow
14892         only for underflow to zero.
14893
14894         [BZ #16271]
14895         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14896         round-to-nearest then adjust result for other rounding modes.
14897         * include/fenv.h (fegetround): Use libm_hidden_proto.
14898         * math/fegetround.c (fegetround): Use libm_hidden_def.
14899         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14900         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14901         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14902         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14903         Likewise.
14904         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14905         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14906         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14907         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14908
14909 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14910
14911         [BZ #16077]
14912         * nss/Versions (libnss_files): Add
14913         _nss_files_gethostbyname3_r.
14914         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14915         New function.
14916         (HOST_DB_LOOKUP): Remove macro.
14917         (_nss_files_gethostbyname_r): Implement function without the
14918         HOST_DB_LOOKUP macro.
14919         (_nss_files_gethostbyname2_r): Likewise.
14920
14921 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14922
14923         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14924
14925 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14926
14927         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14928         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14929         warning.
14930
14931 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14932
14933         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14934         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14935         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14936         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14937         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14938         __fe_nomask_env_priv and attribute_hidden.
14939         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14940         (libc_feupdateenv_test_ppc): Likewise.
14941         (libc_feresetround_ppc): Likewise.
14942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14943         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14944         compat_symbol macro.
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14946         (__fe_nomask_env): Likewise.
14947         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14948
14949 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14950
14951         * string/Makefile: Remove ifunc tests.
14952         * string/test-string.h: Define TEST_IFUNC.
14953         * string/test-bcopy-ifunc.c: Remove.
14954         * string/test-bzero-ifunc.c: Likewise.
14955         * string/test-memccpy-ifunc.c: Likewise.
14956         * string/test-memchr-ifunc.c: Likewise.
14957         * string/test-memcmp-ifunc.c: Likewise.
14958         * string/test-memcpy-ifunc.c: Likewise.
14959         * string/test-memmem-ifunc.c: Likewise.
14960         * string/test-memmove-ifunc.c: Likewise.
14961         * string/test-mempcpy-ifunc.c: Likewise.
14962         * string/test-memrchr-ifunc.c: Likewise.
14963         * string/test-memset-ifunc.c: Likewise.
14964         * string/test-rawmemchr-ifunc.c: Likewise.
14965         * string/test-stpcpy-ifunc.c: Likewise.
14966         * string/test-stpncpy-ifunc.c: Likewise.
14967         * string/test-strcasecmp-ifunc.c: Likewise.
14968         * string/test-strcasestr-ifunc.c: Likewise.
14969         * string/test-strcat-ifunc.c: Likewise.
14970         * string/test-strchr-ifunc.c: Likewise.
14971         * string/test-strchrnul-ifunc.c: Likewise.
14972         * string/test-strcmp-ifunc.c: Likewise.
14973         * string/test-strcpy-ifunc.c: Likewise.
14974         * string/test-strcspn-ifunc.c: Likewise.
14975         * string/test-strlen-ifunc.c: Likewise.
14976         * string/test-strncasecmp-ifunc.c: Likewise.
14977         * string/test-strncat-ifunc.c: Likewise.
14978         * string/test-strncmp-ifunc.c: Likewise.
14979         * string/test-strncpy-ifunc.c: Likewise.
14980         * string/test-strnlen-ifunc.c: Likewise.
14981         * string/test-strpbrk-ifunc.c: Likewise.
14982         * string/test-strrchr-ifunc.c: Likewise.
14983         * string/test-strspn-ifunc.c: Likewise.
14984         * string/test-strstr-ifunc.c: Likewise.
14985
14986 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14987
14988         * benchtests/Makefile: Remove ifunc tests.
14989         * benchtests/bench-string.h: Define TEST_IFUNC.
14990         * benchtests/bench-bcopy-ifunc.c: Remove.
14991         * benchtests/bench-bzero-ifunc.c: Likewise.
14992         * benchtests/bench-memccpy-ifunc.c: Likewise.
14993         * benchtests/bench-memchr-ifunc.c: Likewise.
14994         * benchtests/bench-memcmp-ifunc.c: Likewise.
14995         * benchtests/bench-memcpy-ifunc.c: Likewise.
14996         * benchtests/bench-memmem-ifunc.c: Likewise.
14997         * benchtests/bench-memmove-ifunc.c: Likewise.
14998         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14999         * benchtests/bench-memrchr-ifunc.c: Likewise.
15000         * benchtests/bench-memset-ifunc.c: Likewise.
15001         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15002         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15003         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15004         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15005         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15006         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15007         * benchtests/bench-strcat-ifunc.c: Likewise.
15008         * benchtests/bench-strchr-ifunc.c: Likewise.
15009         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15010         * benchtests/bench-strcmp-ifunc.c: Likewise.
15011         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15012         * benchtests/bench-strcpy-ifunc.c: Likewise.
15013         * benchtests/bench-strcspn-ifunc.c: Likewise.
15014         * benchtests/bench-strlen-ifunc.c: Likewise.
15015         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15016         * benchtests/bench-strncat-ifunc.c: Likewise.
15017         * benchtests/bench-strncmp-ifunc.c: Likewise.
15018         * benchtests/bench-strncpy-ifunc.c: Likewise.
15019         * benchtests/bench-strnlen-ifunc.c: Likewise.
15020         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15021         * benchtests/bench-strrchr-ifunc.c: Likewise.
15022         * benchtests/bench-strsep-ifunc.c: Likewise.
15023         * benchtests/bench-strspn-ifunc.c: Likewise.
15024         * benchtests/bench-strstr-ifunc.c: Likewise.
15025
15026 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15027
15028         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15029
15030 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15031
15032         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15033         * rt/aio.h: Likewise.
15034         * sysdeps/gnu/bits/utmp.h: Likewise.
15035         * sysdeps/gnu/bits/utmpx.h: Likewise.
15036         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15037         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15038         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15039         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15040         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15041         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15042         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15043         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15044         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15045         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15046         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15047         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15051         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15052         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15053         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15054         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15055         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15056         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15057         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15058         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15059         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15060         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15062         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15063         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15064         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15065         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15066         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15067         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15068         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15069         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15070         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15071         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15072         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15073         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15074         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15075         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15076         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15077         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15078
15079 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15080
15081         [BZ #16245]
15082         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15083         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15084
15085 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15086
15087         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15088         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15089         Likewise.
15090
15091 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15092
15093         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15094         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15095         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15096         (__fesetround): Remove define.
15097         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15098         rounding and exceptions handling.
15099         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15100         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15101         (__fe_nomask_env): Likewise.
15102         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15103         __fegetround instead of fegetround.
15104         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15105         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15106
15107 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15108
15109         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15110         it's there.
15111
15112         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15113
15114 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15115
15116         [BZ #11157]
15117         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15118         (encrypt_r): Likewise.
15119         * malloc/obstack.h (obstack_free): Likewise.
15120         * posix/unistd.h (encrypt): Likewise.
15121
15122 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15123
15124         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15125         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15126         DL_CALL_DT_FINI() that call the functions directly.
15127         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15128         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15129         * elf/dl-fini.c: Likewise.
15130
15131 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15132
15133         * malloc/hooks.c (memalign_check): Add alignment rounding.
15134         * malloc/malloc.c (_mid_memalign): New function.
15135         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15136         Implement by calling _mid_memalign.
15137         * manual/probes.texi (Memory Allocation Probes): Remove
15138         memory_valloc_retry and memory_pvalloc_retry.
15139
15140 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15141
15142         * locale/programs/locarchive.c (open_archive): Add const
15143         qualifier to ARCHIVEFNAME and copy default fname to
15144         DEFAULT_FNAME.
15145
15146         [BZ #15601]
15147         * libio/tst-widetext.input: Rename Oriya to Odia.
15148         * locale/iso-639.def: Likewise.
15149
15150         * manual/probes.texi (Mathematical Function Probes): Add
15151         documentation for sin, cos, asin and acos probes.
15152         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15153         (__sin32): Add slowasin probe.
15154         (__cos32): Add slowacos probe.
15155         (__mpsin): Add slowsin probe.
15156         (__mpcos): Add slowcos probe.
15157
15158 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15159
15160         [BZ #15483]
15161         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15162         thread-local __sim_exceptions_thread and global
15163         __sim_exceptions_global.
15164         (__sim_disabled_exceptions): Change to thread-local
15165         __sim_disabled_exceptions_thread and global
15166         __sim_disabled_exceptions_global.
15167         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15168         and global __sim_round_mode_global.
15169         (__simulate_exceptions): Use thread-local floating-point state and
15170         set global state from it as needed.
15171         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15172         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15173         __sim_round_mode_thread.
15174         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15175         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15176         and global __sim_exceptions_global.
15177         (__sim_disabled_exceptions): Change to thread-local
15178         __sim_disabled_exceptions_thread and global
15179         __sim_disabled_exceptions_global.
15180         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15181         and global __sim_round_mode_global.
15182         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15183         (SIM_SET_GLOBAL): Likewise.
15184         * sysdeps/powerpc/soft-fp/sfp-machine.h
15185         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15186         __sim_round_mode_thread.
15187         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15188         __sim_disabled_exceptions_thread.
15189         (__sim_exceptions): Change to __sim_exceptions_thread.
15190         (__sim_disabled_exceptions): Change to
15191         __sim_disabled_exceptions_thread.
15192         (__sim_round_mode): Change to __sim_round_mode_thread.
15193         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15194         thread-local floating-point state and set global state from it as
15195         needed.
15196         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15197         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15198         (__sim_disabled_exceptions): Remove extern declaration.
15199         (feenableexcept): Use thread-local floating-point state and set
15200         global state from it as needed.
15201         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15202         extern declaration.
15203         (__sim_disabled_exceptions): Likewise.
15204         (__sim_round_mode): Likewise.
15205         (__fegetenv): Use thread-local floating-point state.
15206         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15207         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15208         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15209         floating-point state and set global state from it as needed.
15210         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15211         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15212         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15213         Likewise.
15214         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15215         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15216         Likewise.
15217         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15218         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15219         Use __sim_round_mode_thread.
15220         * math/test-fenv-tls.c: New file.
15221         * math/Makefile (tests): Add test-fenv-tls.
15222         ($(objpfx)test-fenv-tls): Depend on
15223         $(common-objpfx)nptl/libpthread.so.
15224
15225 2013-11-19  Andreas Schwab  <schwab@suse.de>
15226
15227         * locale/programs/locale.c (show_info): Decode wordarray elements.
15228         * locale/categories.def (LC_MONETARY): Add element for
15229         _NL_MONETARY_CRNCYSTR.
15230         * locale/C-monetary.c (conversion_rate): New variable.
15231         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15232         element.
15233
15234 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15235
15236         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15237         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15238
15239 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15240
15241         * elf/Makefile (tst-auxv): New test.
15242         * elf/tst-auxv.c: New
15243         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15244
15245 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15246
15247         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15248         (hidden_proto): Caller changed.
15249         (hidden_tls_proto): New macro.
15250         (libc_hidden_tls_proto): Likewise.
15251         (rtld_hidden_tls_proto): Likewise.
15252         (libm_hidden_tls_proto): Likewise.
15253         (libresolv_hidden_tls_proto): Likewise.
15254         (librt_hidden_tls_proto): Likewise.
15255         (libdl_hidden_tls_proto): Likewise.
15256         (libnss_files_hidden_tls_proto): Likewise.
15257         (libnsl_hidden_tls_proto): Likewise.
15258         (libnss_nisplus_hidden_tls_proto): Likewise.
15259         (libutil_hidden_tls_proto): Likewise.
15260
15261 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15262
15263         [BZ #10253]
15264         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15265         (decompose_rpath): Defer expansion to fillin_rpath.
15266         (_dl_init_paths): Pass linkmap to fillin_rpath.
15267
15268 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15269
15270         * benchtests/Makefile: Add strsep.
15271         * benchtests/bench-strsep.c: New file: strsep benchtest.
15272         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15273
15274 2013-11-18  Andreas Schwab  <schwab@suse.de>
15275
15276         * locale/programs/locale.c (show_info) [case byte]: Check for
15277         '\377' instead of '\177'.
15278         * locale/C-monetary.c (not_available): Always use "\377".
15279         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15280         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15281         detect unavailable sign_posn locale elements.
15282         * locale/localeconv.c (__localeconv): For grouping and
15283         mon_grouping handle "\177" and "\377" like no grouping.
15284         (INT_ELEM): New macro.  Use it to set all numeric members.
15285         * locale/programs/ld-monetary.c (monetary_read)
15286         <tok_mon_grouping>: Normalize single -1 to the empty string.
15287         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15288         Likewise.
15289
15290 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15291
15292         [BZ #16055]
15293         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15294         when we match (nil).
15295         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15296
15297 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15298
15299         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15300         (NO_TEST_INLINE): Update value.
15301         (ERRNO_UNCHANGED): Likewise.
15302         (ERRNO_EDOM): Likewise.
15303         (ERRNO_ERANGE): Likewise.
15304         (IGNORE_RESULT): Likewise.
15305         (check_float_internal): Check signs of NaN results if
15306         TEST_NAN_SIGN used.
15307         (check_complex): Pass TEST_NAN_SIGN flag through to second
15308         check_float_internal call.
15309         (copysign_test_data): Add tests with quiet NaNs as second
15310         argument.  Use TEST_NAN_SIGN.
15311         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15312         TEST_NAN_SIGN.
15313         (signbit_test_data): Add tests of quiet NaN argument.
15314         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15315
15316         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15317         $ignore_result.
15318         (parse_args): Handle function results specified as IGNORE.
15319         * math/libm-test.inc (IGNORE_RESULT): New macro.
15320         (check_float_internal): Do not check numerical result if flag
15321         IGNORE_RESULT set.
15322         (check_complex): Pass through IGNORE_RESULT to second
15323         check_float_internal call.
15324         (check_int): Do not check numerical result if flag IGNORE_RESULT
15325         set.
15326         (check_long): Likewise.
15327         (check_bool): Likewise.
15328         (check_longlong): Likewise.
15329         (lrint_test_data): Add tests of infinite and NaN arguments.
15330         (lrint_tonearest_test_data): Likewise.
15331         (lrint_towardzero_test_data): Likewise.
15332         (lrint_downward_test_data): Likewise.
15333         (lrint_upward_test_data): Likewise.
15334         (llrint_test_data): Likewise.
15335         (llrint_tonearest_test_data): Likewise.
15336         (llrint_towardzero_test_data): Likewise.
15337         (llrint_downward_test_data): Likewise.
15338         (llrint_upward_test_data): Likewise.
15339         (lround_test_data): Likewise.
15340         (llround_test_data): Likewise.
15341
15342         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15343         (ERRNO_UNCHANGED): Update value.
15344         (ERRNO_EDOM): Likewise.
15345         (ERRNO_ERANGE): Likewise.
15346         (NO_TEST_INLINE_FLOAT): New macro.
15347         (NO_TEST_INLINE_DOUBLE): Likewise.
15348         (enable_test): New function.
15349         (RUN_TEST_f_f): Check enable_test before running test.
15350         (RUN_TEST_2_f): Likewise.
15351         (RUN_TEST_fff_f): Likewise.
15352         (RUN_TEST_c_f): Likewise.
15353         (RUN_TEST_f_f1): Likewise.
15354         (RUN_TEST_fF_f1): Likewise.
15355         (RUN_TEST_fI_f1): Likewise.
15356         (RUN_TEST_ffI_f1): Likewise.
15357         (RUN_TEST_c_c): Likewise.
15358         (RUN_TEST_cc_c): Likewise.
15359         (RUN_TEST_f_i): Likewise.
15360         (RUN_TEST_f_i_tg): Likewise.
15361         (RUN_TEST_ff_i_tg): Likewise.
15362         (RUN_TEST_f_b): Likewise.
15363         (RUN_TEST_f_b_tg): Likewise.
15364         (RUN_TEST_f_l): Likewise.
15365         (RUN_TEST_f_L): Likewise.
15366         (RUN_TEST_fFF_11): Likewise.
15367         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15368         conditionals.
15369         (cosh_test_data): Likewise.
15370         (exp_test_data): Likewise.
15371         (expm1_test_data): Likewise.
15372         (hypot_test_data): Likewise.
15373         (pow_test_data): Likewise.
15374         (sinh_test_data): Likewise.
15375         (tanh_test_data): Likewise.
15376         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15377         flags argument.
15378
15379         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15380         tests with quiet NaN input and output.
15381         (acosh_test_data): Likewise.
15382         (asin_test_data): Likewise.
15383         (asinh_test_data): Likewise.
15384         (atan_test_data): Likewise.
15385         (atanh_test_data): Likewise.
15386         (atan2_test_data): Likewise.
15387         (cbrt_test_data): Likewise.
15388         (cos_test_data): Likewise.
15389         (cosh_test_data): Likewise.
15390         (erf_test_data): Likewise.
15391         (erfc_test_data): Likewise.
15392         (exp_test_data): Likewise.
15393         (exp10_test_data): Likewise.
15394         (exp2_test_data): Likewise.
15395         (expm1_test_data): Likewise.
15396         (hypot_test_data): Likewise.
15397         (j0_test_data): Likewise.
15398         (j1_test_data): Likewise.
15399         (jn_test_data): Likewise.
15400         (lgamma_test_data): Likewise.
15401         (log_test_data): Likewise.
15402         (log10_test_data): Likewise.
15403         (log1p_test_data): Likewise.
15404         (log2_test_data): Likewise.
15405         (pow_test_data): Likewise.
15406         (scalb_test_data): Likewise.
15407         (sin_test_data): Likewise.
15408         (sincos_test_data): Likewise.
15409         (sinh_test_data): Likewise.
15410         (tan_test_data): Likewise.
15411         (tanh_test_data): Likewise.
15412         (tgamma_test_data): Likewise.
15413         (y0_test_data): Likewise.
15414         (y1_test_data): Likewise.
15415         (yn_test_data): Likewise.
15416
15417         [BZ #16167]
15418         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15419         argument being NaN and avoid computations with second argument in
15420         that case.
15421         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15422         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15423         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15424
15425 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15426
15427         * locale/iso-639.def: Add Chitwani Tharu (the).
15428
15429 2013-11-14  Andreas Schwab  <schwab@suse.de>
15430
15431         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15432         word instead of empty string.
15433
15434 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15435
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15437         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15439         (__fe_nomask_env): Likewise.
15440
15441 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15442
15443         * benchtests/bench-timing.h: Include time.h.
15444
15445 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15446
15447         [BZ #15997]
15448         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15449         to 3.4.0 for x32.
15450         * sysdeps/unix/sysv/linux/configure: Regenerated.
15451
15452 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15453
15454         [BZ #16151]
15455         * stdlib/strtod_l.c (round_and_return): Do not consider
15456         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15457         exponent one less than half the least subnormal exponent.
15458         * stdlib/test-strtod-round-data: Add more tests.
15459         * stdlib/tst-strtod-round.c (tests): Regenerated.
15460
15461 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15462
15463         [BZ #14143]
15464         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15465         (__fe_mask_env): Likewise.
15466         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15467         libm_hidden_proto and add function prototype.
15468         (__fe_mask_env): Add function prototype.
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15470         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15472         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15474         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15475
15476 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15477
15478         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15479         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15480
15481 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15482
15483         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15484         of htab_find_slot().
15485
15486 2013-11-11  David S. Miller  <davem@davemloft.net>
15487
15488         [BZ #16150]
15489         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15490         symbol in the non-vis3 case in static builds.
15491         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15492         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15493         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15494         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15495
15496 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15497
15498         [BZ #387]
15499         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15500         it is empty.
15501
15502 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15503
15504         * benchtests/Makefile: Add bench-strtod.
15505         * benchtests/bench-strtod.c: New file: strtod benchtest
15506
15507 2013-11-11  Andreas Schwab  <schwab@suse.de>
15508
15509         [BZ #16153]
15510         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15511         terminating NUL in key length.
15512
15513 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15514
15515         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15516         Add artificial ODP entry for vDSO symbol for PPC64.
15517         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15518         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15519
15520 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15521
15522         [BZ #15374]
15523         * nss/getent.c (services_keys): Recognize services starting with digit.
15524
15525 2013-11-06  David S. Miller  <davem@davemloft.net>
15526
15527         [BZ #15985]
15528         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15529         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15530
15531 2013-11-06  Will Newton  <will.newton@linaro.org>
15532
15533         * manual/memory.texi (Malloc Examples): Remove register
15534         keyword from examples.
15535
15536 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15537
15538         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15539
15540 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15541
15542         [BZ #6981]
15543         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15544         depending on [__GCC_IEC_559 > 0].
15545         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15546         depending on [__GCC_IEC_559_COMPLEX > 0].
15547
15548 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15549
15550         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15551         to iso-639.def.
15552
15553 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15554
15555         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15556
15557 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15558
15559         [BZ #16112]
15560         * malloc/malloc (malloc_info): Do not handle first bin as
15561         special case.
15562
15563 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15564
15565         * locale/iso-639.def: Add Central Nahuatl (nhn).
15566
15567 2013-11-01  Bruno Haible  <bruno@clisp.org>
15568
15569         [BZ #7003]
15570         * manual/math.texi (BSD Random): Specify range upper bound as
15571         in POSIX.
15572
15573 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15574
15575         * locale/iso-639.def: Add Meadow Mari (mhr).
15576
15577 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15578
15579         [BZ #14752], [BZ #15763]
15580         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15581         Validate name.
15582         * rt/tst_shm.c: Add test for escaping directory.
15583
15584 2013-10-31  Andreas Schwab  <schwab@suse.de>
15585
15586         [BZ #15917]
15587         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15588         followed by 'x' as part of digit sequence.
15589         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15590
15591 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15592
15593         [BZ #16037]
15594         * configure.ac: allow GNU Make 4.0 and greater.
15595         * configure: Regenerated.
15596
15597 2013-10-30  Will Newton  <will.newton@linaro.org>
15598
15599         [BZ #16038]
15600         * malloc/hooks.c (memalign_check): Limit alignment to the
15601         maximum representable power of two.
15602         * malloc/malloc.c (__libc_memalign): Likewise.
15603         * malloc/tst-memalign.c (do_test): Add test for very
15604         large alignment values.
15605         * malloc/tst-posix_memalign.c (do_test): Likewise.
15606
15607 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15608
15609         [BZ #11087]
15610         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15611         (munmap_chunk): Likewise.
15612         (mremap_chunk): Likewise.
15613
15614 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15615
15616         [BZ #15799]
15617         * stdlib/div.c (div): Remove obsolete code.
15618         * stdlib/ldiv.c (ldiv): Likewise.
15619         * stdlib/lldiv.c (lldiv): Likewise.
15620
15621 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15622
15623         [BZ #16071]
15624         * nss/nss_files/files-XXX.c (get_contents_ret): New
15625         enumerator.
15626         (get_contents): New function.
15627         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15628
15629 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15630
15631         * configure.in: Moved to ...
15632         * configure.ac: ... here. Change reference to configure.in
15633         to configure.ac.
15634         * sysdeps/arm/preconfigure.ac: ... here.
15635         configure.in to configure.ac.
15636         * sysdeps/gnu/configure.in: Moved to ...
15637         * sysdeps/gnu/configure.ac: ... here.
15638         * sysdeps/i386/configure.in: Moved to ...
15639         * sysdeps/i386/configure.ac: ... here.
15640         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15641         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15642         * sysdeps/mach/configure.in: Moved to ...
15643         * sysdeps/mach/configure.ac: ... here.
15644         * sysdeps/mach/hurd/configure.in: Moved to ...
15645         * sysdeps/mach/hurd/configure.ac: ... here.
15646         * sysdeps/powerpc/configure.in: Moved to ...
15647         * sysdeps/powerpc/configure.ac: ... here.
15648         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15649         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15650         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15651         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15652         * sysdeps/s390/s390-32/configure.in: Moved to ...
15653         * sysdeps/s390/s390-32/configure.ac: ... here.
15654         * sysdeps/s390/s390-64/configure.in: Moved to ...
15655         * sysdeps/s390/s390-64/configure.ac: ... here.
15656         * sysdeps/sh/configure.in: Moved to ...
15657         * sysdeps/sh/configure.ac: ... here.
15658         * sysdeps/sparc/configure.in: Moved to ...
15659         * sysdeps/sparc/configure.ac: ... here.
15660         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15661         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15662         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15663         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15664         * sysdeps/x86_64/configure.in: Moved to ...
15665         * sysdeps/x86_64/configure.ac: ... here.
15666         * sysdeps/x86_64/preconfigure.in: Moved to ...
15667         * sysdeps/x86_64/preconfigure.ac: ... here.
15668         * aclocal.m4: Change reference to configure.in to configure.ac.
15669         * config.h.in: Likewise.
15670         * manual/install.texi: Likewise.
15671         * manual/maint.texi: Likewise.
15672         * Makefile: Likewise.
15673         * malloc/Makefile: Likewise.
15674         * nscd/Makefile: Likewise.
15675         * Makeconfig: Change reference to configure.in and
15676         preconfigure.in to configure.ac and preconfigure.ac
15677         respectively.
15678         * INSTALL: Regenerated.
15679         * configure: Likewise.
15680         * sysdeps/gnu/configure: Likewise.
15681         * sysdeps/i386/configure: Likewise.
15682         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15683         * sysdeps/mach/configure: Likewise.
15684         * sysdeps/mach/hurd/configure: Likewise.
15685         * sysdeps/powerpc/configure: Likewise.
15686         * sysdeps/powerpc/powerpc32/configure: Likewise.
15687         * sysdeps/powerpc/powerpc64/configure: Likewise.
15688         * sysdeps/s390/s390-32/configure: Likewise.
15689         * sysdeps/s390/s390-64/configure: Likewise.
15690         * sysdeps/sh/configure: Likewise.
15691         * sysdeps/sparc/configure: Likewise.
15692         * sysdeps/unix/sysv/linux/configure: Likewise.
15693         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15694         * sysdeps/x86_64/configure: Likewise.
15695         * sysdeps/x86_64/preconfigure: Likewise.
15696
15697 2013-10-29  Andreas Schwab  <schwab@suse.de>
15698
15699         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15700
15701 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15702
15703         * benchtests/pow-inputs: Add new inputs.
15704
15705         * benchtests/exp-inputs: Add new inputs.
15706
15707         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15708         conditional check for return value.
15709         (__cos32): Likewise.
15710
15711 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15712
15713         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15714         to provide a boost for large inputs with word alignment.
15715         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15716         implementation based on optimized PPC64 strcpy.
15717         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15718         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15719         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15720         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15721
15722 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15723
15724         [BZ #2801]
15725         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15726
15727 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15728
15729         [BZ #14876]
15730         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15731         * time/tst-strptime.c (day_tests): Add testcase.
15732
15733 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15734
15735         [BZ #14029]
15736         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15737
15738 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15739
15740         [BZ #16074]
15741         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15742         MAP_FAILED on error.
15743
15744 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15745
15746         [BZ #16072]
15747         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15748         heap for large requests.
15749
15750 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15751
15752         [BZ #9954]
15753         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15754         result if the result has no associated interface.
15755         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15756         interface for all 127.X.Y.Z addresses.
15757
15758 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15759
15760         * locale/iso-639.def: Add Ligurian (lij)
15761
15762 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15763
15764         [BZ #15825]
15765         * sunrpc/rpc_main.c: Document rpcgen -5.
15766
15767 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15768
15769         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15770
15771 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15772
15773         [BZ #10278]
15774         * posix/glob.c: Match only directories when trailing slash is present.
15775         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15776         (main): Add testcase.
15777
15778 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15779
15780         [BZ #15670]
15781         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15782
15783 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15784
15785         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15786         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15787         AUTH_DES and cindex for FIPS 140-2.
15788         (DES Encryption): Add cindex FIPS 46-3.
15789
15790         * locale/locarchive.h (struct locarhandle): Add fname.
15791         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15792         if an optional argument was specified to --list-archive,
15793         otherwise NULL.
15794         * locale/programs/locarchive.c (show_archive_content): Take new
15795         argument fname and pass it via ah.fname to open_archive.
15796         * locale/programs/localedef.h: Update decl.
15797         (open_archive): If AH->fname is non-null, open that file
15798         rather than the default file name, and don't ignore ENOENT.
15799         (create_archive): Set AH.fname to NULL.
15800         (delete_locales_from_archive): Likewise.
15801         (add_locales_to_archive): Likewise.
15802         * locale/programs/locfile.c (write_all_categories): Likewise.
15803
15804 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15805             Aldy Hernandez  <aldyh@redhat.com>
15806
15807         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15808         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15809         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15810         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15811         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15812         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15813         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15814         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15815         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15816         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15817         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15818         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15819         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15820         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15821         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15822         Likewise.
15823         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15824         Likewise.
15825         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15826         Likewise.
15827         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15828         Likewise.
15829         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15830         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15831         Likewise.
15832         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15833         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15834         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15835         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15836         Likewise.
15837         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15838         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15839         * sysdeps/powerpc/preconfigure: Likewise.
15840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15841         Likewise.
15842         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15843         Replace contents of file by #include of <fenv_libc.h>.
15844         * sysdeps/powerpc/soft-fp/sfp-machine.h
15845         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15846         and <sys/prctl.h>.
15847         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15850         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15851         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15854         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15856         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15860         Allow copysignl PLT reference to be missing.
15861
15862 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15863             Joseph Myers  <joseph@codesourcery.com
15864
15865         [BZ #15948]
15866         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15867         single character.
15868         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15869
15870 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15871
15872         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15873         * elf/tst-tls1.c: Likewise.
15874         * elf/tst-tls10.h: Likewise.
15875         * elf/tst-tls14.c: Likewise.
15876         * elf/tst-tls2.c: Likewise.
15877         * elf/tst-tls3.c: Likewise.
15878         * elf/tst-tls4.c: Likewise.
15879         * elf/tst-tls5.c: Likewise.
15880         * elf/tst-tls6.c: Likewise.
15881         * elf/tst-tls7.c: Likewise.
15882         * elf/tst-tls8.c: Likewise.
15883         * elf/tst-tls9.c: Likewise.
15884         * elf/tst-tlsmod1.c: Likewise.
15885         * elf/tst-tlsmod13.c: Likewise.
15886         * elf/tst-tlsmod13a.c: Likewise.
15887         * elf/tst-tlsmod14a.c: Likewise.
15888         * elf/tst-tlsmod16a.c: Likewise.
15889         * elf/tst-tlsmod16b.c: Likewise.
15890         * elf/tst-tlsmod2.c: Likewise.
15891         * elf/tst-tlsmod3.c: Likewise.
15892         * elf/tst-tlsmod4.c: Likewise.
15893         * elf/tst-tlsmod5.c: Likewise.
15894         * elf/tst-tlsmod6.c: Likewise.
15895
15896 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15897
15898         [BZ #12486]
15899         * malloc/malloc.c: remove checks for statistics.
15900
15901 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15902
15903         [BZ #15277]
15904         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15905         * inet/tst-network.c: Add testcase.
15906
15907 2013-10-17  Andreas Schwab  <schwab@suse.de>
15908
15909         [BZ #15218]
15910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15911         to determine canonical name.
15912
15913 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15914
15915         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15916         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15917         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15918         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15919         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15920         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15921         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15922         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15923         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15924         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15925         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15926         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15927         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15928         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15929         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15930         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15932         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15933         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15934         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15935         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15936         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15938         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15939         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15940         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15941         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15942         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15943         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15944         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15945         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15946         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15947         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15948         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15949         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15950         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15951         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15952         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15953         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15954         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15955         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15956         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15957         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15958         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15959         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15960         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15961         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15962         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15963         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15964         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15965         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15966         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15967         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15968         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15969         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15970         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15972         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15973
15974 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15975
15976         [BZ #16041]
15977         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15978         make result into a quiet NaN.
15979
15980 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15981
15982         * soft-fp/adddf3.c: Fix horizontal whitespace.
15983         * soft-fp/addsf3.c: Likewise.
15984         * soft-fp/addtf3.c: Likewise.
15985         * soft-fp/divdf3.c: Likewise.
15986         * soft-fp/divsf3.c: Likewise.
15987         * soft-fp/divtf3.c: Likewise.
15988         * soft-fp/double.h: Likewise.
15989         * soft-fp/eqdf2.c: Likewise.
15990         * soft-fp/eqsf2.c: Likewise.
15991         * soft-fp/eqtf2.c: Likewise.
15992         * soft-fp/extenddftf2.c: Likewise.
15993         * soft-fp/extended.h: Likewise.
15994         * soft-fp/extendsfdf2.c: Likewise.
15995         * soft-fp/extendsftf2.c: Likewise.
15996         * soft-fp/extendxftf2.c: Likewise.
15997         * soft-fp/fixdfdi.c: Likewise.
15998         * soft-fp/fixdfsi.c: Likewise.
15999         * soft-fp/fixdfti.c: Likewise.
16000         * soft-fp/fixsfdi.c: Likewise.
16001         * soft-fp/fixsfsi.c: Likewise.
16002         * soft-fp/fixsfti.c: Likewise.
16003         * soft-fp/fixtfdi.c: Likewise.
16004         * soft-fp/fixtfsi.c: Likewise.
16005         * soft-fp/fixtfti.c: Likewise.
16006         * soft-fp/fixunsdfdi.c: Likewise.
16007         * soft-fp/fixunsdfsi.c: Likewise.
16008         * soft-fp/fixunsdfti.c: Likewise.
16009         * soft-fp/fixunssfdi.c: Likewise.
16010         * soft-fp/fixunssfsi.c: Likewise.
16011         * soft-fp/fixunssfti.c: Likewise.
16012         * soft-fp/fixunstfdi.c: Likewise.
16013         * soft-fp/fixunstfsi.c: Likewise.
16014         * soft-fp/fixunstfti.c: Likewise.
16015         * soft-fp/floatdidf.c: Likewise.
16016         * soft-fp/floatdisf.c: Likewise.
16017         * soft-fp/floatditf.c: Likewise.
16018         * soft-fp/floatsidf.c: Likewise.
16019         * soft-fp/floatsisf.c: Likewise.
16020         * soft-fp/floatsitf.c: Likewise.
16021         * soft-fp/floattidf.c: Likewise.
16022         * soft-fp/floattisf.c: Likewise.
16023         * soft-fp/floattitf.c: Likewise.
16024         * soft-fp/floatundidf.c: Likewise.
16025         * soft-fp/floatundisf.c: Likewise.
16026         * soft-fp/floatunditf.c: Likewise.
16027         * soft-fp/floatunsidf.c: Likewise.
16028         * soft-fp/floatunsisf.c: Likewise.
16029         * soft-fp/floatunsitf.c: Likewise.
16030         * soft-fp/floatuntidf.c: Likewise.
16031         * soft-fp/floatuntisf.c: Likewise.
16032         * soft-fp/floatuntitf.c: Likewise.
16033         * soft-fp/fmadf4.c: Likewise.
16034         * soft-fp/fmasf4.c: Likewise.
16035         * soft-fp/fmatf4.c: Likewise.
16036         * soft-fp/gedf2.c: Likewise.
16037         * soft-fp/gesf2.c: Likewise.
16038         * soft-fp/getf2.c: Likewise.
16039         * soft-fp/ledf2.c: Likewise.
16040         * soft-fp/lesf2.c: Likewise.
16041         * soft-fp/letf2.c: Likewise.
16042         * soft-fp/muldf3.c: Likewise.
16043         * soft-fp/mulsf3.c: Likewise.
16044         * soft-fp/multf3.c: Likewise.
16045         * soft-fp/negdf2.c: Likewise.
16046         * soft-fp/negsf2.c: Likewise.
16047         * soft-fp/negtf2.c: Likewise.
16048         * soft-fp/op-1.h: Likewise.
16049         * soft-fp/op-2.h: Likewise.
16050         * soft-fp/op-4.h: Likewise.
16051         * soft-fp/op-8.h: Likewise.
16052         * soft-fp/op-common.h: Likewise.
16053         * soft-fp/quad.h: Likewise.
16054         * soft-fp/single.h: Likewise.
16055         * soft-fp/soft-fp.h: Likewise.
16056         * soft-fp/sqrtdf2.c: Likewise.
16057         * soft-fp/sqrtsf2.c: Likewise.
16058         * soft-fp/sqrttf2.c: Likewise.
16059         * soft-fp/subdf3.c: Likewise.
16060         * soft-fp/subsf3.c: Likewise.
16061         * soft-fp/subtf3.c: Likewise.
16062         * soft-fp/truncdfsf2.c: Likewise.
16063         * soft-fp/trunctfdf2.c: Likewise.
16064         * soft-fp/trunctfsf2.c: Likewise.
16065         * soft-fp/trunctfxf2.c: Likewise.
16066         * soft-fp/unorddf2.c: Likewise.
16067         * soft-fp/unordsf2.c: Likewise.
16068         * soft-fp/unordtf2.c: Likewise.
16069
16070 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16071
16072         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16073         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16074
16075 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16076
16077         * elf/dl-libc.c: Clear initfini list after freeing.
16078
16079 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16080
16081         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16082         * soft-fp/addsf3.c: Likewise.
16083         * soft-fp/addtf3.c: Likewise.
16084         * soft-fp/divdf3.c: Likewise.
16085         * soft-fp/divsf3.c: Likewise.
16086         * soft-fp/divtf3.c: Likewise.
16087         * soft-fp/double.h: Likewise.
16088         * soft-fp/eqdf2.c: Likewise.
16089         * soft-fp/eqsf2.c: Likewise.
16090         * soft-fp/eqtf2.c: Likewise.
16091         * soft-fp/extenddftf2.c: Likewise.
16092         * soft-fp/extended.h: Likewise.
16093         * soft-fp/extendsfdf2.c: Likewise.
16094         * soft-fp/extendsftf2.c: Likewise.
16095         * soft-fp/extendxftf2.c: Likewise.
16096         * soft-fp/fixdfdi.c: Likewise.
16097         * soft-fp/fixdfsi.c: Likewise.
16098         * soft-fp/fixdfti.c: Likewise.
16099         * soft-fp/fixsfdi.c: Likewise.
16100         * soft-fp/fixsfsi.c: Likewise.
16101         * soft-fp/fixsfti.c: Likewise.
16102         * soft-fp/fixtfdi.c: Likewise.
16103         * soft-fp/fixtfsi.c: Likewise.
16104         * soft-fp/fixtfti.c: Likewise.
16105         * soft-fp/fixunsdfdi.c: Likewise.
16106         * soft-fp/fixunsdfsi.c: Likewise.
16107         * soft-fp/fixunsdfti.c: Likewise.
16108         * soft-fp/fixunssfdi.c: Likewise.
16109         * soft-fp/fixunssfsi.c: Likewise.
16110         * soft-fp/fixunssfti.c: Likewise.
16111         * soft-fp/fixunstfdi.c: Likewise.
16112         * soft-fp/fixunstfsi.c: Likewise.
16113         * soft-fp/fixunstfti.c: Likewise.
16114         * soft-fp/floatdidf.c: Likewise.
16115         * soft-fp/floatdisf.c: Likewise.
16116         * soft-fp/floatditf.c: Likewise.
16117         * soft-fp/floatsidf.c: Likewise.
16118         * soft-fp/floatsisf.c: Likewise.
16119         * soft-fp/floatsitf.c: Likewise.
16120         * soft-fp/floattidf.c: Likewise.
16121         * soft-fp/floattisf.c: Likewise.
16122         * soft-fp/floattitf.c: Likewise.
16123         * soft-fp/floatundidf.c: Likewise.
16124         * soft-fp/floatundisf.c: Likewise.
16125         * soft-fp/floatunsidf.c: Likewise.
16126         * soft-fp/floatunsisf.c: Likewise.
16127         * soft-fp/floatuntidf.c: Likewise.
16128         * soft-fp/floatuntisf.c: Likewise.
16129         * soft-fp/floatuntitf.c: Likewise.
16130         * soft-fp/fmadf4.c: Likewise.
16131         * soft-fp/fmasf4.c: Likewise.
16132         * soft-fp/fmatf4.c: Likewise.
16133         * soft-fp/gedf2.c: Likewise.
16134         * soft-fp/gesf2.c: Likewise.
16135         * soft-fp/getf2.c: Likewise.
16136         * soft-fp/ledf2.c: Likewise.
16137         * soft-fp/lesf2.c: Likewise.
16138         * soft-fp/letf2.c: Likewise.
16139         * soft-fp/muldf3.c: Likewise.
16140         * soft-fp/mulsf3.c: Likewise.
16141         * soft-fp/multf3.c: Likewise.
16142         * soft-fp/negdf2.c: Likewise.
16143         * soft-fp/negsf2.c: Likewise.
16144         * soft-fp/negtf2.c: Likewise.
16145         * soft-fp/op-1.h: Likewise.
16146         * soft-fp/op-2.h: Likewise.
16147         * soft-fp/op-4.h: Likewise.
16148         * soft-fp/op-8.h: Likewise.
16149         * soft-fp/op-common.h: Likewise.
16150         * soft-fp/quad.h: Likewise.
16151         * soft-fp/single.h: Likewise.
16152         * soft-fp/soft-fp.h: Likewise.
16153         * soft-fp/sqrtdf2.c: Likewise.
16154         * soft-fp/sqrtsf2.c: Likewise.
16155         * soft-fp/sqrttf2.c: Likewise.
16156         * soft-fp/subdf3.c: Likewise.
16157         * soft-fp/subsf3.c: Likewise.
16158         * soft-fp/subtf3.c: Likewise.
16159         * soft-fp/truncdfsf2.c: Likewise.
16160         * soft-fp/trunctfdf2.c: Likewise.
16161         * soft-fp/trunctfsf2.c: Likewise.
16162         * soft-fp/trunctfxf2.c: Likewise.
16163         * soft-fp/unorddf2.c: Likewise.
16164         * soft-fp/unordsf2.c: Likewise.
16165         * soft-fp/unordtf2.c: Likewise.
16166
16167 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16168
16169         [BZ #15672]
16170         * misc/error.c (error_tail): Fix possible buffer overflow.
16171
16172 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16173
16174         [BZ #13028]
16175         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16176         address.
16177
16178 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16179
16180         [BZ #832]
16181         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16182         testing pipefail option.
16183
16184 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16185
16186         * soft-fp/double.h: Indent preprocessor directives inside #if.
16187         * soft-fp/extended.h: Likewise.
16188         * soft-fp/op-2.h: Likewise.
16189         * soft-fp/op-4.h: Likewise.
16190         * soft-fp/op-common.h: Likewise.
16191         * soft-fp/quad.h: Likewise.
16192         * soft-fp/single.h: Likewise.
16193         * soft-fp/soft-fp.h: Likewise.
16194
16195 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16196
16197         * iconv/iconv_prog.c: Fix typos.
16198         * stdio-common/psiginfo-data.h: Likewise.
16199
16200 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16201
16202         [BZ #15764]
16203         * locale/setlocale.c: Fix typo.
16204
16205 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16206
16207         [BZ #16036]
16208         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16209         signaling NaN arguments.
16210         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16211         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16212
16213         [BZ #14910]
16214         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16215         unordered operands.
16216         * soft-fp/gesf2.c (__gesf2): Likewise.
16217         * soft-fp/getf2.c (__getf2): Likewise.
16218         * soft-fp/ledf2.c (__ledf2): Likewise.
16219         * soft-fp/lesf2.c (__lesf2): Likewise.
16220         * soft-fp/letf2.c (__letf2): Likewise.
16221
16222         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16223         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16224         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16225         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16226         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16227         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16228         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16229         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16230         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16231         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16232         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16233         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16234         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16235         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16236         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16237         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16238         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16239         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16240         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16241         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16242         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16243         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16244         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16245         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16246         * soft-fp/floattidf.c (__floattidf): Likewise.
16247         * soft-fp/floattisf.c (__floattisf): Likewise.
16248         * soft-fp/floattitf.c (__floattitf): Likewise.
16249         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16250         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16251         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16252         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16253         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16254         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16255         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16256         * soft-fp/gesf2.c (__gesf2): Likewise.
16257         * soft-fp/getf2.c (__getf2): Likewise.
16258         * soft-fp/ledf2.c (__ledf2): Likewise.
16259         * soft-fp/lesf2.c (__lesf2): Likewise.
16260         * soft-fp/letf2.c (__letf2): Likewise.
16261
16262         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16263         Undefine and redefine.
16264         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16265         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16266         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16267         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16268         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16269         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16270         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16271         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16272         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16273         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16274         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16275         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16276         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16277         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16278         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16279
16280         [BZ #16032]
16281         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16282         without decrementing exponent if mantissa >= that for the
16283         denominator, not >.
16284         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16285         denominator, not >.  Decrement exponent in < case instead of
16286         incrementing in >= case.
16287         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16288         without decrementing exponent if mantissa >= that for the
16289         denominator, not >.
16290
16291         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16292         computing saturated result for unsigned overflow.
16293
16294 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16295             Jeff Law  <law@redhat.com>
16296
16297         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16298         (atan2Mp): Add systemtap probe marker.
16299         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16300         (__ieee754_log): Add systemtap probe marker.
16301         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16302         (atanMp): Add systemtap probe marker.
16303         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16304         (tanMp): Add systemtap probe marker.
16305         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16306         (__slowexp): Add systemtap probe marker.
16307         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16308         (__slowpow): Add systemtap probe marker.
16309         * manual/probes.texi: Document probes.
16310
16311 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16312
16313         [BZ #15362]
16314         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16315         written.
16316         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16317         written.
16318         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16319         written to buffer but not flushed.
16320         * libio/iofwrite_u.c:  Likewise.
16321         * libio/iopadn.c:  Return bytes returned even if EOF was
16322         encountered.
16323         * libio/iowpadn.c:  Likewise.
16324         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16325         if _IO_padn does not write the whole buffer.
16326         [!COMPILE_WPRINTF] (PAD): Likewise.
16327
16328 2013-10-10  David S. Miller  <davem@davemloft.net>
16329
16330         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16331         directory block.
16332
16333 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16334
16335         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16336         instead of FSF address.
16337         * soft-fp/fixdfti.c: Likewise.
16338         * soft-fp/fixsfti.c: Likewise.
16339         * soft-fp/fixtfti.c: Likewise.
16340         * soft-fp/fixunsdfti.c: Likewise.
16341         * soft-fp/fixunssfti.c: Likewise.
16342         * soft-fp/fixunstfti.c: Likewise.
16343         * soft-fp/floattidf.c: Likewise.
16344         * soft-fp/floattisf.c: Likewise.
16345         * soft-fp/floattitf.c: Likewise.
16346         * soft-fp/floatuntidf.c: Likewise.
16347         * soft-fp/floatuntisf.c: Likewise.
16348         * soft-fp/floatuntitf.c: Likewise.
16349         * soft-fp/trunctfxf2.c: Likewise.
16350
16351         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16352         * soft-fp/fixdfti.c: Likewise.
16353         * soft-fp/fixsfti.c: Likewise.
16354         * soft-fp/fixtfti.c: Likewise.
16355         * soft-fp/fixunsdfti.c: Likewise.
16356         * soft-fp/fixunssfti.c: Likewise.
16357         * soft-fp/fixunstfti.c: Likewise.
16358         * soft-fp/floattidf.c: Likewise.
16359         * soft-fp/floattisf.c: Likewise.
16360         * soft-fp/floattitf.c: Likewise.
16361         * soft-fp/floatuntidf.c: Likewise.
16362         * soft-fp/floatuntisf.c: Likewise.
16363         * soft-fp/floatuntitf.c: Likewise.
16364         * soft-fp/trunctfxf2.c: Likewise.
16365
16366 2013-10-10  David S. Miller  <davem@davemloft.net>
16367
16368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16369
16370 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16371
16372         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16373         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16374         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16375         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16376         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16377         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16378         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16379
16380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16381         for NaNs before doing comparisons on argument.
16382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16383         Likewise.
16384
16385 2013-10-10  Will Newton  <will.newton@linaro.org>
16386
16387         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16388         passed to _int_memalign does not overflow.
16389
16390 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16391
16392         * scripts/bench.pl: Add include-sources directive.
16393         * benchtests/README: Update documentation.
16394
16395 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16396
16397         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16398         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16399         instead of FP_INIT_ROUNDMODE.
16400         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16401         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16402
16403         [BZ #16034]
16404         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16405         copy class of input value.
16406         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16407         not handle exceptions.
16408         * soft-fp/negsf2.c (__negsf2): Likewise.
16409         * soft-fp/negtf2.c (__negtf2): Likewise.
16410         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16411
16412 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16413
16414         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16415         semicolon.  From Linux kernel.
16416
16417 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16418
16419         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16420
16421 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16422
16423         [BZ #156]
16424         * manual/socket.texi: Added statement about buffer
16425         for gethostbyname2_r.
16426
16427 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16428
16429         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16430         Use .p2align directive instead, throughout.
16431         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16432         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16433         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16434         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16435         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16436         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16437         * sysdeps/x86_64/strchr.S: Likewise.
16438         * sysdeps/x86_64/strrchr.S: Likewise.
16439
16440 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16441
16442         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16443
16444         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16445
16446         * sysdeps/generic/math_private.h (__mpsin1): Remove
16447         declaration.
16448         (__mpcos1): Likewise.
16449         (__mpsin): New argument __range_reduce.
16450         (__mpcos): Likewise.
16451         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16452         (slow): Use __mpsin and __mpcos.
16453         (slow1): Likewise.
16454         (slow2): Likewise.
16455         (sloww): Likewise.
16456         (sloww1): Likewise.
16457         (sloww2): Likewise.
16458         (bsloww): Likewise.
16459         (bsloww1): Likewise.
16460         (bsloww2): Likewise.
16461         (cslow2): Likewise.
16462         (csloww): Likewise.
16463         (csloww1): Likewise.
16464         (csloww2): Likewise.
16465         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16466         range_reduce.  Merge in __mpsin1.
16467         (__mpcos): Likewise.
16468         (__mpsin1): Remove.
16469         (__mpcos1): Likewise.
16470
16471 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16472
16473         * locale/loadlocale.c (_nl_intern_locale_data): Use
16474         LOCFILE_ALIGNED_P.
16475         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16476         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16477         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16478         obstack data is appropriately aligned.
16479         (obstack_int32_grow_fast): Likewise.
16480         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16481         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16482         (add_locale_uint32_array): Likewise.
16483
16484 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16485
16486         * benchtests/Makefile: Remove ARGLIST and RET variables.
16487         ($(objpfx)bench-%.c): Pass only function name to the script.
16488         * benchtests/README: Update documentation.
16489         * benchtests/acos-inputs: Add new directives.
16490         * benchtests/acosh-inputs: Likewise.
16491         * benchtests/asin-inputs: Likewise.
16492         * benchtests/asinh-inputs: Likewise.
16493         * benchtests/atan-inputs: Likewise.
16494         * benchtests/atanh-inputs: Likewise.
16495         * benchtests/cos-inputs: Likewise.
16496         * benchtests/cosh-inputs: Likewise.
16497         * benchtests/exp-inputs: Likewise.
16498         * benchtests/log-inputs: Likewise.
16499         * benchtests/pow-inputs: Likewise.
16500         * benchtests/rint-inputs: Likewise.
16501         * benchtests/sin-inputs: Likewise.
16502         * benchtests/sinh-inputs: Likewise.
16503         * benchtests/tan-inputs: Likewise.
16504         * benchtests/tanh-inputs: Likewise.
16505         * scripts/bench.pl: Add support for new directives.
16506
16507 2013-10-07  Alan Modra  <amodra@gmail.com>
16508
16509         * README: Fix careless merge.
16510
16511 2013-10-05  Alan Modra  <amodra@gmail.com>
16512
16513         * NEWS: Mention powerpc64le support and bugs fixed.
16514         * README: Both big-endian and little-endian powerpc64 supported.
16515
16516 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16517
16518         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16519         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16520         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16521         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16522
16523 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16524
16525         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16526         match prototype.
16527
16528 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16529
16530         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16531         Move -mhard-float appending from
16532         ports/sysdeps/powerpc/powerpc32/Makefile.
16533         [$(with-fp) = yes] (ASFLAGS): Likewise.
16534         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16535         * sysdeps/powerpc/nofpu: Move directory from
16536         ports/sysdeps/powerpc/nofpu.
16537         * sysdeps/powerpc/soft-fp: Move directory from
16538         ports/sysdeps/powerpc/soft-fp.
16539         * sysdeps/powerpc/powerpc32/405: Move directory from
16540         ports/sysdeps/powerpc/powerpc32/405.
16541         * sysdeps/powerpc/powerpc32/440: Move directory from
16542         ports/sysdeps/powerpc/powerpc32/440.
16543         * sysdeps/powerpc/powerpc32/464: Move directory from
16544         ports/sysdeps/powerpc/powerpc32/464.
16545         * sysdeps/powerpc/powerpc32/476: Move directory from
16546         ports/sysdeps/powerpc/powerpc32/476.
16547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16548         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16550         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16552         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16554         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16556         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16557         * README: Update for powerpc-*-linux-gnu software floating point
16558         support in libc.
16559
16560         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16561         case to powerpc/powerpc32*.
16562         * sysdeps/unix/sysv/linux/configure: Regenerated.
16563
16564         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16565         (_FPU_MASK_OM): Define as 0x04.
16566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16568         0x00c10080.
16569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16570         0x0000003c.
16571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16572
16573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16574         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16575         getcontext_e500.
16576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16577         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16578         setcontext_e500.
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16580         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16581         and setcontext_e500.
16582
16583 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16584
16585         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16586
16587 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16588
16589         * manual/threads.texi (Default Thread Attributes): Fix typo.
16590
16591 2013-10-04  Will Newton  <will.newton@linaro.org>
16592
16593         * malloc/Makefile: Add tst-memalign.
16594         * malloc/tst-memalign.c: New file.
16595
16596         * malloc/tst-posix_memalign.c: Add comments.
16597         (do_test): Add comments and call free on all potentially
16598         allocated pointers. Add space after cast.
16599
16600         * malloc/tst-pvalloc.c: Add comments.
16601         (do_test): Add comments and call free on all potentially
16602         allocated pointers. Remove duplicate check for NULL pointer.
16603         Add space after cast.
16604
16605         * malloc/tst-valloc.c: Add comments.
16606         (do_test): Add comments and call free on all potentially
16607         allocated pointers. Remove duplicate check for NULL pointer.
16608         Add space after cast.
16609
16610 2013-10-04  Alan Modra  <amodra@gmail.com>
16611
16612         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16613         Use stdint types in rather than __attribute__((mode())).
16614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16615
16616 2013-10-04  Alan Modra  <amodra@gmail.com>
16617
16618         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16619         Correct handling of unaligned relocs for little-endian.
16620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16621
16622 2013-10-04  Alan Modra  <amodra@gmail.com>
16623
16624         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16625         * configure: Regenerate.
16626         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16627         * shlib-versions: Likewise.
16628
16629 2013-10-04  Alan Modra  <amodra@gmail.com>
16630
16631         * string/tester.c (test_memrchr): Increment reported test cycle.
16632
16633 2013-10-04  Alan Modra  <amodra@gmail.com>
16634
16635         * string/test-memcpy.c (do_one_test): When reporting errors, print
16636         string address and don't overrun end of string.
16637
16638 2013-10-04  Alan Modra  <amodra@gmail.com>
16639
16640         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16641         insrdi.  Make better use of reg selection to speed exit slightly.
16642         Schedule entry path a little better.  Remove useless "are we done"
16643         checks on entry to main loop.  Handle wrapping around zero address.
16644         Correct main loop count.  Handle single left-over word from main
16645         loop inline rather than by using loop_small.  Remove extra word
16646         case in loop_small caused by wrong loop count.  Add little-endian
16647         support.
16648         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16649         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16650         cache hint.
16651         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16652         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16653         support.  Avoid rlwimi.
16654         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16655
16656 2013-10-04  Alan Modra  <amodra@gmail.com>
16657
16658         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16659         insrdi.  Formatting.
16660         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16661         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16662         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16663         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16664         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16665         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16666
16667 2013-10-04  Alan Modra  <amodra@gmail.com>
16668
16669         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16670         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16671         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16672         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16673         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16674         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16675         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16676         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16678         use of regs.  Use power7 mtocrf.  Tidy function tails.
16679
16680 2013-10-04  Alan Modra  <amodra@gmail.com>
16681
16682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16683         Formatting.  Consistently use rXXX register defines or rN defines.
16684         Use early exit labels that avoid restoring unused non-volatile regs.
16685         Make cr field use more consistent with rWORDn compares.  Rename
16686         regs used as shift registers for unaligned loop, using rN defines
16687         for short lifetime/multiple use regs.
16688         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16689         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16690         addi 1,1,64 to pop stack frame.  Simplify return value code.
16691         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16692
16693 2013-10-04  Alan Modra  <amodra@gmail.com>
16694
16695         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16696         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16697         rather than rlwimi.
16698         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16699         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16700         little-endian support.  Correct typos.
16701         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16702         rather than rlwimi.
16703         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16704         in loop and entry code to keep "and." results.
16705         (strchr): Add little-endian support.  Comment.  Move cntlzd
16706         earlier in tail.
16707         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16708
16709 2013-10-04  Alan Modra  <amodra@gmail.com>
16710
16711         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16712         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16713         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16714         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16715
16716 2013-10-04  Alan Modra  <amodra@gmail.com>
16717
16718         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16719         (rTMP): Define as r11.
16720         (strcmp): Add little-endian support.  Optimise tail.
16721         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16722         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16723         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16724         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16725         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16727         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16728
16729 2013-10-04  Alan Modra  <amodra@gmail.com>
16730
16731         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16732         little-endian support.  Remove unnecessary "are we done" tests.
16733         Handle "s" wrapping around zero and extremely large "size".
16734         Correct main loop count.  Handle single left-over word from main
16735         loop inline rather than by using small_loop.  Correct comments.
16736         Delete "zero" tail, use "end_max" instead.
16737         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16738
16739 2013-10-04  Alan Modra  <amodra@gmail.com>
16740
16741         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16742         support.  Don't branch over align.
16743         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16744         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16745         support.  Rearrange tmp reg use to suit.  Comment.
16746         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16747
16748 2013-10-04  Alan Modra  <amodra@gmail.com>
16749
16750         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16751
16752 2013-10-04  Alan Modra  <amodra@gmail.com>
16753
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16755         conditional form of branch and link when obtaining pc.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16757
16758 2013-10-04  Alan Modra  <amodra@gmail.com>
16759
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16761         HIWORD/LOWORD.
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16764
16765 2013-10-04  Alan Modra  <amodra@gmail.com>
16766
16767         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16768         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16769         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16770         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16771         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16772         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16773         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16774         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16775         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16776         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16777
16778 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16779             Alistair Popple <alistair@ozlabs.au.ibm.com>
16780             Alan Modra <amodra@gmail.com>
16781
16782         [BZ #15723]
16783         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16784         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16785         _dl_hwcap access for little-endian.
16786         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16787         destroy vmx regs when saving unaligned.
16788         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16789         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16790         destroy vmx regs when saving unaligned.
16791
16792 2013-10-04  Alan Modra  <amodra@gmail.com>
16793
16794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16795         Don't use a union to pack hi/low value.
16796
16797 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16798
16799         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16800         for little-endian.
16801         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16803         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16804         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16805         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16806
16807 2013-10-04  Alan Modra  <amodra@gmail.com>
16808
16809         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16810         constants to usual value for .cst8 section, and remove redundant
16811         high address load.
16812         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16813         constant for 0x1p52.  Load little-endian words of double from
16814         correct stack offsets.
16815
16816 2013-10-04  Alan Modra  <amodra@gmail.com>
16817
16818         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16819         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16820         words of double from correct stack offsets.
16821         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16822         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16823         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16824         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16825         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16826         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16827         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16828         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16829         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16830         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16831         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16832         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16833         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16834         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16835         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16836         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16837         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16838
16839 2013-10-04  Alan Modra  <amodra@gmail.com>
16840
16841         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16842         64-bit int/double union.
16843         (_FPU_SETCW): Likewise.
16844         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16845         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16846
16847 2013-10-04  Alan Modra  <amodra@gmail.com>
16848
16849         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16850         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16851
16852 2013-10-04  Alan Modra  <amodra@gmail.com>
16853
16854         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16855         use vector int constants.
16856         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16857
16858 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16859
16860         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16861         array with long long.
16862         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16863         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16864         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16865         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16866         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16867         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16868         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16869         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16870         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16871         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16872         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16873         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16874         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16875
16876 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16877
16878         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16879         (__signbit): Likewise.  Correct for little-endian.
16880         (__signbitl): Call __signbit.
16881         (lrint): Correct for little-endian.
16882         (lrintf): Call lrint.
16883
16884 2013-10-04  Alan Modra  <amodra@gmail.com>
16885
16886         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16887         union 32-bit int array member with 64-bit int array.
16888         (t515, tm256): Double rather than long double.
16889         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16890
16891 2013-10-04  Alan Modra  <amodra@gmail.com>
16892
16893         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16894         Delete.
16895         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16897         version of math_ldbl.h.
16898
16899 2013-10-04  Alan Modra  <amodra@gmail.com>
16900
16901         [BZ #15734], [BZ #15735]
16902         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16903         all uses of ieee875 long double macros and unions.  Simplify test
16904         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16905         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16906         normalize after ldbl_extract_mantissa, and don't add hidden bit
16907         already handled.  Don't treat low word of ieee854 mantissa like
16908         low word of IBM long double and mask off bit when testing for
16909         zero.
16910         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16911         all uses of ieee875 long double macros and unions.  Simplify tests
16912         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16913         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16914         two1022, instead use their values.  Recognise that tests for large
16915         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16916         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16917         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16918         test for 0.0L and nan.  Correct negation.
16919         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16920         ieee875 long double macros and unions.  Correct output for large
16921         magnitude x.  Correct absolute value calculation.
16922         (__erfcl): Likewise.
16923         * math/libm-test.inc: Add tests for errors discovered in IBM long
16924         double versions of fmodl, remainderl, erfl and erfcl.
16925
16926 2013-10-04  Alan Modra  <amodra@gmail.com>
16927
16928         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16929         all uses of ieee854 long double macros and unions.  Simplify tests
16930         for long doubles that are fully specified by the high double.
16931         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16932         Likewise.
16933         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16934         Remove dead code too.
16935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16936         (__ieee754_ynl): Likewise.
16937         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16938         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16939         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16940         Remove dead code too.
16941         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16942         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16943         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16944         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16945         Simplify.
16946         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16947         Simplify.
16948         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16949         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16950         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16951         Comment on variable precision.
16952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16953         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16954         Likewise.
16955         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16956         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16957         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16958         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16959         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16960
16961 2013-10-04  Alan Modra  <amodra@gmail.com>
16962
16963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16964         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16965         all uses of ieee854 long double macros and unions.
16966         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16967         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16970         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16971         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16972         Likewise.
16973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16974         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16975         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16976         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16977         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16978         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16979         Simplify sign and nan test too.
16980         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16981         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16982         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16983         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16984         Likewise.
16985         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16986         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16987         Likewise.
16988         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16989         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16990         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16991         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16992         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16993         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16994
16995 2013-10-04  Alan Modra  <amodra@gmail.com>
16996
16997         * stdio-common/printf_size.c (__printf_size): Don't use
16998         union ieee854_long_double in fpnum union.
16999         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17000         signbit macro to retrieve sign from long double.
17001         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17002         retrieve sign from long double.
17003         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17004         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17005         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17006         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17007         * math/test-misc.c (main): Don't use union ieee854_long_double.
17008
17009 2013-10-04  Alan Modra  <amodra@gmail.com>
17010
17011         [BZ #15680]
17012         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17013         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17014         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17015         calculation.  Remove unnecessary test for denormal exponent.
17016         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17017         Correct handling of denormals.  Avoid undefined shift behaviour.
17018         Correct normalisation of low mantissa when low double is denormal.
17019         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17020         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17021         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17022         Correct normalisation of low mantissa.  Test for overflow of high
17023         mantissa and normalise.
17024         (ldbl_nearbyint): Use more readable constant for two52.
17025         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17026         (__mpn_construct_long_double): Fix test for overflow of high
17027         mantissa and correct normalisation.  Avoid undefined shift.
17028
17029 2013-10-04  Alan Modra  <amodra@gmail.com>
17030
17031         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17032         (union ibm_extended_long_double): Define as an array of ieee754_double.
17033         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17034         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17035         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17036         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17037         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17038         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17039         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17040         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17041         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17042         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17043         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17044
17045 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17046
17047         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17048         page size instead of calling getpagesize.
17049
17050         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17051         (LOCFILE_ALIGN_MASK): Likewise.
17052         (LOCFILE_ALIGN_UP): Likewise.
17053         (LOCFILE_ALIGNED_P): Likewise.
17054         * locale/programs/ld-collate.c (collate_output): Use the new
17055         macros instead of __alignof__ (int32_t).
17056         * locale/weight.h (findidx): Likewise.
17057
17058 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17059
17060         [BZ #431]
17061         * manual/string.texi: Fix strncat and wcsncat.
17062
17063 2013-10-03  Brooks Moses  <bmoses@google.com>
17064
17065         [BZ #15915]
17066         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17067         * Makerules: ...here, and adjust associated comments.
17068
17069 2013-10-02  Will Newton  <will.newton@linaro.org>
17070
17071         * malloc/Makefile: Add tst-pvalloc.
17072         * malloc/tst-pvalloc.c: New file.
17073
17074 2013-10-02  Will Newton  <will.newton@linaro.org>
17075
17076         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17077         improve test coverage.
17078
17079 2013-10-02  Will Newton  <will.newton@linaro.org>
17080
17081         * malloc/Makefile: Add tst-posix_memalign.
17082         * malloc/tst-posix_memalign.c: New file.
17083
17084 2013-10-01  Eric Blake  <eblake@redhat.com>
17085
17086         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17087         Use __THROWNL rather than __THROW on static functions.
17088
17089 2013-09-30  Petr Machata  <pmachata@redhat.com>
17090
17091         * elf/elf.h (R_AARCH64_ABS16): New macro.
17092         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17093         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17094         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17095         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17096         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17097         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17098         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17099         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17100         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17101         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17102         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17103         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17104         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17105         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17106         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17107         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17108         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17109         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17110         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17111         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17112         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17113         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17114         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17115         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17116         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17117         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17118         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17119         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17120         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17121         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17122         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17123         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17124         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17125         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17126         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17127         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17128         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17129         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17130         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17131         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17132         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17133         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17134         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17135         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17136         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17137         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17138         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17139         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17140         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17141         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17142         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17143         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17144         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17145         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17146         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17147         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17148         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17149         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17150         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17151         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17152         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17153         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17154         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17155         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17156         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17157         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17158         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17159         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17160         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17161         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17162         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17163         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17164         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17165         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17166         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17167         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17168         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17169         (R_AARCH64_TLSDESC_LDR): Likewise.
17170         (R_AARCH64_TLSDESC_ADD): Likewise.
17171         (R_AARCH64_TLSDESC_CALL): Likewise.
17172
17173 2013-09-30  Andreas Schwab  <schwab@suse.de>
17174
17175         [BZ #15048]
17176         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17177         the nss database lookup.
17178         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17180
17181 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17182
17183         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17184
17185 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17186
17187         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17188         ${Bash-specific parameter/pattern/string} parameter expansion.
17189         * sysdeps/unix/make-syscalls.sh: Likewise.
17190
17191 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17192
17193         * sysdeps/sh/stackguard-macros.h: New file.
17194
17195 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17196
17197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17199         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17200         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17201         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17202         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17203
17204 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17205
17206         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17207         Fix thread ID register.
17208
17209 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17210
17211         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17212         [POSIX || UNIX98]: Require rather than permitting all symbols from
17213         <time.h>.
17214         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17215         element of struct sched_param.
17216         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17217         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17218         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17219         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17220         constant.
17221
17222 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17223
17224         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17225         argument calculation.
17226
17227 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17228
17229         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17230         Expect macro.
17231         [POSIX] (pthread_attr_t): Do not require type.
17232         [POSIX] (pthread_cond_t): Likewise.
17233         [POSIX] (pthread_condattr_t): Likewise.
17234         [POSIX] (pthread_key_t): Likewise.
17235         [POSIX] (pthread_mutex_t): Likewise.
17236         [POSIX] (pthread_mutexattr_t): Likewise.
17237         [POSIX] (pthread_once_t): Likewise.
17238         [POSIX] (pthread_t): Likewise.
17239         [POSIX-based standards] (pthread_atfork): Expect function.
17240
17241 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17242             Richard Sandiford  <richard@codesourcery.com>
17243
17244         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17245         (swap_endianness_p): New extern variable.
17246         (set_big_endian): New inline function.
17247         (maybe_swap_uint32): Likewise.
17248         (maybe_swap_uint32_array): Likewise.
17249         (maybe_swap_uint32_obstack): Likewise.
17250         * locale/programs/locfile.c: Include <stdbool.h>.
17251         (swap_endianness_p): New variable.
17252         (add_locale_uint32): Call maybe_swap_uint32.
17253         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17254         (write_locale_data): Call maybe_swap_uint32_array.
17255         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17256         maybe_swap_uint32.
17257         (obstack_int32_grow_fast): Likewise.
17258         (output_weightwc): Call maybe_swap_uint32_obstack.
17259         (collate_output): Likewise.
17260         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17261         (OPT_LITTLE_ENDIAN): Likewise.
17262         (options): Add --little-endian and --big-endian options.
17263         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17264         * locale/programs/locarchive.c: Include "locfile.h".
17265         (GET): New macro.
17266         (SET): Likewise.
17267         (INC): Likewise.
17268         (create_archive): Use the new macros to access fields of
17269         structures directly mapped from or written to locale archives.
17270         (oldlocrecentcmp): Likewise.
17271         (enlarge_archive): Likewise.
17272         (insert_name): Likewise.
17273         (add_alias): Likewise.
17274         (add_locale): Likewise.
17275         (delete_locales_from_archive): Likewise.
17276         (show_archive_content): Likewise.
17277         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17278         locale data.
17279
17280 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17281
17282         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17283         http://www.gnu.org/doc/freemanuals.texi.
17284         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17285
17286 2013-09-24  Will Newton  <will.newton@linaro.org>
17287
17288         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17289         macro.
17290
17291 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17292
17293         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17294         unsigned char.
17295
17296 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17297
17298         * manual/threads.texi (POSIX Threads): Fix a typo.
17299
17300 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17301
17302         [BZ #14547]
17303         * string/tst-strcoll-overflow.c: New test case.
17304         * string/Makefile (xtests): Add tst-strcoll-overflow.
17305         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17306         cache if string sizes may cause integer overflow.
17307
17308         [BZ #14547]
17309         * string/strcoll_l.c (coll_seq): New members rule, idx,
17310         save_idx and back_us.
17311         (get_next_seq_nocache): New function.
17312         (do_compare_nocache): New function.
17313         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17314         when malloc fails.
17315
17316 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17317
17318         [BZ #15754]
17319         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17320         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17321         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17322
17323         [BZ #15754]
17324         * elf/Makefile (tests): Add tst-ptrguard1.
17325         (tests-static): Add tst-ptrguard1-static.
17326         (tst-ptrguard1-ARGS): Define.
17327         (tst-ptrguard1-static-ARGS): Define.
17328         * elf/tst-ptrguard1.c: New file.
17329         * elf/tst-ptrguard1-static.c: New file.
17330         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17331         * sysdeps/i386/stackguard-macros.h: Likewise.
17332         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17333         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17334         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17335         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17336         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17337         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17338
17339 2013-09-23  Hector Marco  <hecmargi@upv.es>
17340             Ismael Ripoll  <iripoll@disca.upv.es>
17341             Carlos O'Donell  <carlos@redhat.com>
17342
17343         [BZ #15754]
17344         * sysdeps/generic/stackguard-macros.h: Define
17345         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17346         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17347         Define __pointer_chk_guard_local.
17348         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17349         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17350
17351 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17352
17353         [BZ #15859]
17354         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17355
17356 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17357
17358         * include/string.h (__ffs): Declare as hidden.
17359         * string/ffs.c (__ffs): Define as hidden.
17360         * sysdeps/i386/ffs.c (__ffs): Likewise.
17361         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17362         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17363         * sysdeps/s390/ffs.c (__ffs): Likewise.
17364         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17365
17366 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17367
17368         * NEWS: Mention malloc probes.
17369
17370         * malloc/arena.c (new_heap): New memory_heap_new probe.
17371         (grow_heap): New memory_heap_more probe.
17372         (shrink_heap): New memory_heap_less probe.
17373         (heap_trim): New memory_heap_free probe.
17374         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17375         (systrim): New memory_sbrk_less probe.
17376         * manual/probes.texi: Document them.
17377
17378         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17379         * manual/probes.texi: Document it.
17380
17381         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17382         (__libc_realloc): Add memory_realloc_retry probe.
17383         (__libc_memalign): Add memory_memalign_retry probe.
17384         (__libc_valloc): Add memory_valloc_retry probe.
17385         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17386         (__libc_calloc): Add memory_calloc_retry probe.
17387         * manual/probes.texi: Document them.
17388
17389         * malloc/arena.c (get_free_list): Add probe
17390         memory_arena_reuse_free_list.
17391         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17392         and memory_arena_reuse.
17393         (arena_get2) [!PER_THREAD]: Likewise.
17394         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17395         memory_arena_reuse_realloc.
17396         * manual/probes.texi: Document them.
17397
17398         * malloc/malloc.c (__libc_free): Add
17399         memory_mallopt_free_dyn_thresholds probe.
17400         (__libc_mallopt): Add multiple memory_mallopt probes.
17401         * manual/probes.texi: Document them.
17402
17403         * malloc/malloc.c: Include stap-probe.h.
17404         (__libc_mallopt): Add memory_mallopt probe.
17405         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17406         * manual/probes.texi: New.
17407         * manual/Makefile (chapters): Add probes.
17408         * manual/threads.texi: Set next node.
17409
17410 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17411
17412         [BZ #15963, #13985]
17413         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17414         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17415         Add `Chinese' to `nan' entry name.
17416
17417 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17418
17419         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17420         (POLYNOMIAL): Likewise.
17421         (TAYLOR_SINCOS): Likewise.
17422         (TAYLOR_SLOW): Likewise.
17423         (__sin): Use TAYLOR_SINCOS.
17424         (__cos): Likewise.
17425         (slow): Use TAYLOR_SLOW.
17426         (sloww): Likewise.
17427         (bsloww): Likewise.
17428         (csloww): Likewise.
17429
17430 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17431
17432         * stdlib/strtod_l.c: Fix buffer overrun.
17433
17434 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17435
17436         * benchtests/Makefile (bench): Add sincos.
17437         * benchtests/bench-sincos.c: New file.
17438
17439         * math/libm-test.inc (cos_test_data): New test inputs.
17440         (sin_test_data): Likewise.
17441
17442         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17443         macro.
17444         (__sin): Use it.
17445         (__cos): Likewise.
17446         (slow1): Likewise.
17447         (slow2): Likewise.
17448         (sloww1): Likewise.
17449         (sloww2): Likewise.
17450         (bsloww1): Likewise.
17451         (bsloww2): Likewise.
17452         (cslow2): Likewise.
17453         (csloww1): Likewise.
17454         (csloww2): Likewise.
17455
17456         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17457         function.
17458         (__sin): Use it.
17459         (__cos): Likewise.
17460
17461         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17462         gotos.
17463         (__cos): Likewise.
17464
17465 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17466
17467         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17468         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17469         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17470         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17471         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17472         * elf/cache.c (print_entry): Handle the new cache flags.
17473
17474 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17475             Aldy Hernandez  <aldyh@redhat.com>
17476
17477         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17478         Change condition to [_SOFT_FLOAT].
17479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17491         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17494         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17495         declaration.
17496
17497 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17498
17499         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17500         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17501         (__longjmp): Use LOAD_GP to load saved GPRs.
17502         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17503         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17504         (__sigsetjmp): Use SAVE_GP to save GPRs.
17505
17506         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17507         Do not append -msoft-float.
17508         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17509
17510 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17511
17512         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17513
17514 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17515
17516         [BZ #15966]
17517         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17518         (_FPU_GETCW): Use initial "__" on variable and field names but not
17519         on macro parameter name.
17520         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17521         parentheses around reference to macro parameter.
17522
17523 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17524
17525         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17526         prototype.
17527         (ctype_startup): Use uint32_t in cast and sizeof for
17528         ctype->charnames.
17529
17530 2013-09-11  Jia Liu  <proljc@gmail.com>
17531
17532         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17533         __daddr_t_defined.
17534         [__FreeBSD__]: Likewise.
17535
17536 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17537
17538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17539         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17540         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17541         (strchr): Remove __strchr_sse42 ifunc selection.
17542         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17543         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17544
17545 2013-09-11  Will Newton  <will.newton@linaro.org>
17546
17547         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17548         parameter to RES. Remove hardcoded 1000 value.
17549         * benchtests/bench-skeleton.c (main): Pass RES parameter
17550         to TIMING_INIT and multiply result by 1000.
17551
17552 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17553
17554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17555
17556 2013-09-11  Andreas Schwab  <schwab@suse.de>
17557
17558         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17559         if not defined.
17560         (O_TMPFILE) [__USE_GNU]: Define.
17561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17562         Define.
17563
17564 2013-09-11  Will Newton  <will.newton@linaro.org>
17565
17566         [BZ #15857]
17567         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17568         does not overflow.
17569
17570 2013-09-11  Will Newton  <will.newton@linaro.org>
17571
17572         [BZ #15856]
17573         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17574         does not overflow.
17575
17576 2013-09-11  Will Newton  <will.newton@linaro.org>
17577
17578         [BZ #15855]
17579         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17580         does not overflow.
17581
17582 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17583
17584         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17585         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17586         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17587         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17588         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17589
17590 2013-09-10  Allan McRae  <allan@archlinux.org>
17591
17592         [BZ #15748]
17593         * manual/arith.texi (Parsing of Floats): Clarify
17594         cross-reference.
17595
17596         [BZ #15849]
17597         * manual/install.texi (Running make install): Mention
17598         --enable-pt-chown.
17599         * INSTALL: Regenerated.
17600
17601 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17602
17603         * csu/init-first.c (_init): Remove the !SHARED condition around
17604         FPU control word initialization.
17605         * elf/dl-support.c (_dl_fpu_control): New variable.
17606         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17607         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17608         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17609         * math/test-fpucw-static.c: New file.
17610         * math/test-fpucw-ieee.c: New file.
17611         * math/test-fpucw-ieee-static.c: New file.
17612         * math/Makefile (tests): Add `test-fpucw-ieee' and
17613         `$(tests-static)'.
17614         (tests-static): New variable.
17615         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17616         dependency to...
17617         [($(build-shared),yes)]
17618         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17619         ... this.
17620         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17621         New dependency.
17622
17623 2013-09-09  Allan McRae  <allan@archlinux.org>
17624
17625         [BZ #15939]
17626         * manual/string.texi (Collation Functions): Fix typo in
17627         strcoll example.
17628         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17629
17630         [BZ #15893]
17631         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17632
17633         [BZ #15892]
17634         * libio/memstream.c (open_memstream): Fix memory leak.
17635         * libio/wmemstream.c (open_wmemstream): Likewise.
17636
17637         [BZ #15895]
17638         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17639
17640 2013-09-09  Will Newton  <will.newton@linaro.org>
17641
17642         * malloc/Makefile: Add tst-realloc to tests.
17643         * malloc/tst-realloc.c: New file.
17644
17645 2013-09-09  Allan McRae  <allan@archlinux.org>
17646
17647         [BZ #15844]
17648         * COPYING: Update from GNU website to fix FSF address.
17649         * COPYING.LIB: Likewise.
17650
17651 2013-09-06  David S. Miller  <davem@davemloft.net>
17652
17653         * po/zh_TW.po: Update Chinese (traditional) translation from
17654         translation project.
17655
17656 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17657             Joseph Myers  <joseph@codesourcery.com>
17658
17659         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17660         "localeinfo.h".
17661         (obstack_chunk_alloc): New macro.
17662         (obstack_chunk_free): Likewise.
17663         (record_offset): New function.
17664         (init_locale_data): Likewise.
17665         (align_locale_data): Likewise.
17666         (add_locale_empty): Likewise.
17667         (add_locale_raw_data): Likewise.
17668         (add_locale_raw_obstack): Likewise.
17669         (add_locale_string): Likewise.
17670         (add_locale_wstring): Likewise.
17671         (add_locale_uint32): Likewise.
17672         (add_locale_uint32_array): Likewise.
17673         (add_locale_char): Likewise.
17674         (start_locale_structure): Likewise.
17675         (end_locale_structure): Likewise.
17676         (start_locale_prelude): Likewise.
17677         (end_locale_prelude): Likewise.
17678         (write_locale_data): Take locale_file structure rather than an
17679         iovec.
17680         * locale/programs/locfile.h: Include "obstack.h".
17681         (struct locale_file): Change to store locale file contents instead
17682         of header.
17683         (init_locale_data): New prototype.
17684         (align_locale_data): Likewise.
17685         (add_locale_empty): Likewise.
17686         (add_locale_raw_data): Likewise.
17687         (add_locale_raw_obstack): Likewise.
17688         (add_locale_string): Likewise.
17689         (add_locale_wstring): Likewise.
17690         (add_locale_uint32): Likewise.
17691         (add_locale_uint32_array): Likewise.
17692         (add_locale_char): Likewise.
17693         (start_locale_structure): Likewise.
17694         (end_locale_structure): Likewise.
17695         (start_locale_prelude): Likewise.
17696         (end_locale_prelude): Likewise.
17697         (write_locale_data): Update prototype.
17698         * locale/programs/3level.h (struct TABLE): Remove result field.
17699         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17700         Use new locale_file interface.
17701         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17702         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17703         * locale/programs/ld-address.c (address_output): Use new
17704         locale_file interface.
17705         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17706         NO_ADD_LOCALE.
17707         (collate_finish): Don't call collseq_table_finalize.
17708         (collate_output): Use new locale_file interface.
17709         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17710         in file.
17711         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17712         (TABLE): Move defines earlier in file.
17713         (ELEMENT): Likewise.
17714         (DEFAULT): Likewise.
17715         (wctrans_table_add): Move macro and inline function earlier in
17716         file.
17717         (struct wctype_table): Move type earlier in file.
17718         (add_locale_wctype_table): New static prototype.
17719         (struct locale_ctype_t): Use logical types instead of struct iovec
17720         pointers for members.
17721         (ctype_output): Use new locale_file interface.
17722         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17723         new locale_file interface.
17724         (allocate_arrays): Update for use of new locale_file interface.
17725         * locale/programs/ld-identification.c (identification_output): Use
17726         new locale_file interface.
17727         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17728         * locale/programs/ld-messages.c (messages_output): Likewise.
17729         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17730         * locale/programs/ld-name.c (name_output): Likewise.
17731         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17732         * locale/programs/ld-paper.c (paper_output): Likewise.
17733         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17734         * locale/programs/ld-time.c (time_output): Likewise.
17735
17736 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17737
17738         * benchtests/Makefile: Add memrchr benchmark.
17739         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17740         benchmark as memrchr.
17741         * benchtests/bench-memrchr-ifunc.c: New file.
17742         * benchtests/bench-memrchr.c: New file.
17743
17744 2013-09-06   Will Newton  <will.newton@linaro.org>
17745
17746         * benchtests/Makefile (string-bench): Add memcpy.
17747
17748 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17749             Cong Wang  <amwang@redhat.com>
17750
17751         [BZ #15850]
17752         * sysdeps/unix/sysv/linux/bits/in.h
17753         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17754         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17755         before __USE_KERNEL_IPV6_DEFS uses.
17756         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17757         IPPROTO_BEETPH.
17758         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17759         sockaddr_in6, or ipv6_mreq.
17760
17761 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17762
17763         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17764         memory access for final bytes in some large inputs.
17765         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17766
17767 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17768
17769         * string/test-memrchr.c: New file.
17770         * string/test-memrchr-ifunc.c: New file.
17771         * string/Makefile: Add new memrchr testcase.
17772
17773 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17774
17775         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17776         fanotify_init returns EPERM.
17777
17778 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17779
17780         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17781         errors.
17782         (top level): Treat second token from macro or constant entries for
17783         allowed headers as allowed.
17784         * include/complex.h: Condition internal declarations on
17785         [!_ISOMAC].
17786         * include/fenv.h: Condition include of <stdbool.h> and internal
17787         declarations on [!_ISOMAC].
17788
17789 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17790
17791         [BZ #15923]
17792         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17793
17794 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17795
17796         * configure.in (--enable-versioning): Remove configure option.
17797         (libc_cv_asm_symver_directive): Remove configure test.
17798         (libc_cv_ld_version_script_option): Likewise.
17799         (VERSIONING): Remove variable and AC_SUBST.
17800         (DO_VERSIONING): Remove AC_DEFINE.
17801         * configure: Regenerated.
17802         * config.h.in (DO_VERSIONING): Remove macro.
17803         * Makerules [$(versioning) = yes]: Change conditionals to
17804         [$(build-shared) = yes].
17805         * config.make.in (versioning): Remove variable.
17806         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17807         [$(build-shared) = yes].
17808         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17809         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17810         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17811         [$(build-shared) = yes].
17812         * extra-lib.mk [$(versioning) = yes]: Likewise.
17813         * hurd/Makefile [$(versioning) = yes]: Likewise.
17814         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17815         [SHARED].
17816         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17817         [SHARED].
17818         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17819         [SHARED && !NO_HIDDEN].
17820         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17821         [SHARED].
17822         [SHARED && DO_VERSIONING]: Likewise..
17823         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17824         [$(build-shared) = yes].
17825         * manual/install.texi (--disable-versioning): Remove
17826         documentation.
17827         * INSTALL: Regenerated.
17828         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17829         to [SHARED].
17830         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17831         [$(build-shared) = yes].
17832         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17833         * sysdeps/i386/i686/multiarch/strstr-c.c
17834         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17835         [SHARED && !NO_HIDDEN].
17836         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17837         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17838         * sysdeps/powerpc/powerpc32/dl-machine.c
17839         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17840         * sysdeps/powerpc/powerpc32/sysdep.h
17841         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17842         to [SHARED && PIC && !NO_HIDDEN].
17843         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17844         conditional to [SHARED].
17845
17846 2013-09-04   Will Newton  <will.newton@linaro.org>
17847
17848         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17849         * benchtests/bench-string.h: Include bench-timing.h instead
17850         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17851         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17852         call to HP_TIMING_DIFF_INIT.
17853         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17854         instead of hp-timing.h macros.
17855         * benchtests/bench-memchr.c: Likewise.
17856         * benchtests/bench-memcmp.c: Likewise.
17857         * benchtests/bench-memcpy.c: Likewise.
17858         * benchtests/bench-memmem.c: Likewise.
17859         * benchtests/bench-memmove.c: Likewise.
17860         * benchtests/bench-memset.c: Likewise.
17861         * benchtests/bench-rawmemchr.c: Likewise.
17862         * benchtests/bench-strcasecmp.c: Likewise.
17863         * benchtests/bench-strcasestr.c: Likewise.
17864         * benchtests/bench-strcat.c: Likewise.
17865         * benchtests/bench-strchr.c: Likewise.
17866         * benchtests/bench-strcmp.c: Likewise.
17867         * benchtests/bench-strcpy.c: Likewise.
17868         * benchtests/bench-strcpy_chk.c: Likewise.
17869         * benchtests/bench-strlen.c: Likewise.
17870         * benchtests/bench-strncasecmp.c: Likewise.
17871         * benchtests/bench-strncat.c: Likewise.
17872         * benchtests/bench-strncmp.c: Likewise.
17873         * benchtests/bench-strncpy.c: Likewise.
17874         * benchtests/bench-strnlen.c: Likewise.
17875         * benchtests/bench-strpbrk.c: Likewise.
17876         * benchtests/bench-strrchr.c: Likewise.
17877         * benchtests/bench-strspn.c: Likewise.
17878         * benchtests/bench-strstr.c: Likewise.
17879
17880 2013-09-04  Will Newton  <will.newton@linaro.org>
17881
17882         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17883
17884 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17885
17886         [BZ #15427]
17887         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17888         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17889         * math/libm-test.inc (lgamma_test_data): Add more tests.
17890         * sysdeps/i386/fpu/libm-test-ulps: Update.
17891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17892
17893 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17894
17895         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17897         Add ifunc.
17898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17899         Add strcmp-sse2-unaligned
17900         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17901
17902 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17903
17904         * Versions.def (libc): Add GLIBC_2.19.
17905
17906 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17907
17908         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17909         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17910
17911 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17912
17913         [BZ #14155]
17914         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17915         intermediate calculations in recurrence.
17916         (__ieee754_ynf): Likewise.
17917         * math/libm-test.inc (jn_test_data): Do not allow spurious
17918         underflow exception.  Add more tests.
17919         (yn_test_data): Add more tests.
17920         * sysdeps/i386/fpu/libm-test-ulps: Update.
17921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17922
17923 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17924
17925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17926
17927 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17928
17929         * csu/init-first.c: Fix then/than typos.
17930         * locale/programs/ld-collate.c: Likewise.
17931         * locale/programs/linereader.h: Likewise.
17932         * manual/charset.texi: Likewise.
17933         * manual/filesys.texi: Likewise.
17934         * manual/stdio.texi: Likewise.
17935         * manual/string.texi: Likewise.
17936         * stdlib/fmtmsg.c: Likewise.
17937         * sysdeps/i386/stpncpy.S: Likewise.
17938         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17939         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17940         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17941         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17942
17943 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17944
17945         * elf/dl-open.c: Fix typos.
17946         * iconvdata/gbbig5.c: Likewise.
17947         * iconvdata/iso-2022-jp.c: Likewise.
17948         * iconv/gconv_int.h: Likewise.
17949         * iconv/loop.c: Likewise.
17950         * nis/rpcsvc/nis.h: Likewise.
17951         * resolv/ns_name.c: Likewise.
17952         * stdio-common/vfscanf.c: Likewise.
17953         * streams/stropts.h: Likewise.
17954         * sunrpc/rpc_thread.c: Likewise.
17955         * sysdeps/i386/strpbrk.S: Likewise.
17956         * sysdeps/ieee754/k_standard.c: Likewise.
17957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17959         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17960         * sysdeps/mach/hurd/profil.c: Likewise.
17961         * sysdeps/s390/dl-procinfo.h: Likewise.
17962         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17963         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17964         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17965         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17966         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17967
17968 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17969
17970         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17972
17973 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17974
17975         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17976         aix specific files.
17977         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17978         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17979         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17980         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17981         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17982         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17983         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17984         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17985
17986 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17987             Roland McGrath  <roland@hack.frob.com>
17988
17989         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17990         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17991
17992 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17993
17994         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17995         __executable_start symbol instead of _start.
17996
17997 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17998
17999         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18000         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18001         Move macros to...
18002         * sysdeps/gnu/ldsodefs.h: ... this new file.
18003
18004         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18005         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18006         instead of ELFOSABI_LINUX.
18007
18008         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18009         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18010         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18011         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18012         Likewise.
18013         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18014         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18015         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18016         Likewise.
18017         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18018         (ibm_extended_long_double): Add ieee_nan member.
18019         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18020         (do_test): New function.
18021
18022         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18023         TEST_TRUNC.
18024         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18025         functions, renamed from truncdfsf_test, trunctfsf_test,
18026         trunctfdf_test.
18027         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18028         functions.
18029         (do_test): Run all these.
18030
18031 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18032
18033         * argp/argp-help.c: Fix typos.
18034         * argp/argp-parse.c: Likewise.
18035         * debug/backtracesyms.c: Likewise.
18036         * elf/elf.h: Likewise.
18037         * malloc/malloc.c: Likewise.
18038         * nis/nis_print.c: Likewise.
18039         * resolv/res_comp.c: Likewise.
18040         * stdlib/stdlib.h: Likewise.
18041         * sunrpc/clnt_tcp.c: Likewise.
18042         * sunrpc/clnt_udp.c: Likewise.
18043         * sunrpc/clnt_unix.c: Likewise.
18044         * sysdeps/unix/bsd/ptsname.c: Likewise.
18045         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18046         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18048         Likewise.
18049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18050         Likewise.
18051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18052         Likewise.
18053         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18054
18055 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18056
18057         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18059
18060 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18061
18062         [BZ #15897]
18063         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18064         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18065         ($(objpfx)bug-dl-leaf): New rule.
18066         ($(objpfx)bug-dl-leaf.so): Likewise.
18067         ($(objpfx)bug-dl-leaf.out): Likewise.
18068         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18069         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18070         * dlfcn/bug-dl-leaf.c: New test.
18071         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18072         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18073         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18074         (dlclose): Likewise.
18075         (dlmopen): Likewise.
18076
18077 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18078
18079         * include/netdb.h [!_ISOMAC]:
18080         Don't include <tls.h>.
18081         (h_errno, __libc_h_errno): Move declaration and macros out of
18082         [_LIBC_REENTRANT].
18083
18084         * include/resolv.h [_RESOLV_H_]:
18085         Don't include <tls.h>.
18086         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18087         * resolv/res_libc.c: Don't include <tls.h>.
18088         (_res): Use __attribute__ ((nocommon)) in place of
18089         __attribute__ ((section (".bss"))).
18090
18091         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18092         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18093
18094         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18095
18096         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18097         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18098
18099         * resolv/res_mkquery.c: Include <sys/time.h>.
18100
18101         * inet/ifreq.c: Moved to ...
18102         * sysdeps/unix/ifreq.c: ... here.
18103         * inet/ifreq.c: New file, true stub version.
18104
18105         * socket/sa_len.c: New file.
18106         * socket/Makefile (aux): Add it.
18107         * sysdeps/unix/sysv/linux/Makefile
18108         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18109         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18110         and #include <socket/sa_len.c>.
18111         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18112         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18113
18114         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18115         * bits/socket.h: ... here.
18116
18117         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18118         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18119         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18120
18121 2013-08-27  Andreas Schwab  <schwab@suse.de>
18122
18123         [BZ #15736]
18124         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18125         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18126         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18127         * string/test-strcasecmp.c (test_main): Run tests in several
18128         locales.
18129         * string/test-strncasecmp.c (test_main): Likewise.
18130
18131         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18132         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18133         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18134         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18135         (__strncasecmp_ssse3) [PIC]: Likewise.
18136
18137 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18138
18139         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18140
18141         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18142         instead of explicitly declaring xdecrypt.
18143         * nis/nss_nis/nis-publickey.c: Likewise.
18144
18145 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18146
18147         [BZ #15890]
18148         * nscd/aicache.c: Include res_hconf.h.
18149         (addhstaiX): Initialize res_hconf.
18150
18151 2013-08-26  Andreas Schwab  <schwab@suse.de>
18152
18153         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18154         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18155
18156 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157
18158         * nscd/aicache.c (addhstaiX): Fix indentation.
18159
18160 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18161
18162         * configure.ac: Quote $build_pt_chown test.
18163         * configure: Regenerated.
18164
18165 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18166
18167         [BZ #15532]
18168         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18169         * math/s_cexpf.c (__cexpf): Likewise.
18170         * math/s_cexpl.c (__cexpl): Likewise.
18171         * math/libm-test.inc (cexp_test_data): Correct expected return
18172         value for NaN + i0.  Add another test.
18173
18174 2013-08-22  David S. Miller  <davem@davemloft.net>
18175
18176         * po/ca.po: Update Catalan translation from translation project.
18177         * po/uk.po: Add Ukrainian translations from translation project.
18178
18179 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18180
18181         [BZ #15797]
18182         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18183         is infinite, not alongside NaN test.
18184         * math/s_fdimf.c (__fdimf): Likewise.
18185         * math/s_fdiml.c (__fdiml): Likewise.
18186         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18187         errno is unchanged.
18188
18189 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18190
18191         * argp/argp-help.c: Fix typos.
18192         * crypt/speeds.c: Likewise.
18193         * csu/check_fds.c: Likewise.
18194         * elf/dl-load.c: Likewise.
18195         * elf/dl-open.c: Likewise.
18196         * elf/reldep3.c: Likewise.
18197         * elf/reldep.c: Likewise.
18198         * elf/sprof.c: Likewise.
18199         * iconv/iconv_charmap.c: Likewise.
18200         * iconv/skeleton.c: Likewise.
18201         * iconv/strtab.c: Likewise.
18202         * io/lockf64.c: Likewise.
18203         * libio/libioP.h: Likewise.
18204         * resolv/gai_notify.c: Likewise.
18205         * resolv/ns_name.c: Likewise.
18206         * resolv/ns_samedomain.c: Likewise.
18207         * resolv/res_send.c: Likewise.
18208         * stdlib/random.c: Likewise.
18209         * sunrpc/rpc/xdr.h: Likewise.
18210         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18211         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18212         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18213         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18214         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18215         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18217         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18218         * sysdeps/mach/hurd/check_fds.c: Likewise.
18219         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18220         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18221         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18222         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18223         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18224         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18225         * sysdeps/pthread/aio_notify.c: Likewise.
18226         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18227         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18228         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18229         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18230         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18231
18232 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18233
18234         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18235         version if bit_Slow_SSE4_2 is set.
18236         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18237         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18238
18239 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18240
18241         [BZ #15867]
18242         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18243         trampoline stack frame information.
18244         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18245         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18246         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18247         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18248         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18249         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18250         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18251         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18252         sa_flags value.
18253         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18254         interrupting a syscall and set with option SA_SIGINFO.
18255
18256 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18257
18258         [BZ #15531]
18259         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18260         argument is infinite.
18261         * math/s_cprojf.c (__cprojf): Likewise.
18262         * math/s_cprojl.c (__cprojl): Likewise.
18263         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18264         * math/libm-test.inc (cproj_test_data): Add more tests.
18265
18266         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18267
18268         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18269         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18270         size.  Use __ffs to determine corresponding shift.
18271
18272 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18273             Roland McGrath  <roland@hack.frob.com>
18274
18275         * Makefile (INSTALL): Remove trailing blank lines from output of
18276         makeinfo.
18277
18278 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18279
18280         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18281         Align 32 bit compat elf_greg to 8 bytes.
18282
18283 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18284
18285         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18286
18287 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18288
18289         * string/strcoll_l.c (coll_seq): New structure.
18290         (get_next_seq_cached): New function.
18291         (get_next_seq): New function.
18292         (do_compare): New function.
18293         (STRCOLL): Use GNU style definition.  Simplify implementation
18294         by using get_next_seq, get_next_seq_cached and do_compare.
18295
18296 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18297
18298         [BZ #14699]
18299         CVE-2013-4237
18300         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18301         member.
18302         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18303         member.
18304         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18305         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18306         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18307         conditional.
18308         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18309         GETDENTS_64BIT_ALIGNED.
18310         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18311         * manual/filesys.texi (Reading/Closing Directory): Document
18312         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18313         strongly.
18314         * manual/conf.texi (Limits for Files): Add portability note to
18315         NAME_MAX, PATH_MAX.
18316         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18317
18318 2013-08-13  Andreas Schwab  <schwab@suse.de>
18319
18320         [BZ #15749]
18321         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18322         of fabs.
18323         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18324         LDBL_MAX_EXP >= 16384]: Add tests for it.
18325
18326 2013-08-12  David S. Miller  <davem@davemloft.net>
18327
18328         * version.h (RELEASE): Set to "development".
18329         (VERSION): Set to "2.18.90".
18330         * NEWS: Add 2.19 section.
18331
18332 2013-08-03  David S. Miller  <davem@davemloft.net>
18333
18334         * po/ko.po: Update Korean translation from translation project.
18335
18336 2013-08-01  David S. Miller  <davem@davemloft.net>
18337
18338         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18339         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18340         Bilka.
18341
18342 2013-07-30  David S. Miller  <davem@davemloft.net>
18343
18344         * po/fr.po: Update French translation from translation project.
18345
18346 2013-07-28  David S. Miller  <davem@davemloft.net>
18347
18348         * po/cs.po: Update Czech translation from translation project.
18349
18350         * po/sv.po: Update Swedish translation from translation project.
18351
18352 2013-07-27  David S. Miller  <davem@davemloft.net>
18353
18354         * po/eo.po: Update Esperanto translation from translation project.
18355
18356         * po/vi.po: Update Vietnamese translation from translation project.
18357
18358         * po/de.po: Update German translation from translation project.
18359
18360 2013-07-26  David S. Miller  <davem@davemloft.net>
18361
18362         * po/bg.po: Update Bulgarian translation from translation project.
18363
18364         * po/nl.po: Update Dutch translation from translation project.
18365         * po/pl.po: Update Polish translation from translation project.
18366         * po/ru.po: Update Russian translation from translation project.
18367
18368 2013-07-24  David S. Miller  <davem@davemloft.net>
18369
18370         * po/libc.pot: Update.
18371
18372 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18373
18374         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18375         variable page size.
18376         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18377         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18378         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18379
18380 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18381
18382         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18383
18384 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18385             Andreas Schwab  <schwab@suse.de>
18386             Roland McGrath  <roland@hack.frob.com>
18387             Joseph Myers  <joseph@codesourcery.com>
18388             Carlos O'Donell  <carlos@redhat.com>
18389
18390         [BZ #15755]
18391         * config.h.in: Define HAVE_PT_CHOWN.
18392         * config.make.in (build-pt-chown): New variable.
18393         * configure.in (--enable-pt_chown): New configure option.
18394         * configure: Regenerate.
18395         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18396         build-pt-chown is enabled.
18397         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18398         pt_chown to fix pty ownership.
18399         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18400         CLOSE_ALL_FDS.
18401         * manual/install.texi (Configuring and compiling): Mention
18402         --enable-pt_chown. Add @findex for grantpt.
18403         * INSTALL: Regenerate.
18404
18405 2013-07-20  David S. Miller  <davem@davemloft.net>
18406
18407         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18408         difference between 32-bit and 64-bit.
18409
18410 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18411
18412         [BZ #15711]
18413         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18414         Avoid system header dependency with -ffreestanding.
18415         ($(objpfx)bits/syscall%d): Likewise.
18416
18417 2013-07-13  David S. Miller  <davem@davemloft.net>
18418
18419         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18420         underflows from atanl/atan2l due to bug 15319.
18421         (casinh_test_data): Likewise.
18422
18423 2013-07-07  David S. Miller  <davem@davemloft.net>
18424
18425         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18426
18427 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18428
18429         * sysdeps/i386/fpu/libm-test-ulps: Update.
18430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431
18432 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18433
18434         * configure.in (--enable-lock-elision): Fix message text.
18435         * INSTALL: Regenerate.
18436         * configure: Regenerate.
18437
18438 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18439
18440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18441
18442 2013-07-03  Andreas Jaeger  <aj@suse.de>
18443
18444         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18445         define.
18446         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18447         (ptrace_peeksiginfo_args): Add.
18448         (__ptrace_peeksiginfo_flags): Add.
18449         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18450         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18451         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18452
18453 2013-07-03  Allan McRae  <allan@archlinux.org>
18454
18455         * sysdeps/i386/fpu/libm-test-ulps: Update.
18456
18457 2013-07-02  David S. Miller  <davem@davemloft.net>
18458
18459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18460
18461 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18462
18463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18464
18465 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18466
18467         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18469
18470 2013-07-02  Andi Kleen <ak@linux.intel.com>
18471
18472         * config.h.in (ENABLE_LOCK_ELISION): Add.
18473         * configure.in (--enable-lock-elision): Add option.
18474         * manual/install.texi: Document --enable lock elision.
18475         * configure: Regenerate
18476         * INSTALL: Regenerate.
18477
18478 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18479
18480         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18481         SSE4.2 strcasecmp for libc.a.
18482         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18483
18484 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18485
18486         [BZ #13304]
18487         * soft-fp/op-common.h (_FP_FMA): New macro.
18488         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18489         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18490         (_FP_MUL_MEAT_1_imm): ... here.
18491         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18492         (_FP_MUL_MEAT_1_wide): ... here.
18493         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18494         (_FP_MUL_MEAT_1_hard): ... here.
18495         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18496         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18497         (_FP_MUL_MEAT_2_wide): ... here.
18498         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18499         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18500         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18501         (_FP_MUL_MEAT_2_gmp): ... here.
18502         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18503         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18504         (_FP_MUL_MEAT_4_wide): ... here.
18505         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18506         (_FP_MUL_MEAT_4_gmp): ... here.
18507         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18508         (_FP_WFRACBITS_DW_S): Likewise.
18509         (_FP_WFRACXBITS_DW_S): Likewise.
18510         (_FP_HIGHBIT_DW_S): Likewise.
18511         (FP_FMA_S): Likewise.
18512         (_FP_FRAC_HIGH_DW_S): Likewise.
18513         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18514         (_FP_WFRACBITS_DW_D): Likewise.
18515         (_FP_WFRACXBITS_DW_D): Likewise.
18516         (_FP_HIGHBIT_DW_D): Likewise.
18517         (FP_FMA_D): Likewise.
18518         (_FP_FRAC_HIGH_DW_D): Likewise.
18519         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18520         (_FP_WFRACBITS_DW_E): Likewise.
18521         (_FP_WFRACXBITS_DW_E): Likewise.
18522         (_FP_HIGHBIT_DW_E): Likewise.
18523         (FP_FMA_E): Likewise.
18524         (_FP_FRAC_HIGH_DW_E): Likewise.
18525         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18526         (_FP_WFRACBITS_DW_Q): Likewise.
18527         (_FP_WFRACXBITS_DW_Q): Likewise.
18528         (_FP_HIGHBIT_DW_Q): Likewise.
18529         (FP_FMA_Q): Likewise.
18530         (_FP_FRAC_HIGH_DW_Q): Likewise.
18531         * soft-fp/fmasf4.c: New file.
18532         * soft-fp/fmadf4.c: Likewise.
18533         * soft-fp/fmatf4.c: Likewise.
18534
18535 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18536
18537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18538         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18539         Silvermont.
18540         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18541         macro.
18542         (index_Slow_SSE4_2): Likewise.
18543         (index_Prefer_PMINUB_for_stringop): Likewise.
18544         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18545         bit_Slow_SSE4_2 is set.
18546         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18547         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18548
18549 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18550
18551         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18552         rtld_global._dl_hwcap2.
18553         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18554         POWER8.
18555         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18556         POWER8 feature descriptions defined in _dl_hwcap2.
18557         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18558         string handling for POWER8 feature bits.
18559         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18560         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18561         _dl_powerpc_cap_flags.
18562         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18563         * sysdeps/powerpc/rtld-global-offsets.sym
18564         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18565         _dl_hwcap2 in the rtld_global_ro structure.
18566
18567 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18568
18569         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18570         hardware capabilities in support of AT_HWCAP2.
18571         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18572         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18573         GLRO(dl_hwcap2).
18574         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18575         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18576         explicitly the unknown a_type display mechanism is used.
18577         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18578         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18579         struct member.
18580         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18581         to macro prototype for AT_HWCAP2 support.
18582         * sysdeps/i386/dl-procinfo.h: Likewise.
18583         * sysdeps/s390/dl-procinfo.h: Likewise.
18584         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18585         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18586         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18587         return -1 for unknown a_type display fallback.
18588         * sysdeps/sparc/dl-procinfo.h: Likewise.
18589         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18590         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18591
18592 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18593
18594         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18595         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18596
18597 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18598
18599         [BZ #12492]
18600         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18601         mprotect making __stack_prot writable.
18602
18603 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18604             Joseph Myers  <joseph@codesourcery.com>
18605
18606         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18607         as being properly aligned.
18608
18609 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18610
18611         * dlfcn/modstatic5.c: New file.
18612         * dlfcn/tststatic5.c: New file.
18613         * dlfcn/Makefile (tests): Add tststatic5.
18614         (tests-static): Likewise.
18615         (modules-names): Add modstatic5.
18616         (tststatic5-ENV): New variable.
18617         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18618
18619         [BZ #15022]
18620         * elf/dl-support.c (_dl_main_map): New variable.
18621         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18622         (_dl_nns, _dl_load_adds): Set to 1.
18623         (_dl_initial_searchlist): Refer to _dl_main_map.
18624         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18625         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18626         call to _dl_get_origin.
18627         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18628         around call_map.
18629         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18630         * dlfcn/modstatic3.c: New file.
18631         * dlfcn/tststatic3.c: New file.
18632         * dlfcn/tststatic4.c: New file.
18633         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18634         (tests-static): Likewise.
18635         (modules-names): Add modstatic3.
18636         (tststatic3-ENV, tststatic4-ENV): New variables.
18637         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18638         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18639
18640 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18641
18642         * configure.in (CC): Require GCC version 4.4 or later.
18643         * configure: Regenerated.
18644         * manual/install.texi (Tools for Compilation): Update GCC version
18645         requirement.
18646         * INSTALL: Regenerated.
18647
18648 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18649
18650         [BZ #15674]
18651         * string/test-memcmp.c (check2): New.
18652         (main): Call check2.
18653
18654         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18655
18656 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18657
18658         [BZ #15022]
18659         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18660         over to...
18661         (dl_open_worker) [!SHARED]: ... here.
18662
18663 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18664
18665         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18666
18667 2013-06-25  Richard Henderson  <rth@redhat.com>
18668
18669         * locale/programs/locarchive.c: Include <libc-internal.h>
18670
18671 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18672
18673         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18674         trailing whitespace removed.
18675
18676 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18677
18678         [BZ #10283]
18679         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18680         * locale/programs/locarchive.c: Include libc-mmap.h.
18681         (prepare_address_space): Take two new outputs (the mmap base and len).
18682         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18683         values.
18684         (create_archive): Declare new mmap base and len values for
18685         prepare_address_space, and store the result in ah.
18686         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18687         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18688         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18689         Declare new mmap base and len values for
18690         prepare_address_space, and store the result in new_ah.
18691         (open_archive): Declare new mmap base and len values for
18692         prepare_address_space, and store the result in ah.
18693         (close_archive): If ah->mmap_base is not NULL, use that and
18694         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18695         * sysdeps/generic/libc-mmap.h: New file.
18696
18697 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18698
18699         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18700         (ALIGN_UP): Likewise.
18701         (PTR_ALIGN_DOWN): Likewise.
18702         (PTR_ALIGN_UP): Likewise.
18703
18704 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18705
18706         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18707         entry mapped to PPC_PLATFORM_POWER8.
18708         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18709         POWER8.
18710         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18711         (_dl_string_platform): Add case for exporting platform position for
18712         POWER8.
18713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18714         search path to sysdeps/powerpc/powerpc32/power8 directory.
18715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18716         search path to sysdeps/powerpc/powerpc64/power8 directory.
18717         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18718         power7 directories.
18719         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18720         power7 directories.
18721
18722 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18723
18724         * INSTALL: Regenerate.
18725
18726         * nscd/connections.c (nscd_init): Fix comment.
18727
18728 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18729
18730         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18731
18732         [BZ #15667]
18733         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18734         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18735
18736 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18737
18738         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18739         DL_DST_REQ_STATIC.
18740         (DL_DST_REQ_STATIC): Remove macro.
18741
18742 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18743
18744         [BZ #7006]
18745         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18746         with a shift of 0 bits.
18747
18748 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18749
18750         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18751         $(tststatic-ENV).
18752
18753 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18754
18755         [BZ #15655]
18756         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18757
18758 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18759
18760         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18761         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18762         accepts -fno-tree-loop-distribute-patterns.
18763         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18764         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18765         recursive call.
18766         * string/memset.c (memset): Likewise.
18767         * string/test-memmove.c (simple_memmove): Disable loop transformation
18768         to library calls.
18769         * string/test-memset.c (simple_memset): Likewise.
18770         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18771         * benchtests/bench-memset.c (simple_memset): Likewise.
18772         * configure: Regenerated.
18773
18774 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18775
18776         * math/test-misc.c (main): Ignore fesetround failure when failures
18777         of subsequent rounding tests would be ignored.
18778
18779         [BZ #15654]
18780         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18781         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18782         * math/fegetenv.c (__fegetenv): Return 0.
18783         * math/fegetexcept.c (fegetexcept): Return 0.
18784         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18785         FE_TONEAREST.
18786         * math/feholdexcpt.c (feholdexcept): Return 0.
18787         * math/fesetenv.c (__fesetenv): Return 0.
18788         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18789         argument FE_TONEAREST.
18790         * math/feupdateenv.c (__feupdateenv): Return 0.
18791         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18792
18793 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18794
18795         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18796         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18797         ($(objpfx)rtld-%.os rules): Use them.
18798
18799 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18800
18801         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18802         fields.
18803
18804 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18805
18806         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18807         length of target pattern, then descending length of dependency pattern.
18808         * configure.in (AWK): Require gawk 3.1.2 or newer.
18809         * manual/install.texi (Tools for Compilation): Say that we do.
18810         * configure: Regenerated.
18811
18812         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18813         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18814         * scripts/sysd-rules.awk: ... this new script.
18815         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18816         than a glob-style pattern.
18817
18818 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18819
18820         * math/test-misc.c (main): Do not treat incorrectly rounded
18821         conversions as failure unless ROUNDING_TESTS passes.
18822
18823 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18824
18825         [BZ #15631]
18826         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18827         restore exception state around main square root computation, then
18828         check for inexactness explicitly.
18829
18830         * math/libm-test.inc (fma_test_data): Add another test.
18831
18832 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18833
18834         * manual/threads.texi (Non-POSIX Extensions): New document
18835         node.  Document pthread_getattr_default_np and
18836         pthread_setattr_default_np.
18837
18838         * Versions.def (libpthread): Add GLIBC_2.18.
18839         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18841         Likewise.
18842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18843         Likewise.
18844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18845         Likewise.
18846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18847         Likewise.
18848         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18853         Likewise.
18854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18855         Likewise.
18856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18857         Likewise.
18858
18859 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18860
18861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18862         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18863
18864 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18865             H.J. Lu  <hjl.tools@gmail.com>
18866
18867         [BZ #15627]
18868         * sysdeps/x86_64/rtld-memset.c: Remove file.
18869         * sysdeps/x86_64/rtld-memset.S: New file.
18870
18871 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18872
18873         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18874         (test_in_one_mode): Take arguments for whether the rounding mode
18875         is supported for each floating-point type.
18876         (do_test): Pass new arguments to test_in_one_mode using
18877         ROUNDING_TESTS.
18878
18879 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18880
18881         * posix/tst-waitid.c (do_test): Distinguish different instances of
18882         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18883         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18884         before entering the kernel for waitpid.
18885
18886 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18887
18888         * NEWS: Fix note on clock function precision.  Text by Roland
18889         McGrath.
18890
18891 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18892
18893         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18894         it into place only when and if the sanity check passes.
18895
18896 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18897
18898         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18899         output for whether conversion result is exact.  Take argument
18900         indicating whether type is IBM long double.
18901         (round_for_all): Change need_exact field to ibm_ld.
18902         * stdlib/tst-strtod-round.c (struct exactness): New type.
18903         (struct test): Change bool ld_ok field to struct exactness exact.
18904         (TEST): Update all definitions for change to field.
18905         (tests): Regenerate array contents.
18906         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18907         field value.  Check for IBM long double here.
18908         (do_test): Update calls to test_in_one_mode.
18909
18910 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18911
18912         [BZ #12515]
18913         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18914         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18915
18916 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18917
18918         [BZ #15605]
18919         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18920         generated by the compiler on loop optimizations.
18921         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18922         general definitions.
18923
18924 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18925
18926         * math/bug-nextafter.c: Include <math-tests.h>.
18927         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18928         the relevant type.
18929         * math/bug-nexttoward.c: Include <math-tests.h>.
18930         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18931         the relevant type.
18932         * math/test-misc.c: Include <math-tests.h>.
18933         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18934         the relevant type.
18935
18936 2013-06-12  Andreas Jaeger  <aj@suse.de>
18937
18938         * po/ia.po: Update Interlingua translation from translation
18939         project.
18940
18941 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18942
18943         * include/fenv.h: Include stdbool.h.
18944         (struct rm_ctx): New structure.
18945         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18946         Define macro.
18947         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18948         (SET_RESTORE_ROUNDF): Likewise.
18949         (SET_RESTORE_ROUNDL): Likewise.
18950         (SET_RESTORE_ROUND_NOEX): Likewise.
18951         (SET_RESTORE_ROUND_NOEXF): Likewise.
18952         (SET_RESTORE_ROUND_NOEXL): Likewise.
18953         (SET_RESTORE_ROUND_53BIT): Likewise.
18954         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18955         (libc_feresetround_noexf_ctx): Likewise.
18956         (libc_feresetround_noexl_ctx): Likewise.
18957         (libc_feholdsetround_53bit_ctx): Likewise.
18958         (libc_feresetround_53bit_ctx): Likewise.
18959         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18960         (libc_feholdexcept_setround_sse_ctx): New function.
18961         (libc_fesetenv_sse_ctx): Likewise.
18962         (libc_feupdateenv_sse_ctx): Likewise.
18963         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18964         (libc_feholdexcept_setround_387_ctx): Likewise.
18965         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18966         (libc_feholdsetround_387_prec_ctx): Likewise.
18967         (libc_feholdsetround_387_ctx): Likewise.
18968         (libc_feholdsetround_387_53bit_ctx): Likewise.
18969         (libc_feholdsetround_sse_ctx): Likewise.
18970         (libc_feresetround_sse_ctx): Likewise.
18971         (libc_feresetround_387_ctx): Likewise.
18972         (libc_feupdateenv_387_ctx): Likewise.
18973         (libc_feholdexcept_setroundf_ctx): Define macro.
18974         (libc_fesetenvf_ctx): Likewise.
18975         (libc_feupdateenvf_ctx): Likewise.
18976         (libc_feholdsetroundf_ctx): Likewise.
18977         (libc_feresetroundf_ctx): Likewise.
18978         (libc_feholdexcept_setround_ctx): Likewise.
18979         (libc_fesetenv_ctx): Likewise.
18980         (libc_feupdateenv_ctx): Likewise.
18981         (libc_feholdsetround_ctx): Likewise.
18982         (libc_feresetround_ctx): Likewise.
18983         (libc_feholdexcept_setroundl_ctx): Likewise.
18984         (libc_feupdateenvl_ctx): Likewise.
18985         (libc_feholdsetroundl_ctx): Likewise.
18986         (libc_feresetroundl_ctx): Likewise.
18987         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18988         (libc_feresetround_53bit_ctx): Likewise.
18989
18990 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18991
18992         * locale/iso-639.def: Convert to UTF-8.
18993
18994 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18995
18996         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18997         (EXCEPTION_TESTS_double): Likewise.
18998         (EXCEPTION_TESTS_long_double): Likewise.
18999         (EXCEPTION_TESTS): Likewise.
19000         * math/libm-test.inc (test_exceptions): Only test exceptions if
19001         EXCEPTION_TESTS (FLOAT).
19002
19003 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19004
19005         * benchtests/Makefile (string-bench): Add strcpy_chk and
19006         stpcpy_chk.
19007         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19008         * benchtests/bench-stpcpy_chk.c: New file.
19009         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19010         * benchtests/bench-strcpy_chk.c: New file.
19011         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19012         code.
19013         (do_test): Likewise.
19014
19015 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19016
19017         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19018         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19019         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19020         with tabs where appropriate.
19021         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19022         dl-procinfo.h.
19023         [PPC_PLATFORM_PPC440]: Likewise.
19024         [PPC_PLATFORM_PPC464]: Likewise.
19025         [PPC_PLATFORM_PPC476]: Likewise.
19026         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19027         ppc464, and ppc476 platform strings merging from ports/
19028         dl-procinfo.h.
19029
19030 2013-06-11  Andreas Schwab  <schwab@suse.de>
19031
19032         [BZ #14991]
19033         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19034         (from_ucs4_idx): Regenerate.
19035         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19036         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19037         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19038         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19039         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19040         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19041         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19042         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19043         from FROM_LOOP and TO_LOOP specific macros.
19044         (BODY): Handle combining characters.
19045         * iconvdata/BIG5HKSCS.irreversible: Update.
19046         * iconvdata/BIG5HKSCS.precomposed: New file.
19047         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19048         characters.
19049         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19050
19051 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19052
19053         * include/sys/time.h: Fix indentation and add copyright header.
19054
19055         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19056         (do_test): Likewise.
19057         * string/test-memchr.c (do_one_test): Likewise.
19058         (do_test): Likewise.
19059         * string/test-memcmp.c (do_one_test): Likewise.
19060         (do_test): Likewise.
19061         * string/test-memcpy.c (do_one_test): Likewise.
19062         (do_test): Likewise.
19063         * string/test-memmem.c (do_one_test): Likewise.
19064         (do_test): Likewise.
19065         (do_random_tests): Likewise.
19066         * string/test-memmove.c (do_one_test): Likewise.
19067         (do_test): Likewise.
19068         * string/test-memset.c (do_one_test): Likewise.
19069         (do_test): Likewise.
19070         * string/test-rawmemchr.c (do_one_test): Likewise.
19071         (do_test): Likewise.
19072         * string/test-strcasecmp.c (do_one_test): Likewise.
19073         (do_test): Likewise.
19074         * string/test-strcasestr.c (do_one_test): Likewise.
19075         (do_test): Likewise.
19076         * string/test-strcat.c (do_one_test): Likewise.
19077         (do_test): Likewise.
19078         * string/test-strchr.c (do_one_test): Likewise.
19079         (do_test): Likewise.
19080         * string/test-strcmp.c (do_one_test): Likewise.
19081         (do_test): Likewise.
19082         * string/test-strcpy.c (do_one_test): Likewise.
19083         (do_test): Likewise.
19084         * string/test-string.h: Likewise.
19085         (test_init): Likewise.
19086         * string/test-strlen.c (do_one_test): Likewise.
19087         (do_test): Likewise.
19088         * string/test-strncasecmp.c (do_one_test): Likewise.
19089         (do_test): Likewise.
19090         * string/test-strncat.c (do_one_test): Likewise.
19091         (do_test): Likewise.
19092         * string/test-strncmp.c (do_one_test): Likewise.
19093         (do_test_limit): Likewise.
19094         (do_test): Likewise.
19095         * string/test-strncpy.c (do_one_test): Likewise.
19096         (do_test): Likewise.
19097         * string/test-strnlen.c (do_one_test): Likewise.
19098         (do_test): Likewise.
19099         * string/test-strpbrk.c (do_one_test): Likewise.
19100         (do_test): Likewise.
19101         * string/test-strrchr.c (do_one_test): Likewise.
19102         (do_test): Likewise.
19103         * string/test-strspn.c (do_one_test): Likewise.
19104         (do_test): Likewise.
19105         * string/test-strstr.c (do_one_test): Likewise.
19106         (do_test): Likewise.
19107
19108         * benchtests/Makefile (string-bench): Add string benchmarks.
19109         * benchtests/bench-bcopy-ifunc.c: New file.
19110         * benchtests/bench-bcopy.c: New file.
19111         * benchtests/bench-bzero-ifunc.c: New file.
19112         * benchtests/bench-bzero.c: New file.
19113         * benchtests/bench-memccpy-ifunc.c: New file.
19114         * benchtests/bench-memccpy.c: New file.
19115         * benchtests/bench-memchr-ifunc.c: New file.
19116         * benchtests/bench-memchr.c: New file.
19117         * benchtests/bench-memcmp-ifunc.c: New file.
19118         * benchtests/bench-memcmp.c: New file.
19119         * benchtests/bench-memmem-ifunc.c: New file.
19120         * benchtests/bench-memmem.c: New file.
19121         * benchtests/bench-memmove-ifunc.c: New file.
19122         * benchtests/bench-memmove.c: New file.
19123         * benchtests/bench-mempcpy-ifunc.c: New file.
19124         * benchtests/bench-mempcpy.c: New file.
19125         * benchtests/bench-memset-ifunc.c: New file.
19126         * benchtests/bench-memset.c: New file.
19127         * benchtests/bench-rawmemchr-ifunc.c: New file.
19128         * benchtests/bench-rawmemchr.c: New file.
19129         * benchtests/bench-stpcpy-ifunc.c: New file.
19130         * benchtests/bench-stpcpy.c: New file.
19131         * benchtests/bench-stpncpy-ifunc.c: New file.
19132         * benchtests/bench-stpncpy.c: New file.
19133         * benchtests/bench-strcasecmp-ifunc.c: New file.
19134         * benchtests/bench-strcasecmp.c: New file.
19135         * benchtests/bench-strcasestr-ifunc.c: New file.
19136         * benchtests/bench-strcasestr.c: New file.
19137         * benchtests/bench-strcat-ifunc.c: New file.
19138         * benchtests/bench-strcat.c: New file.
19139         * benchtests/bench-strchr-ifunc.c: New file.
19140         * benchtests/bench-strchr.c: New file.
19141         * benchtests/bench-strchrnul-ifunc.c: New file.
19142         * benchtests/bench-strchrnul.c: New file.
19143         * benchtests/bench-strcmp-ifunc.c: New file.
19144         * benchtests/bench-strcmp.c: New file.
19145         * benchtests/bench-strcpy-ifunc.c: New file.
19146         * benchtests/bench-strcpy.c: New file.
19147         * benchtests/bench-strcspn-ifunc.c: New file.
19148         * benchtests/bench-strcspn.c: New file.
19149         * benchtests/bench-strlen-ifunc.c: New file.
19150         * benchtests/bench-strlen.c: New file.
19151         * benchtests/bench-strncasecmp-ifunc.c: New file.
19152         * benchtests/bench-strncasecmp.c: New file.
19153         * benchtests/bench-strncat-ifunc.c: New file.
19154         * benchtests/bench-strncat.c: New file.
19155         * benchtests/bench-strncmp-ifunc.c: New file.
19156         * benchtests/bench-strncmp.c: New file.
19157         * benchtests/bench-strncpy-ifunc.c: New file.
19158         * benchtests/bench-strncpy.c: New file.
19159         * benchtests/bench-strnlen-ifunc.c: New file.
19160         * benchtests/bench-strnlen.c: New file.
19161         * benchtests/bench-strpbrk-ifunc.c: New file.
19162         * benchtests/bench-strpbrk.c: New file.
19163         * benchtests/bench-strrchr-ifunc.c: New file.
19164         * benchtests/bench-strrchr.c: New file.
19165         * benchtests/bench-strspn-ifunc.c: New file.
19166         * benchtests/bench-strspn.c: New file.
19167         * benchtests/bench-strstr-ifunc.c: New file.
19168         * benchtests/bench-strstr.c: New file.
19169
19170         * benchtests/Makefile: Disable parallel execution of targets.
19171         (string-bench): Add memcpy.
19172         (benchset): New variable to store a list of benchmark sets.
19173         (bench-func): Renamed from bench.
19174         (bench-set): New target.
19175         (bench): Depend on bench-func and bench-set.
19176         * benchtests/README: Add section on benchmark sets.
19177         * benchtests/bench-memcpy-ifunc.c: New file.
19178         * benchtests/bench-memcpy.c: New file.
19179         * benchtests/bench-string.h: New file.
19180
19181 2013-06-11  Andreas Schwab  <schwab@suse.de>
19182
19183         [BZ #15577]
19184         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19185         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19186         values in the triple.
19187         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19188         terminator in the group key.
19189
19190 2013-06-11  Andreas Jaeger  <aj@suse.de>
19191
19192         * po/zh_TW.po: Update Chinese (traditional) translation from
19193         translation project.
19194
19195 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19196
19197         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19198         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19199         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19200         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19201         (clock_getcpuclockid): Likewise.
19202         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19203         Add weak_alias and libc_hidden_def.
19204         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19205         * rt/clock_gettime.c (clock_gettime): Rename to
19206         __clock_gettime.  Add weak_alias and libc_hidden_def.
19207         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19208         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19209         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19210         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19211         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19212         Likewise.
19213         * rt/clock_settime.c (clock_settime): Rename to
19214         __clock_settime.  Add weak_alias and libc_hidden_def.
19215         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19216
19217 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19218
19219         * mach/err_boot.sub: Remove trailing whitespace.
19220         * mach/err_ipc.sub: Likewise.
19221         * mach/err_mach.sub: Likewise.
19222
19223         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19224         (ROUNDING_TESTS_double): Likewise.
19225         (ROUNDING_TESTS_long_double): Likewise.
19226         (ROUNDING_TESTS): Likewise.
19227         * math/libm-test.inc: Include <math-tests.h>.
19228         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19229         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19230         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19231         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19232
19233 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19234
19235         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19236         of assigning.
19237
19238 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19239
19240         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19241         otherwise empty TRANS lines.
19242         * sysdeps/gnu/errlist.c: Regenerated.
19243
19244         * catgets/gencat.c (error_print): Use (void) in function
19245         definition.
19246         * crypt/crypt_util.c (__init_des): Likewise.
19247         * crypt/speeds.c (Stop): Likewise.
19248         (main): Likewise.
19249         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19250         * inet/ruserpass.c (token): Likewise.
19251         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19252         * intl/localealias.c (extend_alias_table): Likewise.
19253         * intl/plural-exp.c (init_germanic_plural): Likewise.
19254         * libio/fcloseall.c (__fcloseall): Likewise.
19255         * libio/genops.c (_IO_flush_all): Likewise.
19256         (_IO_flush_all_linebuffered): Likewise.
19257         (_IO_cleanup): Likewise.
19258         (_IO_iter_begin): Likewise.
19259         (_IO_iter_end): Likewise.
19260         (_IO_list_lock): Likewise.
19261         (_IO_list_unlock): Likewise.
19262         (_IO_list_resetlock): Likewise.
19263         * libio/getchar.c (getchar): Likewise.
19264         * libio/getchar_u.c (getchar_unlocked): Likewise.
19265         * libio/getwchar.c (getwchar): Likewise.
19266         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19267         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19268         * login/getpt.c (__getpt): Likewise.
19269         * login/tst-utmp.c (main): Likewise.
19270         * malloc/hooks.c (__malloc_check_init): Likewise.
19271         * malloc/malloc.c (__malloc_stats): Likewise.
19272         * malloc/mtrace.c (tr_break): Likewise.
19273         (mtrace): Likewise.
19274         (muntrace): Likewise.
19275         * misc/fstab.c (endfsent): Likewise.
19276         * misc/getclktck.c (__getclktck): Likewise.
19277         * misc/getdtsz.c (__getdtablesize): Likewise.
19278         * misc/gethostid.c (gethostid): Likewise.
19279         * misc/getpagesize.c (__getpagesize): Likewise.
19280         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19281         (__get_nprocs): Likewise.
19282         (__get_phys_pages): Likewise.
19283         (__get_avphys_pages): Likewise.
19284         * misc/getttyent.c (getttyent): Likewise.
19285         (setttyent): Likewise.
19286         (endttyent): Likewise.
19287         * misc/getusershell.c (getusershell): Likewise.
19288         (endusershell): Likewise.
19289         (setusershell): Likewise.
19290         (initshells): Likewise.
19291         * misc/hsearch.c (__hdestroy): Likewise.
19292         * misc/sync.c (sync): Likewise.
19293         * misc/syslog.c (closelog_internal): Likewise.
19294         (closelog): Likewise.
19295         * misc/ttyslot.c (ttyslot): Likewise.
19296         * misc/vhangup.c (vhangup): Likewise.
19297         * posix/fork.c (__fork): Likewise.
19298         * posix/getegid.c (__getegid): Likewise.
19299         * posix/geteuid.c (__geteuid): Likewise.
19300         * posix/getgid.c (__getgid): Likewise.
19301         * posix/getpid.c (__getpid): Likewise.
19302         * posix/getppid.c (__getppid): Likewise.
19303         * posix/getuid.c (__getuid): Likewise.
19304         * posix/pause.c (pause): Likewise.
19305         * posix/setpgrp.c (setpgrp): Likewise.
19306         * posix/setsid.c (__setsid): Likewise.
19307         * posix/test-vfork.c (noop): Likewise.
19308         * resolv/gethnamaddr.c (_endhtent): Likewise.
19309         (_gethtent): Likewise.
19310         (ht_endhostent): Likewise.
19311         (gethostent): Likewise.
19312         (dns_service): Likewise.
19313         * stdlib/drand48.c (drand48): Likewise.
19314         * stdlib/lrand48.c (lrand48): Likewise.
19315         * stdlib/mrand48.c (mrand48): Likewise.
19316         * stdlib/rand.c (rand): Likewise.
19317         * stdlib/random.c (__random): Likewise.
19318         * stdlib/setenv.c (clearenv): Likewise.
19319         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19320         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19321         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19322         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19323         (__get_nprocs): Likewise.
19324         (__get_phys_pages): Likewise.
19325         (__get_avphys_pages): Likewise.
19326         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19327         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19328         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19329         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19330         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19331         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19332         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19333         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19334         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19335         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19336         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19337         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19338         * sysdeps/posix/clock.c (clock): Likewise.
19339         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19340         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19341         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19342         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19343         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19344         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19345         (__get_nprocs_conf): Likewise.
19346         (__get_phys_pages): Likewise.
19347         (__get_avphys_pages): Likewise.
19348         * time/clock.c (clock): Likewise.
19349         * time/tzset.c (__tzname_max): Likewise.
19350
19351 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19352
19353         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19354         (__bswap_32): Do not use "register".
19355         * crypt/crypt.c (_ufc_doit_r): Likewise.
19356         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19357         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19358         * gmon/gmon.c (__monstartup): Likewise.
19359         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19360         * hurd/hurdmalloc.c (more_memory): Likewise.
19361         (malloc): Likewise.
19362         (free): Likewise.
19363         (realloc): Likewise.
19364         (malloc_fork_prepare): Likewise.
19365         (malloc_fork_parent): Likewise.
19366         (malloc_fork_child): Likewise.
19367         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19368         (_svcauth_des): Likewise.
19369         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19370         * inet/inet_net.c (inet_network): Likewise.
19371         * inet/inet_netof.c (inet_netof): Likewise.
19372         * inet/rcmd.c (__validuser2_sa): Likewise.
19373         * io/fts.c (fts_open): Likewise.
19374         (fts_load): Likewise.
19375         (fts_close): Likewise.
19376         (fts_read): Likewise.
19377         (fts_children): Likewise.
19378         (fts_build): Likewise.
19379         (fts_stat): Likewise.
19380         (fts_sort): Likewise.
19381         (fts_alloc): Likewise.
19382         (fts_lfree): Likewise.
19383         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19384         (_IO_file_xsgetn): Likewise.
19385         (_IO_file_xsgetn_mmap): Likewise.
19386         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19387         (_IO_cookie_write): Likewise.
19388         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19389         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19390         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19391         * malloc/obstack.c (_obstack_begin): Likewise.
19392         (_obstack_begin_1): Likewise.
19393         (_obstack_newchunk): Likewise.
19394         (_obstack_allocated_p): Likewise.
19395         (obstack_free): Likewise.
19396         (_obstack_memory_used): Likewise.
19397         * misc/getttyent.c (getttynam): Likewise.
19398         (getttyent): Likewise.
19399         (skip): Likewise.
19400         (value): Likewise.
19401         * misc/getusershell.c (initshells): Likewise.
19402         * misc/syslog.c (__vsyslog_chk): Likewise.
19403         * misc/ttyslot.c (ttyslot): Likewise.
19404         * nis/nis_hash.c (__nis_hash): Likewise.
19405         * posix/fnmatch_loop.c (FCT): Likewise.
19406         * posix/getconf.c (print_all): Likewise.
19407         (main): Likewise.
19408         * posix/getopt.c (exchange): Likewise.
19409         * posix/glob.c (globfree): Likewise.
19410         (prefix_array): Likewise.
19411         (__glob_pattern_type): Likewise.
19412         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19413         (NS_GET32): Likewise.
19414         (NS_PUT16): Likewise.
19415         (NS_PUT32): Likewise.
19416         * resolv/gethnamaddr.c (getanswer): Likewise.
19417         (gethostbyname2): Likewise.
19418         (gethostbyaddr): Likewise.
19419         (_gethtent): Likewise.
19420         (_gethtbyname2): Likewise.
19421         (_gethtbyaddr): Likewise.
19422         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19423         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19424         * resolv/res_init.c (__res_vinit): Likewise.
19425         (net_mask): Likewise.
19426         * resolv/res_mkquery.c (outchar): Likewise.
19427         (PRINT): Likewise.
19428         * stdio-common/printf_fp.c (outchar): Likewise.
19429         (PRINT): Likewise.
19430         * stdio-common/printf_fphex.c (outchar): Likewise.
19431         (PRINT): Likewise.
19432         * stdio-common/printf_size.c (outchar): Likewise.
19433         (PRINT): Likewise.
19434         * stdio-common/test_rdwr.c (main): Likewise.
19435         * stdio-common/tfformat.c (matches): Likewise.
19436         * stdio-common/vfprintf.c (outchar): Likewise.
19437         (printf_unknown): Likewise.
19438         (buffered_vfprintf): Likewise.
19439         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19440         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19441         (ReadFile): Likewise.
19442         * stdlib/qsort.c (SWAP): Likewise.
19443         (_quicksort): Likewise.
19444         * stdlib/setenv.c (__add_to_environ): Likewise.
19445         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19446         * stdlib/strtol_l.c (__strtol_l): Likewise.
19447         * stdlib/tst-strtod.c (main): Likewise.
19448         * stdlib/tst-strtol.c (main): Likewise.
19449         * stdlib/tst-strtoll.c (main): Likewise.
19450         * string/bits/string2.h (__strcmp_cc): Likewise.
19451         (__strcmp_cg): Likewise.
19452         (__strcspn_c1): Likewise.
19453         (__strcspn_c2): Likewise.
19454         (__strcspn_c3): Likewise.
19455         (__strspn_c1): Likewise.
19456         (__strspn_c2): Likewise.
19457         (__strspn_c3): Likewise.
19458         (__strsep_1c): Likewise.
19459         (__strsep_2c): Likewise.
19460         (__strsep_3c): Likewise.
19461         * string/memccpy.c (__memccpy): Likewise.
19462         * string/stpcpy.c (__stpcpy): Likewise.
19463         * string/strcmp.c (strcmp): Likewise.
19464         * string/strrchr.c (strrchr): Likewise.
19465         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19466         Likewise.
19467         * sysdeps/mach/hurd/getcwd.c
19468         (_hurd_canonicalize_directory_name_internal): Likewise.
19469         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19470         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19471         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19472         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19473         Likewise, in both definitions.
19474         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19475         definitions.
19476         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19477         64] (__bswap_64): Likewise.
19478         * time/test_time.c (main): Likewise.
19479         * time/tzfile.c (__tzfile_read): Likewise.
19480         (__tzfile_compute): Likewise.
19481         * time/tzset.c (__tzset_parse_tz): Likewise.
19482         (tzset_internal): Likewise.
19483         (compute_change): Likewise.
19484         * wcsmbs/wcscat.c (__wcscat): Likewise.
19485         * wcsmbs/wcschr.c (wcschr): Likewise.
19486         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19487         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19488         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19489         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19490         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19491         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19492         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19493         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19494         * wcsmbs/wmemset.c (wmemset): Likewise.
19495
19496 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19497
19498         * scripts/config.guess: Update to version 2013-05-16.
19499         * scripts/config.sub: Update to version 2013-04-24.
19500         * scripts/install-sh: Update to version 2011-11-20.07.
19501         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19502         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19503
19504 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19505
19506         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19507         * elf/sln.c: Likewise.
19508         * hurd/hurd/ioctl.h: Likewise.
19509         * hurd/hurdmalloc.c: Likewise.
19510         * hurd/xattr.c: Likewise.
19511         * include/shlib-compat.h: Likewise.
19512         * inet/ruserpass.c: Likewise.
19513         * libio/iofgets_u.c: Likewise.
19514         * libio/iofgetws_u.c: Likewise.
19515         * locale/programs/ld-identification.c: Likewise.
19516         * locale/programs/ld-time.c: Likewise.
19517         * mach/msg-destroy.c: Likewise.
19518         * nss/nss_files/files-netgrp.c: Likewise.
19519         * resolv/res_data.c: Likewise.
19520         * soft-fp/op-1.h: Likewise.
19521         * soft-fp/op-2.h: Likewise.
19522         * soft-fp/op-4.h: Likewise.
19523         * soft-fp/op-common.h: Likewise.
19524         * stdio-common/printf_fphex.c: Likewise.
19525         * stdlib/strtod_l.c: Likewise.
19526         * sunrpc/rpc/clnt.h: Likewise.
19527         * sysdeps/generic/framestate.c: Likewise.
19528         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19529         * sysdeps/i386/bsd-setjmp.S: Likewise.
19530         * sysdeps/i386/__longjmp.S: Likewise.
19531         * sysdeps/i386/setjmp.S: Likewise.
19532         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19533         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19535         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19536         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19537         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19538         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19539         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19540         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19541         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19542         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19543         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19544         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19545         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19546         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19547         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19548         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19549         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19550         * sysdeps/ieee754/support.c: Likewise.
19551         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19552         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19553         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19554         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19555         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19556         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19557         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19558         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19559         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19560         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19561         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19562         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19563         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19564         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19565         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19566         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19567         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19569
19570 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19571
19572         * posix/transbug.c: Remove executable mode.
19573
19574 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19575
19576         * crypt/speeds.c: Remove trailing whitespace.
19577         * dlfcn/default.c: Likewise.
19578         * elf/ifuncdep2.c: Likewise.
19579         * elf/ifuncmain1.c: Likewise.
19580         * elf/ifuncmain1vis.c: Likewise.
19581         * elf/testobj.h: Likewise.
19582         * elf/tst-stackguard1.c: Likewise.
19583         * gmon/sys/gmon.h: Likewise.
19584         * hurd/hurdmsg.c: Likewise.
19585         * hurd/new-fd.c: Likewise.
19586         * hurd/ports-get.c: Likewise.
19587         * iconvdata/ibm1008_420.c: Likewise.
19588         * inet/tst-getni1.c: Likewise.
19589         * inet/tst-getni2.c: Likewise.
19590         * libio/ioungetc.c: Likewise.
19591         * libio/wfiledoalloc.c: Likewise.
19592         * manual/libm-err-tab.pl: Likewise.
19593         * math/w_dremf.c: Likewise.
19594         * misc/ftruncate.c: Likewise.
19595         * posix/bug-glob2.c: Likewise.
19596         * posix/tst-pcre.c: Likewise.
19597         * posix/wait4.c: Likewise.
19598         * resolv/README: Likewise.
19599         * resolv/res_debug.h: Likewise.
19600         * resolv/tst-inet_ntop.c: Likewise.
19601         * setjmp/bug269-setjmp.c: Likewise.
19602         * soft-fp/extended.h: Likewise.
19603         * soft-fp/op-1.h: Likewise.
19604         * soft-fp/op-2.h: Likewise.
19605         * soft-fp/op-4.h: Likewise.
19606         * soft-fp/op-8.h: Likewise.
19607         * soft-fp/testit.c: Likewise.
19608         * stdio-common/bug16.c: Likewise.
19609         * stdlib/random.c: Likewise.
19610         * sunrpc/rpcsvc/rquota.x: Likewise.
19611         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19612         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19614         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19615         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19616         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19617         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19618         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19619         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19620         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19621         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19622         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19623         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19624         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19625         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19626         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19627         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19628         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19629         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19630         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19631         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19632         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19633         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19634         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19635         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19636         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19638         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19639         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19640         * sysdeps/ieee754/s_lib_version.c: Likewise.
19641         * sysdeps/mach/hurd/check_fds.c: Likewise.
19642         * sysdeps/mach/hurd/getsockname.c: Likewise.
19643         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19644         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19645         * sysdeps/powerpc/bits/link.h: Likewise.
19646         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19647         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19648         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19649         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19650         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19651         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19652         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19653         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19654         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19655         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19656         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19657         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19658         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19659         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19660         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19661         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19662         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19663         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19664         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19665         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19666         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19667         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19669         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19670         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19671         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19672         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19673         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19674         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19675         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19676         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19677         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19678         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19679         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19680         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19681         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19682         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19683         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19684         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19685         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19686         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19687         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19688         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19689         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19690         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19691         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19692         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19693         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19694         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19695         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19696         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19697         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19698         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19699         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19700         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19701         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19702         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19703         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19704         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19705         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19706         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19707         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19708         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19709         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19710         * sysdeps/powerpc/sysdep.h: Likewise.
19711         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19712         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19713         * sysdeps/sh/dl-trampoline.S: Likewise.
19714         * sysdeps/sh/memset.S: Likewise.
19715         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19716         * sysdeps/sh/strlen.S: Likewise.
19717         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19718         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19719         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19720         * sysdeps/sparc/sparc32/rem.S: Likewise.
19721         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19722         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19723         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19724         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19725         * sysdeps/sparc/sparc32/urem.S: Likewise.
19726         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19727         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19728         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19729         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19730         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19731         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19732         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19733         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19734         * sysdeps/unix/bsd/times.c: Likewise.
19735         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19736         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19740         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19741         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19742         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19743         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19744         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19745         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19746         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19747         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19748         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19749         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19750         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19751         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19752         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19753         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19754         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19755         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19756         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19757         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19758         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19759         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19760         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19761         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19762         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19763         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19764         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19765         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19766         * sysdeps/x86_64/strcspn.S: Likewise.
19767
19768 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19769
19770         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19771         generated file.  Regenerate properly from gen-translit.pl.
19772         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19773         locale/C-translit.h.
19774
19775 2013-06-05  Andreas Schwab  <schwab@suse.de>
19776
19777         [BZ #15100]
19778         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19779         week as 6 instead of -1.
19780         * time/tst-strptime.c (day_tests): Add test case.
19781
19782 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19783
19784         * sysdeps/generic/math_private.h
19785         (libc_feholdexcept_setround_53bit): Replace with
19786         libc_feholdsetround_53bit.
19787         (libc_feupdateenv_53bit): Replace with
19788         libc_feresetround_53bit.
19789         (SET_RESTORE_ROUND_53BIT): Adjust.
19790
19791 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19792
19793         * string/test-strchrnul.c: Add copyright header.
19794
19795         * posix/tst-getaddrinfo4.c: Increase test timeout.
19796
19797 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19798
19799         [BZ #15536]
19800         * math/libm-test.inc (MAX_EXP): Remove
19801         (MIN_EXP): Define.
19802         (ulp): Use MIN_EXP - MANT_DIG.
19803         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19804
19805 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19806
19807         * po/be.po: Revert last change.
19808         * po/zh_CN.po: Likewise.
19809         * po/header.pot: Likewise.
19810
19811 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19812
19813         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19814         link-libc-deps to empty as target-specific variable.
19815         * Makerules (link-libc-args): New variable.
19816         (libc-for-link): Likewise.
19817         (link-libc-deps): Likewise.
19818         (lib%.so): Depend on $(link-libc-deps).  Link with
19819         $(link-libc-args).
19820         (build-module): Link with $(link-libc-args).
19821         (build-module-asneeded): Likewise.
19822         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19823         list of objects.
19824         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19825         target-specific variable.
19826         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19827         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19828         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19829         libc.
19830         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19831         libc and ld.so.
19832         ($(objpfx)libpcprofile.so): Likewise.
19833         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19834         libc_nonshared.a.
19835         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19836         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19837         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19838         $(link-libc-deps).
19839         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19840         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19841         * login/Makefile ($(objpfx)libutil.so): Likewise.
19842         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19843         * math/Makefile ($(objpfx)libm.so): Likewise.
19844         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19845         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19846         variable instead of depending directly on libc.
19847         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19848         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19849         $(link-libc-deps).
19850         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19851         libc.
19852         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19853         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19854         ($(objpfx)libanl.so): Likewise.
19855         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19856         ld.so.
19857         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19858         $(link-libc-deps).
19859         * sysdeps/i386/fpu/Makefile: Remove file.
19860         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19861         ($(objpfx)libm.so): Remove dependency on ld.so.
19862
19863 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19864
19865         [BZ # 15553]
19866         * nis/yp_xdr.c (XDRMAXNAME): Define.
19867         (XDRMAXRECORD): Define.
19868         (xdr_domainname): Use XDRMAXNAME.
19869         (xdr_mapname): Likewise.
19870         (xdr_peername): Likewise.
19871         (xdr_keydat): Use XDRMAXRECORD.
19872         (xdr_valdat): Likewise.
19873
19874 2013-05-30  Jeff Law  <law@redhat.com>
19875
19876         [BZ #14256]
19877         * manual/errno.texi (ESTALE): Update to account for more than
19878         just NFS file systems.
19879         * sysdeps/gnu/errlist.c: Regenerated.
19880
19881 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19882
19883         [BZ #15465]
19884         * elf/Makefile (tests): Add tst-null-argv.
19885         (modules-names):  Add tst-null-argv-lib.
19886         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19887         (tst-null-argv-ENV): Set environment for tst-null-argv.
19888         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19889         (RTLD_PROGNAME): New macro.
19890         * elf/tst-null-argv.c: New test case.
19891         * elf/tst-null-argv-lib.c: Library for test case.
19892         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19893         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19894         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19895         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19896         * elf/dl-init.c (call_init): Likewise.
19897         (_dl_init): Likewise.
19898         * elf/dl-load.c (print_search_path): Likewise.
19899         (_dl_map_object): Likewise.
19900         * elf/dl-lookup.c (do_lookup_x): Likewise.
19901         (add_dependency): Likewise.
19902         (_dl_lookup_symbol_x): Likewise.
19903         (_dl_debug_bindings): Likewise.
19904         * elf/dl-open.c (_dl_show_scope): Likewise.
19905         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19906         * elf/dl-version.c (match_symbol): Likewise.
19907         (_dl_check_map_versions): Likewise.
19908         * elf/rtld.c (dl_main): Likewise.
19909         (print_unresolved): Use RTLD_PROGNAME.
19910         (print_missing_version): Likewise.
19911         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19912         (elf_machine_rela): Likewise.
19913         * sysdeps/powerpc/powerpc32/dl-machine.c
19914         (__process_machine_rela): Likewise.
19915         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19916         Likewise.
19917         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19918         Likewise.
19919         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19920         Likewise.
19921         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19922         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19923         Likewise.
19924         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19925         Likewise.
19926         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19927
19928 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19929
19930         * po/be.po: Add descriptive title.
19931         * po/zh_CN.po: Likewise.
19932         * po/header.pot: Likewise.
19933
19934 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19935
19936         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19937         error message.
19938         (enlarge_archive): Likewise.
19939
19940 2013-05-28  Ben North  <ben@redfrontdoor.org>
19941
19942         * manual/arith.texi (frexp): It is the magnitude of the return
19943         value which lies in [0.5, 1), not the return value itself.
19944
19945 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19946
19947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19948
19949 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19950
19951         * stdio-common/bug26.c (main): Correct fscanf template.
19952
19953         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19954         declare _dl_skip_args.
19955
19956         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19957         Don't declare.
19958
19959         * manual/platform.texi: Add missing @end deftypefun.
19960
19961 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19962
19963         [BZ #15529]
19964         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19965         bit of mantissa of 2^16382.
19966         * math/libm-test.inc (hypot_test_data): Add more tests.
19967
19968         * math/libm-test.inc: Add drem and pow10 to list of tested
19969         functions.
19970         (pow10_test): New function.
19971         (drem_test): Likewise.
19972         (drem_test_tonearest): Likewise.
19973         (drem_test_towardzero): Likewise.
19974         (drem_test_downward): Likewise.
19975         (drem_test_upward): Likewise.
19976         (main): Call the new functions.
19977
19978         * math/libm-test.inc (finite_test_data): Remove.
19979         (finite_test): Run tests from isfinite_test_data.
19980         (gamma_test_data): Remove.
19981         (gamma_test): Run tests from lgamma_test_data.
19982         * sysdeps/i386/fpu/libm-test-ulps: Update.
19983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19984
19985 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19986
19987         * manual/platform.texi: Add PowerPC PPR function set documentation.
19988         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19989         implementation.
19990
19991 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19992
19993         * math/libm-test.inc (MAX_EXP): Define.
19994         (ULPDIFF): Define.
19995         (ulp): New function.
19996         (check_float_internal): Use ULPDIFF.
19997         (cpow_test): Disable failing test.
19998         (check_ulp): Test ulp() implemetnation.
19999         (main): Call check_ulp before starting tests.
20000
20001 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20002
20003         * math/gen-libm-test.pl (generate_testfile): Do not handle
20004         START_DATA and END_DATA.
20005         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20006         END_DATA.
20007         (acos_tonearest_test_data): Likewise.
20008         (acos_towardzero_test_data): Likewise.
20009         (acos_downward_test_data): Likewise.
20010         (acos_upward_test_data): Likewise.
20011         (acosh_test_data): Likewise.
20012         (asin_test_data): Likewise.
20013         (asin_tonearest_test_data): Likewise.
20014         (asin_towardzero_test_data): Likewise.
20015         (asin_downward_test_data): Likewise.
20016         (asin_upward_test_data): Likewise.
20017         (asinh_test_data): Likewise.
20018         (atan_test_data): Likewise.
20019         (atanh_test_data): Likewise.
20020         (atan2_test_data): Likewise.
20021         (cabs_test_data): Likewise.
20022         (cacos_test_data): Likewise.
20023         (cacosh_test_data): Likewise.
20024         (carg_test_data): Likewise.
20025         (casin_test_data): Likewise.
20026         (casinh_test_data): Likewise.
20027         (catan_test_data): Likewise.
20028         (catanh_test_data): Likewise.
20029         (cbrt_test_data): Likewise.
20030         (ccos_test_data): Likewise.
20031         (ccosh_test_data): Likewise.
20032         (ceil_test_data): Likewise.
20033         (cexp_test_data): Likewise.
20034         (cimag_test_data): Likewise.
20035         (clog_test_data): Likewise.
20036         (clog10_test_data): Likewise.
20037         (conj_test_data): Likewise.
20038         (copysign_test_data): Likewise.
20039         (cos_test_data): Likewise.
20040         (cos_tonearest_test_data): Likewise.
20041         (cos_towardzero_test_data): Likewise.
20042         (cos_downward_test_data): Likewise.
20043         (cos_upward_test_data): Likewise.
20044         (cosh_test_data): Likewise.
20045         (cosh_tonearest_test_data): Likewise.
20046         (cosh_towardzero_test_data): Likewise.
20047         (cosh_downward_test_data): Likewise.
20048         (cosh_upward_test_data): Likewise.
20049         (cpow_test_data): Likewise.
20050         (cproj_test_data): Likewise.
20051         (creal_test_data): Likewise.
20052         (csin_test_data): Likewise.
20053         (csinh_test_data): Likewise.
20054         (csqrt_test_data): Likewise.
20055         (ctan_test_data): Likewise.
20056         (ctan_tonearest_test_data): Likewise.
20057         (ctan_towardzero_test_data): Likewise.
20058         (ctan_downward_test_data): Likewise.
20059         (ctan_upward_test_data): Likewise.
20060         (ctanh_test_data): Likewise.
20061         (ctanh_tonearest_test_data): Likewise.
20062         (ctanh_towardzero_test_data): Likewise.
20063         (ctanh_downward_test_data): Likewise.
20064         (ctanh_upward_test_data): Likewise.
20065         (erf_test_data): Likewise.
20066         (erfc_test_data): Likewise.
20067         (exp_test_data): Likewise.
20068         (exp_tonearest_test_data): Likewise.
20069         (exp_towardzero_test_data): Likewise.
20070         (exp_downward_test_data): Likewise.
20071         (exp_upward_test_data): Likewise.
20072         (exp10_test_data): Likewise.
20073         (exp2_test_data): Likewise.
20074         (expm1_test_data): Likewise.
20075         (fabs_test_data): Likewise.
20076         (fdim_test_data): Likewise.
20077         (finite_test_data): Likewise.
20078         (floor_test_data): Likewise.
20079         (fma_test_data): Likewise.
20080         (fma_towardzero_test_data): Likewise.
20081         (fma_downward_test_data): Likewise.
20082         (fma_upward_test_data): Likewise.
20083         (fmax_test_data): Likewise.
20084         (fmin_test_data): Likewise.
20085         (fmod_test_data): Likewise.
20086         (fpclassify_test_data): Likewise.
20087         (frexp_test_data): Likewise.
20088         (gamma_test_data): Likewise.
20089         (hypot_test_data): Likewise.
20090         (ilogb_test_data): Likewise.
20091         (isfinite_test_data): Likewise.
20092         (isgreater_test_data): Likewise.
20093         (isgreaterequal_test_data): Likewise.
20094         (isinf_test_data): Likewise.
20095         (isless_test_data): Likewise.
20096         (islessequal_test_data): Likewise.
20097         (islessgreater_test_data): Likewise.
20098         (isnan_test_data): Likewise.
20099         (isnormal_test_data): Likewise.
20100         (issignaling_test_data): Likewise.
20101         (isunordered_test_data): Likewise.
20102         (j0_test_data): Likewise.
20103         (j1_test_data): Likewise.
20104         (jn_test_data): Likewise.
20105         (ldexp_test_data): Likewise.
20106         (lgamma_test_data): Likewise.
20107         (lrint_test_data): Likewise.
20108         (lrint_tonearest_test_data): Likewise.
20109         (lrint_towardzero_test_data): Likewise.
20110         (lrint_downward_test_data): Likewise.
20111         (lrint_upward_test_data): Likewise.
20112         (llrint_test_data): Likewise.
20113         (llrint_tonearest_test_data): Likewise.
20114         (llrint_towardzero_test_data): Likewise.
20115         (llrint_downward_test_data): Likewise.
20116         (llrint_upward_test_data): Likewise.
20117         (log_test_data): Likewise.
20118         (log10_test_data): Likewise.
20119         (log1p_test_data): Likewise.
20120         (log2_test_data): Likewise.
20121         (logb_test_data): Likewise.
20122         (logb_downward_test_data): Likewise.
20123         (lround_test_data): Likewise.
20124         (llround_test_data): Likewise.
20125         (modf_test_data): Likewise.
20126         (nearbyint_test_data): Likewise.
20127         (nextafter_test_data): Likewise.
20128         (nexttoward_test_data): Likewise.
20129         (pow_test_data): Likewise.
20130         (pow_tonearest_test_data): Likewise.
20131         (pow_towardzero_test_data): Likewise.
20132         (pow_downward_test_data): Likewise.
20133         (pow_upward_test_data): Likewise.
20134         (remainder_test_data): Likewise.
20135         (remainder_tonearest_test_data): Likewise.
20136         (remainder_towardzero_test_data): Likewise.
20137         (remainder_downward_test_data): Likewise.
20138         (remainder_upward_test_data): Likewise.
20139         (remquo_test_data): Likewise.
20140         (rint_test_data): Likewise.
20141         (rint_tonearest_test_data): Likewise.
20142         (rint_towardzero_test_data): Likewise.
20143         (rint_downward_test_data): Likewise.
20144         (rint_upward_test_data): Likewise.
20145         (round_test_data): Likewise.
20146         (scalb_test_data): Likewise.
20147         (scalbn_test_data): Likewise.
20148         (scalbln_test_data): Likewise.
20149         (signbit_test_data): Likewise.
20150         (sin_test_data): Likewise.
20151         (sin_tonearest_test_data): Likewise.
20152         (sin_towardzero_test_data): Likewise.
20153         (sin_downward_test_data): Likewise.
20154         (sin_upward_test_data): Likewise.
20155         (sincos_test_data): Likewise.
20156         (sinh_test_data): Likewise.
20157         (sinh_tonearest_test_data): Likewise.
20158         (sinh_towardzero_test_data): Likewise.
20159         (sinh_downward_test_data): Likewise.
20160         (sinh_upward_test_data): Likewise.
20161         (sqrt_test_data): Likewise.
20162         (tan_test_data): Likewise.
20163         (tan_tonearest_test_data): Likewise.
20164         (tan_towardzero_test_data): Likewise.
20165         (tan_downward_test_data): Likewise.
20166         (tan_upward_test_data): Likewise.
20167         (tanh_test_data): Likewise.
20168         (tgamma_test_data): Likewise.
20169         (trunc_test_data): Likewise.
20170         (y0_test_data): Likewise.
20171         (y1_test_data): Likewise.
20172         (yn_test_data): Likewise.
20173         (significand_test_data): Likewise.
20174
20175         * math/gen-libm-test.pl (@functions): Remove variable.
20176         (generate_testfile): Don't handle START and END lines.
20177         * math/libm-test.inc (START): New macro.
20178         (END): Likewise.
20179         (END_COMPLEX): Likewise.
20180         (acos_test): Use END macro without arguments.
20181         (acos_test_tonearest): Likewise.
20182         (acos_test_towardzero): Likewise.
20183         (acos_test_downward): Likewise.
20184         (acos_test_upward): Likewise.
20185         (acosh_test): Likewise.
20186         (asin_test): Likewise.
20187         (asin_test_tonearest): Likewise.
20188         (asin_test_towardzero): Likewise.
20189         (asin_test_downward): Likewise.
20190         (asin_test_upward): Likewise.
20191         (asinh_test): Likewise.
20192         (atan_test): Likewise.
20193         (atanh_test): Likewise.
20194         (atan2_test): Likewise.
20195         (cabs_test): Likewise.
20196         (cacos_test): Use END_COMPLEX macro without arguments.
20197         (cacosh_test): Likewise.
20198         (carg_test): Use END macro without arguments.
20199         (casin_test): Use END_COMPLEX macro without arguments.
20200         (casinh_test): Likewise.
20201         (catan_test): Likewise.
20202         (catanh_test): Likewise.
20203         (cbrt_test): Use END macro without arguments.
20204         (ccos_test): Use END_COMPLEX macro without arguments.
20205         (ccosh_test): Likewise.
20206         (ceil_test): Use END macro without arguments.
20207         (cexp_test): Use END_COMPLEX macro without arguments.
20208         (cimag_test): Use END macro without arguments.
20209         (clog_test): Use END_COMPLEX macro without arguments.
20210         (clog10_test): Likewise.
20211         (conj_test): Likewise.
20212         (copysign_test): Use END macro without arguments.
20213         (cos_test): Likewise.
20214         (cos_test_tonearest): Likewise.
20215         (cos_test_towardzero): Likewise.
20216         (cos_test_downward): Likewise.
20217         (cos_test_upward): Likewise.
20218         (cosh_test): Likewise.
20219         (cosh_test_tonearest): Likewise.
20220         (cosh_test_towardzero): Likewise.
20221         (cosh_test_downward): Likewise.
20222         (cosh_test_upward): Likewise.
20223         (cpow_test): Use END_COMPLEX macro without arguments.
20224         (cproj_test): Likewise.
20225         (creal_test): Use END macro without arguments.
20226         (csin_test): Use END_COMPLEX macro without arguments.
20227         (csinh_test): Likewise.
20228         (csqrt_test): Likewise.
20229         (ctan_test): Likewise.
20230         (ctan_test_tonearest): Likewise.
20231         (ctan_test_towardzero): Likewise.
20232         (ctan_test_downward): Likewise.
20233         (ctan_test_upward): Likewise.
20234         (ctanh_test): Likewise.
20235         (ctanh_test_tonearest): Likewise.
20236         (ctanh_test_towardzero): Likewise.
20237         (ctanh_test_downward): Likewise.
20238         (ctanh_test_upward): Likewise.
20239         (erf_test): Use END macro without arguments.
20240         (erfc_test): Likewise.
20241         (exp_test): Likewise.
20242         (exp_test_tonearest): Likewise.
20243         (exp_test_towardzero): Likewise.
20244         (exp_test_downward): Likewise.
20245         (exp_test_upward): Likewise.
20246         (exp10_test): Likewise.
20247         (exp2_test): Likewise.
20248         (expm1_test): Likewise.
20249         (fabs_test): Likewise.
20250         (fdim_test): Likewise.
20251         (finite_test): Likewise.
20252         (floor_test): Likewise.
20253         (fma_test): Likewise.
20254         (fma_test_towardzero): Likewise.
20255         (fma_test_downward): Likewise.
20256         (fma_test_upward): Likewise.
20257         (fmax_test): Likewise.
20258         (fmin_test): Likewise.
20259         (fmod_test): Likewise.
20260         (fpclassify_test): Likewise.
20261         (frexp_test): Likewise.
20262         (gamma_test): Likewise.
20263         (hypot_test): Likewise.
20264         (ilogb_test): Likewise.
20265         (isfinite_test): Likewise.
20266         (isgreater_test): Likewise.
20267         (isgreaterequal_test): Likewise.
20268         (isinf_test): Likewise.
20269         (isless_test): Likewise.
20270         (islessequal_test): Likewise.
20271         (islessgreater_test): Likewise.
20272         (isnan_test): Likewise.
20273         (isnormal_test): Likewise.
20274         (issignaling_test): Likewise.
20275         (isunordered_test): Likewise.
20276         (j0_test): Likewise.
20277         (j1_test): Likewise.
20278         (jn_test): Likewise.
20279         (ldexp_test): Likewise.
20280         (lgamma_test): Likewise.
20281         (lrint_test): Likewise.
20282         (lrint_test_tonearest): Likewise.
20283         (lrint_test_towardzero): Likewise.
20284         (lrint_test_downward): Likewise.
20285         (lrint_test_upward): Likewise.
20286         (llrint_test): Likewise.
20287         (llrint_test_tonearest): Likewise.
20288         (llrint_test_towardzero): Likewise.
20289         (llrint_test_downward): Likewise.
20290         (llrint_test_upward): Likewise.
20291         (log_test): Likewise.
20292         (log10_test): Likewise.
20293         (log1p_test): Likewise.
20294         (log2_test): Likewise.
20295         (logb_test): Likewise.
20296         (logb_test_downward): Likewise.
20297         (lround_test): Likewise.
20298         (llround_test): Likewise.
20299         (modf_test): Likewise.
20300         (nearbyint_test): Likewise.
20301         (nextafter_test): Likewise.
20302         (nexttoward_test): Likewise.
20303         (pow_test): Likewise.
20304         (pow_test_tonearest): Likewise.
20305         (pow_test_towardzero): Likewise.
20306         (pow_test_downward): Likewise.
20307         (pow_test_upward): Likewise.
20308         (remainder_test): Likewise.
20309         (remainder_test_tonearest): Likewise.
20310         (remainder_test_towardzero): Likewise.
20311         (remainder_test_downward): Likewise.
20312         (remainder_test_upward): Likewise.
20313         (remquo_test): Likewise.
20314         (rint_test): Likewise.
20315         (rint_test_tonearest): Likewise.
20316         (rint_test_towardzero): Likewise.
20317         (rint_test_downward): Likewise.
20318         (rint_test_upward): Likewise.
20319         (round_test): Likewise.
20320         (scalb_test): Likewise.
20321         (scalbn_test): Likewise.
20322         (scalbln_test): Likewise.
20323         (signbit_test): Likewise.
20324         (sin_test): Likewise.
20325         (sin_test_tonearest): Likewise.
20326         (sin_test_towardzero): Likewise.
20327         (sin_test_downward): Likewise.
20328         (sin_test_upward): Likewise.
20329         (sincos_test): Likewise.
20330         (sinh_test): Likewise.
20331         (sinh_test_tonearest): Likewise.
20332         (sinh_test_towardzero): Likewise.
20333         (sinh_test_downward): Likewise.
20334         (sinh_test_upward): Likewise.
20335         (sqrt_test): Likewise.
20336         (tan_test): Likewise.
20337         (tan_test_tonearest): Likewise.
20338         (tan_test_towardzero): Likewise.
20339         (tan_test_downward): Likewise.
20340         (tan_test_upward): Likewise.
20341         (tanh_test): Likewise.
20342         (tgamma_test): Likewise.
20343         (trunc_test): Likewise.
20344         (y0_test): Likewise.
20345         (y1_test): Likewise.
20346         (yn_test): Likewise.
20347         (significand_test): Likewise.
20348
20349 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20350
20351         [BZ #15381]
20352         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20353
20354 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20355
20356         [BZ #14894]
20357         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20358         __ppc_mdoio and __ppc_mdoom.
20359         * manual/platform.texi: Document new functions __ppc_yield,
20360         __ppc_mdoio and __ppc_mdoom.
20361
20362 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20363
20364         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20365         (main): Mention "tls" pseudo-hwcap is legacy.
20366         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20367
20368 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20369
20370         * math/gen-libm-test.pl (parse_args): Output only string of
20371         arguments as text for test name, not full call or descriptions of
20372         tests for extra outputs.
20373         (generate_testfile): Do not pass function name to parse_args.
20374         Generate this_func variable from START.
20375         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20376         field to arg_str.
20377         (struct test_ff_f_data): Likewise.
20378         (test_ff_f_data_nexttoward): Likewise.
20379         (struct test_fi_f_data): Likewise.
20380         (struct test_fl_f_data): Likewise.
20381         (struct test_if_f_data): Likewise.
20382         (struct test_fff_f_data): Likewise.
20383         (struct test_c_f_data): Likewise.
20384         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20385         (struct test_fF_f1_data): Likewise.
20386         (struct test_ffI_f1_data): Likewise.
20387         (struct test_c_c_data): Rename test_name field to arg_str.
20388         (struct test_cc_c_data): Likewise.
20389         (struct test_f_i_data): Likewise.
20390         (struct test_ff_i_data): Likewise.
20391         (struct test_f_l_data): Likewise.
20392         (struct test_f_L_data): Likewise.
20393         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20394         and extra2_name.
20395         (COMMON_TEST_SETUP): New macro.
20396         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20397         (COMMON_TEST_CLEANUP): Likewise.
20398         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20399         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20400         macros.
20401         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20402         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20403         macros.
20404         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20405         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20406         cleanup macros.
20407         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20408         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20409         macros.
20410         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20411         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20412         macros.
20413         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20414         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20415         cleanup macros.
20416         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20417         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20418         cleanup macros.
20419         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20420         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20421         cleanup macros.
20422         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20423         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20424         macros.
20425         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20426         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20427         macros.
20428         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20429         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20430         macros.
20431         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20432         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20433         cleanup macros.
20434         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20435         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20436         cleanup macros.
20437         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20438         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20439         macros.
20440         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20441         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20442         cleanup macros.
20443         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20444         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20445         macros.
20446         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20447         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20448         macros.
20449         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20450         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20451         cleanup macros.
20452         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20453
20454 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20455
20456         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20457         to _sifields.sigfault.
20458         (si_addr_lsb): Define new macro.
20459         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20460         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20461         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20462
20463 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20464
20465         [BZ #15441]
20466         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20467         returns -1.
20468         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20469         null return -1.
20470         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20471         loading the domain.
20472
20473 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20474
20475         * math/gen-libm-test.pl (parse_args): Do not include expected
20476         result in test name.
20477         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20479         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20480         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20481         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483
20484 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20485
20486         * benchtests/Makefile: Sort function entries.
20487
20488         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20489         tanh, asinh, acosh, atanh.
20490         * benchtests/acos-inputs: New file.
20491         * benchtests/acosh-inputs: New file.
20492         * benchtests/asin-inputs: New file.
20493         * benchtests/asinh-inputs: New file.
20494         * benchtests/atanh-inputs: New file.
20495         * benchtests/cosh-inputs: New file.
20496         * benchtests/log-inputs: New file.
20497         * benchtests/sinh-inputs: New file.
20498         * benchtests/tanh-inputs: New file.
20499
20500 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20501
20502         [BZ #15339]
20503         * posix/tst-getaddrinfo4.c: New test.
20504         * posix/Makefile (tests): Add it.
20505
20506 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20507
20508         [BZ #15339]
20509         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20510         when no services were used.
20511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20512         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20513
20514 2013-05-21  Andreas Schwab  <schwab@suse.de>
20515
20516         [BZ #15014]
20517         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20518         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20519         successful.
20520         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20521         redundant variable declarations and reallocation of buffer when
20522         parsing as IPv6 address.  Always set NSS status when called from
20523         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20524         buffer too small.  Correct computation of needed size.
20525         * nss/Makefile (tests): Add test-digits-dots.
20526         * nss/test-digits-dots.c: New test.
20527
20528 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20529
20530         * benchtests/Makefile: Remove instructions for adding
20531         benchmark tests.
20532         * benchtests/README: New file to explain how to execute and
20533         enhance the benchmark tests.
20534
20535 2013-05-21  Andreas Schwab  <schwab@suse.de>
20536
20537         [BZ #15493]
20538         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20539         * setjmp/tst-sigsetjmp.c: New test.
20540
20541 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20542
20543         * sysdeps/x86_64/memset.S (memset): New implementation.
20544         (__bzero): Likewise.
20545         (__memset_tail): New function.
20546
20547 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20548
20549         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20550         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20551         __memcpy_sse2_unaligned ifunc selection.
20552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20553         Add memcpy-sse2-unaligned.S.
20554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20555         Add: __memcpy_sse2_unaligned.
20556
20557 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20558
20559         [BZ #15490]
20560         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20561         math_force_eval before restoring floating-point envrionment.
20562         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20563         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20564         Likewise.
20565         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20566         <math_private.h>.
20567         (__nearbyintl): Use math_force_eval before restoring
20568         floating-point environment.
20569         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20570
20571         * math/gen-libm-test.pl (special_functions): Remove.
20572         (parse_args): Don't handle TEST_extra.  Handle functions with no
20573         return value.
20574         * math/libm-test.inc (struct test_sincos_data): Replace with
20575         struct test_fFF_11_data.
20576         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20577         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20578         (sincos_test_data): Change element type to struct
20579         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20580         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20581         RUN_TEST_LOOP_sincos.
20582         * math/README.libm-test: Don't mention special handling of
20583         individual functions.
20584         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20585         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20586         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20587         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20588         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20590
20591         * math/gen-libm-test.pl (get_variable): Remove function.
20592         (parse_args): Don't show pointer parameters to call in test
20593         names.  Use "extra output N" in test names for extra outputs
20594         rather than naming variables.
20595
20596 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20597
20598         [BZ #15488]
20599         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20600         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20601         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20602         double tests.
20603         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20604         disable.
20605         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20606         check_long_double.
20607
20608         * math/gen-libm-test.pl (@tests): Remove variable.
20609         ($count): Likewise.
20610         (new_test): Remove function.
20611         (show_exceptions): New function.
20612         (special_functions): Use show_exceptions instead of new_test.
20613         (parse_args): Likewise.
20614         (generate_testfile): Pass only function name in generated call to
20615         print_max_error or print_complex_max_error.
20616         (get_ulps): Do not handle complex tests specially.
20617         (output_test): Rename to ...
20618         (get_all_ulps_for_test): ... this.  Return a string rather than
20619         printing to a file.  Require ulps to be present.
20620         (output_ulps): Generate arrays rather than #defines.
20621         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20622         (struct ulp_data): New type.
20623         (BUILD_COMPLEX_ULP): Remove macro.
20624         (compare_ulp_data): New function.
20625         (find_ulps): Likewise.
20626         (find_test_ulps): Likewise.
20627         (find_function_ulps): Likewise.
20628         (find_complex_function_ulps): Likewise.
20629         (print_max_error): Determine allowed ulps using
20630         find_function_ulps.
20631         (print_complex_max_error): Determine allowed ulps using
20632         find_complex_function_ulps.
20633         (check_float_internal): Determine max ulps using find_test_ulps.
20634         (check_float): Do not take max_ulp parameter.  Update call to
20635         check_float_internal.
20636         (check_complex): Likewise.
20637         (check_int): Do not take max_ulp parameter.
20638         (check_long): Likewise.
20639         (check_bool): Likewise.
20640         (check_longlong): Likewise.
20641         (struct test_f_f_data): Remove max_ulp field.
20642         (struct test_ff_f_data): Likewise.
20643         (struct test_ff_f_data_nexttoward): Likewise.
20644         (struct test_fi_f_data): Likewise.
20645         (struct test_fl_f_data): Likewise.
20646         (struct test_if_f_data): Likewise.
20647         (struct test_fff_f_data): Likewise.
20648         (struct test_c_f_data): Likewise.
20649         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20650         (struct test_fF_f1_data): Likewise.
20651         (struct test_ffI_f1_data): Likewise.
20652         (struct test_c_c_data): Remove max_ulp field.
20653         (struct test_cc_c_data): Likewise.
20654         (struct test_f_i_data): Likewise.
20655         (struct test_ff_i_data): Likewise.
20656         (struct test_f_l_data): Likewise.
20657         (struct test_f_L_data): Likewise.
20658         (struct test_sincos_data): Likewise.
20659         (RUN_TEST_f_f): Do not handle ulps.
20660         (RUN_TEST_LOOP_f_f): Likewise.
20661         (RUN_TEST_2_f): Likewise.
20662         (RUN_TEST_LOOP_2_f): Likewise.
20663         (RUN_TEST_fff_f): Likewise.
20664         (RUN_TEST_LOOP_fff_f): Likewise.
20665         (RUN_TEST_c_f): Likewise.
20666         (RUN_TEST_LOOP_c_f): Likewise.
20667         (RUN_TEST_f_f1): Likewise.
20668         (RUN_TEST_LOOP_f_f1): Likewise.
20669         (RUN_TEST_fF_f1): Likewise.
20670         (RUN_TEST_LOOP_fF_f1): Likewise.
20671         (RUN_TEST_fI_f1): Likewise.
20672         (RUN_TEST_LOOP_fI_f1): Likewise.
20673         (RUN_TEST_ffI_f1): Likewise.
20674         (RUN_TEST_LOOP_ffI_f1): Likewise.
20675         (RUN_TEST_c_c): Likewise.
20676         (RUN_TEST_LOOP_c_c): Likewise.
20677         (RUN_TEST_cc_c): Likewise.
20678         (RUN_TEST_LOOP_cc_c): Likewise.
20679         (RUN_TEST_f_i): Likewise.
20680         (RUN_TEST_LOOP_f_i): Likewise.
20681         (RUN_TEST_f_i_tg): Likewise.
20682         (RUN_TEST_LOOP_f_i_tg): Likewise.
20683         (RUN_TEST_ff_i_tg): Likewise.
20684         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20685         (RUN_TEST_f_b): Likewise.
20686         (RUN_TEST_LOOP_f_b): Likewise.
20687         (RUN_TEST_f_b_tg): Likewise.
20688         (RUN_TEST_LOOP_f_b_tg): Likewise.
20689         (RUN_TEST_f_l): Likewise.
20690         (RUN_TEST_LOOP_f_l): Likewise.
20691         (RUN_TEST_f_L): Likewise.
20692         (RUN_TEST_LOOP_f_L): Likewise.
20693         (RUN_TEST_sincos): Likewise.
20694         (RUN_TEST_LOOP_sincos): Likewise.
20695
20696 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20697
20698         [BZ #15480]
20699         [BZ #15485]
20700         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20701         main case of finite arguments, set rounding mode to FE_TONEAREST
20702         and discard exceptions.
20703         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20704         exceptions.
20705         (remainder_tonearest_test_data): New variable.
20706         (remainder_test_tonearest): New function.
20707         (remainder_towardzero_test_data): New variable.
20708         (remainder_test_towardzero): New function.
20709         (remainder_downward_test_data): New variable.
20710         (remainder_test_downward): New function.
20711         (remainder_upward_test_data): New variable.
20712         (remainder_test_upward): New function.
20713         (main): Call the new test functions.
20714
20715         * math/libm-test.inc (struct test_f_f1_data): Remove field
20716         extra_init.
20717         (struct test_fF_f1_data): Likewise.
20718         (struct test_ffI_f1_data): Likewise.
20719         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20720         based on value of EXTRA_EXPECTED.
20721         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20722         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20723         EXTRA_VAR based on value of EXTRA_EXPECTED.
20724         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20725         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20726         EXTRA_VAR based on value of EXTRA_EXPECTED.
20727         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20728         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20729         EXTRA_VAR based on value of EXTRA_EXPECTED.
20730         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20731         * math/gen-libm-test.pl (parse_args): Don't output initializers
20732         for extra output values.
20733
20734         * math/libm-test.inc (check_int): Expect result to be exactly
20735         equal to expected value and do not handle ulps.
20736         (check_long): Likewise.
20737         (check_longlong): Likewise.
20738
20739         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20740         exceptions.
20741         (cimag_test_data): Likewise.
20742         (conj_test_data): Likewise.
20743         (copysign_test_data): Likewise.
20744         (cproj_test_data): Likewise.
20745         (creal_test_data): Likewise.
20746         (fabs_test_data): Likewise.
20747         (fdim_test_data): Likewise.
20748         (finite_test_data): Likewise.
20749         (floor_test_data): Likewise.
20750         (fmax_test_data): Likewise.
20751         (fmin_test_data): Likewise.
20752         (fmod_test_data): Likewise.
20753         (fpclassify_test_data): Likewise.
20754         (frexp_test_data): Likewise.
20755         (ilogb_test_data): Likewise.
20756         (isfinite_test_data): Likewise.
20757         (isgreater_test_data): Likewise.
20758         (isgreaterequal_test_data): Likewise.
20759         (isinf_test_data): Likewise.
20760         (isless_test_data): Likewise.
20761         (islessequal_test_data): Likewise.
20762         (islessgreater_test_data): Likewise.
20763         (isnan_test_data): Likewise.
20764         (isnormal_test_data): Likewise.
20765         (issignaling_test_data): Likewise.
20766         (isunordered_test_data): Likewise.
20767         (ldexp_test_data): Likewise.
20768         (lrint_test_data): Likewise.
20769         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20770         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20771         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20772         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20773         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20774         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20775         test input.
20776         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20777         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20778         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20779         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20780         that test input.
20781         (lrint_downward_test_data): Test for "inexact" exceptions.
20782         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20783         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20784         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20785         test input.
20786         (lrint_upward_test_data): Test for "inexact" exceptions.
20787         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20788         test input.
20789         (llrint_test_data): Test for "inexact" exceptions.
20790         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20791         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20792         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20793         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20794         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20795         (llrint_downward_test_data): Test for "inexact" exceptions.
20796         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20797         (llrint_upward_test_data): Test for "inexact" exceptions.
20798         (logb_test_data): Likewise.
20799         (logb_downward_test_data): Likewise.
20800         (nextafter_test_data): Likewise.
20801         (nexttoward_test_data): Likewise.
20802         (remainder_test_data): Likewise.
20803         (remquo_test_data): Likewise.
20804         (scalbn_test_data): Likewise.
20805         (scalbln_test_data): Likewise.
20806         (signbit_test_data): Likewise.
20807         (sqrt_test_data): Likewise.
20808         (significand_test_data): Likewise.
20809
20810 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20811
20812         [BZ #15424]
20813         * benchtests/bench-modf.c (struct args): Mark arg0 as
20814         volatile.
20815         * scripts/bench.pl: Mark members of struct args as volatile.
20816
20817 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20818
20819         [BZ # 15497]
20820         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20821         negative infinity on POWER6 or lower.
20822         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20823
20824 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20825
20826         [BZ #15442]
20827         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20828         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20829         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20830         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20831         (_FP_SETQNAN): New macro.
20832         (_FP_SETQNAN_SEMIRAW): Likewise.
20833         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20834         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20835         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20836         (FP_EXTEND): Use _FP_FRAC_SNANP.
20837         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20838         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20839         into account.
20840         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20841         New macro.
20842         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20843         Likewise.
20844
20845 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20846
20847         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20848         with DIVIDE_BY_ZERO_EXCEPTION.
20849         (gamma_test_data): Likewise.
20850         (lgamma_test_data): Likewise.
20851         (log_test_data): Likewise.
20852         (log10_test_data): Likewise.
20853         (log2_test_data): Likewise.
20854         (tgamma_test_data): Likewise.
20855
20856         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20857         (acos_test_tonearest): Likewise.
20858         (acos_test_towardzero): Likewise.
20859         (acos_test_downward): Likewise.
20860         (acos_test_upward): Likewise.
20861         (acosh_test): Likewise.
20862         (asin_test): Likewise.
20863         (asin_test_tonearest): Likewise.
20864         (asin_test_towardzero): Likewise.
20865         (asin_test_downward): Likewise.
20866         (asin_test_upward): Likewise.
20867         (asinh_test): Likewise.
20868         (atan_test): Likewise.
20869         (atanh_test): Likewise.
20870         (atan2_test): Likewise.
20871         (cabs_test): Likewise.
20872         (cacos_test): Likewise.
20873         (cacosh_test): Likewise.
20874         (casin_test): Likewise.
20875         (casinh_test): Likewise.
20876         (catan_test): Likewise.
20877         (catanh_test): Likewise.
20878         (cbrt_test): Likewise.
20879         (ccos_test): Likewise.
20880         (ccosh_test): Likewise.
20881         (cexp_test): Likewise.
20882         (clog_test): Likewise.
20883         (clog10_test): Likewise.
20884         (cos_test): Likewise.
20885         (cos_test_tonearest): Likewise.
20886         (cos_test_towardzero): Likewise.
20887         (cos_test_downward): Likewise.
20888         (cos_test_upward): Likewise.
20889         (cosh_test): Likewise.
20890         (cosh_test_tonearest): Likewise.
20891         (cosh_test_towardzero): Likewise.
20892         (cosh_test_downward): Likewise.
20893         (cosh_test_upward): Likewise.
20894         (cpow_test): Likewise.
20895         (csin_test): Likewise.
20896         (csinh_test): Likewise.
20897         (csqrt_test): Likewise.
20898         (ctan_test): Likewise.
20899         (ctan_test_tonearest): Likewise.
20900         (ctan_test_towardzero): Likewise.
20901         (ctan_test_downward): Likewise.
20902         (ctan_test_upward): Likewise.
20903         (ctanh_test): Likewise.
20904         (ctanh_test_tonearest): Likewise.
20905         (ctanh_test_towardzero): Likewise.
20906         (ctanh_test_downward): Likewise.
20907         (ctanh_test_upward): Likewise.
20908         (erf_test): Likewise.
20909         (erfc_test): Likewise.
20910         (exp_test): Likewise.
20911         (exp_test_tonearest): Likewise.
20912         (exp_test_towardzero): Likewise.
20913         (exp_test_downward): Likewise.
20914         (exp_test_upward): Likewise.
20915         (exp10_test): Likewise.
20916         (exp2_test): Likewise.
20917         (expm1_test): Likewise.
20918         (fmod_test): Likewise.
20919         (gamma_test): Likewise.
20920         (hypot_test): Likewise.
20921         (j0_test): Likewise.
20922         (j1_test): Likewise.
20923         (jn_test): Likewise.
20924         (lgamma_test): Likewise.
20925         (log_test): Likewise.
20926         (log10_test): Likewise.
20927         (log1p_test): Likewise.
20928         (log2_test): Likewise.
20929         (logb_test_downward): Likewise.
20930         (pow_test): Likewise.
20931         (pow_test_tonearest): Likewise.
20932         (pow_test_towardzero): Likewise.
20933         (pow_test_downward): Likewise.
20934         (pow_test_upward): Likewise.
20935         (remainder_test): Likewise.
20936         (remquo_test): Likewise.
20937         (sin_test): Likewise.
20938         (sin_test_tonearest): Likewise.
20939         (sin_test_towardzero): Likewise.
20940         (sin_test_downward): Likewise.
20941         (sin_test_upward): Likewise.
20942         (sincos_test): Likewise.
20943         (sinh_test): Likewise.
20944         (sinh_test_tonearest): Likewise.
20945         (sinh_test_towardzero): Likewise.
20946         (sinh_test_downward): Likewise.
20947         (sinh_test_upward): Likewise.
20948         (sqrt_test): Likewise.
20949         (tan_test): Likewise.
20950         (tan_test_tonearest): Likewise.
20951         (tan_test_towardzero): Likewise.
20952         (tan_test_downward): Likewise.
20953         (tan_test_upward): Likewise.
20954         (tanh_test): Likewise.
20955         (tgamma_test): Likewise.
20956         (y0_test): Likewise.
20957         (y1_test): Likewise.
20958         (yn_test): Likewise.
20959
20960         * math/gen-libm-test.pl (adjust_arg): Remove function.
20961         (special_function): Remove argument $in_func.  Only handle
20962         generating output for tables of tests, not inside functions.
20963         (parse_args): Likewise.
20964         (generate_testfile): Remove variable $in_func.  Update call to
20965         parse_args.
20966         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20967         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20968         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20969         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20970         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20971         (MAX_VALUE_INIT): Rename macro to max_value.
20972         (MIN_VALUE_INIT): Rename macro to min_value.
20973         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20974         (plus_zero): Remove variable.
20975         (minus_zero): Likewise.
20976         (plus_infty): Likewise.
20977         (minus_infty): Likewise.
20978         (qnan_value): Likewise.
20979         (max_value): Likewise.
20980         (min_value): Likewise.
20981         (min_subnorm_value): Likewise.
20982
20983 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20984
20985         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20986         uint64_t or uint32_t usage.
20987         * crypt/sha256-block.c: Likewise.
20988         * crypt/sha256-crypt.c: Likewise.
20989         * crypt/sha256.c: Likewise.
20990         * crypt/sha512-block.c: Likewise.
20991         * crypt/sha512-crypt.c: Likewise.
20992         * crypt/sha512.c: Likewise.
20993         * debug/backtrace-tst.c: Likewise.
20994         * debug/pcprofiledump.c: Likewise.
20995         * elf/cache.c: Likewise.
20996         * elf/dl-cache.c: Likewise.
20997         * elf/dl-misc.c: Likewise.
20998         * elf/dl-profile.c: Likewise.
20999         * elf/dl-support.c: Likewise.
21000         * elf/ldconfig.c: Likewise.
21001         * elf/sprof.c: Likewise.
21002         * iconv/dummy-repertoire.c: Likewise.
21003         * iconv/iconv_charmap.c: Likewise.
21004         * iconv/skeleton.c: Likewise.
21005         * iconvdata/8bit-generic.c: Likewise.
21006         * iconvdata/cp737.h: Likewise.
21007         * iconvdata/cp775.h: Likewise.
21008         * iconvdata/ibm1008.h: Likewise.
21009         * iconvdata/ibm1025.h: Likewise.
21010         * iconvdata/ibm1046.h: Likewise.
21011         * iconvdata/ibm1097.h: Likewise.
21012         * iconvdata/ibm1112.h: Likewise.
21013         * iconvdata/ibm1122.h: Likewise.
21014         * iconvdata/ibm1123.h: Likewise.
21015         * iconvdata/ibm1124.h: Likewise.
21016         * iconvdata/ibm1129.h: Likewise.
21017         * iconvdata/ibm1130.h: Likewise.
21018         * iconvdata/ibm1132.h: Likewise.
21019         * iconvdata/ibm1133.h: Likewise.
21020         * iconvdata/ibm1137.h: Likewise.
21021         * iconvdata/ibm1140.h: Likewise.
21022         * iconvdata/ibm1141.h: Likewise.
21023         * iconvdata/ibm1142.h: Likewise.
21024         * iconvdata/ibm1143.h: Likewise.
21025         * iconvdata/ibm1144.h: Likewise.
21026         * iconvdata/ibm1145.h: Likewise.
21027         * iconvdata/ibm1146.h: Likewise.
21028         * iconvdata/ibm1147.h: Likewise.
21029         * iconvdata/ibm1148.h: Likewise.
21030         * iconvdata/ibm1149.h: Likewise.
21031         * iconvdata/ibm1153.h: Likewise.
21032         * iconvdata/ibm1154.h: Likewise.
21033         * iconvdata/ibm1155.h: Likewise.
21034         * iconvdata/ibm1156.h: Likewise.
21035         * iconvdata/ibm1157.h: Likewise.
21036         * iconvdata/ibm1158.h: Likewise.
21037         * iconvdata/ibm1160.h: Likewise.
21038         * iconvdata/ibm1161.h: Likewise.
21039         * iconvdata/ibm1162.h: Likewise.
21040         * iconvdata/ibm1163.h: Likewise.
21041         * iconvdata/ibm1164.h: Likewise.
21042         * iconvdata/ibm1166.h: Likewise.
21043         * iconvdata/ibm1167.h: Likewise.
21044         * iconvdata/ibm12712.h: Likewise.
21045         * iconvdata/ibm1390.h: Likewise.
21046         * iconvdata/ibm1399.h: Likewise.
21047         * iconvdata/ibm16804.h: Likewise.
21048         * iconvdata/ibm4517.h: Likewise.
21049         * iconvdata/ibm4899.h: Likewise.
21050         * iconvdata/ibm4909.h: Likewise.
21051         * iconvdata/ibm4971.h: Likewise.
21052         * iconvdata/ibm5347.h: Likewise.
21053         * iconvdata/ibm803.h: Likewise.
21054         * iconvdata/ibm856.h: Likewise.
21055         * iconvdata/ibm901.h: Likewise.
21056         * iconvdata/ibm902.h: Likewise.
21057         * iconvdata/ibm9030.h: Likewise.
21058         * iconvdata/ibm9066.h: Likewise.
21059         * iconvdata/ibm921.h: Likewise.
21060         * iconvdata/ibm922.h: Likewise.
21061         * iconvdata/ibm9448.h: Likewise.
21062         * iconvdata/isiri-3342.h: Likewise.
21063         * iconvdata/jis0201.h: Likewise.
21064         * include/link.h: Likewise.
21065         * include/netdb.h: Likewise.
21066         * inet/check_native.c: Likewise.
21067         * inet/check_pf.c: Likewise.
21068         * inet/getipv4sourcefilter.c: Likewise.
21069         * inet/getnameinfo.c: Likewise.
21070         * inet/getsourcefilter.c: Likewise.
21071         * inet/htonl.c: Likewise.
21072         * inet/setipv4sourcefilter.c: Likewise.
21073         * inet/setsourcefilter.c: Likewise.
21074         * inet/test-inet6_opt.c: Likewise.
21075         * inet/tst-network.c: Likewise.
21076         * locale/C-collate.c: Likewise.
21077         * locale/C-ctype.c: Likewise.
21078         * locale/C-time.c: Likewise.
21079         * locale/C-translit.h: Likewise.
21080         * locale/loadarchive.c: Likewise.
21081         * locale/programs/3level.h: Likewise.
21082         * locale/programs/charmap.c: Likewise.
21083         * locale/programs/charmap.h: Likewise.
21084         * locale/programs/ld-address.c: Likewise.
21085         * locale/programs/ld-collate.c: Likewise.
21086         * locale/programs/ld-ctype.c: Likewise.
21087         * locale/programs/ld-identification.c: Likewise.
21088         * locale/programs/ld-measurement.c: Likewise.
21089         * locale/programs/ld-messages.c: Likewise.
21090         * locale/programs/ld-monetary.c: Likewise.
21091         * locale/programs/ld-name.c: Likewise.
21092         * locale/programs/ld-numeric.c: Likewise.
21093         * locale/programs/ld-paper.c: Likewise.
21094         * locale/programs/ld-telephone.c: Likewise.
21095         * locale/programs/ld-time.c: Likewise.
21096         * locale/programs/linereader.c: Likewise.
21097         * locale/programs/locale.c: Likewise.
21098         * locale/programs/locarchive.c: Likewise.
21099         * locale/programs/locfile.h: Likewise.
21100         * locale/programs/repertoire.c: Likewise.
21101         * locale/programs/simple-hash.c: Likewise.
21102         * locale/programs/simple-hash.h: Likewise.
21103         * malloc/memusage.c: Likewise.
21104         * malloc/memusagestat.c: Likewise.
21105         * nis/nis_defaults.c: Likewise.
21106         * nis/nis_hash.c: Likewise.
21107         * nis/nis_print.c: Likewise.
21108         * nis/nis_xdr.c: Likewise.
21109         * nscd/connections.c: Likewise.
21110         * nscd/hstcache.c: Likewise.
21111         * nscd/nscd_gethst_r.c: Likewise.
21112         * nscd/nscd_getserv_r.c: Likewise.
21113         * nscd/nscd_helper.c: Likewise.
21114         * nscd/servicescache.c: Likewise.
21115         * nss/makedb.c: Likewise.
21116         * nss/nss_db/db-XXX.c: Likewise.
21117         * nss/nss_db/db-initgroups.c: Likewise.
21118         * nss/nss_db/db-netgrp.c: Likewise.
21119         * nss/nss_files/files-network.c: Likewise.
21120         * nss/nss_files/files-parse.c: Likewise.
21121         * posix/bug-regex5.c: Likewise.
21122         * posix/fnmatch_loop.c: Likewise.
21123         * posix/regcomp.c: Likewise.
21124         * posix/regexec.c: Likewise.
21125         * posix/tst-rfc3484-2.c: Likewise.
21126         * posix/tst-rfc3484-3.c: Likewise.
21127         * posix/tst-rfc3484.c: Likewise.
21128         * resolv/nss_dns/dns-canon.c: Likewise.
21129         * resolv/nss_dns/dns-network.c: Likewise.
21130         * resolv/res_init.c: Likewise.
21131         * resolv/res_mkquery.c: Likewise.
21132         * resolv/tst-aton.c: Likewise.
21133         * stdlib/cxa_atexit.c: Likewise.
21134         * stdlib/cxa_finalize.c: Likewise.
21135         * stdlib/gen-fpioconst.c: Likewise.
21136         * stdlib/strtol_l.c: Likewise.
21137         * string/tst-endian.c: Likewise.
21138         * sunrpc/auth_des.c: Likewise.
21139         * sunrpc/clnt_udp.c: Likewise.
21140         * sunrpc/rtime.c: Likewise.
21141         * sunrpc/svcauth_des.c: Likewise.
21142         * sunrpc/xdr.c: Likewise.
21143         * sunrpc/xdr_intXX_t.c: Likewise.
21144         * sunrpc/xdr_rec.c: Likewise.
21145         * sysdeps/generic/ldconfig.h: Likewise.
21146         * sysdeps/generic/ldsodefs.h: Likewise.
21147         * sysdeps/generic/memusage.h: Likewise.
21148         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21149         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21150         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21151         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21152         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21153         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21154         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21155         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21156         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21158         * sysdeps/posix/getaddrinfo.c: Likewise.
21159         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21160         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21161         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21162         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21163         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21164         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21165         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21166         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21167         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21168         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21169         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21170         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21171         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21172         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21173         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21174         * sysdeps/x86_64/dl-tls.h: Likewise.
21175         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21176         * time/alt_digit.c: Likewise.
21177         * time/era.c: Likewise.
21178         * wcsmbs/tst-c16c32-1.c: Likewise.
21179
21180 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21181
21182         * math/libm-test.inc (struct test_sincos_data): New type.
21183         (RUN_TEST_LOOP_sincos): New macro.
21184         (sincos_test_data): New variable.
21185         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21186
21187 2013-05-16  Richard Henderson  <rth@redhat.com>
21188
21189         * math/atest-exp2.c (LIMB64): New macro.
21190         (CONSTSZ): New macro.
21191         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21192         (hexdig): Move ...
21193         (print_mpn_fp): ... to function scope.
21194         (read_mpn_hex): Remove.
21195         (get_log2): Remove.
21196         (exp2_mpn): Use mp_log2.
21197         (main): Use mp_exp1.
21198
21199 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21200
21201         * math/libm-test.inc: Remove comment about not testing "inexact"
21202         exceptions.
21203         (INEXACT_EXCEPTION): New macro.
21204         (NO_INEXACT_EXCEPTION): Likewise.
21205         (INVALID_EXCEPTION_OK): Update value.
21206         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21207         (OVERFLOW_EXCEPTION_OK): Likewise.
21208         (UNDERFLOW_EXCEPTION_OK): Likewise.
21209         (IGNORE_ZERO_INF_SIGN): Likewise.
21210         (ERRNO_UNCHANGED): Likewise.
21211         (ERRNO_EDOM): Likewise.
21212         (ERRNO_ERANGE): Likewise.
21213         (test_exceptions): Handle testing "inexact" exceptions.
21214         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21215         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21216         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21217         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21218         INEXACT_EXCEPTION.
21219         (rint_towardzero_test_data): Likewise.
21220         (rint_downward_test_data): Likewise.
21221         (rint_upward_test_data): Likewise.
21222
21223         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21224         with OVERFLOW_EXCEPTION.
21225         (exp10_test_data): Likewise.
21226         (exp2_test_data): Likewise.
21227         (expm1_test_data): Likewise.
21228         (lgamma_test_data): Likewise.
21229         (pow_test_data): Likewise.
21230         (tgamma_test_data): Likewise.
21231         (yn_test_data): Remove duplicate test of overflow.
21232
21233         * math/libm-test.inc (struct test_cc_c_data): New type.
21234         (RUN_TEST_LOOP_cc_c): New macro.
21235         (cpow_test_data): New variable.
21236         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21237
21238         * math/libm-test.inc (struct test_f_L_data): New type.
21239         (RUN_TEST_LOOP_f_L): New macro.
21240         (llrint_test_data): New variable.
21241         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21242         (llrint_tonearest_test_data): New variable.
21243         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21244         (llrint_towardzero_test_data): New variable.
21245         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21246         (llrint_downward_test_data): New variable.
21247         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21248         (llrint_upward_test_data): New variable.
21249         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21250         (llround_test_data): New variable.
21251         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21252
21253 2013-05-13  Peter Collingbourne  <pcc@google.com>
21254
21255         * math/atest-exp2.c (get_log2): Remove const attribute.
21256
21257 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21258
21259         * math/libm-test.inc (struct test_f_l_data): New type.
21260         (RUN_TEST_LOOP_f_l): New macro.
21261         (lrint_test_data): New variable.
21262         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21263         (lrint_tonearest_test_data): New variable.
21264         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21265         (lrint_towardzero_test_data): New variable.
21266         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21267         (lrint_downward_test_data): New variable.
21268         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21269         (lrint_upward_test_data): New variable.
21270         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21271         (lround_test_data): New variable.
21272         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21273
21274 2013-05-15  Peter Collingbourne  <pcc@google.com>
21275
21276         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21277         (EXTRACT_WORDS64) Use where appropriate.
21278         (INSERT_WORDS64) Likewise.
21279
21280         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21281         constraints with x constraints.
21282         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21283
21284         * malloc/obstack.c (_obstack_compat): Add initializer.
21285
21286 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21287
21288         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21289         si_trapno and add si_addr_lsb to _sifields.sigfault.
21290         (si_trapno): Remove macro.
21291         (si_addr_lsb): Define new macro.
21292         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21293
21294 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21295
21296         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21297         instead of TEST_f_l.
21298         (llrint_test_tonearest): Likewise.
21299         (llrint_test_towardzero): Likewise.
21300         (llrint_test_downward): Likewise.
21301         (llrint_test_upward): Likewise.
21302         (llround_test): Likewise.
21303
21304         * math/libm-test.inc (struct test_f_i_data): Add comment.
21305         (RUN_TEST_LOOP_f_b): New macro.
21306         (RUN_TEST_LOOP_f_b_tg): Likewise.
21307         (finite_test_data): New variable.
21308         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21309         (isfinite_test_data): New variable.
21310         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21311         (isinf_test_data): New variable.
21312         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21313         (isnan_test_data): New variable.
21314         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21315         (isnormal_test_data): New variable.
21316         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21317         (issignaling_test_data): New variable.
21318         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21319         (signbit_test_data): New variable.
21320         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21321
21322         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21323         with INVALID_EXCEPTION.
21324         (acosh_test_data): Likewise.
21325         (asin_test_data): Likewise.
21326         (atanh_test_data): Likewise.
21327         (fmod_test_data): Likewise.
21328         (log_test_data): Likewise.
21329         (log10_test_data): Likewise.
21330         (log2_test_data): Likewise.
21331         (pow_test_data): Likewise.
21332         (sqrt_test_data): Likewise.
21333         (y0_test_data): Likewise.
21334         (y1_test_data): Likewise.
21335         (yn_test_data): Likewise.
21336
21337         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21338         function contents.
21339
21340         * math/libm-test.inc (struct test_ff_i_data): New type.
21341         (RUN_TEST_LOOP_ff_i_tg): New macro.
21342         (isgreater_test_data): New variable.
21343         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21344         (isgreaterequal_test_data): New variable.
21345         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21346         (isless_test_data): New variable.
21347         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21348         (islessequal_test_data): New variable.
21349         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21350         (islessgreater_test_data): New variable.
21351         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21352         (isunordered_test_data): New variable.
21353         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21354
21355 2013-05-14  David S. Miller  <davem@davemloft.net>
21356
21357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21358
21359 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21360
21361         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21362
21363         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21364         extra_test to int.
21365         (struct test_f_i_data): Change type of max_ulp to int.
21366
21367         * math/libm-test.inc (test_ffI_f1_data): New type.
21368         (RUN_TEST_LOOP_ffI_f1): New macro.
21369         (remquo_test_data): New variable.
21370         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21371
21372         * setjmp/tst-setjmp-fp.c: New file.
21373         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21374         (link-libm): New variable.
21375         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21376
21377         * math/libm-test.inc (struct test_f_i_data): New type.
21378         (RUN_TEST_LOOP_f_i): New macro.
21379         (RUN_TEST_LOOP_f_i_tg): Likewise.
21380         (fpclassify_test_data): New variable.
21381         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21382         (ilogb_test_data): New variable.
21383         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21384
21385         * math/libm-test.inc (scalbln_test): Correct function name in END
21386         call.
21387
21388         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21389         (RUN_TEST_LOOP_fI_f1): New macro.
21390         (frexp_test_data): New variable.
21391         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21392
21393         * math/libm-test.inc (struct test_fF_f1_data): New type.
21394         (RUN_TEST_LOOP_fF_f1): New macro.
21395         (modf_test_data): New variable.
21396         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21397
21398         * math/libm-test.inc (struct test_f_f1_data): New type.
21399         (RUN_TEST_LOOP_f_f1): New macro.
21400         (gamma_test_data): New variable.
21401         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21402         (lgamma_test_data): New variable.
21403         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21404
21405 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21406
21407         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21408         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21409         (main): Comment "tls" pseudo-hwcap.
21410
21411 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21412
21413         * math/libm-test.inc (struct test_fl_f_data): New type.
21414         (RUN_TEST_LOOP_fl_f): New variable.
21415         (scalbln_test_data): New variable.
21416         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21417
21418         * math/libm-test.inc (struct test_fi_f_data): New type.
21419         (RUN_TEST_LOOP_fi_f): New macro.
21420         (ldexp_test_data): New variable.
21421         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21422         (scalbn_test_data): New variable.
21423         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21424
21425         * math/libm-test.inc (struct test_c_f_data): New type.
21426         (RUN_TEST_LOOP_c_f): New macro.
21427         (cabs_test_data): New variable.
21428         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21429         (carg_test_data): New variable.
21430         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21431         (cimag_test_data): New variable.
21432         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21433         (creal_test_data): New variable.
21434         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21435
21436         * math/libm-test.inc (struct test_if_f_data): New type.
21437         (RUN_TEST_LOOP_if_f): New macro.
21438         (jn_test_data): New variable.
21439         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21440         (yn_test_data): New variable.
21441         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21442
21443         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21444
21445 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21446
21447         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21448         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21449
21450 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21451
21452         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21453         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21454         (bench-deps): Add bench-timing.h.
21455         * benchtests-bench-skeleton.c: Include bench-timing.h.
21456         (main): Use TIMING_* macros instead of clock_gettime.
21457         * benchtests/bench-timing.h: New file.
21458
21459         [BZ #14582]
21460         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21461         Renamed from _LIB_VERSION.
21462         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21463
21464 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21465
21466         * math/libm-test.inc (struct test_fff_f_data): New type.
21467         (RUN_TEST_LOOP_fff_f): New macro.
21468         (fma_test_data): New variable.
21469         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21470         (fma_towardzero_test_data): New variable.
21471         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21472         (fma_downward_test_data): New variable.
21473         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21474         (fma_upward_test_data): New variable.
21475         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21476
21477         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21478         (struct test_c_c_data): New type.
21479         (RUN_TEST_LOOP_c_c): New macro.
21480         (cacos_test_data): New variable.
21481         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21482         (cacosh_test_data): New variable.
21483         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21484         (casin_test_data): New variable.
21485         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21486         (casinh_test_data): New variable.
21487         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21488         (catan_test_data): New variable.
21489         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21490         (catanh_test_data): New variable.
21491         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21492         (ccos_test_data): New variable.
21493         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21494         (ccosh_test_data): New variable.
21495         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21496         (cexp_test_data): New variable.
21497         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21498         (clog_test_data): New variable.
21499         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21500         (clog10_test_data): New variable.
21501         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21502         (conj_test_data): New variable.
21503         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21504         (cproj_test_data): New variable.
21505         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21506         (csin_test_data): New variable.
21507         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21508         (csinh_test_data): New variable.
21509         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21510         (csqrt_test_data): New variable.
21511         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21512         (ctan_test_data): New variable.
21513         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21514         (ctan_tonearest_test_data): New variable.
21515         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21516         (ctan_towardzero_test_data): New variable.
21517         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21518         (ctan_downward_test_data): New variable.
21519         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21520         (ctan_upward_test_data): New variable.
21521         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21522         (ctanh_test_data): New variable.
21523         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21524         (ctanh_tonearest_test_data): New variable.
21525         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21526         (ctanh_towardzero_test_data): New variable.
21527         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21528         (ctanh_downward_test_data): New variable.
21529         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21530         (ctanh_upward_test_data): New variable.
21531         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21532         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21533         of BUILD_COMPLEX.
21534
21535         * math/libm-test.inc (struct test_ff_f_data): New type.
21536         (struct test_ff_f_data_nexttoward): Likewise.
21537         (RUN_TEST_LOOP_2_f): New macro.
21538         (RUN_TEST_LOOP_ff_f): Likewise.
21539         (atan2_test_data): New variable.
21540         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21541         (copysign_test_data): New variable.
21542         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21543         (fdim_test_data): New variable.
21544         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21545         (fmax_test_data): New variable.
21546         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21547         (fmin_test_data): New variable.
21548         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21549         (fmod_test_data): New variable.
21550         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21551         (hypot_test_data): New variable.
21552         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21553         (nextafter_test_data): New variable.
21554         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21555         (nexttoward_test_data): New variable.
21556         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21557         (pow_test_data): New variable.
21558         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21559         (pow_tonearest_test_data): New variable.
21560         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21561         (pow_towardzero_test_data): New variable.
21562         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21563         (pow_downward_test_data): New variable.
21564         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21565         (pow_upward_test_data): New variable.
21566         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21567         (remainder_test_data): New variable.
21568         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21569         (scalb_test_data): New variable.
21570         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21571         * sysdeps/i386/fpu/libm-test-ulps: Update.
21572
21573 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21574
21575         * math/libm-test.inc (fma_test): Use max_value instead of local
21576         variable fltmax.
21577         (nextafter_test): Likewise.
21578
21579         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21580         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21581         (acos_downward_test_data): New variable.
21582         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21583         (acos_upward_test_data): New variable.
21584         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21585         (acosh_test_data): New variable.
21586         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21587         (asin_test_data): New variable.
21588         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21589         (asin_tonearest_test_data): New variable.
21590         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21591         (asin_towardzero_test_data): New variable.
21592         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21593         (asin_downward_test_data): New variable.
21594         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21595         (asin_upward_test_data): New variable.
21596         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21597         (asinh_test_data): New variable.
21598         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21599         (atan_test_data): New variable.
21600         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21601         (atanh_test_data): New variable.
21602         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21603         (cbrt_test_data): New variable.
21604         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21605         (ceil_test_data): New variable.
21606         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21607         (cos_test_data): New variable.
21608         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21609         (cos_tonearest_test_data): New variable.
21610         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21611         (cos_towardzero_test_data): New variable.
21612         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21613         (cos_downward_test_data): New variable.
21614         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21615         (cos_upward_test_data): New variable.
21616         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21617         (cosh_test_data): New variable.
21618         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21619         (cosh_tonearest_test_data): New variable.
21620         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21621         (cosh_towardzero_test_data): New variable.
21622         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21623         (cosh_downward_test_data): New variable.
21624         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21625         (cosh_upward_test_data): New variable.
21626         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21627         (erf_test_data): New variable.
21628         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21629         (erfc_test_data): New variable.
21630         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21631         (exp_test_data): New variable.
21632         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21633         (exp_tonearest_test_data): New variable.
21634         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21635         (exp_towardzero_test_data): New variable.
21636         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21637         (exp_downward_test_data): New variable.
21638         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21639         (exp_upward_test_data): New variable.
21640         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21641         (exp10_test_data): New variable.
21642         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21643         (exp2_test_data): New variable.
21644         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21645         (expm1_test_data): New variable.
21646         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21647         (fabs_test_data): New variable.
21648         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21649         (floor_test_data): New variable.
21650         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21651         (j0_test_data): New variable.
21652         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21653         (j1_test_data): New variable.
21654         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21655         (log_test_data): New variable.
21656         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21657         (log10_test_data): New variable.
21658         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21659         (log1p_test_data): New variable.
21660         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21661         (log2_test_data): New variable.
21662         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21663         (logb_test_data): New variable.
21664         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21665         (logb_downward_test_data): New variable.
21666         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21667         (nearbyint_test_data): New variable.
21668         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21669         (rint_test_data): New variable.
21670         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21671         (rint_tonearest_test_data): New variable.
21672         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21673         (rint_towardzero_test_data): New variable.
21674         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21675         (rint_downward_test_data): New variable.
21676         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21677         (rint_upward_test_data): New variable.
21678         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21679         (round_test_data): New variable.
21680         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21681         (sin_test_data): New variable.
21682         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21683         (sin_tonearest_test_data): New variable.
21684         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21685         (sin_towardzero_test_data): New variable.
21686         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21687         (sin_downward_test_data): New variable.
21688         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21689         (sin_upward_test_data): New variable.
21690         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21691         (sinh_test_data): New variable.
21692         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21693         (sinh_tonearest_test_data): New variable.
21694         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21695         (sinh_towardzero_test_data): New variable.
21696         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21697         (sinh_downward_test_data): New variable.
21698         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21699         (sinh_upward_test_data): New variable.
21700         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21701         (sqrt_test_data): New variable.
21702         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21703         (tan_test_data): New variable.
21704         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21705         (tan_tonearest_test_data): New variable.
21706         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21707         (tan_towardzero_test_data): New variable.
21708         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21709         (tan_downward_test_data): New variable.
21710         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21711         (tan_upward_test_data): New variable.
21712         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21713         (tanh_test_data): New variable.
21714         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21715         (tgamma_test_data): New variable.
21716         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21717         (trunc_test_data): New variable.
21718         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21719         (y0_test_data): New variable.
21720         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21721         (y1_test_data): New variable.
21722         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21723         (significand_test_data): New variable.
21724         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21725
21726 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21727
21728         [BZ #12387]
21729         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21730
21731 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21732
21733         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21734
21735 2013-05-10  Andreas Jaeger  <aj@suse.de>
21736
21737         [BZ #15448]
21738         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21739         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21740
21741 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21742
21743         * math/gen-libm-test.pl (adjust_arg): New function.
21744         (special_functions): Handle generating output in both functions
21745         and arrays.
21746         (parse_args): Likewise.
21747         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21748         $in_func argument to parse_args.
21749         * math/libm-test.inc (struct test_f_f_data): New type.
21750         (IF_ROUND_INIT_): New macro.
21751         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21752         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21753         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21754         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21755         (ROUND_RESTORE_): Likewise.
21756         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21757         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21758         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21759         (ROUND_RESTORE_FE_UPWARD): Likewise.
21760         (RUN_TEST_LOOP_f_f): New macro.
21761         (acos_test_data): New variable.
21762         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21763         (acos_tonearest_test_data): New variable.
21764         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21765
21766 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21767
21768         * benchtests/bench-skeleton.c (startup): Fix coding style.
21769
21770 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21771
21772         [BZ #6809]
21773         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21774         negative infinity argument.
21775         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21776         negative infinity argument.
21777         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21778         negative infinity argument.
21779         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21780         domain errors.
21781
21782 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21783
21784         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21785         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21786         * iconv/iconv_prog.c (main): Likewise.
21787         * locale/programs/charmap-dir.c (charmap_readdir)
21788         (fopen_uncompressed): Likewise.
21789         * locale/programs/locfile.c (siblings_uncached)
21790         (write_locale_data): Use lstat64 instead of lstat.
21791         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21792         stat.
21793
21794 2013-05-10  Andreas Jaeger  <aj@suse.de>
21795
21796         [BZ #15395]
21797         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21798         localization.
21799         Include <locale.h>.
21800
21801 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21802
21803         * elf/dl-close.c (_dl_close_worker): Add comments.
21804
21805 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21806
21807         [BZ #15359]
21808         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21809         high part of pi/2.
21810         (__ieee754_rem_pio2l): Update comments.
21811
21812         [BZ #15429]
21813         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21814         high part of pi/2.
21815         (__ieee754_rem_pio2l): Update comments.
21816
21817         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21818         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21819
21820         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21821         M_PI_4l.
21822
21823         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21824         (M_PI_34_LOG10El): Likewise.
21825         (M_PI2_LOG10El): Likewise.
21826         (M_PI4_LOG10El): Likewise.
21827         (M_PI_LOG10El): Likewise.
21828
21829 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21830
21831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21832
21833 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21834
21835         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21836         (MINUS_ZERO_INIT): Likewise.
21837         (PLUS_INFTY_INIT): Likewise.
21838         (MINUS_INFTY_INIT): Likewise.
21839         (QNAN_VALUE_INIT): Likewise.
21840         (MAX_VALUE_INIT): Likewise.
21841         (MIN_VALUE_INIT): Likewise.
21842         (MIN_SUBNORM_VALUE_INIT): Likewise.
21843         (plus_zero): Initialize with PLUS_ZERO_INIT.
21844         (minus_zero): Initialize with MINUS_ZERO_INIT.
21845         (plus_infty): Initialize with PLUS_INFTY_INIT.
21846         (minus_infty): Initialize with MINUS_INFTY_INIT.
21847         (qnan_value): Initialize with QNAN_VALUE_INIT.
21848         (max_value): Initialize with MAX_VALUE_INIT.
21849         (min_value): Initialize with MIN_VALUE_INIT.
21850         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21851
21852         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21853         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21854         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21855         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21856
21857         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21858         (RUN_TEST_2_f): Likewise.
21859         (RUN_TEST_ff_f): Likewise.
21860         (RUN_TEST_fi_f): Likewise.
21861         (RUN_TEST_fl_f): Likewise.
21862         (RUN_TEST_fff_f): Likewise.
21863         (RUN_TEST_c_f): Likewise.
21864         (RUN_TEST_f_f1): Likewise.
21865         (RUN_TEST_fF_f1): Likewise.
21866         (RUN_TEST_fI_f1): Likewise.
21867         (RUN_TEST_ffI_f1): Likewise.
21868         (RUN_TEST_c_c): Likewise.
21869         (RUN_TEST_cc_c): Likewise.
21870         (RUN_TEST_f_i): Likewise.
21871         (RUN_TEST_f_i_tg): Likewise.
21872         (RUN_TEST_ff_i_tg): Likewise.
21873         (RUN_TEST_f_b): Likewise.
21874         (RUN_TEST_f_b_tg): Likewise.
21875         (RUN_TEST_f_l): Likewise.
21876         (RUN_TEST_f_L): Likewise.
21877         (RUN_TEST_sincos): Likewise.
21878         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21879         whether to show exceptions.  Do not include ");\n" in return
21880         value.
21881         (special_functions): Output call to RUN_TEST_sincos instead of
21882         check_float calls.  Update calls to new_test.
21883         (parse_args): Output call to single RUN_TEST_* macro instead of
21884         check_* calls and other assignments.  Update calls to new_test.
21885
21886         [BZ #2546]
21887         [BZ #2560]
21888         [BZ #5159]
21889         [BZ #15426]
21890         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21891         input to result for tgamma overflow.
21892         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21893         (gamma_coeff): New variable.
21894         (NCOEFF): New macro.
21895         (gamma_positive): New function.
21896         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21897         underflow here.  Use gamma_positive instead of exp (lgamma) for
21898         other arguments.
21899         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21900         (gamma_coeff): New variable.
21901         (NCOEFF): New macro.
21902         (gammaf_positive): New function.
21903         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21904         underflow here.  Use gamma_positive instead of exp (lgamma) for
21905         other arguments.
21906         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21907         (gamma_coeff): New variable.
21908         (NCOEFF): New macro.
21909         (gammal_positive): New function.
21910         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21911         underflow here.  Use gamma_positive instead of exp (lgamma) for
21912         other arguments.
21913         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21914         (gamma_coeff): New variable.
21915         (NCOEFF): New macro.
21916         (gammal_positive): New function.
21917         (__ieee754_gammal_r): Handle positive infinity, overflow and
21918         underflow here.  Handle NaN the same as positive infinity.  Remove
21919         check x < 0xffffffff for negative integers.  Use gamma_positive
21920         instead of exp (lgamma) for other arguments.
21921         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21922         (gamma_coeff): New variable.
21923         (NCOEFF): New macro.
21924         (gammal_positive): New function.
21925         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21926         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21927         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21928         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21929         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21930         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21931         * sysdeps/generic/math_private.h (__gamma_productf): New
21932         prototype.
21933         (__gamma_product): Likewise.
21934         (__gamma_productl): Likewise.
21935         * math/Makefile (libm-calls): Add gamma_product.
21936         * math/libm-test.inc (tgamma_test): Add more tests.
21937         * sysdeps/i386/fpu/libm-test-ulps: Update.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21939
21940 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21941
21942         * benchtests/bench-skeleton.c (main): Preheat CPU.
21943
21944 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21945
21946         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21947
21948 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21949
21950         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21951         and _dl_skip_args_internal.
21952
21953 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21954
21955         * manual/message.texi (Message Translation): Talk about users.
21956         Message to key mapping impacts design.
21957
21958 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21959
21960         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21961
21962         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21963
21964         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21965         * sysdeps/wordsize-64/glob64.c: ... here.
21966
21967         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21968         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21969         New macros.
21970
21971         * debug/getlogin_r_chk.c: Moved to ...
21972         * login/getlogin_r_chk.c: ... here.
21973         * debug/Makefile (routines): Move getlogin_r_chk to ...
21974         * login/Makefile (routines): ... here.
21975         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21976         * login/Versions (libc: GLIBC_2.4): ... here.
21977
21978         * io/poll.c (__poll): Renamed from poll.
21979         Add libc_hidden_def.
21980         (poll): Define as weak alias.
21981
21982         * debug/ptsname_r_chk.c: Moved to ...
21983         * login/ptsname_r_chk.c: ... here.
21984         * debug/Makefile (routines): Move ptsname_r_chk to ...
21985         * login/Makefile (routines): ... here.
21986         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21987         * login/Versions (libc: GLIBC_2.4): ... here.
21988
21989         * posix/getlogin.c: Moved to ...
21990         * login/getlogin.c: ... here.
21991         * posix/getlogin_r.c: Moved to ...
21992         * login/getlogin_r.c: ... here.
21993         * posix/getlogin_r.c: Moved to ...
21994         * login/getlogin_r.c: ... here.
21995         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21996         * login/Makefile (routines): ... here.
21997         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21998         * login/Versions (libc: GLIBC_2.0): ... here.
21999
22000         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22001         (setrlimit): Define as weak alias.
22002
22003         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22004         Call __ names for open, ftruncate, and close.
22005         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22006         (truncate): Define as weak alias.
22007
22008 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22009
22010         * math/gen-libm-test.pl (parse_args): Initialize x before each
22011         test of frexp, modf and remquo.
22012
22013         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22014         test signgam value.
22015
22016 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22017
22018         [BZ #15418]
22019         [BZ #15419]
22020         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22021         internal tests.
22022         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22023
22024 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22025
22026         * elf/dl-writev.h: New file.
22027         * elf/dl-misc.c: Include it.
22028         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22029         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22030
22031 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22032
22033         * math/libm-test.inc (noXFails): Remove variable.
22034         (noXPasses): Likewise.
22035         (BUILD_COMPLEX_INT): Remove macro.
22036         (print_screen): Remove xfail argument.
22037         (print_screen_max_error): Likewise.
22038         (update_stats): Likewise.
22039         (print_max_error): Likewise.  Update calls to other affected
22040         functions.
22041         (print_complex_max_error): Likewise.
22042         (test_single_exception): Update calls to print_screen.
22043         (test_single_errno): Likewise.
22044         (check_float_internal): Remove xfail argument.  Update calls to
22045         other affected functions.
22046         (check_float): Likewise.
22047         (check_complex): Likewise.
22048         (check_int): Likewise.
22049         (check_long): Likewise.
22050         (check_bool): Likewise.
22051         (check_longlong): Likewise.
22052         (main): Don't print noXFails and noXPasses.
22053         * math/gen-libm-test.pl (top level): Don't mention expected
22054         failure handling in comment.
22055         (new_test): Don't handle expected failures.
22056         (parse_args): Don't mention expected failure handling in comment.
22057         (generate_testfile): Don't handle expected failures.
22058         (parse_ulps): Likewise.
22059         (print_ulps_file): Likewise.
22060         (get_failure): Remove function.
22061         (output_test): Don't handle expected failures.
22062         * make/README.libm-test: Don't mention expected failure handling.
22063
22064         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22065         (minus_zero): Likewise.
22066         (plus_infty): Likewise.
22067         (minus_infty): Likewise.
22068         (qnan_value): Likewise.
22069         (max_value): Likewise.
22070         (min_value): Likewise.
22071         (min_subnorm_value): Likewise.
22072         (initialize): Do not initialize those variables dynamically.
22073
22074 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22075
22076         * io/open.c (__open_2): Moved to ...
22077         * io/open_2.c: ... this new file.
22078         * io/open64.c (__open64_2): Moved to ...
22079         * io/open64_2.c: ... this new file.
22080         * io/openat.c (__openat_2): Moved to ...
22081         * io/openat_2.c: ... this new file.
22082         * io/openat64.c (__openat64_2): Moved to ...
22083         * io/openat64_2.c: ... this new file.
22084         * io/Makefile (routines): Add them.
22085         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22086         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22087         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22088         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22089         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22090         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22091         (__openat64): Add hidden_ver.
22092         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22093         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22094
22095         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22096         Separately conditionalize setting of GLRO(dl_sysinfo) so
22097         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22098         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22099
22100 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22101
22102         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22104         definition.
22105         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22106         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22107         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22108         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22109         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22110
22111 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22112
22113         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22114         test signgam value.
22115
22116         * math/libm-test.inc (hypot_test): Do not use
22117         IGNORE_ZERO_INF_SIGN.
22118
22119 2013-05-03  Andreas Jaeger  <aj@suse.de>
22120
22121         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22122         Linux 3.9.
22123         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22124         (PF_MAX): Adjust for VSOCK change.
22125
22126 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22127
22128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22129
22130 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22131
22132         [BZ #15264]
22133         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22134         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22135         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22136
22137 2013-05-02  David S. Miller  <davem@davemloft.net>
22138
22139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22140
22141 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22142
22143         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22144
22145 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22146
22147         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22148
22149 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22150
22151         [BZ #14952]
22152         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22153         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22154         Use __attribute__ ((__gnu_inline__)).
22155         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22156         Don't use __attribute__ ((__gnu_inline__)).
22157
22158 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22159
22160         [BZ #15423]
22161         * math/s_catan.c (__catan): Handle small real or imaginary part of
22162         input specially to avoid spurious underflow.
22163         * math/s_catanf.c (__catanf): Likewise.
22164         * math/s_catanh.c (__catanh): Likewise.
22165         * math/s_catanhf.c (__catanhf): Likewise.
22166         * math/s_catanhl.c (__catanhl): Likewise.
22167         * math/s_catanl.c (__catanl): Likewise.
22168         * math/libm-test.inc (catan_test): Add more tests.
22169         (catanh_test): Likewise.
22170         * sysdeps/i386/fpu/libm-test-ulps: Update.
22171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22172
22173 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22174
22175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22176
22177 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22178
22179         [BZ #15416]
22180         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22181         accurately for denominator in atan2.
22182         * math/s_catanf.c (__catanf): Likewise.
22183         * math/s_catanh.c (__catanh): Likewise.
22184         * math/s_catanhf.c (__catanhf): Likewise.
22185         * math/s_catanhl.c (__catanhl): Likewise.
22186         * math/s_catanl.c (__catanl): Likewise.
22187         * math/libm-test.inc (catan_test): Add more tests.
22188         (catanh_test): Likewise.
22189         * sysdeps/i386/fpu/libm-test-ulps: Update.
22190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22191
22192 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22193
22194         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22195
22196         * benchtests/Makefile (bench): Remove slow benchmarks.
22197         * benchtests/atan-inputs: Add slow benchmark inputs.
22198         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22199         (BENCH_FUNC): Accept variant offset.
22200         (VARIANT): Define.
22201         * benchtests/bench-skeleton.c (main): Run benchmark for each
22202         variant.
22203         * benchtests/cos-inputs: Add slow benchmark inputs.
22204         * benchtests/exp-inputs: Likewise.
22205         * benchtests/pow-inputs: Likewise.
22206         * benchtests/sin-inputs: Likewise.
22207         * benchtests/slowatan-inputs: Remove.
22208         * benchtests/slowatan.c: Remove.
22209         * benchtests/slowcos-inputs: Remove.
22210         * benchtests/slowcos.c: Remove.
22211         * benchtests/slowexp-inputs: Remove.
22212         * benchtests/slowexp.c: Remove.
22213         * benchtests/slowpow-inputs: Remove.
22214         * benchtests/slowpow.c: Remove.
22215         * benchtests/slowsin-inputs: Remove.
22216         * benchtests/slowsin.c: Remove.
22217         * benchtests/slowtan-inputs: Remove.
22218         * benchtests/slowtan.c: Remove.
22219         * benchtests/tan-inputs: Add slow benchmark inputs.
22220         * scripts/bench.pl: Parse comments and directives.
22221
22222         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22223         in CPPFLAGS.
22224         ($(objpfx)bench-%.c): Remove *-ITER.
22225         * benchtests/bench-modf.c: Remove definition of ITER.
22226         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22227         (main): Loop for DURATION seconds instead of fixed number of
22228         iterations.
22229         * scripts/bench.pl: Don't expect iterations in parameters.
22230
22231 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22232
22233         * io/fchdir.c (__fchdir): Renamed from fchdir.
22234         (fchdir): Define as weak alias.
22235
22236 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22237
22238         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22239         (ERRNO_EDOM): Likewise.
22240         (ERRNO_ERANGE): Likewise.
22241         (noErrnoTests): New variable.
22242         (init_max_error): Set errno to 0.
22243         (test_single_errno): New function.
22244         (test_errno): Likewise.
22245         (check_float_internal): Call test_errno.  Set errno to 0.
22246         (check_complex): Refer to errno tests in comment.
22247         (check_int): Call test_errno.  Set errno to 0.
22248         (check_long): Likewise.
22249         (check_bool): Likewise.
22250         (check_longlong): Likewise.
22251         (cos_test): Use ERRNO_* flags for errno tests instead of
22252         check_int.
22253         (expm1_test): Likewise.
22254         (fmod_test): Likewise.
22255         (ilogb_test): Likewise.
22256         (lgamma_test): Likewise.
22257         (pow_test): Likewise.
22258         (remainder_test): Likewise.
22259         (sin_test): Likewise.
22260         (tan_test): Likewise.
22261         (yn_test): Likewise.
22262         (initialize): Set errno to 0.
22263         (main): Print number of errno tests.
22264         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22265
22266 2013-04-29  Andreas Jaeger  <aj@suse.de>
22267
22268         [BZ #15084]
22269         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22270         and RES_USEVC.
22271
22272         [BZ #15085]
22273         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22274         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22275         unimplemented.
22276
22277         [BZ #15380]
22278         * stdlib/random.c (__initstate): Return NULL if
22279         __initstate fails.
22280
22281         [BZ #15086]
22282         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22283         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22284         RES_SNGLKUPREOP.
22285
22286 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22287
22288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22289
22290 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22291
22292         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22293         of individual tests.
22294         (casin_test): Likewise.
22295         (casinh_test): Likewise.
22296
22297 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22298
22299         [BZ #15409]
22300         * math/s_catan.c (__catan): Handle arguments with large real or
22301         imaginary part separately without squaring.
22302         * math/s_catanf.c (__catanf): Likewise.
22303         * math/s_catanh.c (__catanh): Likewise.
22304         * math/s_catanhf.c (__catanhf): Likewise.
22305         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22306         and redefine.
22307         (__catanhl): Handle arguments with large real or imaginary part
22308         separately without squaring.
22309         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22310         and redefine.
22311         (__catanl): Handle arguments with large real or imaginary part
22312         separately without squaring.
22313         * math/libm-test.inc (catan_test): Add more tests.
22314         (catanh_test): Likewise.
22315         * sysdeps/i386/fpu/libm-test-ulps: Update.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22317
22318 2013-04-27  Andreas Jaeger  <aj@suse.de>
22319
22320         [BZ #15007]
22321         * stdlib/stdlib.h: Update guards for qecvt.
22322         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22323         <stdlib.h>.
22324
22325 2013-04-27  Allan McRae  <allan@archlinux.org>
22326
22327         * sysdeps/i386/fpu/libm-test-ulps: Update.
22328
22329 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22330
22331         [BZ #15406]
22332         * math/s_catan.c: Include <float.h>.
22333         (__catan): Ensure underflow exception occurs for underflowed
22334         result.
22335         * math/s_catanf.c: Include <float.h>.
22336         (__catanf): Ensure underflow exception occurs for underflowed
22337         result.
22338         * math/s_catanh.c: Include <float.h>.
22339         (__catanh): Ensure underflow exception occurs for underflowed
22340         result.
22341         * math/s_catanhf.c: Include <float.h>.
22342         (__catanhf): Ensure underflow exception occurs for underflowed
22343         result.
22344         * math/s_catanhl.c: Include <float.h>.
22345         (__catanhl): Ensure underflow exception occurs for underflowed
22346         result.
22347         * math/s_catanl.c: Include <float.h>.
22348         (__catanl): Ensure underflow exception occurs for underflowed
22349         result.
22350         * math/libm-test.inc (catan_test): Add more tests.
22351         (catanh_test): Likewise.
22352
22353         [BZ #15405]
22354         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22355         underflowed result.
22356         * math/s_ccoshf.c (__ccoshf): Likewise.
22357         * math/s_ccoshl.c (__ccoshl): Likewise.
22358         * math/s_csin.c (__csin): Likewise.
22359         * math/s_csinf.c (__csinf): Likewise.
22360         * math/s_csinh.c (__csinh): Likewise.
22361         * math/s_csinhf.c (__csinhf): Likewise.
22362         * math/s_csinhl.c (__csinhl): Likewise.
22363         * math/s_csinl.c (__csinl): Likewise.
22364         * math/libm-test.inc (ccos_test): Add more tests.
22365         (ccosh_test): Likewise.
22366         (csin_test): Likewise.
22367         (csinh_test): Likewise.
22368
22369 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22370
22371         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22372         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22373         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22374         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22375         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22376         powerpc/power5+/fpu folders.
22377         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22378
22379
22380 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22381
22382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22383
22384 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22385
22386         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22387         additions to variable.
22388         [$(config-machine) = x86_64] (modules-names): Likewise.
22389         ($(objpfx)tst-audit3): Remove dependency.
22390         ($(objpfx)tst-audit3.out): Likewise.
22391         ($(objpfx)tst-audit4): Likewise.
22392         ($(objpfx)tst-audit4.out): Likewise.
22393         ($(objpfx)tst-audit5): Likewise.
22394         ($(objpfx)tst-audit5.out): Likewise.
22395         ($(objpfx)tst-audit6): Likewise.
22396         ($(objpfx)tst-audit6.out): Likewise.
22397         ($(objpfx)tst-audit7): Likewise.
22398         ($(objpfx)tst-audit7.out): Likewise.
22399         (tst-audit3-ENV): Remove variable.
22400         (tst-audit4-ENV): Likewise.
22401         (tst-audit5-ENV): Likewise.
22402         (tst-audit6-ENV): Likewise.
22403         (tst-audit7-ENV): Likewise.
22404         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22405         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22406         addition to variable.
22407         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22408         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22409         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22410         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22411         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22412         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22413         tst-audit3, tst-audit4 and tst-audit5.
22414         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22415         tst-audit6 and tst-audit7.
22416         [$(subdir) = elf] (modules-names): Add audit modules for those
22417         tests.
22418         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22419         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22420         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22421         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22422         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22423         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22424         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22425         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22426         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22427         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22428         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22429         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22430         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22431         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22432         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22433         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22434         Likewise.
22435         [$(subdir) = elf && $(config-cflags-avx) = yes]
22436         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22437         [$(subdir) = elf && $(config-cflags-avx) = yes]
22438         (CFLAGS-tst-auditmod4a.c): Likewise.
22439         [$(subdir) = elf && $(config-cflags-avx) = yes]
22440         (CFLAGS-tst-auditmod4b.c): Likewise.
22441         [$(subdir) = elf && $(config-cflags-avx) = yes]
22442         (CFLAGS-tst-auditmod6b.c): Likewise.
22443         [$(subdir) = elf && $(config-cflags-avx) = yes]
22444         (CFLAGS-tst-auditmod6c.c): Likewise.
22445         [$(subdir) = elf && $(config-cflags-avx) = yes]
22446         (CFLAGS-tst-auditmod7b.c): Likewise.
22447         * elf/tst-audit3.c: Move to ...
22448         * sysdeps/x86_64/tst-audit3.c: ... here.
22449         * elf/tst-audit4.c: Move to ...
22450         * sysdeps/x86_64/tst-audit4.c: ... here.
22451         * elf/tst-audit5.c: Move to ...
22452         * sysdeps/x86_64/tst-audit5.c: ... here.
22453         * elf/tst-audit6.c: Move to ...
22454         * sysdeps/x86_64/tst-audit6.c: ... here.
22455         * elf/tst-audit7.c: Move to ...
22456         * sysdeps/x86_64/tst-audit7.c: ... here.
22457         * elf/tst-auditmod3a.c: Move to ...
22458         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22459         * elf/tst-auditmod3b.c: Move to ...
22460         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22461         * elf/tst-auditmod4a.c: Move to ...
22462         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22463         * elf/tst-auditmod4b.c: Move to ...
22464         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22465         * elf/tst-auditmod5a.c: Move to ...
22466         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22467         * elf/tst-auditmod5b.c: Move to ...
22468         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22469         * elf/tst-auditmod6a.c: Move to ...
22470         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22471         * elf/tst-auditmod6b.c: Move to ...
22472         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22473         * elf/tst-auditmod6c.c: Move to ...
22474         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22475         * elf/tst-auditmod7a.c: Move to ...
22476         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22477         * elf/tst-auditmod7b.c: Move to ...
22478         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22479
22480 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22481
22482         [BZ #15366]
22483         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22484         define unconditionally.
22485         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22486         define unconditionally.
22487         (INT8_C, INT16_C, etc.): Likewise.
22488
22489 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22490
22491         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22492         __ehdr_start with hidden visibility.
22493
22494         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22495
22496 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22497
22498         * math/libm-test.inc (cos_test): Use accurate hex constants.
22499         (sincost_test): Likewise.
22500
22501 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22502
22503         * math/libm-test.inc (catan_test): Add more tests.
22504         (catanh_test): Likewise.
22505
22506         * math/s_catanf.c (__catanf): Use suffixed floating-point
22507         constants.
22508         * math/s_catanhf.c (__catanhf): Likewise.
22509         * math/s_catanhl.c (__catanhl): Likewise.
22510         * math/s_catanl.c (__catanl): Likewise.
22511
22512         [BZ #15394]
22513         * math/s_catan.c (__catan): Calculate imaginary part of result
22514         with log1p not log unless computing log of number close to 0.
22515         * math/s_catanf.c (__catanf): Likewise.
22516         * math/s_catanl.c (__catanl): Likewise.
22517         * math/s_catanh.c (__catanh): Calculate real part of result with
22518         log1p not log unless computing log of number close to 0.
22519         * math/s_catanhf.c (__catanhf): Likewise.
22520         * math/s_catanhl.c (__catanhl): Likewise.
22521         * math/libm-test.inc (catan_test): Add more tests.
22522         (catanh_test): Likewise.
22523         * sysdeps/i386/fpu/libm-test-ulps: Update.
22524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22525
22526 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22527
22528         * benchtests/Makefile: Mention files in which fast and slow
22529         paths of math functions are implemented.
22530
22531 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22532
22533         * sysdeps/posix/timespec_get.c: New file.
22534
22535 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22536
22537         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22538         POWER.
22539         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22540         for POWER.
22541         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22542         powerpc/power5/fpu folders.
22543         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22544         * benchtests/Makefile: Add modf testcase.
22545         * benchtests/bench-modf.c: New file: Benchmark test for mo
22546
22547 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22548
22549         [BZ #14888]
22550         * time/Makefile (tests): Add tst-strptime-whitespace.
22551         * time/strptime_l.c (get_number): Use ISSPACE.
22552         (__strptime_internal): Likewise.
22553         * time/tst-strptime-whitespace.c: New test case.
22554
22555 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22556
22557         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22558         member.
22559         (_nss_files_init): Set it here.
22560
22561 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22562
22563         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22564         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22565         unsigned.
22566
22567 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22568
22569         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22570
22571 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22572
22573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22574         size just once.
22575
22576 2013-04-21  David S. Miller  <davem@davemloft.net>
22577
22578         * po/ru.po: Update Russion translation from translation project.
22579
22580 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22581
22582         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22583         and setfsgid.
22584
22585 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22586
22587         * configure.in: Remove i386 configure warning. Remove i386 case.
22588         * configure: Regenerate.
22589         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22590         Add example to error message.
22591         * sysdeps/i386/configure: Regenerate.
22592
22593 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22594
22595         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22596         slowtan.
22597         * benchtests/cos-inputs: New file.
22598         * benchtests/slowcos-inputs: New file.
22599         * benchtests/slowcos.c: New file.
22600         * benchtests/slowtan-inputs: New file.
22601         * benchtests/slowtan.c: New file.
22602         * benchtests/tan-inputs: New file.
22603
22604 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22605
22606         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22607         considered kosher.
22608
22609 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22610
22611         * benchtests/Makefile: Include cppflags-iterator.mk to add
22612         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22613
22614         * Makefile.in (bench-clean): New target.
22615         * benchtests/Makefile (bench-clean): Likewise.
22616
22617 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22618
22619         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22620
22621 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22622
22623         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22624
22625 2013-04-15  Andreas Schwab  <schwab@suse.de>
22626
22627         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22628         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22629         * nscd/pwdcache.c (cache_addpw): Likewise.
22630         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22631         more than recsize.
22632
22633 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634
22635         * benchtests/Makefile (bench): Write all output to
22636         bench-out.tmp together.
22637
22638 2013-04-15  Andreas Schwab  <schwab@suse.de>
22639
22640         * nscd/nscd.c (main): Don't fork again after closing files.
22641
22642 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22643
22644         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22645
22646         * benchtests/Rules (bench-deps): Collect dependencies into a
22647         single variable.  Add Makefile to dependencies.
22648         ($(objpfx)bench-%.c): Depend on bench-deps.
22649
22650 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22651             Xavier Roche  <roche+kml2@exalead.com>
22652
22653         [BZ #15361]
22654         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22655         just that it's a file descriptor.
22656         * manual/llio.texi (Synchronizing AIO Operations): Update description
22657         for EBADF error from aio_fsync.
22658
22659 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22660
22661         * Rules (bench): Move target definition...
22662         * benchtests/Makefile: ... here.
22663
22664 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22665
22666         * math/libm-test.inc (cos_test): Fix PI/2 test.
22667         (sincos_test): Likewise.
22668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22669         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22670
22671 2013-04-11  Andreas Schwab  <schwab@suse.de>
22672
22673         [BZ #13988]
22674         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22675         accept exponent character only when digits were seen.
22676         * stdio-common/Makefile (tests): Add bug26.
22677         * stdio-common/bug26.c: New file.
22678
22679         [BZ #14293]
22680         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22681         non-freeable.
22682
22683 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22684
22685         * Makeconfig (rtld-prefix): Define built linker prefix.
22686         * Rules (run-bench): Use it.
22687         * math/Makefile (run-regen-ulps): Likewise.
22688
22689         * Rules (bench): Remove eval.
22690
22691 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22692             Roland McGrath  <roland@hack.frob.com>
22693             Ondrej Bilka  <neleai@seznam.cz>
22694
22695         [BZ #15346]
22696         * time/getdate.c: Include ctype.h and alloca.h.
22697         (__getdate_r): Trim leading and trailing spaces of input.
22698         * time/tst-getdate.c (tests): Add tests with leading and
22699         trailing spaces.
22700
22701 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22702
22703         [BZ #14280]
22704         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22705         when computing value.
22706
22707 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22708
22709         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22710         Use testrun.sh to run libm tests.
22711
22712         [BZ #15309]
22713         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22714
22715 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22716
22717         [BZ #15264]
22718         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22719
22720 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22721
22722         * Makefile.in (regen-ulps): New target.
22723         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22724         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22725         [ifneq (no,$(PERL)] (regen-ulps): New target.
22726         [ifeq (no,$(PERL)] (regen-ulps): New target.
22727         * math/libm-test.inc (ulps_file_name): Define.
22728         (output_dir): New variable.
22729         (options): Add "output-dir" option.
22730         (parse_opt): Handle 'o' case.
22731         (main): If output_dir is non-NULL use it as a prefix
22732         otherwise use "".
22733         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22734
22735 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22736
22737         [BZ #10060, #10062]
22738         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22739         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22740         fail configure if __sync_val_compare_and_swap is not inlined.
22741         * sysdeps/i386/configure: Regenerate.
22742         * configure.in: Build for i686 when configured for i386.
22743         * configure: Regenerate.
22744         * README: Remove i386 reference.
22745
22746 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22747
22748         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22749         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22750
22751 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22752
22753         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22754         (lmsnanval): New variables.
22755         (F): Add conversion tests.
22756         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22757         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22758
22759         * stdio-common/tstdiomisc.c (F): Properly collect individual
22760         tests' results.
22761
22762         [BZ #14686, #15336]
22763         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22764         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22765         Instead, use input NaN values or generate a qNaN by arithmetic
22766         operation.  Also fix bugs to comply with the standard.
22767         * math/libm-test.inc (remainder_test): Add more tests.
22768
22769         [BZ #15335, #15342]
22770         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22772         input NaN values or generate a qNaN by arithmetic operation.
22773
22774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22775         unreachable code.
22776
22777         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22778         definitions.
22779
22780 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22781
22782         [BZ #14478]
22783         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22784         underflowed result.
22785         * math/s_cexpf.c (__cexpf): Likewise.
22786         * math/s_cexpl.c (__cexpl): Likewise.
22787         * math/libm-test.inc (cexp_test): Add more tests.
22788
22789 2013-04-03  Andreas Schwab  <schwab@suse.de>
22790
22791         [BZ #15330]
22792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22793         order arrays from heap if bigger than alloca cutoff.
22794
22795 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22796
22797         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22798         (SNAN_TESTS_double): Refer to GCC PR56831.
22799         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22800         GCC PR56828.
22801
22802 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22803
22804         * Rules (bench): Move bench.out after the run is complete.
22805
22806         * Rules (bench): Echo currently running benchmark.
22807
22808         * benchtests/Makefile (bench): Add atan and slowatan.
22809         * benchtests/atan-inputs: New file.
22810         * benchtests/slowatan-inputs: New file.
22811         * benchtests/slowatan.c: New file.
22812
22813         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22814         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22815         its value.
22816
22817         [BZ #15305]
22818         * sysdeps/unix/sysv/linux/kernel-features.h
22819         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22820         __ASSUME_XFS_RESTRICTED_CHOWN.
22821         * sysdeps/unix/sysv/linux/pathconf.c
22822         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22823         Save and restore errno.
22824
22825 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22826
22827         [BZ #15327]
22828         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22829         arguments using __kernel_casinh.
22830         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22831         arguments using __kernel_casinhf.
22832         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22833         arguments using __kernel_casinhl.
22834         * math/libm-test.inc (cacosh_test): Add more tests.
22835         * sysdeps/i386/fpu/libm-test-ulps: Update.
22836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837
22838 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22839
22840         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22842
22843         * bench/Makefile (bench): Add sin and slowsin.
22844         * benchtests/sin-inputs: New file.
22845         * benchtests/slowsin-inputs: New file.
22846         * benchtests/slowsin.c: New file.
22847
22848         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22849         (bench): Add slowexp and slowpow.
22850         (exp-ITER): Increase iterations.
22851         (pow-ITER): Likewise.
22852         * benchtests/exp-inputs: Change input.
22853         * benchtests/pow-inputs: Likewise.
22854         * benchtests/slowexp-inputs: New file.
22855         * benchtests/slowexp.c: New file.
22856         * benchtests/slowpow-inputs: New file.
22857         * benchtests/slowpow.c: New file.
22858
22859 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22860
22861         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22862         instructions.
22863         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22864         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22865         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22866         * benchtests/Makefile: Add rint benchtest.
22867         * benchtests/rint-inputs: Input for rint benchtest.
22868
22869 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22870
22871         * Versions.def (libm): Add GLIBC_2.18.
22872         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22873         hidden libm prototypes.
22874         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22875         * math/Makefile (libm-calls): Add s_issignaling.
22876         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22877         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22878         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22879         declaration.
22880         * math/math.h [__USE_GNU] (issignaling): New macro.
22881         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22882         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22883         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22884         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22885         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22886         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22887         * manual/arith.texi (issignaling): New section.
22888         * manual/libm-err-tab.pl (@all_functions): Update comment.
22889         * math/gen-libm-test.pl (parse_args): Apply special handling for
22890         issignaling.
22891         * math/libm-test.inc (print_float, issignaling_test): New
22892         functions.
22893         (check_float_internal): Add issignaling checks.
22894         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22895         default definition.
22896         * sysdeps/powerpc/math-tests.h: New file.
22897         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22898         tests.
22899         * math/test-snan.c (TEST_FUNC): Likewise.
22900
22901 2013-03-30  David S. Miller  <davem@davemloft.net>
22902
22903         * po/de.po: Update from translation team.
22904
22905 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22906
22907         [BZ #10357]
22908         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22909         imaginary part less than 1.0 and real part less than 0.5
22910         specially.
22911         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22912         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22913         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22914         (cacos_test): Add more tests.
22915         (casin_test): Likewise.
22916         (casinh_test): Likewise.
22917         * sysdeps/i386/fpu/libm-test-ulps: Update.
22918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22919
22920 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22921
22922         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22923         ONE with its value.
22924
22925         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22926         (__pow_mp): Replace ONE and MONE with their values.
22927         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22928         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22929         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22930         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22931         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22932         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22933
22934         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22935
22936         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22937         (__pow_mp): Replace ZERO and MZERO with their values.
22938         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22942         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22943         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22944         (__sqr): Likewise.
22945
22946         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22947
22948         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22949
22950 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22951
22952         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22953         Declare with __attribute__ ((weak)).
22954         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22955         Call __call_tls_dtors only if it's not NULL.
22956
22957 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22958
22959         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22960         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22961         magic __ehdr_start linker symbol if it's defined.
22962         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22963         them up here if it was already done.
22964
22965         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22966         (_dl_aux_init): Use const in cast when setting it.
22967         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22968         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22969         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22970
22971         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22972         Declare them here.
22973         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22974         * csu/libc-tls.c: Nor here.
22975         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22976
22977         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22978         (__libc_message): Never call vsyslog.
22979
22980 2013-03-28  Alan Modra  <amodra@gmail.com>
22981
22982         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22983         Define as empty.
22984         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22985         Likewise.
22986
22987 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22988
22989         [BZ #15214]
22990         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22991         underflow.
22992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22993
22994 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22995
22996         [BZ #15304]
22997         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22998         Don't add gid passed as argument.
22999
23000         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23001
23002 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23003
23004         [BZ #15307]
23005         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23006         imaginary part between 1.0 and 1.5 and real part less than 0.5
23007         specially.
23008         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23009         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23010         * math/libm-test.inc (cacos_test): Add more tests.
23011         (casin_test): Likewise.
23012         (casinh_test): Likewise.
23013         * sysdeps/i386/fpu/libm-test-ulps: Update.
23014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23015
23016 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23017
23018         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23019         constants.
23020         (norm): Likewise.
23021         (denorm): Likewise.
23022         (__dbl_mp): Likewise.
23023         (add_magnitudes): Likewise.
23024         (sub_magnitudes): Likewise.
23025         (__add): Likewise.
23026         (__sub): Likewise.
23027         (__mul): Likewise.
23028         (__sqr): Likewise.
23029         (__inv): Likewise.
23030         (__dvd): Likewise.
23031
23032         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23033         commented code.
23034         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23035         (__dubcos): Likewise.
23036         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23037         (__ieee754_acos): Likewise.
23038         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23039         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23040         (__exp1): Likewise.
23041         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23043         (log1): Likewise.
23044         (my_log2): Likewise.
23045         (checkint): Likewise.
23046         * sysdeps/ieee754/dbl-64/e_remainder.c
23047         (__ieee754_remainder): Likewise.
23048         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23049         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23050         (bsloww): Likewise.
23051         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23052
23053         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23054         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23055         MANTISSA_STORE_T to store computations on mantissa.  Use
23056         macros for rounding and division.
23057         (denorm): Likewise.
23058         (__dbl_mp): Likewise.
23059         (add_magnitudes): Likewise.
23060         (sub_magnitudes): Likewise.
23061         (__mul): Likewise.
23062         (__sqr): Likewise.
23063         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23064         powers of two in terms of TWOPOW macro.
23065         (mp_no): Make type of mantissa as MANTISSA_T.
23066         [!RADIXI]: Define RADIXI.
23067         [!TWO52]: Define TWO52.
23068         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23069
23070 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23071
23072         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23073         llroundl symbol when building for PPC32.
23074
23075 2013-03-24  Mark H Weaver  <mhw@netris.org>
23076
23077         * manual/arith.texi (Normalization Functions): Fix prototypes for
23078         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23079
23080 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23081
23082         [BZ #13889]
23083         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23084         high value to check if expl overflow.
23085         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23086         to check for underflow and overflow.
23087         * math/libm-test.inc: Add exp test.
23088
23089 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23090
23091         [BZ #11120]
23092         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23093         with NOT_IN_libc.
23094
23095 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23096
23097         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23098         symbol.
23099
23100 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23101
23102         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23103         wrap blocks consisting of several statements.
23104
23105         * sysdeps/generic/math-tests.h: New file.
23106         * sysdeps/i386/fpu/math-tests.h: Likewise.
23107         * math/test-snan.c: Include it.
23108         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23109
23110 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23111
23112         [BZ #15285]
23113         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23114         (__ieee754_j0l): Do not improve calculations using cos of twice
23115         input for inputs above LDBL_MAX / 2.0L.
23116         (__ieee754_y0l): Likewise.
23117         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23118         (__ieee754_j1l): Do not improve calculations using cos of twice
23119         input for inputs above LDBL_MAX / 2.0L.
23120         (__ieee754_y1l): Likewise.
23121         * math/libm-test.inc (j0_test): Add another test.
23122         (j1_test): Likewise.
23123         (y0_test): Likewise.
23124         (y1_test): Likewise.
23125         * sysdeps/i386/fpu/libm-test-ulps: Update.
23126
23127 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23128
23129         * Rules ($(objpfx)bench-%.c): Include code from a C source
23130         file.
23131
23132 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23133
23134         [BZ #15287]
23135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23136         imaginary part 1.0 and real part less than 0.5 specially.
23137         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23138         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23139         * math/libm-test.inc (cacos_test): Add more tests.
23140         (casin_test): Likewise.
23141         (casinh_test): Likewise.
23142         * sysdeps/i386/fpu/libm-test-ulps: Update.
23143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23144
23145 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23146
23147         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23148         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23149
23150 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23151
23152         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23153         * config.make.in (config-cflags-sse4): Remove variable.
23154         (config-cflags-avx): Likewise.
23155         (config-cflags-sse2avx): Likewise.
23156         (config-cflags-novzeroupper): Likewise.
23157         (config-asflags-i686): Likewise.
23158         (have-mfma4): Likewise.
23159         (have-as-vis3): Likewise.
23160         (MIG): Likewise.
23161         * configure.in (MIG): Do not AC_SUBST.
23162         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23163         (libc_cv_cc_sse4): Do not AC_SUBST.
23164         (libc_cv_cc_avx): Likewise.
23165         (libc_cv_cc_sse2avx): Likewise.
23166         (libc_cv_cc_novzeroupper): Likewise.
23167         (libc_cv_cc_fma4): Likewise.
23168         (libc_cv_as_i686): Likewise.
23169         (libc_cv_sparc_as_vis3): Likewise.
23170         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23171         LIBC_CONFIG_VAR.
23172         (config-asflags-i686): Likewise.
23173         (config-cflags-avx): Likewise.
23174         (config-cflags-sse2avx): Likewise.
23175         (have-mfma4): Likewise.
23176         (config-cflags-novzeroupper): Likewise.
23177         * sysdeps/mach/configure.in (MIG): Likewise.
23178         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23179         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23180         LIBC_CONFIG_VAR.
23181         (config-cflags-avx): Likewise.
23182         (config-cflags-sse2avx): Likewise.
23183         (have-mfma4): Likewise.
23184         (config-cflags-novzeroupper): Likewise.
23185         * configure: Regenerated.
23186         * sysdeps/i386/configure: Likewise.
23187         * sysdeps/mach/configure: Likewise.
23188         * sysdeps/sparc/configure: Likewise.
23189         * sysdeps/x86_64/configure: Likewise.
23190
23191 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23192
23193         [BZ #14812]
23194         * locale/programs/localedef.c (options): Put N_ translation marker
23195         on argument names, not just descriptions.
23196
23197 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23198
23199         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23200
23201 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23202
23203         [BZ #14176]
23204         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23205
23206 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23207
23208         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23209         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23210         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23211         [!BEFORE_ABORT] (before_abort): New function.
23212         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23213         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23214         (writev_for_fatal): New function.
23215         (WRITEV_FOR_FATAL): New macro; call that.
23216         (backtrace_and_maps): New function.
23217         (BEFORE_ABORT): New macro; call that.
23218         (struct str_list): Type removed.
23219         (__libc_message, __libc_fatal): Functions removed.
23220         Include <sysdeps/posix/libc_fatal.c> instead.
23221
23222 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23223
23224         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23225         constants.
23226         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23227         double constants.
23228
23229 2013-03-19  Andreas Schwab  <schwab@suse.de>
23230
23231         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23232         * sysdeps/gnu/configure: Regenerate.
23233
23234         * configure.in: Substitute libc_cv_rtlddir.
23235         * configure: Regenerate.
23236         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23237         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23238         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23239         * elf/Makefile (install-others, CFLAGS-interp.c)
23240         (ldso_install, common-ldd-rewrite): Likewise.
23241         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23242         $(inst_slibdir)/$(rtld-installed-name).
23243         * scripts/rellns-sh: Add -p option.
23244         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23245         for source.
23246
23247 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23248
23249         * manual/nptl.texi: Renamed to ...
23250         * manual/threads.texi: ... this.
23251         * manual/Makefile (chapters): Update.
23252
23253 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23254
23255         [BZ #14812]
23256         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23257         on argument names, not just descriptions.
23258         * malloc/memusagestat.c (options): Likewise.
23259         * nss/getent.c (options): Likewise.
23260
23261 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23262
23263         [BZ #14812]
23264         * iconv/iconv_prog.c (options): Put N_ translation marker
23265         on argument names, not just descriptions.
23266         * iconv/iconvconfig.c (options): Likewise.
23267
23268 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23269
23270         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23271         implementation which is faster on all x86_64 architectures.
23272         Tested on AMD, Intel Nehalem, SNB, IVB.
23273         * sysdeps/x86_64/strnlen.S: Likewise.
23274
23275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23276         Remove all multiarch strlen and strnlen versions.
23277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23278         Remove strlen and strnlen related parts.
23279
23280         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23281         Inline strlen part.
23282         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23283
23284         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23285         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23286         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23287         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23288         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23290
23291 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23292
23293         * manual/memory.texi (Malloc Tunable Parameters):
23294         Sort parameters alphabetically. Add comments for missing entries.
23295
23296 2013-03-17  David S. Miller  <davem@davemloft.net>
23297
23298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23299
23300 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23301
23302         [BZ #15283]
23303         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23304         for arguments at most half maximum finite value.
23305         * math/libm-test.inc (j0_test): Add more tests.
23306         (j1_test): Likewise.
23307         (y0_test): Likewise.
23308         (y1_test): Likewise.
23309         * sysdeps/i386/fpu/libm-test-ulps: Update.
23310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23311
23312         [BZ #14155]
23313         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23314         1 / x and functions P and Q for arguments above 0x1p256L.
23315         (__ieee754_y0l): Likewise.
23316         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23317         (__ieee754_y1l): Likewise.
23318         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23319         (j1_test): Likewise.
23320         (y0_test): Likewise.
23321         (y1_test): Likewise.
23322
23323 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23324
23325         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23326         variable.
23327
23328 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23329
23330         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23331         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23332         zero since it's initialized to EXEC_PAGESIZE.
23333
23334         * sysdeps/unix/sysv/linux/ldsodefs.h
23335         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23336         * sysdeps/generic/ldsodefs.h: ... here.
23337
23338 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23339
23340         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23341
23342         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23343         math/test-snan.c.
23344         * math/test-snan.c: Renamed from
23345         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23346         * math/Makefile (tests): Add test-snan.
23347         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23348         test-powerpc-snan.
23349
23350         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23351         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23352         functions.
23353         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23354         __builtin_nan family of functions.
23355         * math/libm-test.inc (initialize): Initialize qnan_value with
23356         __builtin_nan family of functions.
23357         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23358         Remove variables.
23359         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23360         Remove functions.
23361         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23362         storage class.  Initialize qNaN_var and sNaN_var with
23363         __builtin_nan and __builtin_nans families of functions,
23364         respectively.
23365
23366         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23367         (sqrt_test): Remove duplicate test with qNaN input.
23368         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23369         (round_test, signbit_test, significand_test): Note missing +/-Inf
23370         as well as qNaN tests.
23371
23372         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23373         qNaN_var.  Fix a few strings, too.
23374         * math/libm-test.inc (nan_value): Rename to qnan_value.
23375         * math/gen-libm-test.pl (%beautify): Adjust to that.
23376         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23377         * math/test-misc.c (main): Likewise.
23378         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23379         to __qnan_bytes, and __qnan_union, respectively.
23380         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23381         Likewise.
23382         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23383         and lqnanval, respectively.
23384         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23385         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23386         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23387         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23388
23389         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23390         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23391         doubles.
23392
23393         * math/test-misc.c (main): Fix copy'n'pastos.
23394         * misc/tst-efgcvt.c (special): Likewise.
23395
23396         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23397         Remove declarations.
23398
23399 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23400
23401         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23402         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23403         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23404         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23405
23406 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23407
23408         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23409         macro to return vdso values correctly in IFUNC implementations.
23410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23411         Optimization by using IFUNC.
23412
23413 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23414             Richard Henderson  <rth@redhat.com>
23415             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23416
23417         * Makefile.in (bench): New target.
23418         * NEWS: Mention the benchmark framework.
23419         * Rules (bench): Likewise.
23420         (binaries-bench): Generate binaries for functions to
23421         benchmark.
23422         * benchtests/Makefile: New makefile for benchmark tests.
23423         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23424         programs.
23425         * benchtests/exp-inputs: New input file for EXP function.
23426         * benchtests/pow-inputs: New input file for POW function.
23427         * scripts/bench.pl: New script to generate source files for
23428         benchmark programs.
23429
23430 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23431
23432         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23433         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23434         computations on mantissa.  Use macros for rounding and
23435         division.
23436         (denorm): Likewise.
23437         (__dbl_mp): Likewise.
23438         (add_magnitudes): Likewise.
23439         (sub_magnitudes): Likewise.
23440         (__mul): Likewise.
23441         (__sqr): Likewise.
23442         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23443         powers of two in terms of TWOPOW macro.
23444         (mp_no): Make type of mantissa as MANTISSA_T.
23445         [!RADIXI]: Define RADIXI.
23446         [!TWO52]: Define TWO52.
23447         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23448
23449         * manual/nptl.texi (cindex): Modify threads to pthreads.
23450
23451 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23452
23453         * sysdeps/x86_64/preconfigure: Regenerated.
23454
23455 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23456
23457         [BZ #14155]
23458         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23459         0x1p28 and above.
23460         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23461         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23462         0x1p28 and above.
23463         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23464         * math/libm-test.inc (j0_test): Do not allow one spurious
23465         underflow exception.
23466         (y1_test): Likewise.
23467
23468 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23469
23470         * manual/Makefile (chapters): Add nptl.
23471         * manual/debug.texi (Debugging Support): Add link to Threads
23472         chapter.
23473         * manual/nptl.texi: New file.
23474
23475         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23476
23477 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23478
23479         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23480         for non-NULL pointer before the memory validity test. Pointed
23481         out by Holger Brunck <holger.brunck@keymile.com>.
23482
23483 2013-03-13  Andreas Schwab  <schwab@suse.de>
23484
23485         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23486         instead of .os.
23487
23488 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23489
23490         * timezone/zic.c: Update from tzcode 2013b.
23491
23492 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23493
23494         * manual/install.texi (Configuring and compiling):
23495         Mention i686 and i586.
23496         * INSTALL: Regenerate.
23497
23498 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23499
23500         * sysdeps/init_array/elf-init.c: New file.
23501         * csu/elf-init.c
23502         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23503         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23504
23505         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23506         __gmon_start__ as global, but as static with a .preinit_array pointer.
23507         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23508         * sysdeps/init_array/crti.S: New file, empty except for comments.
23509         * sysdeps/init_array/crtn.S: Likewise.
23510
23511 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23512
23513         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23514         definining bcopy.
23515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23516         Remove Prefer_SSE_for_memop.
23517         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23518         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23519         HAS_PREFER_SSE_FOR_MEMOP.
23520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23521         memset-x86-64.
23522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23523         Remove bzero, memset ifunc support.
23524         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23525         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23526         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23527         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23528
23529 2013-03-11  Andreas Schwab  <schwab@suse.de>
23530
23531         [BZ #15234]
23532         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23533         by SHLIB_COMPAT.
23534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23535         (GLIBC_2.16): Remove pthread_atfork.
23536
23537 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23538
23539         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23540         (ptestcases.h): Likewise.
23541
23542 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23543
23544         * Makeconfig ($(common-objpfx)config.status): Depend on
23545         sysdeps/*/preconfigure{,.in} too.
23546
23547 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23548
23549         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23550         (__free_hook): Use void * instead of __malloc_ptr_t.
23551         (__malloc_hook): Likewise.
23552         (__realloc_hook): Likewise.
23553         (__memalign_hook): Likewise.
23554         (__after_morecore_hook): Likewise.
23555         * malloc/arena.c (save_malloc_hook): Likewise.
23556         (save_free_hook): Likewise.
23557         * malloc/hooks.c (malloc_hook_ini): Likewise.
23558         (realloc_hook_ini): Likewise.
23559         (memalign_hook_ini): Likewise.
23560         * malloc/malloc.c (malloc_hook_ini): Likewise.
23561         (realloc_hook_ini): Likewise.
23562         (memalign_hook_ini): Likewise.
23563         (__free_hook): Likewise.
23564         (__malloc_hook): Likewise.
23565         (__realloc_hook): Likewise.
23566         (__memalign_hook): Likewise.
23567         (__libc_malloc): Likewise.
23568         (__libc_free): Likewise.
23569         (__libc_realloc): Likewise.
23570         (__libc_memalign): Likewise.
23571         (__libc_valloc): Likewise.
23572         (__libc_pvalloc): Likewise.
23573         (__libc_calloc): Likewise.
23574         (__posix_memalign): Likewise.
23575         * malloc/morecore.c (__sbrk): Likewise.
23576         (__default_morecore): Likewise.
23577
23578         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23579
23580         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23581         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23582         __malloc_ptrdiff_t.
23583
23584         * malloc/malloc.h (__malloc_size_t): Remove macro.
23585         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23586         __malloc_size_t.
23587         (old_memalign_hook): Likewise.
23588         (old_realloc_hook): Likewise.
23589         (struct hdr): Likewise.
23590         (flood): Likewise.
23591         (mallochook): Likewise.
23592         (memalignhook): Likewise.
23593         (reallochook): Likewise.
23594         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23595         (tr_old_realloc_hook): Likewise.
23596         (tr_old_memalign_hook): Likewise.
23597         (tr_mallochook): Likewise.
23598         (tr_reallochook): Likewise.
23599         (tr_memalignhook): Likewise.
23600
23601 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23602
23603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23604         default_ldbl_pack and using as default implementation.
23605         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23606         implementation.
23607         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23608         redundant definition.
23609         (ldbl_insert_mantissa): Likewise.
23610         (ldbl_canonicalize): Likewise.
23611         (ldbl_nearbyint): Likewise.
23612         (ldbl_pack): Rename to ldbl_pack_ppc.
23613         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23614         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23615         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23616
23617 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23618
23619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23620         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23621         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23622         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23624         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23625         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23626         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23627
23628 2013-03-07  Andreas Jaeger  <aj@suse.de>
23629
23630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23631         bits/mman-linux.h.
23632
23633 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23634
23635         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23636         Include mpa.h and declare __MPEXP.
23637         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23638         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23639         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23640         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23641         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23642         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23643         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23644
23645         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23646         (__slowpow): Use long double EXPL and LOGL functions to
23647         compute POW.
23648         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23649         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23652         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23653         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23654
23655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23656         intermediate variable to calculate exponent.
23657         (__sqr): Likewise.
23658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23659         Likewise.
23660         (__sqr): Likewise.
23661
23662         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23663         [!NO__SQR]: Define __sqr.
23664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23665         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23666         sysdeps/ieee754/dbl-64/mpa.c.
23667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23668
23669         [BZ #12723]
23670         * posix/Makefile (tests): Add tst-pathconf.
23671         * posix/tst-pathconf.c: New test case.
23672         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23673         _PC_PIPE_BUF.
23674         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23675
23676 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23677
23678         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23679
23680 2013-03-06  Andreas Jaeger  <aj@suse.de>
23681
23682         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23683         definition via __MAP_ANONYMOUS.
23684
23685         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23686         it's not part of Linux headers.
23687
23688         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23689         (MAP_HUGE_MASK): Define.
23690
23691         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23692         Define.
23693         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23695         Define.
23696         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23697         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23698         Define.
23699         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23700         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23701         Define.
23702         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23703
23704         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23705         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23706         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23707         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23708         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23709         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23710
23711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23712         Handle f2fs.
23713
23714         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23715         Handle f2fs and efivarfs.
23716
23717         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23718         f2fs.
23719
23720         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23721         (EFIVARFS_MAGIC): Add.
23722         (F2FS_LINK_MAX): Add.
23723
23724 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23725
23726         * stdio-common/vfprintf.c: Replace __builtin_expect with
23727         __glibc_unlikely.
23728
23729 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23730
23731         [BZ #13550]
23732         * sysdeps/generic/bp-sym.h: Remove file.
23733         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23734         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23735         <bp-sym.h> and <bp-asm.h>.
23736         (__longjmp): Don't use BP_SYM.
23737         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23738         and <bp-asm.h>.
23739         (memcpy): Don't use BP_SYM.
23740         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23741         <bp-sym.h> and <bp-asm.h>.
23742         (memcpy): Don't use BP_SYM.
23743         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23744         <bp-asm.h>.
23745         (memcpy): Don't use BP_SYM.
23746         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23747         <bp-asm.h>.
23748         (memset): Don't use BP_SYM.
23749         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23750         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23751         (__bzero): Don't use BP_SYM.
23752         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23753         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23754         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23755         <bp-sym.h> and <bp-asm.h>.
23756         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23757         pointers.
23758         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23759         <bp-sym.h> and <bp-asm.h>.
23760         (memcpy): Don't use BP_SYM.
23761         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23762         <bp-sym.h> and <bp-asm.h>.
23763         (memset): Don't use BP_SYM.
23764         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23765         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23766         (__bzero): Don't use BP_SYM.
23767         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23768         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23769         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23770         <bp-sym.h> and <bp-asm.h>.
23771         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23772         pointers.
23773         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23774         <bp-sym.h> and <bp-asm.h>.
23775         (memcpy): Don't use BP_SYM.
23776         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23777         <bp-sym.h> and <bp-asm.h>.
23778         (memset): Don't use BP_SYM.
23779         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23780         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23781         (__bzero): Don't use BP_SYM.
23782         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23783         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23784         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23785         <bp-sym.h> and <bp-asm.h>.
23786         (__memchr): Don't use BP_SYM.
23787         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23788         <bp-sym.h> and <bp-asm.h>.
23789         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23790         pointers.
23791         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23792         <bp-sym.h> and <bp-asm.h>.
23793         (memcpy): Don't use BP_SYM.
23794         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23795         <bp-sym.h> and <bp-asm.h>.
23796         (__mempcpy): Don't use BP_SYM.
23797         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23798         <bp-sym.h> and <bp-asm.h>.
23799         (__memrchr): Don't use BP_SYM.
23800         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23801         <bp-sym.h> and <bp-asm.h>.
23802         (memset): Don't use BP_SYM.
23803         (__bzero): Likewise.
23804         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23805         <bp-sym.h> and <bp-asm.h>.
23806         (__rawmemchr): Don't use BP_SYM.
23807         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23808         <bp-sym.h> and <bp-asm.h>.
23809         (__STRCMP): Don't use BP_SYM.
23810         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23811         <bp-sym.h> and <bp-asm.h>.
23812         (strchr): Don't use BP_SYM.
23813         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23814         <bp-sym.h> and <bp-asm.h>.
23815         (__strchrnul): Don't use BP_SYM.
23816         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23817         <bp-sym.h> and <bp-asm.h>.
23818         (strlen): Don't use BP_SYM.
23819         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23820         <bp-sym.h> and <bp-asm.h>.
23821         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23822         pointers.
23823         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23824         <bp-sym.h> and <bp-asm.h>.
23825         (__strnlen): Don't use BP_SYM.
23826         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23827         <bp-sym.h> and <bp-asm.h>.
23828         (__GI__setjmp): Don't use BP_SYM.
23829         (_setjmp): Likewise.
23830         (__sigsetjmp): Likewise.
23831         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23832         (L(start_addresses)): Don't use BP_SYM.
23833         (_start): Likewise.
23834         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23835         <bp-asm.h>.
23836         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23837         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23838         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23839         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23840         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23841         <bp-asm.h>.
23842         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23843         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23844         about bounded pointers.
23845         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23846         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23847         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23848         <bp-asm.h>.
23849         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23850         about bounded pointers.  Remove GKM FIXME comments.
23851         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23852         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23853         <bp-asm.h>.
23854         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23855         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23856         Remove GKM FIXME comments.
23857         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23858         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23859         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23860         <bp-asm.h>.
23861         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23862         about bounded pointers.  Remove GKM FIXME comment.
23863         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23864         and <bp-asm.h>.
23865         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23866         pointers.
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23868         <bp-sym.h> and <bp-asm.h>.
23869         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23871         <bp-sym.h> and <bp-asm.h>.
23872         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23873         comment.
23874
23875 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23876
23877         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23878         call free(NULL).
23879
23880 2013-03-05  David S. Miller  <davem@davemloft.net>
23881
23882         * po/es.po: Update from translation team.
23883
23884 2013-03-05  Andreas Jaeger  <aj@suse.de>
23885
23886         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23887         <bits/mman-linux.h>.
23888         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23889         is fine.
23890         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23891         <bits/mman-linux.h> to end of file.
23892         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23893         is fine.
23894         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23895         <bits/mman-linux.h> to end of file.
23896         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23897         is fine.
23898         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23899         <bits/mman-linux.h> to end of file.
23900
23901         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23902         (MCL_CURRENT, MCL_FUTURE): Define here.
23903
23904 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23905
23906         [BZ #15232]
23907         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23908         attribute_hidden.
23909         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23910
23911 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23912
23913         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23914         fourth parameter needed for rt_sigprocmask syscall.
23915         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23916         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23917         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23918         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23919         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23920         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23921
23922 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23923
23924         [BZ #13550]
23925         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23926         comment about bounded pointers.
23927         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23928         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23929
23930 2013-03-04  Andreas Jaeger  <aj@suse.de>
23931
23932         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23933         common definitions.
23934
23935         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23936         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23937         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23938         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23939         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23940         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23941
23942 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23943
23944         [BZ #15055]
23945         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23946         __ieee754_sqrl instead of __sqrl.
23947
23948 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23949
23950         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23951         * sysdeps/powerpc/fpu_control.h: ... here.
23952         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23953         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23954         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23955         * sysdeps/powerpc/bits/mathinline.h: ... here.
23956
23957 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23958
23959         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23960         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23961         to just [NEED_DL_SYSINFO_DSO].
23962         * elf/dl-support.c: Likewise.
23963         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23964         * elf/rtld.c (dl_main): Likewise.
23965         * elf/setup-vdso.h (setup_vdso): Likewise.
23966         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23967         * sysdeps/unix/sysv/linux/dl-sysdep.c
23968         (_dl_discover_osversion): Likewise.
23969
23970 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23971
23972         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23973         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23974
23975 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23976
23977         * NEWS: Mention libm performance improvements and non-x86 PI
23978         futex support.
23979
23980         * csu/libc-start.c (__pthread_initialize_minimal): Change
23981         function arguments.
23982         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23983
23984 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23985
23986         [BZ #13550]
23987         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23988         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23989         <bp-sym.h> and <bp-asm.h>.
23990         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23991         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23992         and <bp-asm.h>.
23993         (memcpy): Don't use BP_SYM.
23994         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23995         <bp-asm.h>.
23996         (__mpn_add_n): Don't use BP_SYM.
23997         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23998         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23999         and <bp-asm.h>.
24000         (__mpn_addmul_1): Don't use BP_SYM.
24001         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24002         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24003         <bp-sym.h>.
24004         (_setjmp): Don't use BP_SYM.
24005         (__novmx_setjmp): Likewise.
24006         (__GI__setjmp): Likewise.
24007         (__vmx_setjmp): Likewise.
24008         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24009         <bp-sym.h>.
24010         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24011         (__bzero): Don't use BP_SYM.
24012         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24013         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24014         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24015         <bp-sym.h> and <bp-asm.h>.
24016         (memcpy): Don't use BP_SYM.
24017         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24018         <bp-sym.h> and <bp-asm.h>.
24019         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24020         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24021         <bp-sym.h> and <bp-asm.h>.
24022         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24023         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24024         <bp-asm.h>.
24025         (__mpn_lshift): Don't use BP_SYM.
24026         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24027         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24028         <bp-asm.h>.
24029         (memset): Don't use BP_SYM.
24030         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24031         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24032         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24033         <bp-asm.h>.
24034         (__mpn_mul_1): Don't use BP_SYM.
24035         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24036         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24037         <bp-sym.h> and <bp-asm.h>.
24038         (memcmp): Don't use BP_SYM.
24039         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24040         <bp-sym.h> and <bp-asm.h>.
24041         (memcpy): Don't use BP_SYM.
24042         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24043         <bp-sym.h> and <bp-asm.h>.
24044         (memset): Don't use BP_SYM.
24045         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24046         <bp-sym.h> and <bp-asm.h>.
24047         (strncmp): Don't use BP_SYM.
24048         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24049         <bp-sym.h> and <bp-asm.h>.
24050         (memcpy): Don't use BP_SYM.
24051         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24052         <bp-sym.h> and <bp-asm.h>.
24053         (memset): Don't use BP_SYM.
24054         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24055         <bp-sym.h> and <bp-asm.h>.
24056         (__memchr): Don't use BP_SYM.
24057         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24058         <bp-sym.h> and <bp-asm.h>.
24059         (memcmp): Don't use BP_SYM.
24060         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24061         <bp-sym.h> and <bp-asm.h>.
24062         (memcpy): Don't use BP_SYM.
24063         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24064         <bp-sym.h> and <bp-asm.h>.
24065         (__mempcpy): Don't use BP_SYM.
24066         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24067         <bp-sym.h> and <bp-asm.h>.
24068         (__memrchr): Don't use BP_SYM.
24069         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24070         <bp-sym.h> and <bp-asm.h>.
24071         (memset): Don't use BP_SYM.
24072         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24073         <bp-sym.h> and <bp-asm.h>.
24074         (__rawmemchr): Don't use BP_SYM.
24075         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24076         <bp-sym.h> and <bp-asm.h>.
24077         (__STRCMP): Don't use BP_SYM.
24078         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24079         <bp-sym.h> and <bp-asm.h>.
24080         (strchr): Don't use BP_SYM.
24081         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24082         <bp-sym.h> and <bp-asm.h>.
24083         (__strchrnul): Don't use BP_SYM.
24084         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24085         <bp-sym.h> and <bp-asm.h>.
24086         (strlen): Don't use BP_SYM.
24087         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24088         <bp-sym.h> and <bp-asm.h>.
24089         (strncmp): Don't use BP_SYM.
24090         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24091         <bp-sym.h> and <bp-asm.h>.
24092         (__strnlen): Don't use BP_SYM.
24093         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24094         <bp-asm.h>.
24095         (__mpn_rshift): Don't use BP_SYM.
24096         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24097         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24098         <bp-sym.h> and <bp-asm.h>.
24099         (__sigsetjmp): Don't use BP_SYM.
24100         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24101         (L(start_addresses)): Don't use BP_SYM.
24102         (_start): Likewise.
24103         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24104         <bp-asm.h>.
24105         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24106         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24107         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24108         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24109         <bp-asm.h>.
24110         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24111         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24112         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24113         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24114         <bp-asm.h>.
24115         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24116         comments.
24117         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24118         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24119         <bp-asm.h>.
24120         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24121         FIXME comments.
24122         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24123         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24124         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24125         <bp-asm.h>.
24126         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24127         comment.
24128         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24129         and <bp-asm.h>.
24130         (strncmp): Don't use BP_SYM,
24131         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24132         <bp-asm.h>.
24133         (__mpn_sub_n): Don't use BP_SYM.
24134         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24135         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24136         and <bp-asm.h>.
24137         (__mpn_submul_1): Don't use BP_SYM.
24138         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24140         <bp-sym.h> and <bp-asm.h>.
24141         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24143         <bp-sym.h> and <bp-asm.h>.
24144         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24145         comment.
24146
24147 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24148
24149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24150         Use ZK to minimize writes to Z.
24151         (sub_magnitudes): Simplify code a bit.
24152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24153         Use ZK to minimize writes to Z.
24154         (sub_magnitudes): Simplify code a bit.
24155
24156 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24157
24158         * csu/gmon-start.c: Add special exception to license text.
24159
24160 2013-02-27  Richard Henderson  <rth@redhat.com>
24161
24162         * scripts/config.guess: Update from config.git.
24163         * scripts/config.sub: Likewise.
24164
24165 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24166
24167         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24168
24169         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24170
24171         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24172
24173         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24174
24175         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24176
24177 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24178
24179         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24180         [$(build-shared = yes].
24181
24182 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24183
24184         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24185         (__mul): Reduce iterations for calculating mantissa.
24186
24187         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24188         MPTWO.
24189         (__mpranred): Likewise.
24190
24191         [BZ #15160]
24192         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24193         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24194
24195 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24196
24197         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24198         Define __attribute__.
24199
24200 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24201
24202         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24203         unused.
24204         * posix/regex_internal.h (__attribute): Remove.
24205         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24206         (re_string_context_at): Likewise.
24207         (bitset_not): Use __attribute__ and mark function as possibly
24208         unused.
24209         (bitset_merge): Likewise.
24210         (bitset_mask): Likewise.
24211         (re_string_char_size_at): Likewise.
24212         (re_string_wchar_at): Likewise.
24213         (re_string_elem_size_at): Likewise.
24214
24215 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24216
24217         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24218         code.
24219         (cc32): Likewise.
24220
24221         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24222         (__acr): Likewise.
24223         (__cpy): Likewise.
24224         (norm): Likewise.
24225         (denorm): Likewise.
24226         (__dbl_mp): Likewise.
24227         (add_magnitudes): Likewise.
24228         (sub_magnitudes): Likewise.
24229         (__mul): Likewise.
24230         (__inv): Likewise.
24231
24232         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24233         style.
24234
24235         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24236         style.
24237
24238         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24239         code.
24240
24241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24242         up changes with default code.
24243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24244         Likewise.
24245
24246 2013-02-24  Allan McRae  <allan@archlinux.org>
24247
24248         * manual/socket.texi (The Internet Namespace): Order menu items
24249         to match that in the file.
24250
24251         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24252         node listing of the info page menu.
24253
24254 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24255
24256         [BZ #13550]
24257         * sysdeps/i386/bp-asm.h: Remove file.
24258         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24259         (PARMS): Do not use macros from bp-asm.h.
24260         (S1): Likewise.
24261         (S2): Likewise.
24262         (SIZE): Likewise.
24263         (__mpn_add_n): Do not use BP_SYM
24264         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24265         "bp-asm.h".
24266         (PARMS): Do not use macros from bp-asm.h.
24267         (S1): Likewise.
24268         (SIZE): Likewise.
24269         (__mpn_addmul_1): Do not use BP_SYM
24270         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24271         "bp-asm.h".
24272         (PARMS): Do not use macros from bp-asm.h.
24273         (SIGMSK): Likewise.
24274         (_setjmp): Likewise.  Do not use BP_SYM.
24275         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24276         "bp-asm.h".
24277         (PARMS): Do not use macros from bp-asm.h.
24278         (SIGMSK): Likewise.
24279         (setjmp): Likewise.  Do not use BP_SYM.
24280         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24281         "bp-asm.h".
24282         (PARMS): Do not use macros from bp-asm.h.
24283         (__frexp): Do not use BP_SYM.
24284         (frexp): Likewise.
24285         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24286         "bp-asm.h".
24287         (PARMS): Do not use macros from bp-asm.h.
24288         (__frexpf): Do not use BP_SYM.
24289         (frexpf): Likewise.
24290         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24291         "bp-asm.h".
24292         (PARMS): Do not use macros from bp-asm.h.
24293         (__frexpl): Do not use BP_SYM.
24294         (frexpl): Likewise.
24295         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24296         "bp-asm.h".
24297         (PARMS): Do not use macros from bp-asm.h.
24298         (__remquo): Do not use BP_SYM.
24299         (remquo): Likewise.
24300         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24301         "bp-asm.h".
24302         (PARMS): Do not use macros from bp-asm.h.
24303         (__remquof): Do not use BP_SYM.
24304         (remquof): Likewise.
24305         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24306         "bp-asm.h".
24307         (PARMS): Do not use macros from bp-asm.h.
24308         (__remquol): Do not use BP_SYM.
24309         (remquol): Likewise.
24310         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24311         "bp-asm.h".
24312         (PARMS): Do not use macros from bp-asm.h.
24313         (DEST): Likewise.
24314         (SRC): Likewise.
24315         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24316         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24317         "bp-asm.h".
24318         (PARMS): Do not use macros from bp-asm.h.
24319         (strlen): Do not use BP_SYM.
24320         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24321         "bp-asm.h".
24322         (PARMS): Do not use macros from bp-asm.h.
24323         (S1): Likewise.
24324         (S2): Likewise.
24325         (SIZE): Likewise.
24326         (__mpn_add_n): Do not use BP_SYM.
24327         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24328         "bp-asm.h".
24329         (PARMS): Do not use macros from bp-asm.h.
24330         (S1): Likewise.
24331         (SIZE): Likewise.
24332         (__mpn_addmul_1): Do not use BP_SYM.
24333         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24334         weak_alias.
24335         (bzero): Likewise.
24336         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24337         "bp-asm.h".
24338         (PARMS): Do not use macros from bp-asm.h.
24339         (S): Likewise.
24340         (SIZE): Likewise.
24341         (__mpn_lshift): Do not use BP_SYM.
24342         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24343         "bp-asm.h".
24344         (PARMS): Do not use macros from bp-asm.h.
24345         (DEST): Likewise.
24346         (SRC): Likewise.
24347         (LEN): Likewise.
24348         (memcpy): Likewise.  Do not use BP_SYM.
24349         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24350         libc_hidden_def and weak_alias.
24351         (mempcpy): Do not use BP_SYM in weak_alias.
24352         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24353         "bp-asm.h".
24354         (PARMS): Do not use macros from bp-asm.h.
24355         (DEST): Likewise.
24356         (LEN): Likewise.
24357         [!BZERO_P] (CHR): Likewise.
24358         (memset): Likewise.  Do not use BP_SYM.
24359         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24360         "bp-asm.h".
24361         (PARMS): Do not use macros from bp-asm.h.
24362         (S1): Likewise.
24363         (SIZE): Likewise.
24364         (__mpn_mul_1): Do not use BP_SYM.
24365         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24366         "bp-asm.h".
24367         (PARMS): Do not use macros from bp-asm.h.
24368         (S): Likewise.
24369         (SIZE): Likewise.
24370         (__mpn_rshift): Do not use BP_SYM.
24371         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24372         "bp-asm.h".
24373         (PARMS): Do not use macros from bp-asm.h.
24374         (STR): Likewise.
24375         (CHR): Likewise.
24376         (strchr): Likewise.  Do not use BP_SYM.
24377         (index): Do not use BP_SYM in weak_alias.
24378         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24379         "bp-asm.h".
24380         (PARMS): Do not use macros from bp-asm.h.
24381         (DEST): Likewise.
24382         (SRC): Likewise.
24383         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24384         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24385         "bp-asm.h".
24386         (PARMS): Do not use macros from bp-asm.h.
24387         (strlen): Do not use BP_SYM.
24388         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24389         "bp-asm.h".
24390         (PARMS): Do not use macros from bp-asm.h.
24391         (S1): Likewise.
24392         (S2): Likewise.
24393         (SIZE): Likewise.
24394         (__mpn_sub_n): Do not use BP_SYM.
24395         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24396         "bp-asm.h".
24397         (PARMS): Do not use macros from bp-asm.h.
24398         (S1): Likewise.
24399         (SIZE): Likewise.
24400         (__mpn_submul_1): Do not use BP_SYM.
24401         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24402         "bp-asm.h".
24403         (PARMS): Do not use macros from bp-asm.h.
24404         (S1): Likewise.
24405         (S2): Likewise.
24406         (SIZE): Likewise.
24407         (__mpn_add_n): Do not use BP_SYM.
24408         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24409         weak_alias.
24410         (bzero): Likewise.
24411         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24412         "bp-asm.h".
24413         (PARMS): Do not use macros from bp-asm.h.
24414         (BLK2): Likewise.
24415         (LEN): Likewise.
24416         (memcmp): Do not use BP_SYM.
24417         (bcmp): Do not use BP_SYM in weak_alias.
24418         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24419         "bp-asm.h".
24420         (PARMS): Do not use macros from bp-asm.h.
24421         (DEST): Likewise.
24422         (SRC): Likewise.
24423         (LEN): Likewise.
24424         (memcpy): Likewise.  Do not use BP_SYM.
24425         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24426         "bp-asm.h".
24427         (PARMS): Do not use macros from bp-asm.h.
24428         (DEST): Likewise.
24429         (SRC): Likewise.
24430         (LEN): Likewise.
24431         (memmove): Likewise.  Do not use BP_SYM.
24432         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24433         "bp-asm.h".
24434         (PARMS): Do not use macros from bp-asm.h.
24435         (DEST): Likewise.
24436         (SRC): Likewise.
24437         (LEN): Likewise.
24438         (__mempcpy): Likewise.  Do not use BP_SYM.
24439         (mempcpy): Do not use BP_SYM in weak_alias.
24440         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24441         "bp-asm.h".
24442         (PARMS): Do not use macros from bp-asm.h.
24443         (DEST): Likewise.
24444         (LEN): Likewise.
24445         [!BZERO_P] (CHR): Likewise.
24446         (memset): Likewise.  Do not use BP_SYM.
24447         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24448         "bp-asm.h".
24449         (PARMS): Do not use macros from bp-asm.h.
24450         (STR2): Likewise.
24451         (strcmp): Do not use BP_SYM.
24452         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24453         "bp-asm.h".
24454         (PARMS): Do not use macros from bp-asm.h.
24455         (STR): Likewise.
24456         (DELIM): Likewise.
24457         [USE_AS_STRTOK_R] (SAVE): Likewise.
24458         (FUNCTION): Likewise.  Do not use BP_SYM.
24459         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24460         aliases.
24461         (strtok_r): Likewise.
24462         (__GI___strtok_r): Likewise.
24463         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24464         (PARMS): Do not use macros from bp-asm.h.
24465         (S): Likewise.
24466         (SIZE): Likewise.
24467         (__mpn_lshift): Do not use BP_SYM.
24468         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24469         (PARMS): Do not use macros from bp-asm.h.
24470         (STR): Likewise.
24471         (CHR): Likewise.
24472         (__memchr): Do not use BP_SYM.
24473         (memchr): Do not use BP_SYM in weak_alias.
24474         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24475         (PARMS): Do not use macros from bp-asm.h.
24476         (BLK2): Likewise.
24477         (LEN): Likewise.
24478         (memcmp): Do not use BP_SYM.
24479         (bcmp): Do not use BP_SYM in weak_alias.
24480         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24481         (PARMS): Do not use macros from bp-asm.h.
24482         (S1): Likewise.
24483         (SIZE): Likewise.
24484         (__mpn_mul_1): Do not use BP_SYM.
24485         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24486         "bp-asm.h".
24487         (PARMS): Do not use macros from bp-asm.h.
24488         (STR): Likewise.
24489         (CHR): Likewise.
24490         (__rawmemchr): Do not use BP_SYM.
24491         (rawmemchr): Do not use BP_SYM in weak_alias.
24492         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24493         (PARMS): Do not use macros from bp-asm.h.
24494         (S): Likewise.
24495         (SIZE): Likewise.
24496         (__mpn_rshift): Do not use BP_SYM.
24497         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24498         (PARMS): Do not use macros from bp-asm.h.
24499         (SIGMSK): Likewise.
24500         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24501         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24502         (_start): Do not use BP_SYM.
24503         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24504         (PARMS): Do not use macros from bp-asm.h.
24505         (DEST): Likewise.
24506         (SRC): Likewise.
24507         (__stpcpy): Likewise.  Do not use BP_SYM.
24508         (stpcpy): Do not use BP_SYM in weak_alias.
24509         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24510         "bp-asm.h".
24511         (PARMS): Do not use macros from bp-asm.h.
24512         (DEST): Likewise.
24513         (SRC): Likewise.
24514         (LEN): Likewise.
24515         (__stpncpy): Likewise.  Do not use BP_SYM.
24516         (stpncpy): Do not use BP_SYM in weak_alias.
24517         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24518         (PARMS): Do not use macros from bp-asm.h.
24519         (STR): Likewise.
24520         (CHR): Likewise.
24521         (strchr): Likewise.  Do not use BP_SYM.
24522         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24523         "bp-asm.h".
24524         (PARMS): Do not use macros from bp-asm.h.
24525         (STR): Likewise.
24526         (CHR): Likewise.
24527         (__strchrnul): Likewise.  Do not use BP_SYM.
24528         (strchrnul): Do not use BP_SYM in weak_alias.
24529         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24530         "bp-asm.h".
24531         (PARMS): Do not use macros from bp-asm.h.
24532         (STOP): Likewise.
24533         (strcspn): Do not use BP_SYM.
24534         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24535         "bp-asm.h".
24536         (PARMS): Do not use macros from bp-asm.h.
24537         (STR): Likewise.
24538         (STOP): Likewise.
24539         (strpbrk): Likewise.  Do not use BP_SYM.
24540         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24541         "bp-asm.h".
24542         (PARMS): Do not use macros from bp-asm.h.
24543         (STR): Likewise.
24544         (CHR): Likewise.
24545         (strrchr): Likewise.  Do not use BP_SYM.
24546         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24547         (PARMS): Do not use macros from bp-asm.h.
24548         (SKIP): Likewise.
24549         (strspn): Do not use BP_SYM.
24550         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24551         (PARMS): Do not use macros from bp-asm.h.
24552         (STR): Likewise.
24553         (DELIM): Likewise.
24554         (SAVE): Likewise.
24555         (FUNCTION): Likewise.  Do not use BP_SYM.
24556         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24557         aliases.
24558         (strtok_r): Likewise.
24559         (__GI___strtok_r): Likewise.
24560         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24561         (PARMS): Do not use macros from bp-asm.h.
24562         (S1): Likewise.
24563         (S2): Likewise.
24564         (SIZE): Likewise.
24565         (__mpn_sub_n): Do not use BP_SYM.
24566         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24567         "bp-asm.h".
24568         (PARMS): Do not use macros from bp-asm.h.
24569         (S1): Likewise.
24570         (SIZE): Likewise.
24571         (__mpn_submul_1): Do not use BP_SYM.
24572         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24573         <bp-sym.h>.
24574         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24575         and <bp-asm.h>.
24576         (PARMS): Do not use macros from bp-asm.h.
24577         (FLAGS): Likewise.
24578         (PTID): Likewise.
24579         (TLS): Likewise.
24580         (CTID): Likewise.
24581         (__clone): Do not use BP_SYM.
24582         (clone): Do not use BP_SYM in weak_alias.
24583         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24584         and <bp-asm.h>.
24585         (PARMS): Do not use macros from bp-asm.h.
24586         (LEN): Likewise.
24587         (__mmap64): Do not use BP_SYM.
24588         (mmap64): Do not use BP_SYM in weak_alias.
24589         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24590         <bp-sym.h> and <bp-asm.h>.
24591         (PARMS): Do not use macros from bp-asm.h.
24592         (__posix_fadvise64_l64): Do not use BP_SYM.
24593         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24594         (PARMS): Do not use macros from bp-asm.h.
24595         (NSOPS): Likewise.
24596         (semtimedop): Do not use BP_SYM.
24597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24598         and <bp-asm.h>.
24599
24600 2013-02-21  Allan McRae  <allan@archlinux.org>
24601
24602         * manual/message.texi (Charset conversion in gettext):
24603         Move @end statement to beginning of line.
24604
24605 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24606
24607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24608         static.
24609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24610         Likewise.
24611
24612         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24613         (denorm): Likewise.
24614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24616
24617 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24618
24619         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24620         tail-call to the resolved function if pltexit isn't needed.
24621
24622 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24623
24624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24625         or Y being zero as being unlikely.
24626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24627         Likewise.
24628
24629 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24630
24631         * manual/nss.texi (System Databases and Name Service Switch):
24632         Remove frobnicate @pxref.
24633
24634 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24635
24636         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24637         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24638
24639 2013-02-20  Petr Machata  <pmachata@redhat.com>
24640
24641         * elf/elf.h (R_ARM_TARGET1): New macro.
24642         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24643         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24644         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24645         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24646         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24647         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24648         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24649         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24650         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24651         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24652         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24653         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24654         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24655         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24656         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24657         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24658         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24659         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24660         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24661         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24662         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24663         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24664         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24665         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24666         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24667         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24668         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24669         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24670         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24671         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24672         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24673         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24674         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24675         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24676         (R_ARM_THM_GOT_BREL12): Likewise.
24677         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24678         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24679         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24680         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24681         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24682         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24683         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24684         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24685         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24686
24687 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24688
24689         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24690         __attribute_used__ to __attribute__ ((unused)).
24691
24692 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24693
24694         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24695         powerpc mpa.c.
24696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24697         comment formatting.
24698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24699
24700 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24701
24702         [BZ #13550]
24703         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24704         Remove macro.
24705         (ENTER): Remove both macro definitions.
24706         (LEAVE): Likewise.
24707         (CHECK_BOUNDS_LOW): Likewise.
24708         (CHECK_BOUNDS_HIGH): Likewise.
24709         (CHECK_BOUNDS_BOTH): Likewise.
24710         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24711         (RETURN_BOUNDED_POINTER): Likewise.
24712         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24713         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24714         (POP_ERRNO_LOCATION_RETURN): Likewise.
24715         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24716         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24717         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24718         macros.
24719         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24720         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24721         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24722         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24723         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24724         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24725         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24726         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24727         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24728         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24729         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24730         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24731         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24732         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24733         removed macros.
24734         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24735         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24736         macros.
24737         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24738         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24739         * sysdeps/i386/i586/memset.S (memset): Likewise.
24740         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24741         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24742         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24743         macros.
24744         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24745         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24746         Change uses of L(2) to L(out).
24747         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24748         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24749         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24750         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24751         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24752         removed macros.
24753         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24754         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24755         macros.
24756         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24757         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24758         (RETURN): Do not use macro LEAVE.
24759         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24760         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24761         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24762         * sysdeps/i386/i686/memset.S (memset): Likewise.
24763         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24764         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24765         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24766         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24767         Likewise.
24768         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24769         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24770         L(1_2) and L(1_3) into L(1).
24771         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24772         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24773         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24774         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24775         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24776         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24777         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24778         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24779         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24780         macros.
24781         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24782         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24783         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24784         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24785         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24786         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24787         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24788         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24789         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24790         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24791         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24792         * sysdeps/i386/strspn.S (strspn): Likewise.
24793         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24794         conditional code.
24795         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24796         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24797         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24798         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24799         L(1_3) into L(1_1).
24800         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24801         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24802         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24803         macros.
24804         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24805
24806 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24807
24808         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24809         macro.
24810
24811 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24812
24813         * math/atest-exp.c (exp_mpn): Remove ROUND.
24814         * math/atest-exp2.c (exp_mpn): Likewise.
24815         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24816
24817         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24818         * stdlib/tst-tls-atexit-lib.c: Likewise.
24819         * stdlib/tst-tls-atexit.c: Likewise.
24820
24821 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24822
24823         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24824         and __attribute_alloc_size__.
24825
24826 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24827
24828         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24829         __attribute_alloc_size__.
24830         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24831         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24832
24833 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24834
24835         * include/programs/xmalloc.h: New file.
24836         * catgets/gencat.c: Include it.
24837         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24838         * elf/pldd.c: Likewise.
24839         * iconv/iconv_charmap.c: Likewise.
24840         * iconv/iconvconfig.c: Likewise.
24841         * iconv/strtab.c: Likewise.
24842         * locale/programs/locale.c: Likewise.
24843         * locale/programs/localedef.h: Likewise.
24844         * locale/programs/simple-hash.c: Likewise.
24845         * nscd/nscd.h: Likewise.
24846         * nss/makedb.c: Likewise.
24847         * sysdeps/generic/ldconfig.h: Likewise.
24848
24849 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24850
24851         * Versions.def: Add GLIBC_2.18.
24852         * include/link.h (struct link_map): New member l_tls_dtor_count.
24853         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24854         (__call_tls_dtors): Likewise.
24855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24856         __cxa_thread_atexit_impl.
24857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24858         Likewise.
24859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24860         Likewise.
24861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24862         Likewise.
24863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24864         Likewise.
24865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24867         Likewise.
24868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24869         Likewise.
24870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24872         Likewise.
24873         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24874         (tests): Add test case tst-tls-atexit.
24875         (modules-names): Add shared library for tst-tls-atexit.
24876         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24877         (GLIBC_PRIVATE): Add __call_tls_dtors.
24878         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24879         for libstdc++.
24880         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24881         * stdlib/tst-tls-atexit.c: New test case.
24882         * stdlib/tst-tls-atexit-lib.c: New test case.
24883
24884         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24885
24886         * elf/Versions (ld): Add _dl_find_dso_for_object.
24887         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24888         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24889         (dl_open_worker): Use _dl_find_dso_for_object.
24890         * elf/dl-sym.c (do_sym): Likewise.
24891         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24892
24893 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24894
24895         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24896         Syntactic changes only.
24897         (_dl_runtime_profile): Do a tail-call to the resolved function.
24898
24899 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24900
24901         [BZ #13550]
24902         * sysdeps/x86_64/bp-asm.h: Remove file.
24903         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24904         <bp-sym.h> and <bp-asm.h>.
24905         (__clone): Do not use BP_SYM.
24906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24907         <bp-sym.h> and <bp-asm.h>.
24908         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24909         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24910         "bp-asm.h".
24911         (_setjmp): Do not use BP_SYM.
24912         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24913         "bp-asm.h".
24914         (setjmp): Do not use BP_SYM.
24915         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24916         libc_hidden_def.
24917         (mempcpy): Do not use BP_SYM in weak_alias.
24918         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24919         "bp-asm.h".
24920         (strchr): Do not use BP_SYM.
24921         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24922         "bp-asm.h".
24923         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24924         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24925         (_start): Do not use BP_SYM.
24926         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24927         "bp-asm.h".
24928         (strcat): Do not use BP_SYM.
24929         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24930         "bp-asm.h".
24931         (STRCMP): Do not use BP_SYM.
24932         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24933         "bp-asm.h".
24934         (STRCPY): Do not use BP_SYM.
24935         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24936         "bp-asm.h".
24937         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24938         "bp-asm.h".
24939         (FUNCTION): Do not use BP_SYM.
24940         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24941         weak_alias.
24942         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24943
24944 2013-02-17  Andreas Jaeger  <aj@suse.de>
24945
24946         * time/Versions: Sort entries.
24947         * string/Versions: Likewise.
24948         * resolv/Versions: Likewise.
24949         * posix/Versions: Likewise.
24950         * iconv/Versions: Likewise.
24951         * elf/Versions: Likewise.
24952         * wcsmbs/Versions: Likewise.
24953
24954 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24955
24956         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24957         loop termination condition.
24958
24959         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24960         variable to calculate EZ.
24961         (__sqr): Likewise.
24962
24963         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24964         the lower precision input.
24965
24966 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24967
24968         [BZ #13550]
24969         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24970         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24971         (run-via-rtld-prefix): Do not handle %-bp tests.
24972         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24973         (all-object-suffixes): Remove .ob.
24974         (bppfx): Remove variable.
24975         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24976         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24977         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24978         [$(build-bounded) = yes] (libtype.ob): Likewise.
24979         * Makerules (elide-routines.ob): Remove variable.
24980         (do-tests-clean): Do not handle *-bp.out.
24981         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24982         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24983         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24984         (tests): Do not include $(tests-bp.out).
24985         (xtests): Do not include $(xtests-bp.out).
24986         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24987         [$(build-bounded) = yes] ($(addprefix
24988         $(objpfx),$(binaries-bounded))): Remove rule.
24989         ($(objpfx)%-bp.out): Remove rule.
24990         * config.make.in (build-bounded): Remove variable.
24991         * crypt/Makefile [$(build-bounded) = yes]
24992         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24993         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24994         append to variable.
24995         [$(build-bounded) = yes] (install-lib): Likewise.
24996         [$(build-bounded) = yes] (generated): Likewise.
24997         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24998         Remove rule.
24999         * intl/Makefile [$(build-bounded) = yes]
25000         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25001         * math/Makefile [$(build-bounded) = yes]
25002         ($(tests:%=$(objpfx)%-bp): Likewise.
25003         * misc/Makefile [$(build-bounded) = yes]
25004         ($(objpfx)tst-tsearch-bp): Likewise.
25005         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25006         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25007         Remove dependency.
25008         * string/Makefile (o-objects.ob): Remove variable.
25009         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25010         (CFLAGS-.ob): Remove variable.
25011         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25012         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25013         both definitions of variable.
25014         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25015         (ASFLAGS-.ob): Remove variable.
25016
25017 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25018
25019         [BZ #13550]
25020         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25021         Remove __BOUNDED_POINTERS__ from condition.
25022         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25023         * string/bits/string2.h [!__NO_STRING_INLINES &&
25024         !__BOUNDED_POINTERS__]: Likewise.
25025         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25026         Likewise.
25027         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25028         Remove conditional code.
25029         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25030         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25031         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25032         condition.
25033
25034         [BZ #13550]
25035         * csu/libc-start.c: Do not include <bp-sym.h>.
25036         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25037         * elf/dl-open.c: Do not include <bp-sym.h>.
25038         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25039         * math/fegetenv.c: Do not include <bp-sym.h>.
25040         (fegetenv): Do not use BP_SYM in versioned symbols.
25041         * nptl/sysdeps/pthread/bits/libc-lockP.h
25042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25043         <bp-sym.h>.
25044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25045         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25047         (__pthread_mutex_destroy): Likewise.
25048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25049         (__pthread_mutex_lock): Likewise.
25050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25051         (__pthread_mutex_trylock): Likewise.
25052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25053         (__pthread_mutex_unlock): Likewise.
25054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25055         (__pthread_mutexattr_init): Likewise.
25056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25057         (__pthread_mutexattr_destroy): Likewise.
25058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25059         (__pthread_mutexattr_settype): Likewise.
25060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25061         (__pthread_rwlock_init): Likewise.
25062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25063         (__pthread_rwlock_destroy): Likewise.
25064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25065         (__pthread_rwlock_rdlock): Likewise.
25066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25067         (__pthread_rwlock_tryrdlock): Likewise.
25068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25069         (__pthread_rwlock_wrlock): Likewise.
25070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25071         (__pthread_rwlock_trywrlock): Likewise.
25072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25073         (__pthread_rwlock_unlock): Likewise.
25074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25075         (__pthread_key_create): Likewise.
25076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25077         (__pthread_setspecific): Likewise.
25078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25079         (__pthread_getspecific): Likewise.
25080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25081         Likewise.
25082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25083         (_pthread_cleanup_push_defer): Likewise.
25084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25085         (_pthread_cleanup_pop_restore): Likewise.
25086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25087         (pthread_setcancelstate): Likewise.
25088         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25089         <bp-sym.h>.
25090         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25091         (memchr): Do not use BP_SYM in weak_alias.
25092         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25093         (fegetenv): Do not use BP_SYM in versioned symbols.
25094         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25095         (fesetenv): Do not use BP_SYM in versioned symbols.
25096         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25097         (feupdateenv): Do not use BP_SYM in versioned symbols.
25098         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25099         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25100         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25101         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25102         (open64): Do not use BP_SYM in weak_alias.
25103         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25104         (fegetenv): Do not use BP_SYM in versioned symbols.
25105         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25106         (fesetenv): Do not use BP_SYM in versioned symbols.
25107         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25108         (feupdateenv): Do not use BP_SYM in versioned symbols.
25109         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25110         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25111         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25112         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25113         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25114         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25115         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25116         <bp-sym.h>.
25117         (__libc_start_main): Do not use BP_SYM.
25118
25119 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25120
25121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25122         redundant return line.
25123         (norm): Likewise.
25124         (denorm): Likewise.
25125         (dbl_mp): Likewise.
25126         (sub_magnitudes): Likewise.
25127         (__add): Likewise.
25128         (__sub): Likewise.
25129         (__mul): Likewise.
25130         (__inv): Likewise.
25131         (__dvd): Likewise.
25132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25133         (norm): Likewise.
25134         (denorm): Likewise.
25135         (dbl_mp): Likewise.
25136         (sub_magnitudes): Likewise.
25137         (__add): Likewise.
25138         (__sub): Likewise.
25139         (__mul): Likewise.
25140         (__inv): Likewise.
25141         (__dvd): Likewise.
25142
25143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25144         instead of __mul.
25145         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25146         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25147         (cc32): Likewise.
25148
25149         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25150         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25152         of __mul for squares.
25153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25154         function
25155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25156         Likewise.
25157         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25159
25160 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25161
25162         [BZ #13550]
25163         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25164         code.
25165         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25166         prototype or function definition.  Rename ubp_* variables and
25167         parameters.  Remove argv definitions conditional on
25168         [__BOUNDED_POINTERS__].
25169         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25170         * elf/dl-runtime.c (_dl_fixup): Likewise.
25171         * include/set-hooks.h (RUN_HOOK): Likewise.
25172         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25173         definition.
25174         * string/strcpy.c (strcpy): Do not use __unbounded.
25175         * sysdeps/generic/frame.h (struct layout): Likewise.
25176         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25177         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25178         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25179         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25180         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25181         (__backtrace): Likewise.
25182         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25183         use __ptrvalue.
25184         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25185         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25186         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25187         Likewise.
25188         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25189         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25190         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25191         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25192         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25193         Do not use __unbounded.
25194         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25195         Rename __unboundedrlimits parameter to rlimits in prototype.
25196         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25197         Do not use __unbounded.
25198         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25199         not use __ptrvalue.
25200         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25201         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25202         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25203         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25204         __ptrvalue or __unbounded.
25205         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25206         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25207         use __unbounded.
25208         (__new_msgctl): Do not use __ptrvalue.
25209         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25210         __unbounded.
25211         (__libc_msgrcv): Do not use __ptrvalue.
25212         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25213         startup_info): Do not use __unbounded.
25214         (__libc_start_main): Likewise.  Rename ubp_* variables and
25215         parameters.  Remove argv definitions conditional on
25216         [__BOUNDED_POINTERS__].
25217         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25218         __ptrvalue.
25219         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25220         use __unbounded.
25221         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25222         or __ptrvalue.
25223         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25224         use __unbounded.
25225         (__new_shmctl): Do not use __ptrvalue.
25226         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25227         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25228         Likewise.
25229         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25230         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25231         (__libc_sigaction): Likewise.
25232         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25233         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25234         Likewise.
25235         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25236
25237 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25238
25239         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25240
25241         * string/mempcpy.c: Implement by calling memcpy.
25242
25243 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25244
25245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25246
25247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25248         evaluation.
25249
25250         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25251         values in the mantissa.
25252
25253         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25254         minimize writes to Z.
25255         (sub_magnitudes): Simplify code a bit.
25256
25257 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25258
25259         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25260         from the message.  The linker prefixes all warnings with that already.
25261
25262 2013-02-12  Andreas Schwab  <schwab@suse.de>
25263
25264         [BZ #15078]
25265         * posix/regexec.c (extend_buffers): Add parameter min_len.
25266         (check_matching): Pass minimum needed length.
25267         (clean_state_log_if_needed): Likewise.
25268         (get_subexp): Likewise.
25269         * posix/Makefile (tests): Add bug-regex34.
25270         (bug-regex34-ENV): Define.
25271         * posix/bug-regex34.c: New file.
25272
25273         [BZ #11561]
25274         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25275         elements compare against the byte sequence of it, not its name.
25276         * posix/Makefile (tests): Add bug-regex35.
25277         (bug-regex35-ENV): Define.
25278         * posix/bug-regex35.c: New file.
25279
25280 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25281
25282         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25283         comment.
25284         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25285         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25286         (CHECK_EOL): Add undef.
25287
25288 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25289
25290         * bits/stdlib-bsearch.h: New file.
25291         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25292         * stdlib/stdlib.h: Likewise.
25293
25294 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25295
25296         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25297         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25298         declaration.
25299         * manual/search.texi (Array Search Function): Add missing const in
25300         lfind prototype.
25301         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25302         declaration to use rlim_t.
25303         (Basic Scheduling Functions): Remove erroneous const from
25304         sched_getparam prototype.  Remove erroneous * from
25305         sched_get_priority_max and sched_get_priority_min prototypes.
25306         (Resource Usage): Fix summary @comment on vtimes to refer to
25307         sys/vtimes.h rather than vtimes.h.
25308         Add missing *s in vtimes prototype.
25309         (Limits on Resources): Fix ulimit prototype to return long int.
25310         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25311         prototypes to use long int rather than double.
25312         (BSD Random): Fix initstate and setstate to use char *, not void *.
25313         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25314         prototype to make second argument 'struct aiocb64 *const[]'.
25315         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25316         (Status of AIO Operations): Remove erroneous const in aio_return and
25317         aio_return64 prototypes.
25318         (Synchronizing I/O): Fix sync prototype to return void.
25319         * manual/startup.texi (Suboptions): Remove an erroneous const in
25320         getsubopt prototype.
25321         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25322         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25323         use size_t rather than int.
25324         (Scanning All Users): Likewise for getpwent_r.
25325         (Setting Groups): Add missing const to setgroups prototype.
25326         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25327         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25328         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25329         'const void *' rather than 'const char *'.
25330         (Host Address Functions): Likewise for inet_ntop.
25331         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25332         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25333         ssize_t for return value.
25334         (Sending Data): Likewise for send, sendto, sendmsg.
25335         (Socket Option Functions): Add a missing const in setsockopt prototype.
25336         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25337         use wchar_t for the argument.
25338         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25339         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25340         take no arguments.
25341         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25342         double/float/long double for second argument.
25343         Fix return types of significand, significandf, significandl.
25344         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25345         argument in fchmod prototype.
25346         (File Owner): Use uid_t and gid_t in fchown prototype.
25347         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25348         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25349         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25350         use 'const struct dirent **' as argument types to CMP function pointer
25351         argument.
25352         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25353         (File Times): Fix summary magic @comment for struct utimbuf and utime
25354         to refer to utime.h, not time.h.
25355         * manual/string.texi (Argz Functions): Add missing const in
25356         argz_extract and argz_next prototypes.
25357         (Finding Tokens in a String): Likewise for basename.
25358         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25359         (Copying and Concatenation): Fix typo in wmemmove prototype.
25360         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25361         (Signal Stack): Remove erroneous const in sigstack prototype.
25362         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25363         prototype.
25364         (Simple Calendar Time): Likewise for stime.
25365         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25366         prototype.
25367         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25368         say sys/sysctl.h instead.
25369         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25370         and vsyslog prototypes.
25371
25372 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25373
25374         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25375         Remove.
25376
25377 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25378
25379         * misc/sys/mman.h: Fix typo in mremap comment.
25380
25381 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25382
25383         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25384         the '\0' terminator.
25385
25386 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25387
25388         [BZ #13550]
25389         * debug/segfault.c: Don't include <bp-checks.h>.
25390         * sysdeps/generic/bp-checks.h: Remove file.
25391         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25392         (__GETDENTS): Don't use CHECK_N.
25393         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25394         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25395         (__getgroups): Don't use CHECK_N.
25396         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25397         (setgroups): Don't use CHECK_N.
25398         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25399         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25400         (__libc_msgrcv): Don't use CHECK_N.
25401         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25402         (__libc_msgsnd): Don't use CHECK_N.
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25404         <bp-checks.h>.
25405         (__libc_pread): Don't use CHECK_N.
25406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25407         include <bp-checks.h>.
25408         (__libc_pread64): Don't use CHECK_N.
25409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25410         include <bp-checks.h>.
25411         (__libc_pwrite): Don't use CHECK_N.
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25413         include <bp-checks.h>.
25414         (__libc_pwrite64): Don't use CHECK_N.
25415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25416         <bp-checks.h>.
25417         (__libc_pread): Don't use CHECK_N.
25418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25419         include <bp-checks.h>.
25420         (__libc_pread64): Don't use CHECK_N.
25421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25422         include <bp-checks.h>.
25423         (__libc_pwrite): Don't use CHECK_N.
25424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25425         include <bp-checks.h>.
25426         (__libc_pwrite64): Don't use CHECK_N.
25427         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25428         (do_pread): Don't use CHECK_N.
25429         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25430         (do_pread64): Don't use CHECK_N.
25431         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25432         (do_pwrite): Don't use CHECK_N.
25433         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25434         (do_pwrite64): Don't use CHECK_N.
25435         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25436         (__libc_readv): Don't use CHECK_N.
25437         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25438         (semop): Don't use CHECK_N.
25439         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25440         <bp-checks.h>.
25441         (semtimedop): Don't use CHECK_N.
25442         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25443         (__libc_pread): Don't use CHECK_N.
25444         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25445         <bp-checks.h>.
25446         (__libc_pread64): Don't use CHECK_N.
25447         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25448         <bp-checks.h>.
25449         (__libc_pwrite): Don't use CHECK_N.
25450         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25451         <bp-checks.h>.
25452         (__libc_pwrite64): Don't use CHECK_N.
25453         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25454         <bp-checks.h>.
25455         (__libc_msgrcv): Don't use CHECK_N.
25456         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25457         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25458         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25459         (__libc_writev): Don't use CHECK_N.
25460
25461 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25462
25463         * string/strcpy.c: Removed unused variable.
25464
25465         * Makeconfig (+sysdep-includes): Define with := rather than =.
25466         Use an existing include/ subdir of each sysdeps dir before it.
25467
25468 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25469
25470         * nscd/connection.c (register_traced_file): Comment function.
25471         [HAVE_INOTIFY] (union __inev): Define.
25472         [HAVE_INOTIFY] (inotify_check_files): New function.
25473         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25474         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25475         clear_db_cache.
25476         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25477
25478 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25479
25480         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25481         loaded if not already and that a failure is permanent.
25482
25483 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25484
25485         [BZ #15006]
25486         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25487         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25488
25489 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25490
25491         [BZ #13550]
25492         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25493         (CHECK_1_NULL_OK): Likewise.
25494         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25495         (__fxstat): Do not use CHECK_1.
25496         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25497         <bp-checks.h>.
25498         (___fxstat64): Do not use CHECK_1.
25499         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25500         <bp-checks.h>.
25501         (__fxstatat): Do not use CHECK_1.
25502         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25503         <bp-checks.h>.
25504         (__fxstatat64): Do not use CHECK_1.
25505         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25506         <bp-checks.h>.
25507         (__fxstat): Do not use CHECK_1.
25508         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25509         <bp-checks.h>.
25510         (__fxstatat): Do not use CHECK_1.
25511         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25512         <bp-checks.h>.
25513         (__getresgid): Do not use CHECK_1.
25514         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25515         <bp-checks.h>.
25516         (__getresuid): Do not use CHECK_1.
25517         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25518         <bp-checks.h>.
25519         (__lxstat): Do not use CHECK_1.
25520         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25521         <bp-checks.h>.
25522         (__old_msgctl): Do not use CHECK_1.
25523         (__new_msgctl): Likewise.
25524         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25525         <bp-checks.h>.
25526         (__new_setrlimit): Do not use CHECK_1.
25527         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25528         <bp-checks.h>.
25529         (__old_shmctl): Do not use CHECK_1.
25530         (__new_shmctl): Likewise.
25531         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25532         <bp-checks.h>.
25533         (__xstat): Do not use CHECK_1.
25534         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25535         (__lxstat): Do not use CHECK_1.
25536         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25537         <bp-checks.h>.
25538         (___lxstat64): Do not use CHECK_1.
25539         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25540         (__old_msgctl): Do not use CHECK_1.
25541         (__new_msgctl): Likewise.
25542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25543         <bp-checks.h>.
25544         (__gettimeofday): Do not use CHECK_1.
25545         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25546         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25547         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25548         <bp-checks.h>.
25549         (__gettimeofday): Do not use CHECK_1.
25550         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25551         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25552         (__new_shmctl): Do not use CHECK_1.
25553         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25554         <bp-checks.h>.
25555         (do_sigtimedwait): Do not use CHECK_1.
25556         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25557         <bp-checks.h>.
25558         (do_sigwaitinfo): Do not use CHECK_1.
25559         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25560         <bp-checks.h>.
25561         (msgctl): Do not use CHECK_1.
25562         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25563         <bp-checks.h>.
25564         (shmctl): Do not use CHECK_1.
25565         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25566         (ustat): Do not use CHECK_1.
25567         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25568         <bp-checks.h>.
25569         (__fxstat): Do not use CHECK_1.
25570         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25571         <bp-checks.h>.
25572         (__fxstatat): Do not use CHECK_1.
25573         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25574         <bp-checks.h>.
25575         (__lxstat): Do not use CHECK_1.
25576         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25577         <bp-checks.h>.
25578         (__xstat): Do not use CHECK_1.
25579         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25580         (__xstat): Do not use CHECK_1.
25581         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25582         (___xstat64): Do not use CHECK_1.
25583
25584         [BZ #13550]
25585         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25586         definitions.
25587         (CHECK_BOUNDS_HIGH): Likewise.
25588         * string/strcpy.c: Do not include <bp-checks.h>.
25589         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25590
25591 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25592
25593         * nscd/nscd-client.h (__nscd_drop_map_ref):
25594         Add __attribute__ ((unused)).
25595         * nis/nss-nisplus.h (niserr2nss): Likewise.
25596
25597         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25598         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25599
25600         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25601         Remove inline keyword.
25602         * include/rounding-mode.h (round_away): Likewise.
25603         * libio/wfileops.c (adjust_wide_data): Likewise.
25604         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25605         (__m128i_strloadu_tolower): Likewise.
25606         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25607         (__m128i_strloadu_tolower): Likewise.
25608         * time/mktime.c (ydhms_diff): Likewise.
25609         * locale/elem-hash.h (elem_hash): Likewise.
25610         * locale/setlocale.c (setdata): Likewise.
25611         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25612         (re_string_wchar_at): Likewise.
25613         (bitset_not, bitset_merge, bitset_mask): Likewise.
25614         [!(__GNUC__ > 3)] (inline): Remove macro.
25615         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25616         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25617         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25618         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25619         * string/memcmp.c (memcmp_bytes): Likewise.
25620         * locale/programs/locarchive.c (compute_hashval): Likewise.
25621         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25622         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25623         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25624         * nss/getent.c (print_rpc, print_protocols): Likewise.
25625         (print_passwd, print_group, print_aliases): Likewise.
25626         * nis/nss-nisplus.h (niserr2nss): Likewise.
25627         * nscd/connections.c (restart_p): Likewise.
25628         Change return type to bool.
25629
25630 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25631
25632         * Makeconfig (all-Depend-files): Add existing
25633         $(sorted-subdirs:=/Depend) files.
25634         (all-subdirs): Remove nss.
25635         * sysdeps/unix/inet/Subdirs: Add it here instead.
25636         * hesiod/Depend: New file.
25637
25638         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25639         instead of calling alloca.
25640
25641         * io/lseek.c (__lseek): Rename to __libc_lseek.
25642         Define __lseek as an alias.
25643
25644         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25645
25646 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25647
25648         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25649         else clause and remove check for non-standard endianness.
25650
25651 2013-02-04  David S. Miller  <davem@davemloft.net>
25652
25653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25654
25655 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25656
25657         [BZ #13550]
25658         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25659         (__ubp_memchr): Remove prototype.
25660         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25661         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25662         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25663         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25664         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25665         Remove alias.
25666         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25667         (__ubp_memchr): Likewise.
25668         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25669         (__ubp_memchr): Likewise.
25670         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25671         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25672         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25673         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25674         CHECK_STRING.
25675         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25676         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25677         (__getcwd): Do not use CHECK_STRING.
25678         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25679         <bp-checks.h>.
25680         (__real_chown): Do not use CHECK_STRING.
25681         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25682         <bp-checks.h>.
25683         (fchownat): Do not use CHECK_STRING.
25684         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25685         CHECK_STRING.
25686         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25687         <bp-checks.h>.
25688         (__lchown): Do not use CHECK_STRING.
25689         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25690         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25691         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25692         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25694         include <bp-checks.h>.
25695         (truncate64): Do not use CHECK_STRING.
25696         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25697         <bp-checks.h>.
25698         (__real_chown): Do not use CHECK_STRING.
25699         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25700         <bp-checks.h>.
25701         (__lchown): Do not use CHECK_STRING.
25702         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25703         <bp-checks.h>.
25704         (__chown): Do not use CHECK_STRING.
25705         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25706         <bp-checks.h>.
25707         (truncate64): Do not use CHECK_STRING.
25708         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25709         Likewise.
25710         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25711         (__xmknod): Do not use CHECK_STRING.
25712         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25713         <bp-checks.h>.
25714         (__xmknodat): Do not use CHECK_STRING.
25715         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25716         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25717
25718 2013-02-04  Andreas Schwab  <schwab@suse.de>
25719
25720         [BZ #14142]
25721         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25722         * include/netdb.h: Likewise for h_errno.
25723         * elf/tst-stackguard1.c: Include <tls.h>.
25724
25725 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25726
25727         * elf/link.h (struct link_map): Extend the l_addr comment.
25728         * include/link.h (struct link_map): Likewise.
25729
25730 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25731
25732         [BZ #13550]
25733         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25734         (BOUNDED_1): Remove macro.
25735         * debug/backtrace.c: Don't include <bp-checks.h>.
25736         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25737         (__backtrace): Likewise.
25738         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25739         <bp-checks.h>.
25740         (__backtrace): Don't use BOUNDED_1.
25741         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25742         <bp-checks.h>.
25743         (__backtrace): Don't use BOUNDED_1.
25744         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25745         (__backtrace): Don't use BOUNDED_1.
25746         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25747         (shmat): Don't use BOUNDED_N.
25748
25749 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25750
25751         [BZ #13550]
25752         * sysdeps/generic/bp-start.h: Remove file.
25753         * csu/libc-start.c: Don't include <bp-start.h>.
25754         (LIBC_START_MAIN): Set up __environ directly instead of using
25755         INIT_ARGV_and_ENVIRON.
25756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25757         <bp-start.h>.
25758
25759         [BZ #13550]
25760         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25761         definitions.
25762         (CHECK_FCNTL): Likewise.
25763         (CHECK_N_PAGES): Likewise.
25764
25765         [BZ #13550]
25766         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25767         definitions.
25768         (CHECK_SIGSET_NULL_OK): Likewise.
25769         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25770         <bp-checks.h>.
25771         (sigpending): Don't use CHECK_SIGSET.
25772         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25773         <bp-checks.h>.
25774         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25775         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25776         <bp-checks.h>.
25777         (do_sigsuspend): Don't use CHECK_SIGSET.
25778         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25779         use CHECK_SIGSET.
25780         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25781         (do_sigwait): Don't use CHECK_SIGSET.
25782         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25783         use CHECK_SIGSET.
25784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25785         include <bp-checks.h>.
25786         (sigpending): Don't use CHECK_SIGSET.
25787         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25788         include <bp-checks.h>.
25789         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25790         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25791         <bp-checks.h>.
25792         (sigpending): Don't use CHECK_SIGSET.
25793         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25794         <bp-checks.h>.
25795         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25796
25797         [BZ #13550]
25798         * sysdeps/generic/bp-semctl.h: Remove file.
25799         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25800         <bp-checks.h> and <bp-semctl.h>.
25801         (__old_semctl): Don't use CHECK_SEMCTL.
25802         (__new_semctl): Likewise.
25803         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25804         and <bp-semctl.h>.
25805         (__old_semctl): Don't use CHECK_SEMCTL.
25806         (__new_semctl): Likewise.
25807         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25808         <bp-checks.h> and <bp-semctl.h>.
25809         (__old_semctl): Don't use CHECK_SEMCTL.
25810         (__new_semctl): Likewise.
25811         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25812         <bp-checks.h> and <bp-semctl.h>.
25813         (semctl): Don't use CHECK_SEMCTL.
25814
25815         [BZ #13550]
25816         * Makerules (elide-bp-thunks): Remove variable.
25817         (elide-routines.oS): Don't use $(elide-bp-thunks).
25818         (elide-routines.os): Likewise.
25819         (elide-routines.o): Likewise.
25820         (elide-routines.op): Likewise.
25821         (elide-routines.og): Likewise.
25822         (objects): Don't use $(bp-thunks).
25823         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25824         include.
25825         (common-generated): Do not add s-proto-bp.d.
25826         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25827         (int): Likewise.
25828         (typ): Likewise.
25829         Do not generate makefile rules for bounded-pointer thunks.
25830         * sysdeps/generic/bp-thunks.h: Remove file.
25831         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25832         * sysdeps/unix/s-proto-bp.S: Likewise.
25833
25834         [BZ #15062]
25835         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25836         parts of result separately when argument is not close to line from
25837         -i to i and one part of argument is small.
25838         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25839         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25840         * math/libm-test.inc (cacos_test): Add more tests.
25841         (casin_test): Likewise.
25842         (casinh_test): Likewise.
25843         * sysdeps/i386/fpu/libm-test-ulps: Update.
25844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25845
25846 2013-01-31  David S. Miller  <davem@davemloft.net>
25847
25848         * po/de.po: Update from translation team.
25849
25850 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25851
25852         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25853
25854 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25855
25856         * configure.in (_AC_PROG_CC_C89): New definition.
25857         * configure: Regenerate.
25858
25859         * configure.in (AC_PROG_CPP): New definition.
25860         * configure: Regenerate.
25861
25862 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25863
25864         * debug/tst-backtrace.h: New file.
25865         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25866         (ret): Remove variable.
25867         (x): Likewise.
25868         (FAIL): Remove macro.
25869         (NO_INLINE): Likewise.
25870         (fn1): Use match function instead of strstr.
25871         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25872         (ret): Remove variable.
25873         (x): Likewise.
25874         (FAIL): Remove macro.
25875         (NO_INLINE): Likewise.
25876         (fn): Use match function instead of strstr.
25877         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25878         (ret): Remove variable.
25879         (x): Likewise.
25880         (FAIL): Remove macro.
25881         (NO_INLINE): Likewise.
25882         (handle_signal): Use match function instead of strstr.
25883         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25884         (ret): Remove variable.
25885         (x): Likewise.
25886         (FAIL): Remove macro.
25887         (NO_INLINE): Likewise.
25888         (handle_signal): Use match function instead of strstr.
25889
25890 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25891
25892         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25893
25894 2013-01-23  David S. Miller  <davem@davemloft.net>
25895
25896         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25897         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25898         argument of CAS if possible.
25899         * sysdeps/sparc/sparc64/bits/atomic.h
25900         (__arch_compare_and_exchange_val_32_acq): Likewise.
25901         (__arch_compare_and_exchange_val_64_acq): Likewise.
25902
25903 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25904
25905         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25906         * sysdeps/posix/ulimit.c: ... this.
25907         Include <limits.h>.
25908         * sysdeps/unix/bsd/ulimit.c: Remove file.
25909
25910 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25911
25912         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25913         (LDFLAGS-tst-array5): Likewise.
25914
25915 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25916
25917         [BZ #15036]
25918         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25919         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25920         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25921         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25922
25923 2013-01-21  David S. Miller  <davem@davemloft.net>
25924
25925         * sysdeps/sparc/backtrace.c: New file.
25926         * sysdeps/sparc/sparc32/backtrace.h: New file.
25927         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25928         * sysdeps/sparc/sparc64/backtrace.h: New file.
25929         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25930         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25931         -funwind-tables.
25932
25933 2013-01-21  Andreas Schwab  <schwab@suse.de>
25934
25935         [BZ #15020]
25936         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25937         closed its stdout.
25938
25939 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25940
25941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25942         "mpa2.h".
25943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25944
25945 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25946             Mark Mitchell  <mark@codesourcery.com>
25947             Tom de Vries  <tom@codesourcery.com>
25948             Paul Pluzhnikov  <ppluzhnikov@google.com>
25949
25950         * debug/tst-backtrace2.c: New file.
25951         * debug/tst-backtrace3.c: Likewise.
25952         * debug/tst-backtrace4.c: Likewise.
25953         * debug/tst-backtrace5.c: Likewise.
25954         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25955         (CFLAGS-tst-backtrace3.c): Likewise.
25956         (CFLAGS-tst-backtrace4.c): Likewise.
25957         (CFLAGS-tst-backtrace5.c): Likewise.
25958         (LDFLAGS-tst-backtrace2): Likewise.
25959         (LDFLAGS-tst-backtrace3): Likewise.
25960         (LDFLAGS-tst-backtrace4): Likewise.
25961         (LDFLAGS-tst-backtrace5): Likewise.
25962         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25963         tst-backtrace4 and tst-backtrace5.
25964
25965 2013-01-18  Anton Blanchard  <anton@samba.org>
25966             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25967
25968         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25969         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25970         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25971         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25973         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25974         "+r" and remove output regs list as redundant.  Add explicit inline
25975         asm to specify register of return val to work around compiler codegen
25976         bug.  Remove (int) cast on return value.  Add return type parameter to
25977         use in macro so that this macro does not truncate return value for
25978         64-bit values.
25979         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25980         pass to INTERNAL_VSYSCALL_NCS.
25981         (INLINE_VSYSCALL): Add 'long int' as return type to
25982         INTERNAL_VSYSCALL_NCS macro invocation.
25983         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25984         INTERNAL_VSYSCALL_NCS macro invocation.
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25986
25987 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25988
25989         [BZ #14496]
25990         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25991         Fix application of SIMD FP exception mask.
25992
25993         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25994         mp_no from a power of two.
25995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25996         __mpexp_twomm1.  Use __pow_mp.
25997
25998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25999         multiplication.
26000
26001 2013-01-17  David S. Miller  <davem@davemloft.net>
26002
26003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26004
26005 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26006
26007         [BZ #15023]
26008         * include/complex.h: Condition contents on [!_COMPLEX_H].
26009         (__kernel_casinhf): New prototype.
26010         (__kernel_casinh): Likewise.
26011         (__kernel_casinhl): Likewise.
26012         * math/Makefile (libm_calls): Add k_casinh.
26013         * math/k_casinh.c: New file.
26014         * math/k_casinhf.c: Likewise.
26015         * math/k_casinhl.c: Likewise.
26016         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26017         finite nonzero arguments.
26018         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26019         finite nonzero arguments.
26020         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26021         finite nonzero arguments.
26022         * math/s_casinh.c: Do not include <float.h>.
26023         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26024         * math/s_casinhf.c: Do not include <float.h>.
26025         (__casinhf): Move code for finite nonzero arguments to
26026         k_casinhf.c.
26027         * math/s_casinhl.c: Do not include <float.h>.
26028         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26029         redefine.
26030         (__casinhl): Move code for finite nonzero arguments to
26031         k_casinhl.c.
26032         * math/libm-test.inc (cacos_test): Add more tests.
26033         * sysdeps/i386/fpu/libm-test-ulps: Update.
26034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26035
26036 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26037
26038         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26039         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26040         [!HAVE_MREMAP]: Remove [defined linux] case.
26041         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26042
26043 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26044
26045         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26046
26047 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26048
26049         * elf/elf.h (R_386_SIZE32): New relocation.
26050         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26051         R_386_SIZE32.
26052         (elf_machine_rela): Likewise.
26053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26054         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26055
26056 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26057
26058         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26059         (FP_FAST_FMA): Do not define.
26060         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26061         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26062         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26063         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26064         !_SOFT_FLOAT]: Likewise.
26065         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26066         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26067         value.
26068         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26069         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26070         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26071         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26072         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26073         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26074         file.
26075
26076 2013-01-16  Andreas Schwab  <schwab@suse.de>
26077
26078         [BZ #14327]
26079         * include/stdlib.h (__mktemp): Add declaration.
26080         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26081         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26082
26083 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26084
26085         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26086         definitions.
26087         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26088         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26089         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26090         definitions here.
26091         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26092         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26093         definitions.
26094         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26095         and ONE.
26096         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26097         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26098         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26099         definitions.
26100         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26101         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26102         definitions.
26103         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26104
26105         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26106
26107 2013-01-15  David S. Miller  <davem@davemloft.net>
26108
26109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26110         trunc{,f} to libm-sysdep_routes.
26111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26113         file.
26114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26116         file.
26117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26118         file.
26119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26121         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26122         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26123         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26124         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26125         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26126         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26127
26128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26129         nearbyint{,f} to libm-sysdep_routes.
26130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26132         New file.
26133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26134         file.
26135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26136         New file.
26137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26138         file.
26139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26141         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26142         file.
26143         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26144         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26145         file.
26146         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26147         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26148         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26149
26150         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26151         libc_feholdexcept and libc_fesetenv.
26152
26153 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26154
26155         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26156
26157 2013-01-14  David S. Miller  <davem@davemloft.net>
26158
26159         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26160         (SPARC_ASM_VIS2_IFUNC): Likewise.
26161         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26163         use of 'siam' instruction.
26164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26165         Likewise.
26166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26167         Likewise.
26168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26169         Likewise.
26170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26175         file.
26176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26177         file.
26178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26179         file.
26180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26181         file.
26182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26187         new VIS2 routines.
26188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26191         Likewise.
26192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26197         routines to libm-sysdep_routines.
26198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26199
26200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26201         fdim/fdimf to libm-sysdep_routines.
26202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26203         file.
26204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26206         file.
26207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26210         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26211         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26212         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26213         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26214
26215 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26216
26217         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26218         to optimize copies.
26219
26220         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26223
26224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26225         local variable MPTWO.
26226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26227         Likewise.
26228
26229 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26230
26231         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26232         GLOB_NOESCAPE.
26233
26234 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26235
26236         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26237
26238 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26239
26240         * manual/pattern.texi (glob_t): Document gl_flags.
26241         (glob64_t): Likewise.
26242
26243 2013-01-11  David S. Miller  <davem@davemloft.net>
26244
26245         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26246         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26247         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26248         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26249         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26250         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26251         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26252         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26253         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26254         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26255         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26256         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26257         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26258
26259         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26260         sparc V9 rather than using V8 code.
26261         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26262         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26263
26264         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26265         Move to...
26266         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26267         Here.
26268
26269 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26270
26271         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26272         not in the main loop.
26273         * configure: Regenerated.
26274
26275 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26276
26277         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26278         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26279         to just #else.
26280         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26281         [!__GLIBC_HAVE_LONG_LONG] case.
26282         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26283         condition to just #else.
26284         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26285         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26286         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26287         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26288         unconditional.
26289         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26290         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26291         #elif condition to just #else.
26292         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26293         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26294         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26295         #elif condition to just #else.
26296
26297 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26298
26299         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26300         (EF_MIPS_ARCH_64): Fix value.
26301         (EF_MIPS_ARCH_32R2): New.
26302         (EF_MIPS_ARCH_64R2): New.
26303
26304 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26305
26306         * Makeconfig (+link-pie-before-libc): New.
26307         (+link-pie-after-libc): Likewise.
26308         (+link-pie-tests): Likewise.
26309         (+link-pie): Rewritten.
26310         (link-before-libc): Remove $(config-LDFLAGS).
26311         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26312         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26313         (config-LDFLAGS): Renamed to ...
26314         (rtld-LDFLAGS): This.
26315         (rtld-tests-LDFLAGS): New macro.
26316         (link-libc-rpath-link): Likewise.
26317         (link-libc-tests-rpath-link): Likewise.
26318         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26319         (link-libc): Prepand $(link-libc-rpath-link).
26320         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26321         (test-program-prefix): New macro.
26322         (test-via-rtld-prefix): Likewise.
26323         (test-program-cmd): Likewise.
26324         (host-test-program-cmd): Likewise.
26325         * Makefile ($(common-objpfx)testrun.sh): Replace
26326         $(run-program-prefix) with $(test-program-prefix).
26327         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26328         $(rtld-LDFLAGS).
26329         ($(common-objpfx)shlib.lds): Likewise.
26330         (build-module-helper): Likewise.
26331         ($(common-objpfx)format.lds): Likewise.
26332         * Rules (binaries-pie-tests): New.
26333         (binaries-pie-notests): Likewise.
26334         (binaries-pie): Rewritten.
26335         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26336         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26337         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26338         (make-test-out): Replace $(host-built-program-cmd) with
26339         $(host-test-program-cmd).
26340         * config.make.in (build-hardcoded-path-in-tests): New variable.
26341         * configure.in (--enable-hardcoded-path-in-tests): New configure
26342         option.
26343         (hardcoded_path_in_tests): New AC_SUBST.
26344         * configure: Regenerated.
26345         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26346         $(built-program-cmd) with $(test-program-cmd).
26347         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26348         (test_program_cmd): This.
26349         * elf/Makefile ($(objpfx)order.out): Run test with
26350         $(test-program-prefix).
26351         ($(objpfx)order2.out): Likewise.
26352         ($(objpfx)tst-initorder.out): Likewise.
26353         ($(objpfx)tst-initorder2.out): Likewise.
26354         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26355         $(test-program-cmd).
26356         ($(objpfx)tst-array1-static.out): Likewise.
26357         ($(objpfx)tst-array2.out): Likewise.
26358         ($(objpfx)tst-array3.out): Likewise.
26359         ($(objpfx)tst-array4.out): Likewise.
26360         ($(objpfx)tst-array5.out): Likewise.
26361         ($(objpfx)tst-array5-static.out): Likewise.
26362         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26363         $(test-program-cmd).
26364         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26365         $(run-program-prefix) with $(test-program-prefix).
26366         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26367         (test_program_prefix): This.
26368         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26369         $(run-program-prefix) with $(test-program-prefix).
26370         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26371         (test_program_prefix): This.
26372         * iconvdata/tst-tables.sh: Likewise.
26373         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26374         $(run-program-prefix) with $(test-program-prefix).
26375         ($(objpfx)tst-translit.out): Likewise.
26376         ($(objpfx)tst-gettext2.out): Likewise.
26377         ($(objpfx)tst-gettext4.out): Likewise.
26378         ($(objpfx)tst-gettext6.out): Likewise.
26379         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26380         (test_program_prefix): This.
26381         * intl/tst-gettext2.sh: Likewise.
26382         * intl/tst-gettext4.sh  Likewise.
26383         * intl/tst-gettext6.sh: Likewise.
26384         * intl/tst-translit.sh: Likewise.
26385         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26386         with $(test-program-cmd).
26387         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26388         $(run-program-prefix) with $(test-program-prefix).
26389         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26390         (test_program_prefix): This.
26391         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26392         $(run-program-prefix) with $(test-program-prefix).
26393         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26394         (test_program_prefix): This.
26395         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26396         * posix/Makefile ($(objpfx)globtest.out): Replace
26397         $(run-via-rtld-prefix) and $(test-wrapper) with
26398         $(test-program-prefix) and $(test-via-rtld-prefix).
26399         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26400         $(test-program-prefix).
26401         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26402         $(host-test-program-cmd).
26403         (tst-spawn-ARGS): Likewise.
26404         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26405         $(test-program-prefix).
26406         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26407         (test_via_rtld_prefix): This.
26408         (test_wrapper): Renamed to ...
26409         (test_program_prefix): This.
26410         (run_program_prefix): Replaced by test_program_prefix.
26411         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26412         (test_program_prefix): This.
26413         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26414         with $(host-test-program-cmd).
26415         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26416         $(run-program-prefix) with $(test-program-prefix).
26417         ($(objpfx)tst-printf.out): Likewise.
26418         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26419         $(test-program-cmd).
26420         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26421         (test_program_prefix): This.
26422         * stdio-common/tst-unbputc.sh: Likewise.
26423         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26424         $(run-program-prefix) with $(test-program-prefix).
26425         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26426         (test_program_prefix): This.
26427         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26428         $(built-program-cmd) with $(test-program-cmd).
26429
26430 2013-01-11  Andreas Jaeger  <aj@suse.de>
26431
26432         [BZ #15003]
26433         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26434         value. Sync with Linux 3.7.
26435
26436 2013-01-10  David S. Miller  <davem@davemloft.net>
26437
26438         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26439         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26440         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26441
26442 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26443
26444         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26445         never set.
26446         * configure: Regenerated.
26447
26448 2013-01-10  David S. Miller  <davem@davemloft.net>
26449
26450         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26451         sparc V9 rather than using V8 code.
26452         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26453         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26454
26455 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26456
26457         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26458         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26459         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26460         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26461         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26462         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26463         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26464         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26465         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26466         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26467         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26468         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26469         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26470         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26471         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26472         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26473         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26474         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26475         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26476         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26477         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26478         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26479         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26480         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26481         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26482         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26483         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26484
26485 2013-01-10  David S. Miller  <davem@davemloft.net>
26486
26487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26488
26489 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26490
26491         * posix/Makefile (tests-static): New variable.
26492         (tests): Add $(tests-static).
26493         (tst-exec-static-ARGS): New variable.
26494         (tst-spawn-static-ARGS): Likewise.
26495         * posix/tst-exec-static.c: New file.
26496         * posix/tst-spawn-static.c: Likewise.
26497         * posix/tst-exec.c: Support run directly.
26498         * posix/tst-spawn.c: Likewise.
26499
26500 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26501
26502         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26503         long.
26504         * math/bits/mathcalls.h (llrint): Likewise.
26505         (llround): Likewise.
26506         * stdlib/stdlib.h (struct drand48_data): Likewise.
26507         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26508         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26509         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26510         Likewise.
26511         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26512         Likewise.
26513         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26514         (elf_greg_t): Likewise.
26515         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26516         (__jmp_buf): Likewise.
26517         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26518         definitions.
26519         (llrint): Likewise, for all definitions.
26520         (llrintl): Likewise.
26521
26522         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26523         Remove [__GNUC__] condition.
26524         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26525         condition to just [__USE_ISOC99].
26526         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26527
26528 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26529
26530         [BZ #14200]
26531         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26532         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26533         defined.
26534         (_POSIX_V6_ILP32_OFF32): Likewise.
26535         (_XBS5_ILP32_OFF32): Likewise.
26536         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26537         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26538
26539 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26540
26541         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26542
26543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26544         doubles __mpexp_twomm1.  Adjust usage.
26545         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26546         Remove.
26547
26548 2013-01-10  Andreas Schwab  <schwab@suse.de>
26549
26550         [BZ #14964]
26551         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26552         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26553
26554 2013-01-09  David S. Miller  <davem@davemloft.net>
26555
26556         [BZ #15003]
26557         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26558         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26559         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26560         (TCP_FASTOPEN): Define.
26561         (tcp_repair_opt): New structure.
26562         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26563         enum values.
26564         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26565         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26566         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26567         (tcp_cookie_transactions): New structure.
26568
26569 2013-01-09  Anton Blanchard  <anton@samba.org>
26570
26571         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26572         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26574         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26575
26576 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26577
26578         * include/features.h (__USE_ANSI): Remove.
26579
26580 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26581
26582         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26583
26584         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26585
26586 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26587
26588         * sysdeps/s390/fpu/libm-test-ulps: Update.
26589
26590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26591
26592         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26593         (__acr): Likewise.
26594         (__cpy): Likewise.
26595         (norm): Likewise.
26596         (denorm): Likewise.
26597         (__mp_dbl): Likewise.
26598         (__dbl_mp): Likewise.
26599         (add_magnitudes): Likewise.
26600         (sub_magnitudes): Likewise.
26601         (__add): Likewise.
26602         (__sub): Likewise.
26603         (__mul): Likewise.
26604         (__inv): Likewise.
26605         (__dvd): Likewise.
26606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26607         (__acr): Likewise.
26608         (__cpy): Likewise.
26609         (norm): Likewise.
26610         (denorm): Likewise.
26611         (__mp_dbl): Likewise.
26612         (__dbl_mp): Likewise.
26613         (add_magnitudes): Likewise.
26614         (sub_magnitudes): Likewise.
26615         (__add): Likewise.
26616         (__sub): Likewise.
26617         (__mul): Likewise.
26618         (__inv): Likewise.
26619         (__dvd): Likewise.
26620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26621         (__acr): Likewise.
26622         (__cpy): Likewise.
26623         (norm): Likewise.
26624         (denorm): Likewise.
26625         (__mp_dbl): Likewise.
26626         (__dbl_mp): Likewise.
26627         (add_magnitudes): Likewise.
26628         (sub_magnitudes): Likewise.
26629         (__add): Likewise.
26630         (__sub): Likewise.
26631         (__mul): Likewise.
26632         (__inv): Likewise.
26633         (__dvd): Likewise.
26634
26635 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26636
26637         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26638         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26639         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26640         2 && __USE_EXTERN_INLINES]: Likewise.
26641
26642 2013-01-08  Andreas Jaeger  <aj@suse.de>
26643
26644         [BZ# 14985]
26645         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26646         Remove.
26647         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26648         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26649
26650 2013-01-07  Anton Blanchard  <anton@samba.org>
26651
26652         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26653         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26654         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26655         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26656         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26657         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26658         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26659         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26661         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26662         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26663         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26664         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26665         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26666         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26667         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26668         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26669         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26670         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26671         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26672         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26673         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26675         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26676         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26677         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26678         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26679         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26680         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26681         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26682         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26684         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26685         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26686         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26687         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26688         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26689         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26690         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26692         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26693         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26694         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26695
26696 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26697
26698         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26699         (__MALLOC_PMT): Likewise.
26700         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26701         [__GNUC__], only on [_LIBC].
26702         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26703         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26704         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26705         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26706         forward declaration.
26707         (realloc_hook_ini): Likewise.
26708         (memalign_hook_ini): Likewise.
26709         (__libc_memalign): Do not use __MALLOC_PMT in variable
26710         declaration.
26711         (__libc_valloc): Likewise.
26712         (__libc_pvalloc): Likewise.
26713         (__libc_calloc): Likewise.
26714         (__posix_memalign): Likewise.
26715
26716         [BZ #14996]
26717         * math/s_casinh.c: Include <float.h>.
26718         (__casinh): Do not do computation with squaring and square root
26719         for large arguments.
26720         * math/s_casinhf.c: Include <float.h>.
26721         (__casinhf): Do not do computation with squaring and square root
26722         for large arguments.
26723         * math/s_casinhl.c: Include <float.h>.
26724         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26725         (__casinhl): Do not do computation with squaring and square root
26726         for large arguments.
26727         * math/libm-test.inc (casin_test): Add more tests.
26728         (casinh_test): Likewise.
26729         * sysdeps/i386/fpu/libm-test-ulps: Update.
26730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26731
26732 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26733
26734         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26735         (__x86_64_raw_data_cache_size): Likewise.
26736         (__x86_64_data_cache_size_half): Likewise.
26737         (__x86_64_raw_data_cache_size_half): Likewise.
26738         (__x86_64_shared_cache_size): Likewise.
26739         (__x86_64_raw_shared_cache_size): Likewise.
26740         (__x86_64_shared_cache_size_half): Likewise.
26741         (__x86_64_raw_shared_cache_size_half): Likewise.
26742         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26743         to ...
26744         (__x86_data_cache_size): This.
26745         (__x86_64_raw_data_cache_size): Renamed to ...
26746         (__x86_raw_data_cache_size): This.
26747         (__x86_64_data_cache_size_half): Renamed to ...
26748         (__x86_data_cache_size_half): This.
26749         (__x86_64_raw_data_cache_size_half): Renamed to ...
26750         (__x86_raw_data_cache_size_half): This.
26751         (__x86_64_shared_cache_size): Renamed to ...
26752         (__x86_shared_cache_size): This.
26753         (__x86_64_raw_shared_cache_size): Renamed to ...
26754         (__x86_raw_shared_cache_size): This.
26755         (__x86_64_shared_cache_size_half): Renamed to ...
26756         (__x86_shared_cache_size_half): This.
26757         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26758         (__x86_raw_shared_cache_size_half): This.
26759         * sysdeps/x86_64/memcpy.S: Updated.
26760         * sysdeps/x86_64/memset.S: Likewise.
26761         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26763         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26764
26765 2013-01-04  David S. Miller  <davem@davemloft.net>
26766
26767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26768
26769 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26770
26771         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26772         1 to avoid redefinition warning.
26773         (__USE_GNU): Don't define.
26774         (init_signaling_nan): Protoize.
26775
26776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26777
26778 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26779
26780         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26782         (__cpymn): Likewise.
26783         (norm): Remove commented code.
26784         (denorm): Likewise.
26785         (__mp_dbl): Likewise.
26786         (__inv): Likewise.
26787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26788         (__cpymn): Likewise.
26789         (norm): Remove commented code.
26790         (denorm): Likewise.
26791         (__mp_dbl): Likewise.
26792         (__inv): Likewise.
26793
26794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26795         mp_no value for 1.0 and 2.0.
26796         (norm): Use RADIXI instead of radixi.d.
26797         (denorm): Likewise.
26798         (__mul): Use 0.0 instead of zero.d.
26799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26800         mp_no value for 1.0 and 2.0.
26801         (norm): Use RADIXI instead of radixi.d.
26802         (denorm): Likewise.
26803         (__mul): Use 0.0 instead of zero.d.
26804
26805 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26806
26807         [BZ #14994]
26808         * math/s_casinh.c (__casinh): Reduce finite argument to first
26809         quadrant then set signs of results at the end.
26810         * math/s_casinhf.c (__casinhf): Likewise.
26811         * math/s_casinhl.c (__casinhl): Likewise.
26812         * math/libm-test.inc (casin_test): Add more tests.
26813         (casinh_test): Likewise.
26814         * sysdeps/i386/fpu/libm-test-ulps: Update.
26815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26816
26817 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26818
26819         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26820
26821         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26822
26823         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26824         declarations.
26825         (denorm): Likewise.
26826         (__mp_dbl): Likewise.
26827         (__inv): Likewise.
26828
26829         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26830         and adjust the header comment.
26831
26832         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26833         variable name from declaration.
26834
26835 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26836
26837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26838         Initialize COMMON_CPUID_INDEX_7 element.
26839         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26840         (CPUID_RTM): Likewise.
26841         (HAS_RTM): Likewise.
26842         (COMMON_CPUID_INDEX_7): New enum.
26843
26844 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26845
26846         [BZ #14981]
26847         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26848         size is zero, record memory as freed.
26849
26850 2013-01-03  Andreas Jaeger  <aj@suse.de>
26851
26852         * po/ia.po: Add new Interlingua translation.
26853
26854 2012-01-03  Allan McRae  <allan@archlinux.org>
26855
26856         * locale/programs/localedef.c: Fix description of '--posix' flag.
26857
26858 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26859
26860         * NEWS: Update dates in second copyright notice.
26861         * README: Update copyright dates in example.
26862         * manual/libc.texinfo: Update copyright dates.
26863         * scripts/test-installation.pl: Update copyright date in --version
26864         output.
26865
26866         * hurd/ctty-input.c: Fix copyright notice formatting.
26867         * hurd/ctty-output.c: Likewise.
26868         * hurd/dtable.c: Likewise.
26869         * hurd/hurd-raise.c: Likewise.
26870         * hurd/hurdprio.c: Likewise.
26871         * hurd/msgportdemux.c: Likewise.
26872         * misc/sys/file.h: Likewise.
26873         * misc/sys/ioctl.h: Likewise.
26874         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26875         * sysdeps/mach/hurd/chdir.c: Likewise.
26876         * sysdeps/mach/hurd/fchdir.c: Likewise.
26877         * sysdeps/mach/hurd/rename.c: Likewise.
26878         * sysdeps/mach/hurd/rmdir.c: Likewise.
26879         * sysdeps/mach/hurd/seekdir.c: Likewise.
26880         * sysdeps/mach/hurd/setsid.c: Likewise.
26881         * sysdeps/posix/wait3.c: Likewise.
26882
26883         * All files with FSF copyright notices: Update copyright dates
26884         using scripts/update-copyrights.
26885         * intl/plural.c: Regenerated.
26886         * locale/programs/charmap-kw.h: Likewise.
26887         * locale/programs/locfile-kw.h: Likewise.
26888
26889 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26890
26891         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26892         four values.
26893
26894         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26895         calculation loop and add branch prediction.
26896
26897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26898         check access beyond bounds of m1np.
26899
26900         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26901         MPTWO.
26902         (__inv): Remove local variable MPTWO to use the global
26903         constant.
26904         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26906         variable MPTWO.
26907         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26908         MP3HALFS static const.
26909
26910 2013-01-01  David S. Miller  <davem@davemloft.net>
26911
26912         * po/ca.po: Update from translation team.
26913
26914 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26915
26916         * scripts/update-copyrights: New file.
26917         * Makeconfig: Reformat copyright notice.
26918         * ctype/ctype.h: Likewise.
26919         * debug/swprintf_chk.c: Likewise.
26920         * elf/dl-cache.c: Likewise.
26921         * elf/dl-debug.c: Likewise.
26922         * elf/dl-object.c: Likewise.
26923         * grp/initgroups.c: Likewise.
26924         * hurd/Makefile: Likewise.
26925         * hurd/hurd/signal.h: Likewise.
26926         * hurd/hurdfault.c: Likewise.
26927         * hurd/hurdioctl.c: Likewise.
26928         * hurd/hurdlookup.c: Likewise.
26929         * hurd/intr-msg.c: Likewise.
26930         * iconv/gconv_open.c: Likewise.
26931         * libio/swprintf.c: Likewise.
26932         * locale/lc-ctype.c: Likewise.
26933         * locale/nl_langinfo.c: Likewise.
26934         * mach/Machrules: Likewise.
26935         * mach/Makefile: Likewise.
26936         * malloc/obstack.h: Likewise.
26937         * manual/Makefile: Likewise.
26938         * manual/tsort.awk: Likewise.
26939         * misc/bits/stab.def: Likewise.
26940         * nis/nis_print_group_entry.c: Likewise.
26941         * nis/nis_table.c: Likewise.
26942         * nis/nss_compat/compat-pwd.c: Likewise.
26943         * nis/nss_compat/compat-spwd.c: Likewise.
26944         * po/Makefile: Likewise.
26945         * posix/fnmatch.c: Likewise.
26946         * posix/regex.h: Likewise.
26947         * resolv/Makefile: Likewise.
26948         * resolv/nss_dns/dns-network.c: Likewise.
26949         * resolv/res_hconf.c: Likewise.
26950         * scripts/gen-sorted.awk: Likewise.
26951         * soft-fp/soft-fp.h: Likewise.
26952         * stdio-common/printf.h: Likewise.
26953         * stdlib/monetary.h: Likewise.
26954         * stdlib/random.c: Likewise.
26955         * stdlib/random_r.c: Likewise.
26956         * sysdeps/generic/Makefile: Likewise.
26957         * sysdeps/gnu/Makefile: Likewise.
26958         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26959         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26960         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26962         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26964         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26965         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26966         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26968         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26969         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26970         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26971         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26972         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26974         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26976         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26977         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26978         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26979         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26980         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26981         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26982         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26983         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26984         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26985         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26986         * sysdeps/mach/hurd/errnos.awk: Likewise.
26987         * sysdeps/mach/hurd/fork.c: Likewise.
26988         * sysdeps/mach/hurd/getcwd.c: Likewise.
26989         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26990         * sysdeps/mach/hurd/mmap.c: Likewise.
26991         * sysdeps/mach/hurd/utimes.c: Likewise.
26992         * sysdeps/mach/hurd/xmknod.c: Likewise.
26993         * sysdeps/posix/profil.c: Likewise.
26994         * sysdeps/posix/readdir_r.c: Likewise.
26995         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26996         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26997         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26998         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27000         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27001         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27002         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27004         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27005         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27006         * sysdeps/pthread/lio_listio.c: Likewise.
27007         * sysdeps/sparc/dl-procinfo.h: Likewise.
27008         * sysdeps/unix/i386/sysdep.S: Likewise.
27009         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27010         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27011         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27012         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27014         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27015         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27016         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27017         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27018         * sysdeps/wordsize-32/divdi3.c: Likewise.
27019         * time/sys/time.h: Likewise.
27020         * wcsmbs/Makefile: Likewise.
27021
27022 2013-01-01  David S. Miller  <davem@davemloft.net>
27023
27024         * po/fr.po: Update from translation team.
27025
27026         * catgets/gencat.c: Update copyright year.
27027         * csu/version.c: Likewise.
27028         * debug/catchsegv.sh: Likewise.
27029         * debug/pcprofiledump.c: Likewise.
27030         * debug/xtrace.sh: Likewise.
27031         * elf/ldconfig.c: Likewise.
27032         * elf/ldd.bash.in: Likewise.
27033         * elf/pldd.c: Likewise.
27034         * elf/sotruss.ksh: Likewise.
27035         * elf/sprof.c: Likewise.
27036         * iconv/iconv_prog.c: Likewise.
27037         * iconv/iconvconfig.c: Likewise.
27038         * locale/programs/locale.c: Likewise.
27039         * locale/programs/localedef.c: Likewise.
27040         * login/programs/pt_chown.c: Likewise.
27041         * malloc/memusage.sh: Likewise.
27042         * malloc/memusagestat.c: Likewise.
27043         * malloc/mtrace.pl: Likewise.
27044         * nscd/nscd.c: Likewise.
27045         * nss/getent.c: Likewise.
27046         * nss/makedb.c: Likewise.
27047         * posix/getconf.c: Likewise.
27048
27049 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27050
27051         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27052         numbers.
27053
27054 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27055
27056         * math/bits/mathcalls.h (modf): Use __nonnull.
27057
27058 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27059
27060         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27061         (split): Use macro CN instead of the bare value.
27062         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27063         could be used.
27064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27065         instead of the bare value.
27066         (power1): Likewise.
27067
27068 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27069
27070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27071         __ATAN_TWOM.
27072         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27073
27074         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27075         their values.
27076         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27077         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27078         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27079         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27080
27081 2012-12-28  Andreas Jaeger  <aj@suse.de>
27082
27083         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27084         values are from Linux 3.7.
27085
27086         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27087         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27088
27089 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27090
27091         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27092         TRUE case.
27093
27094         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27095         (norm): Likewise.
27096         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27097         variables with preprocessor constants.
27098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27099         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27100         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27101
27102 2012-12-27  Bruno Haible  <bruno@clisp.org>
27103
27104         [BZ #14317]
27105         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27106         only if needed.
27107
27108 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27109
27110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27111         and use variable directly.
27112         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27113
27114         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27115         MPONE.
27116         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27118         variable MPONE.
27119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27121         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27122         include directive.  Remove local variable MPONE.
27123         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27124         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27125         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27126
27127 2012-12-25  David S. Miller  <davem@davemloft.net>
27128
27129         * version.h (RELEASE): Set to "development".
27130         (VERSION): Set to "2.17.90".
27131         * NEWS: Add 2.18 section.
27132
27133 2012-12-21  David S. Miller  <davem@davemloft.net>
27134
27135         * po/hr.po: Update from translation team.
27136
27137 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27138
27139         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27140
27141 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27142
27143         * NEWS:  Mention new memcpy for MIPS.
27144
27145 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27146
27147         * manual/contrib.texi (Contributors): Spelling correction.
27148
27149 2012-12-15  David S. Miller  <davem@davemloft.net>
27150
27151         * po/ru.po: Update from translation team.
27152
27153 2012-12-13  David S. Miller  <davem@davemloft.net>
27154
27155         * NEWS: Mention IFUNC testsuite enhancements.
27156
27157         * po/pl.po: Update from translation team.
27158         * po/bg.po: Likewise.
27159
27160         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27161         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27162
27163 2012-12-11  David S. Miller  <davem@davemloft.net>
27164
27165         * po/sv.po: Update from translation team.
27166
27167         * po/vi.po: Update from translation team.
27168
27169         * po/cs.po: Update from translation team.
27170
27171         * po/de.po: Update from translation team.
27172         * po/eo.po: Likewise.
27173         * po/nl.po: Likewise.
27174
27175 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27176
27177         [BZ #14246]
27178         * manual/argp.texi (Argp Helper Functions): Move node to follow
27179         Argp Parsing State.
27180
27181         [BZ #14872]
27182         * manual/conf.texi (Limits on File System Capacity): Mention if
27183         terminating null is included in the max size.
27184
27185 2012-12-10  Andreas Jaeger  <aj@suse.de>
27186
27187         * po/cs.po: Update from translation team.
27188
27189 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27190
27191         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27192         void pointer and cast to uintptr_t.
27193         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27194         path.
27195         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27196         * sysdeps/s390/s390-64/memset.S: Likewise.
27197
27198 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27199
27200         [BZ #14833]
27201         * menual/message.texi (Message Translation): Fix typos.
27202         (Helper programs for gettext): Likewise.
27203
27204 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27205
27206         [BZ #14898]
27207         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27208         Change to -1.
27209
27210 2012-12-07  David S. Miller  <davem@davemloft.net>
27211
27212         * po/libc.pot: Update.
27213
27214 2012-12-07  Richard Henderson  <rth@redhat.com>
27215
27216         [BZ #10114]
27217         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27218         normal/normal case to before the switch.
27219         (_FP_DIV): Likewise.
27220
27221 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27222             Mike Frysinger  <vapier@gentoo.org>
27223
27224         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27225         check for __NR_fadvise64_64.
27226
27227 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27228
27229         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27230         0, not just to plain "0" as a statement.
27231         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27232         with cw.
27233
27234 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27235
27236         * NEWS: Use sourceware.org in Bugzilla URL.
27237
27238 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27239
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27241         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27242
27243         * stdio-common/tst-put-error.c (do_test): Add newline to the
27244         padded test to ensure flush.
27245
27246 2012-12-05  Jeff Law  <law@redhat.com>
27247
27248         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27249
27250 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27251
27252         * README: Don't refer to ports add-on as distributed separately.
27253         Mention AArch64 in list of systems supported in the ports add-on.
27254
27255         * LICENSES: Add more non-FSF copyright and license notices.
27256
27257         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27258         ((unused)).
27259
27260         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27261
27262         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27263         10000 as width of padded output.
27264
27265 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27266
27267         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27268
27269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27270         variable LX with __attribute__ ((unused)).
27271         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27272         Likewise.
27273         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27275         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27276         with __attribute__ ((unused)).
27277
27278 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27279
27280         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27281
27282 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27283
27284         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27285         (CFLAGS-nldbl-acos.c): New variable.
27286         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27287         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27288         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27289         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27290         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27291         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27292         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27293         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27294         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27295         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27296         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27297         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27298         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27299         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27300         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27301         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27302         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27303         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27304         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27305         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27306         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27307         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27308         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27309         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27310         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27311         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27312         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27313         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27314         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27315         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27316         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27317         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27318         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27319         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27320         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27321         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27322         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27323         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27324         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27325         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27326         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27327         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27328         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27329         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27330         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27331         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27332         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27333         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27334         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27335         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27336         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27337         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27338         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27339         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27340         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27341         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27342         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27343         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27344         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27345         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27346         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27347         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27348         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27349         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27350         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27351         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27352         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27353         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27354         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27355         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27356         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27357         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27358         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27359         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27360         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27361         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27362         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27363         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27364         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27365         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27366         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27367         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27368         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27369         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27370         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27371         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27372         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27373         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27374         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27375         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27376         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27377         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27378         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27379         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27380         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27381         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27382         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27383
27384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27385         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27386
27387         [BZ #14914]
27388         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27389         whole low double instead of just low 47 bits when splitting values
27390         into two parts.
27391
27392 2012-12-03  Allan McRae  <allan@archlinux.org>
27393
27394         * manual/stdio.texi (Predefined Printf Handlers): Remove
27395         @hsep and @vsep usage.
27396
27397 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27398
27399         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27400         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27401
27402 2012-12-03  Jeff Law  <law@redhat.com>
27403
27404         * time/sys/time.h (settimeofday): Do not mark TV argument
27405         as __nonnull.
27406
27407 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27408
27409         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27410         when currently writing and seek to current position when not.
27411         * libio/Makefile (tests): Remove bug-fclose1.
27412         * libio/bug-fclose1.c: Delete.
27413
27414 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27415
27416         * manual/arith.texi (feenableexcept): Fix typo.
27417         (fedisableexcept): Likewise.
27418
27419 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27420
27421         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27422         second, differently-typed declaration, rather than a cast.
27423
27424 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425
27426         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27427         * include/rpc/svc.h: ... here.
27428
27429 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27430
27431         [BZ #13013]
27432         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27433         depending n and resplen2 to catch cases where answer
27434         equals answerp2.
27435
27436 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27437
27438         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27439         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27440
27441 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27442
27443         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27444
27445 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27446
27447         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27448
27449 2012-11-28  Jeff Law  <law@redhat.com>
27450
27451         [BZ #13761]
27452         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27453         dataset_temporary.  Track alloca usage into alloca_used.
27454         If dataset is large allocate and release it via malloc/free.
27455
27456 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27457
27458         [BZ #14197]
27459         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27460
27461 2012-11-28  David S. Miller  <davem@davemloft.net>
27462
27463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27464
27465 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27466
27467         [BZ #14803]
27468         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27469         of pi/2 rounded to nearest to 64 bits.
27470         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27471         nearest to 64 bits.
27472         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27473         bits.
27474
27475 2012-11-28  Jeff Law <law@redhat.com>
27476             Martin Osvald <mosvald@redhat.com>
27477
27478         [BZ #14889]
27479         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27480         * sunrpc/svc.c: Include time.h.
27481         (__svc_accept_failed): New function.
27482         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27483         any reason other than EINTR, call __svc_accept_failed.
27484         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27485         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27486
27487 2012-11-28  Andreas Schwab  <schwab@suse.de>
27488
27489         * scripts/abilist.awk: Also handle indirect functions in .opd
27490         section.
27491
27492 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27493
27494         [BZ #13881]
27495         * sysdeps/x86/fpu/powl_helper.c: New file.
27496         * sysdeps/x86/fpu/Makefile: Likewise.
27497         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27498         (p3): New object.
27499         (__ieee754_powl): Use __powl_helper for finite arguments except
27500         integer exponents below 8.
27501         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27502         (p3): New object.
27503         (__ieee754_powl): Use __powl_helper for finite arguments except
27504         integer exponents below 8.
27505         * math/libm-test.inc (pow_test): Add more tests and enable some
27506         previously disabled tests.
27507         * sysdeps/i386/fpu/libm-test-ulps: Update.
27508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27509
27510 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27511             Carlos O'Donell  <carlos_odonell@mentor.com>
27512
27513         * nss/makedb.c (is_prime): Assert that input is odd and greater
27514         than 4.  Note that fact in a comment too.
27515         (next_prime): Add 4 to input.
27516
27517 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27518
27519         [BZ #11741]
27520         * libio/Makefile (tests): Add test case tst-fwrite-error.
27521         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27522         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27523         * libio/tst-fwrite-error.c: New test case.
27524
27525 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27526
27527         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27528         before casting to void *.
27529         * include/libc-internal.h (__pointer_type): New macro.
27530         (__integer_if_pointer_type_sub): Likewise.
27531         (__integer_if_pointer_type): Likewise.
27532         (cast_to_integer): Likewise.
27533         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27534         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27535         before casting to atomic64_t.
27536         (atomic_exchange_acq): Likewise.
27537         (__arch_exchange_and_add_body): Likewise.
27538         (__arch_add_body): Likewise.
27539         (atomic_add_negative): Likewise.
27540         (atomic_add_zero): Likewise.
27541
27542 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27543
27544         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27545         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27546         (add_fdes): Likewise.
27547         (linear_search_fdes): Likewise.
27548         (binary_search_unencoded_fdes): Likewise.
27549
27550 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27551
27552         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27553
27554 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27555
27556         * configure.in: Autodetect C++ header directories.
27557         * configure: Regenerated.
27558
27559 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27560
27561         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27562
27563 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27564
27565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27566
27567 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27568
27569         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27570         LDBL_MANT_DIG == 106]: Disable some tests.
27571         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27572         Likewise.
27573         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27574         Likewise.
27575
27576         [BZ #14871]
27577         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27578         input for small inputs.  Return +/- pi/2 for large inputs.
27579         * math/libm-test.inc (atan_test): Add more tests.
27580
27581         * sysdeps/generic/unwind-dw2-fde-glibc.c
27582         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27583         __attribute__ ((unused)).
27584
27585         [BZ #14645]
27586         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27587         x * y if x and y are nonzero and z is zero.
27588
27589         [BZ #14811]
27590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27591         nonzero exponents with absolute value below 0x1p-117 to +/-
27592         0x1p-117.
27593
27594         [BZ #14869]
27595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27596         up arguments below 2**-450, not just those below 2**-500.
27597         * math/libm-test.inc (hypot_test): Add another test.
27598
27599         [BZ #14868]
27600         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27601         Return a+b for ratio over 2**120, not 2**60.
27602         * math/libm-test.inc (hypot_test): Add another test.
27603
27604         * math/libm-test.inc (clog_test): Use
27605         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27606         (clog10_test): Likewise.
27607
27608         [BZ #6778]
27609         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27610
27611 2012-11-22  Andreas Schwab  <schwab@suse.de>
27612
27613         * sysdeps/i386/fpu/libm-test-ulps: Update.
27614
27615 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27616
27617         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27618         printf output with newline.
27619
27620 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27621
27622         [BZ #14865]
27623         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27624         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27625         -z nodlopen, -z initfirst and -z execstack support.
27626         * configure: Regenerated.
27627
27628         * elf/elf.h (DF_1_NODIRECT): New macro.
27629         (DF_1_IGNMULDEF): Likewise.
27630         (DF_1_NOKSYMS): Likewise.
27631         (DF_1_NOHDR): Likewise.
27632         (DF_1_EDITED): Likewise.
27633         (DF_1_NORELOC): Likewise.
27634         (DF_1_SYMINTPOSE): Likewise.
27635         (DF_1_GLOBAUDIT): Likewise.
27636         (DF_1_SINGLETON): Likewise.
27637         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27638         DT_1_SUPPORTED_MASK bits.
27639         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27640
27641 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27642
27643         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27644
27645 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27646
27647         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27648         macro.
27649
27650         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27651         (sendmmsg): Move declarations...
27652         * socket/sys/socket.h: ... here.
27653         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27654         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27655         include it from...
27656         * socket/recvmmsg.c: ... this new file.
27657         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27658         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27659         definition of __sendmmsg hidden.
27660         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27661         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27662         Move ENOSYS stub into and include it from...
27663         * socket/sendmmsg.c: ... this new file.
27664         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27665         (sysdep_routines): Move recvmmsg and sendmmsg...
27666         * socket/Makefile (routines): ... here.
27667         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27668         (GLIBC_PRIVATE): Add __sendmmsg.
27669         * include/sys/socket.h (__sendmmsg): Add declarations.
27670         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27671         sendmmsg.
27672
27673 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27674
27675         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27676         variable I1 with __attribute__ ((unused)).
27677         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27678
27679 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27680
27681         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27682         DUMMY variables with __attribute__ ((unused)).
27683
27684         * bits/byteswap.h: Include <bits/types.h>.
27685         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27686
27687 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27688
27689         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27690         string_t.  Do not manually set errno.
27691         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27692         length with __strnlen.  Make sure to both set errno and return it on
27693         failure.
27694
27695 2012-11-19  David S. Miller  <davem@davemloft.net>
27696
27697         With help from Joseph Myers.
27698         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27699         very large arguments properly.
27700         * math/libm-test.inc (atan_test): New tests.
27701         (atan2_test): New tests.
27702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27704
27705 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27706
27707         [BZ #14856]
27708         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27709         Define to 3.
27710
27711         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27712         [POSIX] (EADDRNOTAVAIL): Likewise.
27713         [POSIX] (EAFNOSUPPORT): Likewise.
27714         [POSIX] (EALREADY): Likewise.
27715         [POSIX] (ECONNABORTED): Likewise.
27716         [POSIX] (ECONNREFUSED): Likewise.
27717         [POSIX] (ECONNRESET): Likewise.
27718         [POSIX] (EDESTADDRREQ): Likewise.
27719         [POSIX] (EDQUOT): Likewise.
27720         [POSIX] (EHOSTUNREACH): Likewise.
27721         [POSIX] (EIDRM): Likewise.
27722         [POSIX] (EISCONN): Likewise.
27723         [POSIX] (ELOOP): Likewise.
27724         [POSIX] (EMULTIHOP): Likewise.
27725         [POSIX] (ENETDOWN): Likewise.
27726         [POSIX] (ENETUNREACH): Likewise.
27727         [POSIX] (ENOBUFS): Likewise.
27728         [POSIX] (ENODATA): Likewise.
27729         [POSIX] (ENOLINK): Likewise.
27730         [POSIX] (ENOMSG): Likewise.
27731         [POSIX] (ENOPROTOOPT): Likewise.
27732         [POSIX] (ENOSR): Likewise.
27733         [POSIX] (ENOSTR): Likewise.
27734         [POSIX] (ENOTCONN): Likewise.
27735         [POSIX] (ENOTSOCK): Likewise.
27736         [POSIX] (EOPNOTSUPP): Likewise.
27737         [POSIX] (EOVERFLOW): Likewise.
27738         [POSIX] (EPROTO): Likewise.
27739         [POSIX] (EPROTONOSUPPORT): Likewise.
27740         [POSIX] (EPROTOTYPE): Likewise.
27741         [POSIX] (ESTALE): Likewise.
27742         [POSIX] (ETIME): Likewise.
27743         [POSIX] (ETXTBSY): Likewise.
27744         [POSIX] (EWOULDBLOCK): Likewise.
27745         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27746         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27747         [POSIX] (SEEK_CUR): Likewise.
27748         [POSIX] (SEEK_END): Likewise.
27749         [POSIX || UNIX98] (mode_t): Do not require.
27750         [POSIX] (off_t): Likewise.
27751         [POSIX] (pid_t): Likewise.
27752         [POSIX] (sys/stat.h): Do not allow header.
27753         [POSIX] (unistd.h): Likewise.
27754         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27755         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27756         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27757         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27758         require.
27759         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27760         sigevent): Specify elements.
27761         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27762         entry.
27763         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27764         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27765
27766         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27767         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27768         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27769         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27770         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27771         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27772         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27773         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27774         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27775         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27776         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27777         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27778         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27779         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27780         Likewise.
27781         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27782         Likewise.
27783         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27784         Likewise.
27785         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27786         Likewise.
27787         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27788         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27789         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27790         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27791         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27792         Specify lower bound on value.
27793         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27794         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27795         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27796         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27797         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27798         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27799         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27800         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27801         value.
27802         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27803         as optional.
27804         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27805         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27806         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27807         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27808         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27809         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27810         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27811         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27812         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27813         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27814         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27815         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27816         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27817         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27818         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27819         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27820         entry.
27821         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27822         optional.
27823         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27824         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27825         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27826         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27827         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27828         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27829         Likewise.
27830         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27831         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27832         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27833         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27834         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27835         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27836         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27837         as optional.
27838         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27839         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27840         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27841         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27842         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27843         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27844         specify as optional.
27845         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27846         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27847         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27848         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27849         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27850         [XPG3] (NL_LANGMAX): Likewise.
27851         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27852         [POSIX || XPG3] (NL_NMAX): Likewise.
27853         [POSIX || XPG3] (NL_SETMAX): Likewise.
27854         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27855         [XPG3] (NZERO): Likewise.
27856         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27857         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27858         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27859         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27860         (REG_ERANGE): Expect.
27861         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27862         optional-constant.
27863         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27864         Use (void) in prototype.
27865         [POSIX] (*_t): Allow.
27866         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27867         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27868         (WRDE_BADVAL): Expect.
27869
27870         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27871         expect.
27872         [XPG3 || XPG4] (O_RSYNC): Likewise.
27873         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27874         Likewise.
27875         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27876         [XPG3 || XPG4] (sigqueue): Likewise.
27877         [XPG3 || XPG4] (sigtimedwait): Likewise.
27878         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27879         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27880         [XPG3 || XPG4] (vsnprintf): Likewise.
27881         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27882         Likewise.
27883         [XPG3 || XPG4] (blksize_t): Likewise.
27884         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27885         Likewise.
27886         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27887         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27888         [XPG3 || XPG4] (struct itimerspec): Likewise.
27889         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27890         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27891         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27892         [XPG3 || XPG4] (clockid_t): Likewise.
27893         [XPG3 || XPG4] (timer_t): Likewise.
27894         [XPG3 || XPG4] (clock_getres): Likewise.
27895         [XPG3 || XPG4] (clock_gettime): Likewise.
27896         [XPG3 || XPG4] (clock_settime): Likewise.
27897         [XPG3 || XPG4] (nanosleep): Likewise.
27898         [XPG3 || XPG4] (timer_create): Likewise.
27899         [XPG3 || XPG4] (timer_delete): Likewise.
27900         [XPG3 || XPG4] (timer_gettime): Likewise.
27901         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27902         [XPG3 || XPG4] (timer_settime): Likewise.
27903         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27904         [XPG3 || XPG4] (getlogin_r): Likewise.
27905         [XPG3 || XPG4] (pread): Likewise.
27906         [XPG3 || XPG4] (pthread_atfork): Likewise.
27907         [XPG3 || XPG4] (pwrite): Likewise.
27908
27909         [BZ #14835]
27910         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27911         <bits/siginfo.h>.
27912
27913 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27914
27915         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27916         finalizing MALLSTREAM.
27917
27918         * sysdeps/mach/hurd/syncfs.c: New file.
27919
27920 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27921
27922         [BZ #14719]
27923         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27924         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27925         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27926         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27927         (_nss_dns_gethostbyname4_r): Likewise.
27928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27929         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27930
27931 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27932
27933         [BZ #13763]
27934         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27935
27936 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27937
27938         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27939         * elf/cache.c (print_entry): Print ",AArch64" for
27940         FLAG_AARCH64_LIB64
27941
27942         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27943         * elf/cache.c (print_entry): Print ",hard-float" for
27944         FLAG_ARM_LIBHF.
27945
27946 2012-11-18  David S. Miller  <davem@davemloft.net>
27947
27948         With help from Joseph Myers.
27949         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27950         cutoff to 2**-13.
27951         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27952         cutoff to 2**-25.
27953         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27954         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27955         small.
27956         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27957         * math/libm-test.inc (y0_test): New tests.
27958         (y1_test): New tests.
27959         * sysdeps/i386/fpu/libm-test-ulps: Update.
27960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27962
27963 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27964
27965         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27966         64-bit targets.
27967         * configure: Regenerated.
27968
27969 2012-11-17  David S. Miller  <davem@davemloft.net>
27970
27971         [BZ #14811]
27972         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27973         nonzero exponents with absolute value below 0x1p-128 to +/-
27974         0x1p-128.
27975
27976 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27977
27978         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27979
27980         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27981
27982         * posix/getconf-speclist.c: New file.
27983         * posix/posix-envs.def: Likewise.
27984         * posix/confstr.c (START_ENV_GROUP): New macro.
27985         (END_ENV_GROUP): Likewise.
27986         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27987         (KNOWN_PRESENT_ENV_STRING): Likewise.
27988         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27989         (UNKNOWN_ENVIRONMENT): Likewise.
27990         (confstr): Include posix-envs.def instead of handling
27991         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27992         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27993         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27994         (END_ENV_GROUP): Likewise.
27995         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27996         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27997         (UNKNOWN_ENVIRONMENT): Likewise.
27998         (__sysconf): Include posix-envs.def instead of handling associated
27999         cases directly here.
28000         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28001         preprocessing getconf-speclist.c rather than running getconf or
28002         generating empty file.
28003
28004 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28005
28006         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28007
28008 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28009
28010         [BZ #14672]
28011         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28012
28013 2012-11-16  David S. Miller  <davem@davemloft.net>
28014
28015         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28016         smaller than LDBL_EPSILON/2.0L, just return xm1.
28017
28018 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28019
28020         * elf/tst-array1.c (init): Set constructor priority to 1000.
28021         (fini): Set destructor priority to 1000.
28022         * elf/tst-array2dep.c: Likewise.
28023
28024 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28025
28026         [BZ #11741]
28027         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28028         (_IO_new_file_xsputn): Also return EOF if none of the input
28029         data was written when overflow failed.
28030         * libio/iopadn.c (_IO_padn): Likewise.
28031         * libio/iowpadn.c (_IO_wpadn): Likewise.
28032         * stdio-common/tst-put-error.c: Add copyright notice.
28033         (do_test): Add case for printing padded string.
28034         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28035         _IO_padn returned error.
28036         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28037         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28038         return EOF.
28039
28040 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28041
28042         * libio/libioP.h: Add comment note that the references to C++
28043         bits are now obsolete.
28044
28045 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28046
28047         * math/libm-test.inc (check_complex): Use asprintf.
28048
28049 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28050
28051         * debug/pcprofiledump.c (print_version): Update copyright year.
28052         * malloc/memusagestat.c (print_version): Likewise.
28053
28054 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28055
28056         [BZ #14831]
28057         * elf/Makefile (tests): Add tst-audit8.
28058         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28059         ($(objpfx)tst-audit8.out): New target.
28060         (tst-audit8-ENV): New variable.
28061         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28062         audit if l_reloc_result is NULL.
28063         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28064         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28065         * elf/tst-audit8.c: New file.
28066
28067 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28068
28069         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28070         * misc/Makefile (CFLAGS-select.c): Define.
28071         * posix/Makefile (CFLAGS-pause.c): Define.
28072
28073 2012-11-13  David S. Miller  <davem@davemloft.net>
28074
28075         * crypt/Makefile: Move test targets after toplevel Rules
28076         inclusion.  Grab any necessary sysdep routines when linking.
28077         * crypt/md5.c (md5_process_block): Remove define, we will always
28078         name it __md5_process_block.
28079         (md5_finish_ctx): Update md5_process_block call.
28080         (md5_stream): Likewise.
28081         (md5_process_bytes): Likewise.
28082         (md5_process_block): Rename to __md5_process_block and move to ...
28083         * crypt/md5-block.c: ... here.
28084         * crypt/sha256.c (sha256_process_block): Move to ...
28085         * crypt/sha256-block.c: ... here.
28086         * crypt/sha512.c (sha512_process_block): Move to ...
28087         * crypt/sha512-block.c: ... here.
28088         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28089         path.
28090         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28091         * sysdeps/sparc/sparc64/multiarch/Makefile
28092         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28093         crypt subdir.
28094         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28095         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28096         multiarch changes.
28097         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28098         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28099         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28100         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28101         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28102         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28103         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28104         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28105         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28106         file.
28107         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28108         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28109         file.
28110         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28111
28112 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28113
28114         * timezone/tzselect.ksh: Update from tzcode git revision
28115         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28116         * timezone/zdump.c: Likewise.
28117         * timezone/zic.c: Likewise.
28118         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28119         in TZVERSION setting, not $(PKGVERSION).
28120         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28121         REPORT_BUGS_TO settings.
28122
28123         [BZ #14838]
28124         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28125         macro.
28126
28127 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28128
28129         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28130         detection to immediately after _FP_ROUND().
28131         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28132         bits are 0.
28133
28134 2012-11-11  David S. Miller  <davem@davemloft.net>
28135
28136         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28137         inttypes.h
28138         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28139         __close rather than their public counterparts.
28140
28141 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28142
28143         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28144         file.
28145         [UNIX98] (sem_timedwait): Do not expect.
28146         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28147         [XPG4 || UNIX98] (sockatmark): Do not expect.
28148         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28149         (clock_getcpuclockid): Do not expect.
28150         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28151         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28152         Do not expect.
28153         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28154         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28155         [UNIX98] (vwscanf): Likewise.
28156         [UNIX98] (vswscanf): Likewise.
28157
28158 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28159
28160         * timezone/version.h: Remove file.
28161         * timezone/README: Do not refer to version.h.
28162         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28163         $(objpfx)version.h.
28164         ($(objpfx)zdump.o): Likewise.
28165         ($(objpfx)version.h): New target.
28166
28167         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28168         2012i.
28169         * timezone/README: Don't mention modification to tzselect.ksh.
28170         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28171         work on unmodified tzselect.ksh.  Substitute version numbers in
28172         tzselect.ksh.
28173
28174         * Makefile (format-me): Remove.
28175         (INSTALL): Adjust indentation.  Use commands directly instead of
28176         using $(format-me).
28177
28178         * aclocal.m4 (ACX_PKGVERSION): New macro.
28179         (ACX_BUGURL): Likewise.
28180         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28181         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28182         (REPORT_BUGS_TO): Likewise.
28183         * configure: Regenerated.
28184         * config.h.in (PKGVERSION): New macro.
28185         (REPORT_BUGS_TO): Likewise.
28186         * config.make.in (PKGVERSION): New variable.
28187         (PKGVERSION_TEXI): Likewise.
28188         (REPORT_BUGS_TO): Likewise.
28189         (REPORT_BUGS_TEXI): Likewise.
28190         * Makefile (format-me): Use -I$(common-objpfx)manual.
28191         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28192         ($(common-objpfx)manual/%): New target.
28193         (manual/%): Remove target.
28194         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28195         (print_version): Use PKGVERSION.
28196         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28197         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28198         and REPORT_BUGS_TO.
28199         ($(objpfx)xtrace): Likewise.
28200         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28201         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28202         (print_version): Use PKGVERSION.
28203         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28204         (do_version): Use PKGVERSION.
28205         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28206         REPORT_BUGS_TO.
28207         (common-ldd-rewrite): Likewise.
28208         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28209         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28210         (print_version): Use PKGVERSION.
28211         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28212         * elf/pldd.c (argp_program_bug_address): Remove variable.
28213         (more_help): New function.
28214         (argp): Use more_help.
28215         (print_version): Use PKGVERSION.
28216         * elf/sln.c (main): Use PKGVERSION.
28217         (usage): Use REPORT_BUGS_TO.
28218         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28219         (top level): Use PKGVERSION.
28220         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28221         (print_version): Use PKGVERSION.
28222         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28223         (print_version): Use PKGVERSION.
28224         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28225         (print_version): Use PKGVERSION.
28226         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28227         (print_version): Use PKGVERSION.
28228         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28229         (print_version): Use PKGVERSION.
28230         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28231         (print_version): Use PKGVERSION.
28232         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28233         and BUGURL.
28234         ($(objpfx)memusage): Likewise.
28235         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28236         (do_version): Use PKGVERSION.
28237         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28238         (print_version): Use PKGVERSION.
28239         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28240         ($PKGVERSION): New variable.
28241         ($REPORT_BUGS_TO): Likewise.
28242         (usage): Use $REPORT_BUGS_TO.
28243         (top level): Use $PKGVERSION.
28244         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28245         ($(objpfx)pkgvers.texi): New rule.
28246         ($(objpfx)stamp-pkgvers): Likewise.
28247         * manual/install.texi: Include pkgvers.texi.
28248         (--with-pkgversion): Document new configure option.
28249         (--with-bugurl): Likewise.
28250         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28251         than necessarily for this particular distribution.  Use
28252         REPORT_BUGS_TO for where to report bugs.
28253         * INSTALL: Regenerated.
28254         * manual/libc.texinfo: Include pkgvers.texi.
28255         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28256         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28257         (print_version): Use PKGVERSION.
28258         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28259         (print_version): Use PKGVERSION.
28260         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28261         (print_version): Use PKGVERSION.
28262         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28263         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28264         macro.
28265         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28266         (print_version): Use PKGVERSION.
28267         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28268         (print_version): Use PKGVERSION.
28269         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28270         and PKGVERSION.
28271
28272         * timezone/checktab.awk: Update from tzcode 2012i.
28273         * timezone/ialloc.c: Likewise.
28274         * timezone/private.h: Likewise.
28275         * timezone/scheck.c: Likewise.
28276         * timezone/tzfile.h: Likewise.
28277         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28278         (TZVERSION): Hardcode tzcode version number.
28279         * timezone/zdump.c: Update from tzcode 2012i.
28280         * timezone/zic.c: Likewise.
28281         * timezone/version.h: New file.
28282         * timezone/README: Describe version.h.  Update upstream location.
28283
28284         [BZ #14824]
28285         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28286         (mktemp): Enable declaration.
28287         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28289         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28291         Likewise.
28292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28293         Likewise.
28294         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28295         Likewise.
28296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28297         Likewise.
28298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28299         Likewise.
28300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28301         Likewise.
28302
28303         [BZ #14821]
28304         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28305         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28306         for copies of such integer values.
28307         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28308         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28309
28310 2012-11-09  Andreas Jaeger  <aj@suse.de>
28311
28312         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28313         definitions and declarations that are provided by
28314         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28315
28316 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28317
28318         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28319         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28320         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28321         definition.
28322
28323 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28324
28325         * elf/elf.h: Update comment before AArch64 relocations.
28326
28327 2012-11-07  David S. Miller  <davem@davemloft.net>
28328
28329         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28330         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28331         (__start_context): Declare.
28332         (__makecontext_ret): Delete.
28333         (__makecontext): Hook up __start_context instead of
28334         __makecontext_ret.
28335         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28336         (sysdep_routines): Add __start_context when in stdlib.
28337
28338 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28339
28340         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28341         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28342         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28343         hardcoded "nm".
28344         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28345         (READELF): New variable.  Use it instead of hardcoded "readelf".
28346
28347 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28348
28349         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28350         * sysdeps/x86/Makefile: Here.
28351         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28352         * sysdeps/x86/tst-xmmymm.sh: This.
28353
28354 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28355
28356         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28357         expectations.
28358         [UNIX98] (pthread_barrier_t): Do not expect.
28359         [UNIX98] (pthread_barrierattr_t): Likewise.
28360         [UNIX98] (pthread_spinlock_t): Likewise.
28361         [UNIX98] (pthread_barrier_destroy): Likewise.
28362         [UNIX98] (pthread_barrier_init): Likewise.
28363         [UNIX98] (pthread_barrier_wait): Likewise.
28364         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28365         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28366         [UNIX98] (pthread_barrierattr_init): Likewise.
28367         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28368         [UNIX98] (pthread_getcpuclockid): Likewise.
28369         [UNIX98] (pthread_mutex_timedlock): Likewise.
28370         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28371         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28372         [UNIX98] (pthread_sigmask): Likewise.
28373         [UNIX98] (pthread_spin_destroy): Likewise.
28374         [UNIX98] (pthread_spin_init): Likewise.
28375         [UNIX98] (pthread_spin_lock): Likewise.
28376         [UNIX98] (pthread_spin_trylock): Likewise.
28377         [UNIX98] (pthread_spin_unlock): Likewise.
28378         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28379         Do not expect.
28380         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28381         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28382         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28383         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28384         [XPG3 || XPG4] (pthread_key_t): Likewise.
28385         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28386         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28387         [XPG3 || XPG4] (pthread_once_t): Likewise.
28388         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28389         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28390         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28391         [XPG3 || XPG4] (pthread_t): Likewise.
28392
28393         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28394         not expect.
28395         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28396
28397         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28398         Change function return type to int.
28399
28400         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28401         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28402         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28403         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28404         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28405         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28406         [!POSIX] (posix_madvise): Likewise.
28407         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28408         && !UNIX98].
28409         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28410         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28411         (mode_t): Likewise.
28412         (posix_mem_offset): Likewise.
28413         (posix_typed_mem_get_info): Likewise.
28414         (posix_typed_mem_open): Likewise.
28415
28416         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28417         Change condition to [XOPEN2K8].
28418
28419         * conform/conformtest.pl: Preprocess allow-header data with -x c
28420         instead of from stdin.
28421         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28422         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28423         [C99-based standards] (cerfc): Likewise.
28424         [C99-based standards] (cexp2): Likewise.
28425         [C99-based standards] (cexpm1): Likewise.
28426         [C99-based standards] (clog10): Likewise.
28427         [C99-based standards] (clog1p): Likewise.
28428         [C99-based standards] (clog2): Likewise.
28429         [C99-based standards] (clgamma): Likewise.
28430         [C99-based standards] (ctgamma): Likewise.
28431         [C99-based standards] (cerff): Likewise.
28432         [C99-based standards] (cerfcf): Likewise.
28433         [C99-based standards] (cexp2f): Likewise.
28434         [C99-based standards] (cexpm1f): Likewise.
28435         [C99-based standards] (clog10f): Likewise.
28436         [C99-based standards] (clog1pf): Likewise.
28437         [C99-based standards] (clog2f): Likewise.
28438         [C99-based standards] (clgammaf): Likewise.
28439         [C99-based standards] (ctgammaf): Likewise.
28440         [C99-based standards] (cerfl): Likewise.
28441         [C99-based standards] (cerfcl): Likewise.
28442         [C99-based standards] (cexp2l): Likewise.
28443         [C99-based standards] (cexpm1l): Likewise.
28444         [C99-based standards] (clog10l): Likewise.
28445         [C99-based standards] (clog1pl): Likewise.
28446         [C99-based standards] (clog2l): Likewise.
28447         [C99-based standards] (clgammal): Likewise.
28448         [C99-based standards] (ctgammal): Likewise.
28449         * conform/data/inttypes.h-data [C99-based standards]: Include
28450         stdint.h-data.  Remove all expectations for stdint.h contents.
28451         [C99-based standards] (PRI*): Do not allow.
28452         [C99-based standards] (SCN*): Likewise.
28453         [C99-based standards] (*_t): Likewise.
28454         [C99-based-standards] (PRId8): Expect macro.
28455         [C99-based-standards] (PRIi8): Likewise.
28456         [C99-based-standards] (PRIo8): Likewise.
28457         [C99-based-standards] (PRIu8): Likewise.
28458         [C99-based-standards] (PRIx8): Likewise.
28459         [C99-based-standards] (PRIX8): Likewise.
28460         [C99-based-standards] (SCNd8): Likewise.
28461         [C99-based-standards] (SCNi8): Likewise.
28462         [C99-based-standards] (SCNo8): Likewise.
28463         [C99-based-standards] (SCNu8): Likewise.
28464         [C99-based-standards] (SCNx8): Likewise.
28465         [C99-based-standards] (PRIdLEAST8): Likewise.
28466         [C99-based-standards] (PRIiLEAST8): Likewise.
28467         [C99-based-standards] (PRIoLEAST8): Likewise.
28468         [C99-based-standards] (PRIuLEAST8): Likewise.
28469         [C99-based-standards] (PRIxLEAST8): Likewise.
28470         [C99-based-standards] (PRIXLEAST8): Likewise.
28471         [C99-based-standards] (SCNdLEAST8): Likewise.
28472         [C99-based-standards] (SCNiLEAST8): Likewise.
28473         [C99-based-standards] (SCNoLEAST8): Likewise.
28474         [C99-based-standards] (SCNuLEAST8): Likewise.
28475         [C99-based-standards] (SCNxLEAST8): Likewise.
28476         [C99-based-standards] (PRIdFAST8): Likewise.
28477         [C99-based-standards] (PRIiFAST8): Likewise.
28478         [C99-based-standards] (PRIoFAST8): Likewise.
28479         [C99-based-standards] (PRIuFAST8): Likewise.
28480         [C99-based-standards] (PRIxFAST8): Likewise.
28481         [C99-based-standards] (PRIXFAST8): Likewise.
28482         [C99-based-standards] (SCNdFAST8): Likewise.
28483         [C99-based-standards] (SCNiFAST8): Likewise.
28484         [C99-based-standards] (SCNoFAST8): Likewise.
28485         [C99-based-standards] (SCNuFAST8): Likewise.
28486         [C99-based-standards] (SCNxFAST8): Likewise.
28487         [C99-based-standards] (PRId16): Likewise.
28488         [C99-based-standards] (PRIi16): Likewise.
28489         [C99-based-standards] (PRIo16): Likewise.
28490         [C99-based-standards] (PRIu16): Likewise.
28491         [C99-based-standards] (PRIx16): Likewise.
28492         [C99-based-standards] (PRIX16): Likewise.
28493         [C99-based-standards] (SCNd16): Likewise.
28494         [C99-based-standards] (SCNi16): Likewise.
28495         [C99-based-standards] (SCNo16): Likewise.
28496         [C99-based-standards] (SCNu16): Likewise.
28497         [C99-based-standards] (SCNx16): Likewise.
28498         [C99-based-standards] (PRIdLEAST16): Likewise.
28499         [C99-based-standards] (PRIiLEAST16): Likewise.
28500         [C99-based-standards] (PRIoLEAST16): Likewise.
28501         [C99-based-standards] (PRIuLEAST16): Likewise.
28502         [C99-based-standards] (PRIxLEAST16): Likewise.
28503         [C99-based-standards] (PRIXLEAST16): Likewise.
28504         [C99-based-standards] (SCNdLEAST16): Likewise.
28505         [C99-based-standards] (SCNiLEAST16): Likewise.
28506         [C99-based-standards] (SCNoLEAST16): Likewise.
28507         [C99-based-standards] (SCNuLEAST16): Likewise.
28508         [C99-based-standards] (SCNxLEAST16): Likewise.
28509         [C99-based-standards] (PRIdFAST16): Likewise.
28510         [C99-based-standards] (PRIiFAST16): Likewise.
28511         [C99-based-standards] (PRIoFAST16): Likewise.
28512         [C99-based-standards] (PRIuFAST16): Likewise.
28513         [C99-based-standards] (PRIxFAST16): Likewise.
28514         [C99-based-standards] (PRIXFAST16): Likewise.
28515         [C99-based-standards] (SCNdFAST16): Likewise.
28516         [C99-based-standards] (SCNiFAST16): Likewise.
28517         [C99-based-standards] (SCNoFAST16): Likewise.
28518         [C99-based-standards] (SCNuFAST16): Likewise.
28519         [C99-based-standards] (SCNxFAST16): Likewise.
28520         [C99-based-standards] (PRId32): Likewise.
28521         [C99-based-standards] (PRIi32): Likewise.
28522         [C99-based-standards] (PRIo32): Likewise.
28523         [C99-based-standards] (PRIu32): Likewise.
28524         [C99-based-standards] (PRIx32): Likewise.
28525         [C99-based-standards] (PRIX32): Likewise.
28526         [C99-based-standards] (SCNd32): Likewise.
28527         [C99-based-standards] (SCNi32): Likewise.
28528         [C99-based-standards] (SCNo32): Likewise.
28529         [C99-based-standards] (SCNu32): Likewise.
28530         [C99-based-standards] (SCNx32): Likewise.
28531         [C99-based-standards] (PRIdLEAST32): Likewise.
28532         [C99-based-standards] (PRIiLEAST32): Likewise.
28533         [C99-based-standards] (PRIoLEAST32): Likewise.
28534         [C99-based-standards] (PRIuLEAST32): Likewise.
28535         [C99-based-standards] (PRIxLEAST32): Likewise.
28536         [C99-based-standards] (PRIXLEAST32): Likewise.
28537         [C99-based-standards] (SCNdLEAST32): Likewise.
28538         [C99-based-standards] (SCNiLEAST32): Likewise.
28539         [C99-based-standards] (SCNoLEAST32): Likewise.
28540         [C99-based-standards] (SCNuLEAST32): Likewise.
28541         [C99-based-standards] (SCNxLEAST32): Likewise.
28542         [C99-based-standards] (PRIdFAST32): Likewise.
28543         [C99-based-standards] (PRIiFAST32): Likewise.
28544         [C99-based-standards] (PRIoFAST32): Likewise.
28545         [C99-based-standards] (PRIuFAST32): Likewise.
28546         [C99-based-standards] (PRIxFAST32): Likewise.
28547         [C99-based-standards] (PRIXFAST32): Likewise.
28548         [C99-based-standards] (SCNdFAST32): Likewise.
28549         [C99-based-standards] (SCNiFAST32): Likewise.
28550         [C99-based-standards] (SCNoFAST32): Likewise.
28551         [C99-based-standards] (SCNuFAST32): Likewise.
28552         [C99-based-standards] (SCNxFAST32): Likewise.
28553         [C99-based-standards] (PRId64): Likewise.
28554         [C99-based-standards] (PRIi64): Likewise.
28555         [C99-based-standards] (PRIo64): Likewise.
28556         [C99-based-standards] (PRIu64): Likewise.
28557         [C99-based-standards] (PRIx64): Likewise.
28558         [C99-based-standards] (PRIX64): Likewise.
28559         [C99-based-standards] (SCNd64): Likewise.
28560         [C99-based-standards] (SCNi64): Likewise.
28561         [C99-based-standards] (SCNo64): Likewise.
28562         [C99-based-standards] (SCNu64): Likewise.
28563         [C99-based-standards] (SCNx64): Likewise.
28564         [C99-based-standards] (PRIdLEAST64): Likewise.
28565         [C99-based-standards] (PRIiLEAST64): Likewise.
28566         [C99-based-standards] (PRIoLEAST64): Likewise.
28567         [C99-based-standards] (PRIuLEAST64): Likewise.
28568         [C99-based-standards] (PRIxLEAST64): Likewise.
28569         [C99-based-standards] (PRIXLEAST64): Likewise.
28570         [C99-based-standards] (SCNdLEAST64): Likewise.
28571         [C99-based-standards] (SCNiLEAST64): Likewise.
28572         [C99-based-standards] (SCNoLEAST64): Likewise.
28573         [C99-based-standards] (SCNuLEAST64): Likewise.
28574         [C99-based-standards] (SCNxLEAST64): Likewise.
28575         [C99-based-standards] (PRIdFAST64): Likewise.
28576         [C99-based-standards] (PRIiFAST64): Likewise.
28577         [C99-based-standards] (PRIoFAST64): Likewise.
28578         [C99-based-standards] (PRIuFAST64): Likewise.
28579         [C99-based-standards] (PRIxFAST64): Likewise.
28580         [C99-based-standards] (PRIXFAST64): Likewise.
28581         [C99-based-standards] (SCNdFAST64): Likewise.
28582         [C99-based-standards] (SCNiFAST64): Likewise.
28583         [C99-based-standards] (SCNoFAST64): Likewise.
28584         [C99-based-standards] (SCNuFAST64): Likewise.
28585         [C99-based-standards] (SCNxFAST64): Likewise.
28586         [C99-based-standards] (PRIdMAX): Likewise.
28587         [C99-based-standards] (PRIiMAX): Likewise.
28588         [C99-based-standards] (PRIoMAX): Likewise.
28589         [C99-based-standards] (PRIuMAX): Likewise.
28590         [C99-based-standards] (PRIxMAX): Likewise.
28591         [C99-based-standards] (PRIXMAX): Likewise.
28592         [C99-based-standards] (SCNdMAX): Likewise.
28593         [C99-based-standards] (SCNiMAX): Likewise.
28594         [C99-based-standards] (SCNoMAX): Likewise.
28595         [C99-based-standards] (SCNuMAX): Likewise.
28596         [C99-based-standards] (SCNxMAX): Likewise.
28597         [C99-based-standards] (PRIdPTR): Likewise.
28598         [C99-based-standards] (PRIiPTR): Likewise.
28599         [C99-based-standards] (PRIoPTR): Likewise.
28600         [C99-based-standards] (PRIuPTR): Likewise.
28601         [C99-based-standards] (PRIxPTR): Likewise.
28602         [C99-based-standards] (PRIXPTR): Likewise.
28603         [C99-based-standards] (SCNdPTR): Likewise.
28604         [C99-based-standards] (SCNiPTR): Likewise.
28605         [C99-based-standards] (SCNoPTR): Likewise.
28606         [C99-based-standards] (SCNuPTR): Likewise.
28607         [C99-based-standards] (SCNxPTR): Likewise.
28608         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28609         allow.
28610         * conform/data/stdint.h-data: Update comments to clarify
28611         requirements.
28612         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28613         type.
28614         [C99-based standards] (INT8_MAX): Likewise.
28615         [C99-based standards] (INT16_MIN): Likewise.
28616         [C99-based standards] (INT16_MAX): Likewise.
28617         [C99-based standards] (INT32_MIN): Likewise.
28618         [C99-based standards] (INT32_MAX): Likewise.
28619         [C99-based standards] (INT64_MIN): Likewise.
28620         [C99-based standards] (INT64_MAX): Likewise.
28621         [C99-based standards] (UINT8_MAX): Likewise.
28622         [C99-based standards] (UINT16_MAX): Likewise.
28623         [C99-based standards] (UINT32_MAX): Likewise.
28624         [C99-based standards] (UINT64_MAX): Likewise.
28625         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28626         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28627         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28628         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28629         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28630         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28631         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28632         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28633         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28634         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28635         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28636         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28637         [C99-based standards] (INT_FAST8_MIN): Likewise.
28638         [C99-based standards] (INT_FAST8_MAX): Likewise.
28639         [C99-based standards] (INT_FAST16_MIN): Likewise.
28640         [C99-based standards] (INT_FAST16_MAX): Likewise.
28641         [C99-based standards] (INT_FAST32_MIN): Likewise.
28642         [C99-based standards] (INT_FAST32_MAX): Likewise.
28643         [C99-based standards] (INT_FAST64_MIN): Likewise.
28644         [C99-based standards] (INT_FAST64_MAX): Likewise.
28645         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28646         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28647         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28648         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28649         [C99-based standards] (INTPTR_MIN): Likewise.
28650         [C99-based standards] (INTPTR_MAX): Likewise.
28651         [C99-based standards] (UINTPTR_MAX): Likewise.
28652         [C99-based standards] (INTMAX_MIN): Likewise.
28653         [C99-based standards] (INTMAX_MAX): Likewise.
28654         [C99-based standards] (UINTMAX_MAX): Likewise.
28655         [C99-based standards] (PTRDIFF_MIN): Likewise.
28656         [C99-based standards] (PTRDIFF_MAX): Likewise.
28657         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28658         [C99-based standards] (SIZE_MAX): Likewise.
28659         [C99-based standards] (WCHAR_MAX): Likewise.
28660         [C99-based standards] (WINT_MAX): Likewise.
28661         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28662         constraint on value.
28663         [C99-based standards] (WCHAR_MIN): Likewise.
28664         [C99-based standards] (WINT_MIN): Likewise.
28665         [C99-based standards] (*_t): Allow.
28666         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28667         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28668         Include math.h-data and complex.h-data.  Remove all expectations
28669         of math.h and complex.h contents.
28670         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28671         at end of line.
28672         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28673         (struct tm): Expect tag.
28674         [C99-based-standards] (wcstof): Expect function.
28675         [C99-based-standards] (wcstold): Likewise.
28676         [C99-based-standards] (wcstoll): Likewise.
28677         [C99-based-standards] (wcstoull): Likewise.
28678         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28679         macro-int-constant.  Specify type.
28680         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28681         constraint on value.
28682         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28683         Specify type.
28684         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28685         Specify value.
28686         [ISO C standards]: Do not allow headers.
28687         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28688         wcs[abcdefghijklmnopqrstuvwxyz]*.
28689         [ISO C standards] (*_t): Do not allow.
28690         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28691         Expect function.
28692         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28693         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28694         Specify type.
28695         [ISO C standards]: Do not allow headers.
28696         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28697         is[abcdefghijklmnopqrstuvwxyz]*.
28698         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28699         to[abcdefghijklmnopqrstuvwxyz]*.
28700         [ISO C standards] (*_t): Do not allow.
28701         * conform/data/stdalign.h-data: New file.
28702         * conform/data/stdbool.h-data: Likewise.
28703         * conform/data/stdnoreturn.h-data: Likewise.
28704
28705 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28706
28707         [BZ #14815]
28708         * manual/filesys.texi (Directory Entries): Typo fix.
28709         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28710
28711 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28712
28713         * elf/elf.h (EM_AARCH64): New macro.
28714         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28715         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28716         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28717         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28718         (R_AARCH64_TLSDESC): Likewise.
28719         (NT_ARM_TLS): Likewise.
28720         (NT_ARM_HW_BREAK): Likewise.
28721         (NT_ARM_HW_WATCH): Likewise.
28722
28723 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28724
28725         [BZ #14811]
28726         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28727         (__ieee754_powl): Saturate nonzero exponents with absolute value
28728         below 0x1p-79 to +/- 0x1p-79.
28729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28730         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28731         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28732         nonzero exponents with absolute value below 0x1p-32 to +/-
28733         0x1p-32.
28734         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28735         (__ieee754_powl): Saturate nonzero exponents with absolute value
28736         below 0x1p-79 to +/- 0x1p-79.
28737         * math/libm-test.inc (pow_test): Add more tests.
28738
28739 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28740
28741         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28742         _dl_s390_cap_flags with kernel. Increase string length.
28743         (_dl_s390_platforms): Add z196 and zEC12.
28744
28745 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28746
28747         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28748         Change XOPEN21K to XOPEN2K.
28749
28750 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28751
28752         * string/memmove.c: Use memcpy when possible.
28753
28754 2012-11-06  Andreas Jaeger  <aj@suse.de>
28755
28756         * po/eo.po: Update from translation team.
28757
28758 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28759
28760         [BZ #14793]
28761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28762         exponent and small x and y exponents, scale x or y up.  Increase
28763         by 2 the exponent used in scaling up.
28764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28766         * math/libm-test.inc (fma_test): Add more tests.
28767         (fma_test_towardzero): Likewise.
28768         (fma_test_downward): Likewise.
28769         (fma_test_upward): Likewise.
28770
28771 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28772
28773         [BZ #14805]
28774         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28775         fenv_t *.
28776
28777         [BZ #14801]
28778         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28779         namespace for names of struct fields.
28780         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28781         fenv_t fields.
28782         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28783         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28784
28785 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28786
28787         [BZ #3665]
28788         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28789
28790 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28791
28792         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28793         PTR_DEMANGLE.
28794
28795         [BZ #5246]
28796         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28797         PTR_DEMANGLE.
28798
28799 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28800
28801         [BZ #14797]
28802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28803         definitely overflow as x * y not x * y + z.
28804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28806         * math/libm-test.inc (fma_test): Add more tests.
28807         (fma_test_towardzero): Likewise.
28808         (fma_test_downward): Likewise.
28809         (fma_test_upward): Likewise.
28810
28811 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28812
28813         [BZ #157]
28814
28815         * include/stub-tag.h: Remove file.
28816         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28817         '#include' of it.
28818         * manual/maint.texi (Porting): Don't reference it.
28819         * Makerules ($(objpfx)stubs): Likewise.
28820         * dirent/closedir.c: Don't include <stub-tag.h>.
28821         * dirent/dirfd.c: Likewise.
28822         * dirent/fdopendir.c: Likewise.
28823         * dirent/getdents.c: Likewise.
28824         * dirent/getdents64.c: Likewise.
28825         * dirent/opendir.c: Likewise.
28826         * dirent/readdir.c: Likewise.
28827         * dirent/readdir64.c: Likewise.
28828         * dirent/readdir64_r.c: Likewise.
28829         * dirent/readdir_r.c: Likewise.
28830         * dirent/rewinddir.c: Likewise.
28831         * dirent/seekdir.c: Likewise.
28832         * dirent/telldir.c: Likewise.
28833         * gmon/profil.c: Likewise.
28834         * grp/setgroups.c: Likewise.
28835         * inet/if_index.c: Likewise.
28836         * io/access.c: Likewise.
28837         * io/chdir.c: Likewise.
28838         * io/chmod.c: Likewise.
28839         * io/chown.c: Likewise.
28840         * io/close.c: Likewise.
28841         * io/dup.c: Likewise.
28842         * io/dup2.c: Likewise.
28843         * io/dup3.c: Likewise.
28844         * io/euidaccess.c: Likewise.
28845         * io/faccessat.c: Likewise.
28846         * io/fchdir.c: Likewise.
28847         * io/fchmod.c: Likewise.
28848         * io/fchmodat.c: Likewise.
28849         * io/fchown.c: Likewise.
28850         * io/fchownat.c: Likewise.
28851         * io/fcntl.c: Likewise.
28852         * io/flock.c: Likewise.
28853         * io/fstatfs.c: Likewise.
28854         * io/fstatfs64.c: Likewise.
28855         * io/fstatvfs.c: Likewise.
28856         * io/fstatvfs64.c: Likewise.
28857         * io/futimens.c: Likewise.
28858         * io/fxstat.c: Likewise.
28859         * io/fxstat64.c: Likewise.
28860         * io/fxstatat.c: Likewise.
28861         * io/fxstatat64.c: Likewise.
28862         * io/getcwd.c: Likewise.
28863         * io/isatty.c: Likewise.
28864         * io/lchmod.c: Likewise.
28865         * io/lchown.c: Likewise.
28866         * io/link.c: Likewise.
28867         * io/linkat.c: Likewise.
28868         * io/lseek.c: Likewise.
28869         * io/lseek64.c: Likewise.
28870         * io/lxstat64.c: Likewise.
28871         * io/mkdir.c: Likewise.
28872         * io/mkdirat.c: Likewise.
28873         * io/mkfifo.c: Likewise.
28874         * io/mkfifoat.c: Likewise.
28875         * io/open.c: Likewise.
28876         * io/open64.c: Likewise.
28877         * io/openat.c: Likewise.
28878         * io/openat64.c: Likewise.
28879         * io/pipe.c: Likewise.
28880         * io/pipe2.c: Likewise.
28881         * io/poll.c: Likewise.
28882         * io/posix_fadvise.c: Likewise.
28883         * io/posix_fadvise64.c: Likewise.
28884         * io/posix_fallocate.c: Likewise.
28885         * io/posix_fallocate64.c: Likewise.
28886         * io/read.c: Likewise.
28887         * io/readlink.c: Likewise.
28888         * io/readlinkat.c: Likewise.
28889         * io/rmdir.c: Likewise.
28890         * io/sendfile.c: Likewise.
28891         * io/sendfile64.c: Likewise.
28892         * io/statfs.c: Likewise.
28893         * io/statfs64.c: Likewise.
28894         * io/statvfs.c: Likewise.
28895         * io/statvfs64.c: Likewise.
28896         * io/symlink.c: Likewise.
28897         * io/symlinkat.c: Likewise.
28898         * io/ttyname.c: Likewise.
28899         * io/ttyname_r.c: Likewise.
28900         * io/umask.c: Likewise.
28901         * io/unlink.c: Likewise.
28902         * io/unlinkat.c: Likewise.
28903         * io/utime.c: Likewise.
28904         * io/utimensat.c: Likewise.
28905         * io/write.c: Likewise.
28906         * io/xmknod.c: Likewise.
28907         * io/xmknodat.c: Likewise.
28908         * io/xstat.c: Likewise.
28909         * io/xstat64.c: Likewise.
28910         * login/getpt.c: Likewise.
28911         * login/grantpt.c: Likewise.
28912         * login/unlockpt.c: Likewise.
28913         * math/e_acoshl.c: Likewise.
28914         * math/e_acosl.c: Likewise.
28915         * math/e_asinl.c: Likewise.
28916         * math/e_atan2l.c: Likewise.
28917         * math/e_atanhl.c: Likewise.
28918         * math/e_coshl.c: Likewise.
28919         * math/e_expl.c: Likewise.
28920         * math/e_fmodl.c: Likewise.
28921         * math/e_gammal_r.c: Likewise.
28922         * math/e_hypotl.c: Likewise.
28923         * math/e_j0l.c: Likewise.
28924         * math/e_j1l.c: Likewise.
28925         * math/e_jnl.c: Likewise.
28926         * math/e_lgammal_r.c: Likewise.
28927         * math/e_log10l.c: Likewise.
28928         * math/e_log2l.c: Likewise.
28929         * math/e_logl.c: Likewise.
28930         * math/e_powl.c: Likewise.
28931         * math/e_rem_pio2l.c: Likewise.
28932         * math/e_sinhl.c: Likewise.
28933         * math/e_sqrtl.c: Likewise.
28934         * math/fclrexcpt.c: Likewise.
28935         * math/fedisblxcpt.c: Likewise.
28936         * math/feenablxcpt.c: Likewise.
28937         * math/fegetenv.c: Likewise.
28938         * math/fegetexcept.c: Likewise.
28939         * math/fegetround.c: Likewise.
28940         * math/feholdexcpt.c: Likewise.
28941         * math/fesetenv.c: Likewise.
28942         * math/fesetround.c: Likewise.
28943         * math/feupdateenv.c: Likewise.
28944         * math/fgetexcptflg.c: Likewise.
28945         * math/fraiseexcpt.c: Likewise.
28946         * math/fsetexcptflg.c: Likewise.
28947         * math/ftestexcept.c: Likewise.
28948         * math/k_cosl.c: Likewise.
28949         * math/k_rem_pio2l.c: Likewise.
28950         * math/k_sinl.c: Likewise.
28951         * math/k_tanl.c: Likewise.
28952         * math/s_asinhl.c: Likewise.
28953         * math/s_atanl.c: Likewise.
28954         * math/s_cbrtl.c: Likewise.
28955         * math/s_erfl.c: Likewise.
28956         * math/s_expm1l.c: Likewise.
28957         * math/s_log1pl.c: Likewise.
28958         * math/s_tanhl.c: Likewise.
28959         * misc/acct.c: Likewise.
28960         * misc/brk.c: Likewise.
28961         * misc/chflags.c: Likewise.
28962         * misc/chroot.c: Likewise.
28963         * misc/fchflags.c: Likewise.
28964         * misc/fgetxattr.c: Likewise.
28965         * misc/flistxattr.c: Likewise.
28966         * misc/fremovexattr.c: Likewise.
28967         * misc/fsetxattr.c: Likewise.
28968         * misc/fsync.c: Likewise.
28969         * misc/ftruncate.c: Likewise.
28970         * misc/futimes.c: Likewise.
28971         * misc/futimesat.c: Likewise.
28972         * misc/getdomain.c: Likewise.
28973         * misc/getdtsz.c: Likewise.
28974         * misc/gethostid.c: Likewise.
28975         * misc/gethostname.c: Likewise.
28976         * misc/getloadavg.c: Likewise.
28977         * misc/getpagesize.c: Likewise.
28978         * misc/getsysstats.c: Likewise.
28979         * misc/getxattr.c: Likewise.
28980         * misc/gtty.c: Likewise.
28981         * misc/ioctl.c: Likewise.
28982         * misc/lgetxattr.c: Likewise.
28983         * misc/listxattr.c: Likewise.
28984         * misc/llistxattr.c: Likewise.
28985         * misc/lremovexattr.c: Likewise.
28986         * misc/lsetxattr.c: Likewise.
28987         * misc/lutimes.c: Likewise.
28988         * misc/madvise.c: Likewise.
28989         * misc/mincore.c: Likewise.
28990         * misc/mlock.c: Likewise.
28991         * misc/mlockall.c: Likewise.
28992         * misc/mmap.c: Likewise.
28993         * misc/mprotect.c: Likewise.
28994         * misc/msync.c: Likewise.
28995         * misc/munlock.c: Likewise.
28996         * misc/munlockall.c: Likewise.
28997         * misc/munmap.c: Likewise.
28998         * misc/preadv.c: Likewise.
28999         * misc/preadv64.c: Likewise.
29000         * misc/ptrace.c: Likewise.
29001         * misc/pwritev.c: Likewise.
29002         * misc/pwritev64.c: Likewise.
29003         * misc/readv.c: Likewise.
29004         * misc/reboot.c: Likewise.
29005         * misc/remap_file_pages.c: Likewise.
29006         * misc/removexattr.c: Likewise.
29007         * misc/revoke.c: Likewise.
29008         * misc/select.c: Likewise.
29009         * misc/setdomain.c: Likewise.
29010         * misc/setegid.c: Likewise.
29011         * misc/seteuid.c: Likewise.
29012         * misc/sethostid.c: Likewise.
29013         * misc/sethostname.c: Likewise.
29014         * misc/setregid.c: Likewise.
29015         * misc/setreuid.c: Likewise.
29016         * misc/setxattr.c: Likewise.
29017         * misc/sstk.c: Likewise.
29018         * misc/stty.c: Likewise.
29019         * misc/swapoff.c: Likewise.
29020         * misc/swapon.c: Likewise.
29021         * misc/sync.c: Likewise.
29022         * misc/syncfs.c: Likewise.
29023         * misc/syscall.c: Likewise.
29024         * misc/truncate.c: Likewise.
29025         * misc/ualarm.c: Likewise.
29026         * misc/usleep.c: Likewise.
29027         * misc/ustat.c: Likewise.
29028         * misc/utimes.c: Likewise.
29029         * misc/vhangup.c: Likewise.
29030         * misc/writev.c: Likewise.
29031         * posix/_exit.c: Likewise.
29032         * posix/alarm.c: Likewise.
29033         * posix/execve.c: Likewise.
29034         * posix/fexecve.c: Likewise.
29035         * posix/fork.c: Likewise.
29036         * posix/fpathconf.c: Likewise.
29037         * posix/getaddrinfo.c: Likewise.
29038         * posix/getegid.c: Likewise.
29039         * posix/geteuid.c: Likewise.
29040         * posix/getgid.c: Likewise.
29041         * posix/getgroups.c: Likewise.
29042         * posix/getlogin.c: Likewise.
29043         * posix/getlogin_r.c: Likewise.
29044         * posix/getpgid.c: Likewise.
29045         * posix/getpid.c: Likewise.
29046         * posix/getppid.c: Likewise.
29047         * posix/getresgid.c: Likewise.
29048         * posix/getresuid.c: Likewise.
29049         * posix/getsid.c: Likewise.
29050         * posix/getuid.c: Likewise.
29051         * posix/glob64.c: Likewise.
29052         * posix/nanosleep.c: Likewise.
29053         * posix/pathconf.c: Likewise.
29054         * posix/pause.c: Likewise.
29055         * posix/posix_madvise.c: Likewise.
29056         * posix/pread.c: Likewise.
29057         * posix/pread64.c: Likewise.
29058         * posix/pwrite.c: Likewise.
29059         * posix/pwrite64.c: Likewise.
29060         * posix/sched_getaffinity.c: Likewise.
29061         * posix/sched_getp.c: Likewise.
29062         * posix/sched_gets.c: Likewise.
29063         * posix/sched_primax.c: Likewise.
29064         * posix/sched_primin.c: Likewise.
29065         * posix/sched_rr_gi.c: Likewise.
29066         * posix/sched_setaffinity.c: Likewise.
29067         * posix/sched_setp.c: Likewise.
29068         * posix/sched_sets.c: Likewise.
29069         * posix/sched_yield.c: Likewise.
29070         * posix/setgid.c: Likewise.
29071         * posix/setlogin.c: Likewise.
29072         * posix/setpgid.c: Likewise.
29073         * posix/setresgid.c: Likewise.
29074         * posix/setresuid.c: Likewise.
29075         * posix/setsid.c: Likewise.
29076         * posix/setuid.c: Likewise.
29077         * posix/sleep.c: Likewise.
29078         * posix/spawni.c: Likewise.
29079         * posix/sysconf.c: Likewise.
29080         * posix/times.c: Likewise.
29081         * posix/wait.c: Likewise.
29082         * posix/wait3.c: Likewise.
29083         * posix/wait4.c: Likewise.
29084         * posix/waitpid.c: Likewise.
29085         * resolv/gai_sigqueue.c: Likewise.
29086         * resource/getpriority.c: Likewise.
29087         * resource/getrlimit.c: Likewise.
29088         * resource/getrusage.c: Likewise.
29089         * resource/nice.c: Likewise.
29090         * resource/setpriority.c: Likewise.
29091         * resource/setrlimit.c: Likewise.
29092         * resource/ulimit.c: Likewise.
29093         * rt/aio_cancel.c: Likewise.
29094         * rt/aio_fsync.c: Likewise.
29095         * rt/aio_read.c: Likewise.
29096         * rt/aio_sigqueue.c: Likewise.
29097         * rt/aio_suspend.c: Likewise.
29098         * rt/aio_write.c: Likewise.
29099         * rt/clock_getres.c: Likewise.
29100         * rt/clock_gettime.c: Likewise.
29101         * rt/clock_nanosleep.c: Likewise.
29102         * rt/clock_settime.c: Likewise.
29103         * rt/lio_listio.c: Likewise.
29104         * rt/mq_close.c: Likewise.
29105         * rt/mq_getattr.c: Likewise.
29106         * rt/mq_notify.c: Likewise.
29107         * rt/mq_open.c: Likewise.
29108         * rt/mq_receive.c: Likewise.
29109         * rt/mq_send.c: Likewise.
29110         * rt/mq_setattr.c: Likewise.
29111         * rt/mq_timedreceive.c: Likewise.
29112         * rt/mq_timedsend.c: Likewise.
29113         * rt/mq_unlink.c: Likewise.
29114         * rt/shm_open.c: Likewise.
29115         * rt/shm_unlink.c: Likewise.
29116         * rt/timer_create.c: Likewise.
29117         * rt/timer_delete.c: Likewise.
29118         * rt/timer_getoverr.c: Likewise.
29119         * rt/timer_gettime.c: Likewise.
29120         * rt/timer_settime.c: Likewise.
29121         * setjmp/__longjmp.c: Likewise.
29122         * setjmp/setjmp.c: Likewise.
29123         * signal/kill.c: Likewise.
29124         * signal/killpg.c: Likewise.
29125         * signal/raise.c: Likewise.
29126         * signal/sigaction.c: Likewise.
29127         * signal/sigaltstack.c: Likewise.
29128         * signal/sigblock.c: Likewise.
29129         * signal/sigignore.c: Likewise.
29130         * signal/sigintr.c: Likewise.
29131         * signal/signal.c: Likewise.
29132         * signal/sigpause.c: Likewise.
29133         * signal/sigpending.c: Likewise.
29134         * signal/sigqueue.c: Likewise.
29135         * signal/sigreturn.c: Likewise.
29136         * signal/sigset.c: Likewise.
29137         * signal/sigsetmask.c: Likewise.
29138         * signal/sigstack.c: Likewise.
29139         * signal/sigsuspend.c: Likewise.
29140         * signal/sigtimedwait.c: Likewise.
29141         * signal/sigvec.c: Likewise.
29142         * signal/sigwait.c: Likewise.
29143         * signal/sigwaitinfo.c: Likewise.
29144         * signal/sysv_signal.c: Likewise.
29145         * socket/accept.c: Likewise.
29146         * socket/accept4.c: Likewise.
29147         * socket/bind.c: Likewise.
29148         * socket/connect.c: Likewise.
29149         * socket/getpeername.c: Likewise.
29150         * socket/getsockname.c: Likewise.
29151         * socket/getsockopt.c: Likewise.
29152         * socket/isfdtype.c: Likewise.
29153         * socket/listen.c: Likewise.
29154         * socket/recv.c: Likewise.
29155         * socket/recvfrom.c: Likewise.
29156         * socket/recvmsg.c: Likewise.
29157         * socket/send.c: Likewise.
29158         * socket/sendmsg.c: Likewise.
29159         * socket/sendto.c: Likewise.
29160         * socket/setsockopt.c: Likewise.
29161         * socket/shutdown.c: Likewise.
29162         * socket/sockatmark.c: Likewise.
29163         * socket/socket.c: Likewise.
29164         * socket/socketpair.c: Likewise.
29165         * stdio-common/ctermid.c: Likewise.
29166         * stdio-common/cuserid.c: Likewise.
29167         * stdio-common/remove.c: Likewise.
29168         * stdio-common/rename.c: Likewise.
29169         * stdio-common/renameat.c: Likewise.
29170         * stdio-common/tempname.c: Likewise.
29171         * stdlib/getcontext.c: Likewise.
29172         * stdlib/makecontext.c: Likewise.
29173         * stdlib/setcontext.c: Likewise.
29174         * stdlib/swapcontext.c: Likewise.
29175         * stdlib/system.c: Likewise.
29176         * streams/fattach.c: Likewise.
29177         * streams/fdetach.c: Likewise.
29178         * streams/getmsg.c: Likewise.
29179         * streams/getpmsg.c: Likewise.
29180         * streams/putmsg.c: Likewise.
29181         * streams/putpmsg.c: Likewise.
29182         * sysdeps/unix/bsd/getpt.c: Likewise.
29183         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29184         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29185         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29187         Likewise.
29188         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29189         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29190         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29191         * sysvipc/msgctl.c: Likewise.
29192         * sysvipc/msgget.c: Likewise.
29193         * sysvipc/msgrcv.c: Likewise.
29194         * sysvipc/msgsnd.c: Likewise.
29195         * sysvipc/semctl.c: Likewise.
29196         * sysvipc/semget.c: Likewise.
29197         * sysvipc/semop.c: Likewise.
29198         * sysvipc/semtimedop.c: Likewise.
29199         * sysvipc/shmat.c: Likewise.
29200         * sysvipc/shmctl.c: Likewise.
29201         * sysvipc/shmdt.c: Likewise.
29202         * sysvipc/shmget.c: Likewise.
29203         * termios/tcdrain.c: Likewise.
29204         * termios/tcflow.c: Likewise.
29205         * termios/tcflush.c: Likewise.
29206         * termios/tcgetattr.c: Likewise.
29207         * termios/tcgetpgrp.c: Likewise.
29208         * termios/tcsendbrk.c: Likewise.
29209         * termios/tcsetattr.c: Likewise.
29210         * termios/tcsetpgrp.c: Likewise.
29211         * time/adjtime.c: Likewise.
29212         * time/clock.c: Likewise.
29213         * time/getitimer.c: Likewise.
29214         * time/gettimeofday.c: Likewise.
29215         * time/setitimer.c: Likewise.
29216         * time/settimeofday.c: Likewise.
29217         * time/stime.c: Likewise.
29218         * time/time.c: Likewise.
29219
29220 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29221
29222         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29223         /usr/old/bin.
29224
29225         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29226         instead of spaces.
29227         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29228
29229 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29230
29231         [BZ #14796]
29232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29233         FE_TONEAREST before applying Dekker multiplication and Knuth
29234         addition.  Clear inexact exceptions and check for exact zero
29235         results afterwards.
29236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29237         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29238         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29239         * math/libm-test.inc (fma_test): Add more tests.
29240         (fma_test_towardzero): Likewise.
29241         (fma_test_downward): Likewise.
29242         (fma_test_upward): Likewise.
29243         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29244         function.
29245         (libc_fesetround): New macro.
29246         (libc_fesetroundf): Likewise.
29247         (libc_fesetroundl): Likewise.
29248         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29249         function.
29250         (libc_fesetround_387): Likewise.
29251         (libc_fesetroundf): New macro.
29252         (libc_fesetround): Likewise.
29253         (libc_fesetroundl): Likewise.
29254         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29255         function.
29256         (libc_fesetroundf): New macro.
29257         (libc_fesetround): Likewise.
29258         (libc_fesetroundl): Likewise.
29259         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29260         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29261         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29262         libm_hidden_ver.
29263         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29264         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29265         libm_hidden_def.
29266         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29267         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29268         libm_hidden_ver.
29269         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29270         libm_hidden_def.
29271
29272         [BZ #3439]
29273         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29274         integer constant usable in #if and use that to give value to enum
29275         constant.
29276         (FE_DIVBYZERO): Likewise.
29277         (FE_UNDERFLOW): Likewise.
29278         (FE_OVERFLOW): Likewise.
29279         (FE_INVALID): Likewise.
29280         (FE_INVALID_SNAN): Likewise.
29281         (FE_INVALID_ISI): Likewise.
29282         (FE_INVALID_IDI): Likewise.
29283         (FE_INVALID_ZDZ): Likewise.
29284         (FE_INVALID_IMZ): Likewise.
29285         (FE_INVALID_COMPARE): Likewise.
29286         (FE_INVALID_SOFTWARE): Likewise.
29287         (FE_INVALID_SQRT): Likewise.
29288         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29289         (FE_TONEAREST): Likewise.
29290         (FE_TOWARDZERO): Likewise.
29291         (FE_UPWARD): Likewise.
29292         (FE_DOWNWARD): Likewise.
29293         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29294         (FE_DIVBYZERO): Likewise.
29295         (FE_OVERFLOW): Likewise.
29296         (FE_UNDERFLOW): Likewise.
29297         (FE_INEXACT): Likewise.
29298         (FE_TONEAREST): Likewise.
29299         (FE_DOWNWARD): Likewise.
29300         (FE_UPWARD): Likewise.
29301         (FE_TOWARDZERO): Likewise.
29302         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29303         (FE_UNDERFLOW): Likewise.
29304         (FE_OVERFLOW): Likewise.
29305         (FE_DIVBYZERO): Likewise.
29306         (FE_INVALID): Likewise.
29307         (FE_TONEAREST): Likewise.
29308         (FE_TOWARDZERO): Likewise.
29309         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29310         (FE_OVERFLOW): Likewise.
29311         (FE_UNDERFLOW): Likewise.
29312         (FE_DIVBYZERO): Likewise.
29313         (FE_INEXACT): Likewise.
29314         (FE_TONEAREST): Likewise.
29315         (FE_TOWARDZERO): Likewise.
29316         (FE_UPWARD): Likewise.
29317         (FE_DOWNWARD): Likewise.
29318         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29319         (FE_DIVBYZERO): Likewise.
29320         (FE_OVERFLOW): Likewise.
29321         (FE_UNDERFLOW): Likewise.
29322         (FE_INEXACT): Likewise.
29323         (FE_TONEAREST): Likewise.
29324         (FE_DOWNWARD): Likewise.
29325         (FE_UPWARD): Likewise.
29326         (FE_TOWARDZERO): Likewise.
29327
29328 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29329
29330         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29331
29332 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29333
29334         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29335         commands.  Quote $PWD.
29336         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29337         -x" by "export".
29338         (remove_newlines): Remove.
29339
29340 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29341
29342         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29343         * stdlib/stdlib.h (atof): Moved to ...
29344         * include/bits/stdlib-float.h: Here.  New file.
29345         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29346         * stdlib/bits/stdlib-float.h: New file.
29347         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29348         -mno-sse -mno-mmx.
29349         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29350         <xmmintrin.h>.
29351
29352 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29353
29354         * conform/conformtest.pl (@headers): Add fenv.h.
29355         * conform/data/fenv.h-data: New file.
29356         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29357         include of <math/fenv.h>.
29358
29359         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29360         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29361         && !UNIX98].  Enables tests for XOPEN2K8.
29362         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29363         POSIX2008]: Likewise.
29364
29365         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29366         (struct rusage): Do not expect type or its members.
29367
29368         [BZ #3439]
29369         * math/math.h (FP_NAN): Define macro to integer constant usable in
29370         #if and use that to give value to enum constant.
29371         (FP_INFINITE): Likewise.
29372         (FP_ZERO): Likewise.
29373         (FP_SUBNORMAL): Likewise.
29374         (FP_NORMAL): Likewise.
29375
29376 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29377
29378         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29379         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29380         arguments.
29381
29382 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29383
29384         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29385         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29386         autoconf-time if not.
29387         * configure.in: Remove AC_PREREQ.
29388
29389 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29390
29391         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29392         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29393         of the internal implementation.
29394
29395 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29396
29397         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29398         except include of <misc/sys/syslog.h>.
29399
29400 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29401
29402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29403         function returns with a NULL context exit with zero.
29404
29405 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29406
29407         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29408
29409 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29410
29411         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29412         (run_program_cmd): This.
29413         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29414         (tst_langinfo): New variable.  Use it.
29415
29416 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29417
29418         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29419         floating point opcodes.
29420
29421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29422
29423         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29424         variable.
29425
29426         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29427
29428         * sysdeps/mach/hurd/powerpc: Remove directory.
29429         * sysdeps/mach/powerpc: Likewise.
29430
29431 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29432
29433         * scripts/check-local-headers.sh: Ignore c++ headers.
29434
29435 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29436
29437         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29438         __libc_cleanup_region_start argument.
29439
29440 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29441
29442         [BZ #14784]
29443         [BZ #14785]
29444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29445         x * y using scaling, not as x * y + z.
29446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29447         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29448         * math/libm-test.inc (fma_test): Add more tests.
29449         (fma_test_towardzero): Likewise.
29450         (fma_test_downward): Likewise.
29451         (fma_test_upward): Likewise.
29452
29453 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29454
29455         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29456
29457 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29458
29459         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29460         New variable.
29461
29462 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29463
29464         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29465
29466 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29467
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29469         Fix sort order.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29471         Likewise.
29472
29473 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29474
29475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29476         Fix the order of the list for glibc 2.17.
29477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29478         Likewise.
29479
29480 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29481
29482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29483
29484 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29485
29486         [BZ #14610]
29487         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29488         for low part of x being zero before using __atanl (y).
29489         * math/libm-test.inc (atan2_test): Add another test.
29490
29491         * manual/install.texi (Configuring and compiling): Document
29492         general use of test-wrapper and test-wrapper-env.
29493         * INSTALL: Regenerated.
29494
29495         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29496         (__fma): Do not extract and scale down low bits on after-rounding
29497         systems when result rounded to normal precision would have normal
29498         exponent.
29499         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29500         (__fmal): Do not extract and scale down low bits on after-rounding
29501         systems when result rounded to normal precision would have normal
29502         exponent.
29503         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29504         (__fmal): Do not extract and scale down low bits on after-rounding
29505         systems when result rounded to normal precision would have normal
29506         exponent.
29507         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29508         macro.
29509         (fma_test): Add more tests.
29510         (fma_test_towardzero): Likewise.
29511         (fma_test_downward): Likewise.
29512         (fma_test_upward): Likewise.
29513
29514 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29515
29516         * sysdeps/i386/tininess.h: Renamed to ...
29517         * sysdeps/x86/tininess.h: This.
29518         * sysdeps/x86_64/tininess.h: Removed.
29519
29520 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29521
29522         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29523         input.  Use $(build-program-cmd).
29524         ($(objpfx)tst-array1-static.out): Likewise.
29525         ($(objpfx)tst-array2.out): Likewise.
29526         ($(objpfx)tst-array3.out): Likewise.
29527         ($(objpfx)tst-array4.out): Likewise.
29528         ($(objpfx)tst-array5.out): Likewise.
29529         ($(objpfx)tst-array5-static.out): Likewise.
29530
29531 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29532
29533         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29534         if defined.
29535
29536         * nss/nsswitch.h (nss_interface_function): Provide new
29537         macro for use with NSS functions.
29538         * grp/initgroups.c: Use new macro.
29539         * nss/getXXbyYY.c: Likewise.
29540         * nss/getXXbyYY_r.c: Likewise.
29541         * nss/getXXent.c: Likewise.
29542         * nss/getXXent_r.c: Likewise.
29543         * sysdeps/posix/getaddrinfo.c: Likewise.
29544
29545 2012-10-30  Andreas Jaeger  <aj@suse.de>
29546
29547         * po/ru.po: Update Russion translation from translation project.
29548
29549 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29550
29551         [BZ #14152]
29552         [BZ #14783]
29553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29554         result and shift together with sticky bit instead of replicating
29555         round-to-nearest rounding.
29556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29558         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29559         missing underflow exceptions.
29560         (fma_test_towardzero): Add more tests.
29561         (fma_test_downward): Likewise.
29562         (fma_test_upward): Likewise.
29563
29564         [BZ #14047]
29565         * sysdeps/generic/tininess.h: New file.
29566         * sysdeps/i386/tininess.h: Likewise.
29567         * sysdeps/sh/tininess.h: Likewise.
29568         * sysdeps/x86_64/tininess.h: Likewise.
29569         * stdlib/tst-strtod-underflow.c: Likewise.
29570         * stdlib/tst-tininess.c: Likewise.
29571         * stdlib/strtod_l.c: Include <tininess.h>.
29572         (round_and_return): Do not set errno for exact underflow cases.
29573         Force an underflow exception when setting errno for underflow.
29574         Determine underflow based on rounding to normal precision if
29575         TININESS_AFTER_ROUNDING.
29576         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29577         ERANGE for exact underflow cases.
29578         * stdlib/Makefile (tests): Add tst-tininess and
29579         tst-strtod-underflow.
29580         ($(objpfx)tst-tininess): Use $(link-libm).
29581         ($(objpfx)tst-strtod-underflow): Likewise.
29582
29583 2012-10-30  Andreas Jaeger  <aj@suse.de>
29584
29585         [BZ#14767]
29586         * elf/Makefile (tests): Remove conditional for have-initfini-array
29587         since this is now always required and the variable does not exist
29588         anymore.
29589         (tests-static): Likewise.
29590         (modules-names): Likewise.
29591
29592         * po/eo.po: Add Esperanto translation from translation project.
29593
29594         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29595         merged with constructor/destructor.
29596         (init_array): Likewise.
29597         * elf/tst-array2dep.c (fini_array): Likewise.
29598         (init_array): Likewise.
29599
29600 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29601
29602         * manual/message.texi: Delete @cartouche tags.
29603
29604 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29605
29606         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29607         EOPNOTSUPP.
29608         * sysdeps/mach/hurd/fsync.c: Likewise.
29609
29610         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29611         [_POSIX_REALTIME_SIGNALS]: Change condition to
29612         [_POSIX_REALTIME_SIGNALS > 0].
29613
29614 2012-10-27  Andreas Jaeger  <aj@suse.de>
29615
29616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29617         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29618         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29619         [__WORDSIZE != 64]: Likewise.
29620
29621 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29622
29623         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29624         *  iconvdata/tst-tables.sh: Likewise.
29625
29626 2012-10-25  David S. Miller  <davem@davemloft.net>
29627
29628         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29629         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29630         of strtoull.
29631
29632         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29633         ifunc-impl-list.c
29634         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29635         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29636         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29637         file.
29638
29639 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29640
29641         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29642         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29643         __getdirentries.
29644
29645 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29646             Jim Blandy  <jimb@codesourcery.com>
29647
29648         * scripts/cross-test-ssh.sh: New file.
29649         * manual/install.texi (Configuring and compiling): Document use of
29650         cross-test-ssh.sh.
29651         * INSTALL: Regenerated.
29652
29653 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29654
29655         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29656         EOPNOTSUPP.
29657
29658 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29659
29660         * Makeconfig (run-program-prefix): Fix comment.
29661
29662 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29663             Jim Blandy  <jimb@codesourcery.com>
29664
29665         * Makeconfig (test-wrapper): New variable,
29666         (test-wrapper-env): Likewise.
29667         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29668         (run-built-tests): Define to yes.
29669         (run-program-prefix): Use $(test-wrapper).
29670         (built-program-cmd): Likewise.
29671         * Rules (make-test-out): Use $(test-wrapper-env) and
29672         $(host-built-program-cmd).
29673         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29674         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29675         tst-pathopt.sh.
29676         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29677         $(test-wrapper-env) to tst-rtld-load-self.sh.
29678         ($(objpfx)order2.out): Use $(test-wrapper).
29679         ($(objpfx)tst-initorder.out): Likewise.
29680         ($(objpfx)tst-initorder2.out): Likewise.
29681         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29682         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29683         (test_wrapper_env): New variable.  Use it to run ld.so.
29684         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29685         Use it to run ld.so.
29686         (test_wrapper_env): Likewise.
29687         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29688         $(test-wrapper) to run-iconv-test.sh.
29689         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29690         (ICONV): Use $test_wrapper.
29691         * posix/Makefile ($(objpfx)globtest.out): Pass
29692         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29693         globtest.sh, not $(run-program-prefix).
29694         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29695         (test_wrapper): Likewise.
29696         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29697         set together with run_via_rtld_prefix.
29698         (run_program_prefix): Define in terms of test_wrapper and
29699         run_via_rtld_prefix.
29700
29701 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29702
29703         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29704         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29705         Targets removed.
29706
29707         [BZ #14743]
29708         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29709         Declare __clock_getres, __clock_gettime, __clock_settime,
29710         __clock_nanosleep, and __clock_getcpuclockid.
29711         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29712         Remove librt_hidden_def (clock_gettime).
29713         * sysdeps/unix/clock_gettime.c: Likewise.
29714         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29715         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29716         * rt/clock_getres.c: Define __clock_getres as an alias.
29717         * sysdeps/posix/clock_getres.c: Likewise.
29718         * rt/clock_settime.c: Define __clock_settime as an alias.
29719         * sysdeps/unix/clock_settime.c: Likewise.
29720         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29721         * sysdeps/unix/clock_nanosleep.c: Likewise.
29722         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29723         * rt/clock-compat.c: New file.
29724         * rt/Makefile (librt-routines): Add clock-compat and move
29725         $(clock-routines) to ...
29726         (routines): ... here, new variable.
29727         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29728         Don't add get_clockfreq here.
29729         * rt/Versions (libc: GLIBC_2.17): New version set.
29730         Add clock_* symbols here.
29731         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29732         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29733         (GLIBC_2.17): Add clock_* symbols.
29734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29736         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29738         Likewise.
29739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29740         Likewise.
29741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29745         * NEWS: Mention the move.
29746
29747         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29748         Use __open, __read, __close rather than their public counterparts.
29749         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29750         (__get_clockfreq_via_cpuinfo): Likewise.
29751         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29752         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29753
29754         * config.h.in (HAVE_IFUNC): New #undef.
29755         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29756         was successful.
29757         * configure: Regenerated.
29758
29759 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29760
29761         * configure.in: Move READELF check to start of file.
29762         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29763         libc_cv_asm_gnu_indirect_function in the process.
29764         * configure: Regenerated.
29765
29766 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29767
29768         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29769         send the output to /dev/null.
29770         (libc_cv_cc_with_libunwind): Likewise.
29771         (libc_cv_as_noexecstack): Likewise.
29772         * configure: Regenerate.
29773
29774 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29775
29776         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29777
29778         * posix/globtest.sh (TMPDIR): Do not set.
29779         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29780         (testout): Likewise.
29781
29782 2012-10-24  Andreas Jaeger  <aj@suse.de>
29783
29784         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29785         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29786         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29787         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29788         posix_fadvise64, posix_fallocate64.
29789
29790         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29791         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29792         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29793         Likewise.
29794         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29795         Likewise.
29796         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29797
29798         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29799         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29800         <bits/fcntl-linux.h>.
29801         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29802
29803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29804         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29805         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29806         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29807         [__WORDSIZE != 64]: Likewise.
29808
29809 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29810
29811         * Makeconfig (run-built-tests): New variable.
29812         * Rules [$(cross-compiling) = yes]: Change condition to
29813         [$(run-built-tests) = no].
29814         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29815         to [$(run-built-tests) = yes].
29816         * elf/Makefile [$(cross-compiling) = no]: Likewise
29817         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29818         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29819         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29820         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29821         * io/Makefile [$(cross-compiling) = no]: Likewise.
29822         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29823         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29824         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29825         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29826         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29827         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29828         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29829         * string/Makefile [$(cross-compiling) = no]: Likewise.
29830
29831         * posix/Makefile ($(objpfx)globtest.out): Pass
29832         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29833         $(rtld-installed-name).
29834         * posix/globtest.sh (elf_objpfx): Remove variable.
29835         (rtld_installed_name): Likewise.
29836         (library_path): Likewise.
29837         (run_program_prefix): New variable.  Use for running globtest
29838         binary.
29839
29840 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29841             Joseph Myers  <joseph@codesourcery.com>
29842
29843         * Makeconfig (host-built-program-cmd): New variable.
29844         * elf/Makefile (tst-stackguard1-ARGS): Use
29845         $(host-built-program-cmd).
29846         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29847         (tst-spawn-ARGS): Likewise.
29848         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29849
29850 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29851             Jim Blandy  <jimb@codesourcery.com>
29852
29853         * Makeconfig (run-via-rtld-prefix): New variable.
29854         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29855         (built-program-cmd): Likewise.
29856
29857 2012-10-22  Andreas Jaeger  <aj@suse.de>
29858
29859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29860         __O_RSYNC if it exists, otherwise to O_SYNC.
29861
29862 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29863             Joseph Myers  <joseph@codesourcery.com>
29864
29865         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29866         /dev/null.
29867         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29868         from /dev/null
29869         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29870         /dev/null.
29871
29872 2012-10-22  Andreas Jaeger  <aj@suse.de>
29873
29874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29875         Define always.
29876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29877
29878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29879         bits/fcntl-linux.h.
29880
29881         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29882         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29883
29884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29885         to __O_LARGEFILE.
29886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29887         to __O_LARGEFILE.
29888
29889 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29890             Joseph Myers  <joseph@codesourcery.com>
29891
29892         * config.make.in (NM): New variable.
29893
29894 2012-10-21  Andreas Jaeger  <aj@suse.de>
29895
29896         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29897         definitions and declarations that are provided by
29898         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29899
29900 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29901
29902         [BZ #14683]
29903         * elf/Makefile (tests-static): Add tst-leaks1-static.
29904         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29905         ($(objpfx)tst-leaks1-static): New rule.
29906         ($(objpfx)tst-leaks1-static-mem): Likewise.
29907         (tst-leaks1-static-ENV): New macro.
29908         * elf/dl-open.c (dl_open_worker): Check the main application
29909         only if SHARED is defined.
29910         * elf/tst-leaks1-static.c: New file.
29911
29912 2012-10-20  Andreas Jaeger  <aj@suse.de>
29913
29914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29915         generic values for Linux.
29916         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29917         and declarations that are provided by <bits/fcntl-linux.h> and
29918         include <bits/fcntl-linux.h>.
29919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29921
29922 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29923
29924         * io/fcntl.h: Move include of <bits/types.h> to the top and
29925         include it unconditionally.
29926
29927 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29928
29929         * wcsmbs/Makefile (tests-ifunc): New variable.
29930         (tests): Add $(tests-ifunc).
29931         * wcsmbs/test-wcschr-ifunc.c: New file.
29932         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29933         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29934         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29935         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29936         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29937
29938         * string/Makefile (tests-ifunc): New variable.
29939         (tests): Add $(tests-ifunc).
29940         * string/test-memccpy.c (TEST_NAME): New macro.
29941         * string/test-memchr.c (TEST_NAME): Likewise.
29942         * string/test-memcmp.c (TEST_NAME): Likewise.
29943         * string/test-memcpy.c (TEST_NAME): Likewise.
29944         * string/test-memmem.c (TEST_NAME): Likewise.
29945         * string/test-memmove.c (TEST_NAME): Likewise.
29946         * string/test-memset.c (TEST_NAME): Likewise.
29947         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29948         * string/test-stpcpy.c (TEST_NAME): Likewise.
29949         * string/test-stpncpy.c (TEST_NAME): Likewise.
29950         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29951         * string/test-strcasestr.c (TEST_NAME): Likewise.
29952         * string/test-strcat.c (TEST_NAME): Likewise.
29953         * string/test-strchr.c (TEST_NAME): Likewise.
29954         * string/test-strcmp.c(TEST_NAME): Likewise.
29955         * string/test-strcpy.c (TEST_NAME): Likewise.
29956         * string/test-strcspn.c (TEST_NAME): Likewise.
29957         * string/test-strlen.c (TEST_NAME): Likewise.
29958         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29959         * string/test-strncmp.c (TEST_NAME): Likewise.
29960         * string/test-strncpy.c (TEST_NAME): Likewise.
29961         * string/test-strnlen.c (TEST_NAME): Likewise.
29962         * string/test-strpbrk.c (TEST_NAME): Likewise.
29963         * string/test-strrchr.c (TEST_NAME): Likewise.
29964         * string/test-strspn.c (TEST_NAME): Likewise.
29965         * string/test-strstr.c (TEST_NAME): Likewise.
29966         * string/test-bcopy-ifunc.c: New file.
29967         * string/test-bzero-ifunc.c: Likewise.
29968         * string/test-memccpy-ifunc.c: Likewise.
29969         * string/test-memchr-ifunc.c: Likewise.
29970         * string/test-memcmp-ifunc.c: Likewise.
29971         * string/test-memcpy-ifunc.c: Likewise.
29972         * string/test-memmem-ifunc.c: Likewise.
29973         * string/test-memmove-ifunc.c: Likewise.
29974         * string/test-mempcpy-ifunc.c: Likewise.
29975         * string/test-memset-ifunc.c: Likewise.
29976         * string/test-rawmemchr-ifunc.c: Likewise.
29977         * string/test-stpcpy-ifunc.c: Likewise.
29978         * string/test-stpncpy-ifunc.c: Likewise.
29979         * string/test-strcasecmp-ifunc.c: Likewise.
29980         * string/test-strcasestr-ifunc.c: Likewise.
29981         * string/test-strcat-ifunc.c: Likewise.
29982         * string/test-strchr-ifunc.c: Likewise.
29983         * string/test-strchrnul-ifunc.c: Likewise.
29984         * string/test-strcmp-ifunc.c: Likewise.
29985         * string/test-strcpy-ifunc.c: Likewise.
29986         * string/test-strcspn-ifunc.c: Likewise.
29987         * string/test-strlen-ifunc.c: Likewise.
29988         * string/test-strncasecmp-ifunc.c: Likewise.
29989         * string/test-strncat-ifunc.c: Likewise.
29990         * string/test-strncmp-ifunc.c: Likewise.
29991         * string/test-strncpy-ifunc.c: Likewise.
29992         * string/test-strnlen-ifunc.c: Likewise.
29993         * string/test-strpbrk-ifunc.c: Likewise.
29994         * string/test-strrchr-ifunc.c: Likewise.
29995         * string/test-strspn-ifunc.c: Likewise.
29996         * string/test-strstr-ifunc.c: Likewise.
29997
29998         * debug/Makefile (tests-ifunc): New variable.
29999         (tests): Add $(tests-ifunc).
30000         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30001         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30002         * debug/test-stpcpy_chk-ifunc.c: New file.
30003         * debug/test-strcpy_chk-ifunc.c: Likewise.
30004
30005 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30006
30007         [BZ #13601]
30008         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30009         header is not read in.
30010
30011 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30012
30013         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30014         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30015         directly.  Pass built executable to script as
30016         $(built-program-cmd).
30017         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30018         $testprogram without using LD_LIBRARY_PATH and $ldso.
30019
30020         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30021         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30022         $(rtld-installed-name).
30023         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30024         (rtld_installed_name): Likewise.
30025         (library_path): Likewise.
30026         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30027         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30028         $(run-program-prefix) to tst-tables.sh.
30029         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30030         it to run tst-table-from and tst-table-to.
30031         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30032         Pass it to tst-table.sh.
30033         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30034         $(run-program-prefix) to tst-gettext.sh.
30035         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30036         tst-translit.sh.
30037         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30038         tst-gettext2.sh.
30039         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30040         to run tst-gettext.
30041         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30042         to run tst-gettext2.
30043         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30044         to run tst-translit.
30045         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30046         $(run-program-prefix) to tst-mtrace.sh.
30047         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30048         to run tst-mtrace.
30049         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30050         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30051         $(rtld-installed-name).
30052         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30053         (rtld_installed_name): Likewise.
30054         (run_program_prefix): New variable.  Use it to run wordexp-test.
30055
30056         * Makeconfig (ARCH): Remove all definitions.
30057         (machine): Likewise.
30058         [ARCH]: Remove conditional code.
30059         [!objdir]: Give error.
30060         [!objdir] (objpfx): Remove.
30061         [!objdir] (common-objpfx): Likewise.
30062         [!objdir] (common-objdir): Likewise.
30063         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30064         AC_CONFIG_FILES call.
30065         * configure: Regenerated.
30066
30067         [BZ #13888]
30068         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30069         or TMPDIR.
30070         (testout): Likewise.
30071
30072         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30073         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30074         $(rtld-installed-name).
30075         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30076         (rtld_installed_name): Likwise.
30077         (runit): Remove function.
30078         (run_getconf): New variable,  Use it for running getconf binary.
30079
30080 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30081
30082         [BZ #14716]
30083         * string/test-memmem.c (check_result): New function.
30084         (do_one_test): Use it.
30085         (check1): New function.
30086         (test_main): Use it.
30087
30088 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30089
30090         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30091
30092 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30093
30094         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30095         (_G_LSEEK64): Likewise.
30096         (_G_MMAP64): Likewise.
30097         (_G_FSTAT64): Likewise.
30098         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30099         (_G_LSEEK64): Likewise.
30100         (_G_MMAP64): Likewise.
30101         (_G_FSTAT64): Likewise.
30102         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30103         unconditional.  Call __mmap64 directly.
30104         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30105         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30106         __lseek64 directly.
30107         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30108         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30109         __mmap64 directly.
30110         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30111         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30112         __lseek64 directly.
30113         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30114         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30115         __lseek64 directly.
30116         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30117         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30118         __lseek64 directly.
30119         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30120         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30121         __fxstat64 directly.
30122         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30123         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30124         unconditional.
30125         (freopen64) [!_G_OPEN64]: Remove conditional code.
30126         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30127         unconditional.
30128         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30129         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30130         unconditional.
30131         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30132         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30133         unconditional.
30134         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30135         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30136         unconditional.
30137         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30138         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30139         unconditional.
30140         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30141         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30142         unconditional.
30143         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30144         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30145         unconditional.
30146         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30147
30148 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30149
30150         [BZ #12140]
30151         * manual/memory.texi (Malloc Tunable Parameters): Add note
30152         about free list pointers overwriting some perturb bytes.
30153         Wording suggested by Roland McGrath.
30154
30155 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30156
30157         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30158         (lgamma_test): Likewise.
30159         (tgamma_test): Likewise.
30160
30161 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30162
30163         [BZ #14700]
30164         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30165         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30166
30167 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30168
30169         * NEWS: Mention BZ #14716.
30170         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30171         when removing AVAILABLE1_USES_J macro.
30172
30173 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30174
30175         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30176         (__bswap_64): __uint64_t for unsigned 64-bit int.
30177
30178 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30179
30180         * include/string.h (memmem): Declare libc hidden alias.
30181         * string/memmem.c (memmem): Define libc hidden alias.
30182         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30183         __read, __close instead of open, read, close.
30184
30185 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30186
30187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30188         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30189         global and hidden.
30190         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30191         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30192         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30193         Likewise.
30194         (__rawmemchr_sse2): Likewise.
30195         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30196         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30197         (__strchr_sse2): Likewise.
30198         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30199         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30200         (__strcasecmp_sse2): Likewise.
30201         (__strncasecmp_sse2): Likewise.
30202         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30203         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30204         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30205         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30206         (__strrchr_sse2): Likewise.
30207         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30208         ifunc-impl-list.c.
30209         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30210         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30211         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30212         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30213         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30214         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30215         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30216         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30217         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30218         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30219         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30220         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30221         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30222         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30223         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30224         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30225         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30226         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30227         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30228         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30229         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30230         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30231         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30232         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30233         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30234         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30235         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30236         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30237         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30238         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30239
30240         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30241         global and hidden.
30242         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30243         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30244         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30245         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30246         Likewise.
30247         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30248         Likewise.
30249         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30250         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30251         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30252         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30253         ifunc-impl-list.c.
30254         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30255         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30256         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30257         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30258         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30259         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30260         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30261         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30262         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30263         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30264         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30265         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30266         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30267         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30268         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30269         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30270         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30271         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30272         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30273         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30274         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30275         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30276         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30277         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30278         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30279         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30280         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30281         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30282         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30283         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30284         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30285         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30286         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30287         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30288         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30289         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30290         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30291         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30292         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30293         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30294         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30295
30296         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30297         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30298         * include/ifunc-impl-list.h: New file.
30299         * misc/ifunc-impl-list.c: Likewise.
30300         * misc/Makefile (routines): Add ifunc-impl-list.
30301         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30302         * string/test-string.h: Include <ifunc-impl-list.h>.
30303         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30304         TEST_NAME]: New variables.
30305         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30306         are defined.
30307         (test_init): Call __libc_ifunc_impl_list to initialize
30308         func_list if TEST_IFUNC and TEST_NAME are defined.
30309
30310         * string/Makefile (strop-tests): Add bcopy and bzero.
30311         * string/test-bcopy.c: New file.
30312         * string/test-bzero.c: Likewise.
30313         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30314         defined.
30315         * string/test-memset.c: Support bzero test if TEST_BZERO is
30316         defined.
30317         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30318         __libc_memmove.
30319         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30320         __libc_memset.
30321         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30322         of memset.
30323
30324 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30325
30326         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30327         * configure: Regenerated.
30328
30329         * Makeconfig (+link-static-before-libc): Don't include
30330         $(link-static-libc).
30331
30332         * libio/libio.h (_IO_pos_t): Remove.
30333
30334 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30335
30336         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30337         McGrath.
30338
30339 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30340
30341         * crypt/crypt-entry.c: Include fips-private.h.
30342         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30343         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30344         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30345         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30346
30347 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30348
30349         * crypt/crypt-private.h: Include stdbool.h.
30350         (_ufc_setup_salt_r): Return bool.
30351         * crypt/crypt-entry.c: Include errno.h.
30352         (__crypt_r): Return NULL with EINVAL for bad salt.
30353         * crypt/crypt_util.c (bad_for_salt): New.
30354         (_ufc_setup_salt_r): Check that salt is long enough and within
30355         the specified alphabet.
30356         * crypt/badsalttest.c: New file.
30357         * crypt/Makefile (tests): Add it.
30358         ($(objpfx)badsalttest): New.
30359
30360 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30361
30362         * NEWS: Add entry for BZ #14602.
30363
30364 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30365
30366         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30367         type-generic.
30368         * math/libm-test.inc: Update comment listing what functions and
30369         macros are tested.
30370         (isgreater_test): New function.
30371         (isgreaterequal_test): Likewise.
30372         (isless_test): Likewise.
30373         (islessequal_test): Likewise.
30374         (islessgreater_test): Likewise.
30375         (isunordered_test): Likewise.
30376         (main): Call the new functions.
30377
30378 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30379
30380         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30381         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30382         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30383         * sysdeps/i386/configure: Regenerated.
30384         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30385         * sysdeps/mach/configure: Regenerated.
30386         * sysdeps/mach/hurd/configure: Regenerated.
30387         * sysdeps/powerpc/configure: Regenerated.
30388         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30389         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30390         * sysdeps/s390/s390-32/configure: Regenerated.
30391         * sysdeps/s390/s390-64/configure: Regenerated.
30392         * sysdeps/sh/configure: Regenerated.
30393         * sysdeps/sparc/configure: Regenerated.
30394         * sysdeps/unix/sysv/linux/configure: Regenerated.
30395         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30396         * sysdeps/x86_64/configure: Regenerated.
30397
30398         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30399         defined.  Don't check if MAP is NULL.
30400
30401 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30402
30403         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30404         (_G_stat64): Likewise.
30405         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30406         (_G_stat64): Likewise.
30407         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30408         instead of struct _G_stat64.
30409         * libio/fileops.c (mmap_remap_check): Likewise.
30410         (decide_maybe_mmap): Likewise.
30411         (_IO_new_file_seekoff): Likewise.
30412         (_IO_file_stat): Likewise.
30413         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30414         _G_off64_t.
30415         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30416         instead of struct _G_stat64.
30417         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30418
30419 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30420
30421         [BZ #14602]
30422         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30423         Replace with ...
30424         (CHECK_EOL): New macro.
30425         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30426         CHECK_EOL.
30427         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30428         Replace with CHECK_EOL.
30429         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30430         Replace with CHECK_EOL.
30431
30432 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30433
30434         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30435         type-generic.
30436         * math/libm-test.inc: Update comment listing what functions and
30437         macros are tested.
30438         (finite_test): New function.
30439         (isinf_test): Likewise.
30440         (isnan_test): Likewise.
30441         (fpclassify_test): Test subnormal input.
30442         (isfinite_test): Likewise.
30443         (isnormal_test): Likewise.
30444         (main): Call the new functions.
30445
30446 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30447
30448         [BZ #14660]
30449         * Makerules (%.dynsym): Force C locale when running
30450         $(OBJDUMP) --dynamic-syms.
30451
30452 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30453
30454         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30455         <stdint.h>.
30456
30457 2012-10-06  David S. Miller  <davem@davemloft.net>
30458
30459         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30460         upper 32-bits of the length value in %o2 since we use branch-on-register
30461         tests which consider the entire 64-bit register.
30462
30463 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30464
30465         * string/test-strstr.c (check2): Add a test for page boundary.
30466
30467 2012-10-05  David S. Miller  <davem@davemloft.net>
30468
30469         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30470         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30471         file.
30472         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30473         sysdep_routines.
30474         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30475         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30476         and bzero when HWCAP_SPARC_CRYPTO is present.
30477
30478 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30479
30480         [BZ #14602]
30481         * string/test-strstr.c (check2): New function.
30482         (test_main): Call check2.
30483
30484         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30485         and bug-strchr1.
30486         * string/bug-strcasestr1.c (do_test): Moved to ...
30487         * string/test-strcasestr.c (check1): Here.  New function.
30488         (do_one_test): Break out result checking code into ...
30489         (check_result): This.  New function.
30490         (do_one_test): Call check_result.
30491         (test_main): Call check1.
30492         * string/bug-strchr1.c (do_test): Moved to ...
30493         * string/test-strchr.c (check1): Here.  New function.
30494         (do_one_test): Break out result checking code into ...
30495         (check_result): This.  New function.
30496         (do_one_test): Call check_result.
30497         (test_main): Call check1.
30498         * string/bug-strstr1.c (main): Moved to ...
30499         * string/test-strstr.c (check1): Here.  New function.
30500         (do_one_test): Break out result checking code into ...
30501         (check_result): This.  New function.
30502         (do_one_test): Call check_result.
30503         (test_main): Call check1.
30504         * string/bug-strcasestr1.c: Removed.
30505         * string/bug-strchr1.c: Likewise.
30506         * string/bug-strstr1.c: Likewise.
30507
30508         * elf/Makefile (dl-routines): Add hwcaps.
30509         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30510         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30511         (_dl_important_hwcaps): Moved to ...
30512         * elf/dl-hwcaps.c: Here.  New file.
30513         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30514
30515         [BZ #14557]
30516         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30517         if IS_IN_rtld isn't defined.
30518
30519         * elf/dl-support.c (_dl_sysinfo_map): New.
30520         Include "get-dynamic-info.h" and "setup-vdso.h".
30521         (_dl_non_dynamic_init): Call setup_vdso.
30522         * elf/dynamic-link.h: Don't include <assert.h>.
30523         (elf_get_dynamic_info): Moved to ...
30524         * elf/get-dynamic-info.h: Here.  New file.
30525         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30526         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30527         * elf/setup-vdso.h: Here.  New file.
30528         * elf/rtld.c: Include "setup-vdso.h".
30529         (dl_main): Call setup_vdso.
30530
30531 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30532
30533         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30534         creal in comment listing functions tested.  List finite, isinf,
30535         isnan, isless, islessequal, isgreater, isgreaterequal,
30536         islessgreater, isunordered, lgamma_r and pow10 as functions and
30537         macros not tested.  Mention which functions not tested are aliases
30538         for other functions.  Fix typo.  Note that signs of NaNs are not
30539         tested.
30540
30541         * scripts/config.guess: Update from config.git.
30542         * scripts/config.sub: Likewise.
30543
30544 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30545
30546         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30547         * misc/madvise.c (madvise): Renamed to __madvise.
30548         Make madvise a weak alias.
30549         * include/sys/mman.h: Declare __madvise.
30550         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30551         * sysdeps/unix/syscalls.list
30552         (madvise): Make __madvise the strong name, and madvise a weak alias.
30553         * sysdeps/unix/sysv/linux/syscalls.list
30554         (madvise, mmap): Remove redundant entries.
30555         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30556         * malloc/malloc.c (mtrim): Likewise.
30557         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30558
30559 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30560
30561         * sysdeps/mach/hurd/dl-cache.c: File removed.
30562         * config.h.in (USE_LDCONFIG): New #undef.
30563         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30564         * configure: Regenerated.
30565         * elf/Makefile (dl-routines): Add dl-cache only under
30566         [$(use-ldconfig) = yes].
30567         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30568         cache on [USE_LDCONFIG].
30569         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30570         [USE_LDCONFIG].
30571         * elf/rtld.c (dl_main): Likewise.
30572
30573 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30574
30575         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30576         _SC_LEVEL4_CACHE_LINESIZE.
30577
30578 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30579
30580         * sysdeps/unix/bsd/confstr.h: File removed.
30581
30582 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30583
30584         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30585         sys/sdt-config.h.
30586
30587 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30588
30589         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30590         Make 'mapoff' field ElfW(Off) rather than off_t.
30591
30592 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30593
30594         * nscd/Makefile: Remove nscd-cflags and all its users.
30595         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30596         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30597
30598         [BZ #10631]
30599         * malloc.c (malloc_printerr): Clarify error message.
30600
30601 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30602
30603         [BZ #14648]
30604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30605         Set bit_FMA_Usable if FMA is supported.
30606         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30607         macro.
30608         (bit_FMA4_Usable): Updated.
30609         (index_FMA_Usable): New macro.
30610         (CPUID_FMA): Likewise
30611         (HAS_FMA): Defined with bit_FMA_Usable.
30612
30613 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30614
30615         * bits/types.h (__swblk_t): Type removed.
30616         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30617         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30619         (__SWBLK_T_TYPE): Likewise.
30620         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30621         (__SWBLK_T_TYPE): Likewise.
30622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30623         (__SWBLK_T_TYPE): Likewise.
30624         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30625         (__SWBLK_T_TYPE): Likewise.
30626
30627 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30628             Honza Horak <hhorak@redhat.com>
30629
30630         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30631         (xdr_mapname): Use YPMAXMAP as maxsize.
30632         (xdr_peername): Use YPMAXPEER as maxsize.
30633         (xdr_keydat): Use YPAXRECORD as maxsize.
30634         (xdr_valdat): Use YPMAXRECORD as maxsize.
30635
30636 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30637
30638         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30639
30640         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30641         * csu/init-first.c: ... here.
30642         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30643         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30644         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30645         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30646         * sysdeps/i386/init-first.c: File removed.
30647         * sysdeps/sh/init-first.c: File removed.
30648
30649 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30650
30651         [BZ #14645]
30652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30653         if x * y might underflow to zero and z is zero.
30654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30655         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30656         * math/libm-test.inc (min_subnorm_value): New variable.
30657         (fma_test): Add more tests.
30658         (fma_test_towardzero): Likewise.
30659         (fma_test_downward): Likewise
30660         (fma_test_upward): Likewise.
30661         (initialize): Set min_subnorm_value.
30662
30663 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30664
30665         [BZ #14638]
30666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30667         0 + 0.
30668         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30669         mode for addition resulting in exact zero.
30670         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30672         exact 0 + 0.
30673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30675         * math/libm-test.inc (fma_test): Add more tests.
30676         (fma_test_towardzero): New function.
30677         (fma_test_downward): Likewise.
30678         (fma_test_upward): Likewise.
30679         (main): Call the new functions.
30680
30681 2012-09-28  David S. Miller  <davem@davemloft.net>
30682
30683         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30684
30685 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30686
30687         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30688         instead of SIGALRM.
30689
30690         * sysdeps/gnu/_G_config.h: Moved to ...
30691         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30692         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30693         * sysdeps/generic/_G_config.h: ... here.
30694
30695         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30696
30697         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30698
30699         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30700         Conditionalize target on [libnss_test1.so-version].
30701
30702         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30703
30704         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30705         (elfobjdir): Move out of conditionals.
30706
30707         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30708         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30709         (__nss_lookup_function): Conditionalize label remove_from_tree on
30710         [!DO_STATIC_NSS || SHARED], matching its only use.
30711
30712 2012-09-28  David S. Miller  <davem@davemloft.net>
30713
30714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30715         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30716         file.
30717         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30718         sysdep_routines.
30719         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30721         when HWCAP_SPARC_CRYPTO is present.
30722
30723 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30724
30725         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30726
30727 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30728
30729         [BZ #6530]
30730         * stdio-common/vfprintf.c (process_string_arg): Revert
30731         2000-07-22 change.
30732
30733 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30734
30735         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30736         for testcase.
30737         * stdio-common/tst-sprintf.c: Include <locale.h>
30738         (main): Test sprintf's handling of incomplete multibyte
30739         characters.
30740
30741 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30742
30743         * elf/dl-runtime.c (VERSYMIDX): Removed.
30744         * elf/dl-version.c (VERSYMIDX): Likewise.
30745         * elf/do-rel.h (VERSYMIDX): Likewise.
30746         (VALIDX): Likewise.
30747         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30748         * elf/rtld.c (VALIDX): Likewise.
30749         (ADDRIDX): Likewise.
30750         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30751         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30752         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30753         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30754         (VALIDX): Likewise.
30755         (ADDRIDX): Likewise.
30756
30757 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30758
30759         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30760
30761 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30762
30763         [BZ #11438]
30764         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30765         to global scope.
30766         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30767         addresses are in the same scope as 192.0.2/24.
30768         * posix/gai.conf: Document new scope table defaults.
30769
30770 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30771
30772         [BZ #5298]
30773         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30774         for ftell.  Compute offsets from write pointers instead.
30775         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30776
30777 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30778
30779         [BZ #14543]
30780         * libio/Makefile (tests): New test case tst-fseek.
30781         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30782         combination works in wide mode.
30783         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30784         state when the external buffer state changes.
30785
30786 2012-09-27  David S. Miller  <davem@davemloft.net>
30787
30788         [BZ #14376]
30789         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30790         pass reloc->r_addend in as the 'high' argument to
30791         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30792
30793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30794
30795 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30796
30797         * rt/tst-aio2.c: Include <pthread.h>.
30798         * rt/tst-aio3.c: Likewise.
30799
30800 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30801
30802         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30803
30804 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30805
30806         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30807         contents on [SHARED].
30808
30809 2012-09-26  Marek Polacek  <polacek@redhat.com>
30810
30811         [BZ #14530]
30812         [BZ #13741]
30813         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30814         for C++ and GCC <4.3 as well as for non GCC compilers.
30815
30816 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30817
30818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30819
30820 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30821
30822         * Makefile.in (all, install): Declare with .PHONY.
30823         Reported by Michael Hope <michael.hope@linaro.org>.
30824
30825 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30826
30827         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30828         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30829         system header.
30830         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30831         Likewise.
30832         (sydep_routines): Add the new and the internal functions.
30833         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30834         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30836         (GLIBC_2.17): Add the new function.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30838         (GLIBC_2.17): Likewise.
30839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30840         (GLIBC_2.17): Likewise.
30841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30842         (GLIBC_2.17): Likewise.
30843         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30844
30845 2012-09-25  Alan Modra  <amodra@gmail.com>
30846
30847         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30848         Add release barrier before setting once_control to say
30849         initialisation is done.  Add hints on lwarx.  Use macro in
30850         place of isync.
30851         (clear_once_control): Add release barrier.
30852
30853 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30854
30855         [BZ #13629]
30856         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30857         specially.
30858         * math/s_clog10.c (__clog10): Likewise.
30859         * math/s_clog10f.c (__clog10f): Likewise.
30860         * math/s_clog10l.c (__clog10l): Likewise.
30861         * math/s_clogf.c (__clogf): Likewise.
30862         * math/s_clogl.c (__clogl): Likewise.
30863         * math/Makefile (libm-calls): Add x2y2m1.
30864         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30865         (__x2y2m1): Likewise.
30866         (__x2y2m1l): Likewise.
30867         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30868         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30869         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30870         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30871         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30872         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30873         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30874         * sysdeps/i386/fpu/libm-test-ulps: Update.
30875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30876
30877         [BZ #14621]
30878         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30879         int as type of variable DEPTH.
30880         (glob): Use size_t instead of int as type of variables NEWCOUNT
30881         and OLD_PATHC.
30882
30883 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30884
30885         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30886         Add s_sincosf-sse2.
30887         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30888         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30889         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30890         macros for using routine as __sincosf_ia32.
30891         Use macro for function declaration and weak_alias.
30892         * sysdeps/i386/fpu/libm-test-ulps: Update.
30893
30894         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30896
30897         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30898         subnormal argument.
30899         * math/s_cexpf.c (__cexpf): Likewise.
30900         * math/s_csinf.c (__csinf): Likewise.
30901         * math/s_csinhf.c (__csinhf): Likewise.
30902         * math/s_ctanf.c (__ctanf): Likewise.
30903         * math/s_ctanhf.c (__ctanhf): Likewise.
30904         * math/s_ccosh.c (__ccoshf): Likewise.
30905         * math/s_cexp.c (__cexpl): Likewise.
30906         * math/s_csin.c (__csin): Likewise.
30907         * math/s_csinh.c (__csinh): Likewise.
30908         * math/s_ctan.c (__ctan): Likewise.
30909         * math/s_ctanh.c (ctanh): Likewise.
30910         * math/s_ccoshl.c (__ccoshl): Likewise.
30911         * math/s_cexpl.c (__cexpl): Likewise.
30912         * math/s_csinl.c (__csinl): Likewise.
30913         * math/s_csinhl.c (__csinhl): Likewise.
30914         * math/s_ctanl.c (__ctanl): Likewise.
30915         * math/s_ctanhl.c (__ctanhl): Likewise.
30916
30917 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30918
30919         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30920         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30921         (_IO_off_t): Define to __off_t, not _G_off_t.
30922         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30923         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30924         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30925         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30926         type of __dummy and __dummy2 fields.
30927         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30928         (_G_ssize_t): Likewise.
30929         (_G_off_t): Likewise.
30930         (_G_pid_t): Likewise.
30931         (_G_uid_t): Likewise.
30932         (_G_wchar_t): Likewise.
30933         (_G_wint_t): Likewise.
30934         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30935         (_G_ssize_t): Likewise.
30936         (_G_off_t): Likewise.
30937         (_G_pid_t): Likewise.
30938         (_G_uid_t): Likewise.
30939         (_G_wchar_t): Likewise.
30940         (_G_wint_t): Likewise.
30941         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30942         (_G_ssize_t): Likewise.
30943         (_G_off_t): Likewise.
30944         (_G_pid_t): Likewise.
30945         (_G_uid_t): Likewise.
30946         (_G_wchar_t): Likewise.
30947         (_G_wint_t): Likewise.
30948
30949 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30950
30951         * malloc/arena.c: Include malloc-sysdep.h.
30952         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30953         is sufficient to shrink the heap or an unmap is needed.
30954         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30955         new function check_may_shrink_heap.
30956         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30957         new function check_may_shrink_heap.
30958
30959 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30960
30961         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30962         comments.
30963
30964 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30965
30966         * catgets/test-gencat.sh: Add "set -e".
30967         * elf/tst-pathopt.sh: Likewise.
30968         * grp/tst_fgetgrent.sh: Likewise.
30969         * iconvdata/run-iconv-test.sh: Likewise.
30970         * intl/tst-gettext.sh: Likewise.
30971         * intl/tst-gettext2.sh: Likewise.
30972         * intl/tst-gettext4.sh: Likewise.
30973         * intl/tst-gettext6.sh: Likewise.
30974         * intl/tst-translit.sh: Likewise.
30975         * io/ftwtest-sh: Likewise.
30976         * libio/test-freopen.sh: Likewise.
30977         * malloc/tst-mtrace.sh: Likewise.
30978         * posix/globtest.sh: Likewise.
30979         * posix/tst-getconf.sh: Likewise.
30980         * posix/wordexp-tst.sh: Likewise.
30981         * stdio-common/tst-printf.sh: Likewise.
30982         * stdio-common/tst-unbputc.sh: Likewise.
30983         * stdlib/tst-fmtmsg.sh: Likewise.
30984         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30985         * catgets/Makefile: Do not specify -e option when running
30986         testsuite shell scripts.
30987         * elf/Makefile: Likewise.
30988         * grp/Makefile: Likewise.
30989         * iconvdata/Makefile: Likewise.
30990         * intl/Makefile: Likewise.
30991         * io/Makefile: Likewise.
30992         * libio/Makefile: Likewise.
30993         * malloc/Makefile: Likewise.
30994         * posix/Makefile: Likewise.
30995         * stdio-common/Makefile: Likewise.
30996         * stdlib/Makefile: Likewise.
30997         * sysdeps/x86_64/Makefile: Likewise.
30998
30999         * io/ftwtest-sh: Add copyright header.
31000         * posix/globtest.sh: Likewise.
31001         * posix/tst-getconf.sh: Likewise.
31002         * posix/wordexp-tst.sh: Likewise.
31003         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31004
31005 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31006
31007         [BZ #13679]
31008         * Makeconfig (+link): Defined as $(+link-static) if
31009         $(build-shared) isn't yes.
31010         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31011         isn't yes.
31012         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31013
31014         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31015
31016         [BZ #14562]
31017         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31018         new chunk size with MALLOC_ALIGN_MASK.
31019
31020 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31021
31022         [BZ #5044]
31023         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31024         <rounding-mode.h>.
31025         (__printf_fphex): Determine rounding using get_rounding_mode and
31026         round_away.
31027         * stdio-common/tst-printf-round.c (struct hex_test): New
31028         structure.
31029         (hex_tests): New variable.
31030         (test_hex_in_one_mode): New function.
31031         (do_test): Also run tests for hex float output.
31032
31033 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31034
31035         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31036         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31037         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31038         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31039         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31040         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31041         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31042         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31043
31044 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31045
31046         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31047         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31048         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31049         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31050
31051 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31052
31053         [BZ #14579]
31054         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31055         mode only.
31056         * elf/tst-rtld-load-self.sh: New test.
31057         * elf/Makefile: Run it.
31058
31059 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31060
31061         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31062         (tst-writev-ENV): Remove.
31063         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31064
31065 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31066
31067         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31068
31069 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31070
31071         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31072         unconditional.
31073         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31074         Likewise.
31075         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31076         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31077         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31078         Likewise.
31079
31080 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31081
31082         [BZ #14587]
31083         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31084         * config.make.in (have-cpp-asm-debuginfo): Removed.
31085         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31086         * configure: Regenerated.
31087
31088 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31089
31090         [BZ #5044]
31091         * stdio-common/printf_fp.c: Include <stdbool.h> and
31092         <rounding-mode.h>.
31093         (___printf_fp): Determine rounding using get_rounding_mode and
31094         round_away.
31095         * stdio-common/tst-printf-round.c: New file.
31096         * stdio-common/Makefile (tests): Add tst-printf-round.
31097         (link-libm): New variable.
31098         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31099
31100 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31101
31102         [BZ #14576]
31103         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31104         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31105         Likewise.
31106         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31107         Likewise.
31108
31109 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31110
31111         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31112         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31113         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31114         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31115
31116 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31117
31118         [BZ #14518]
31119         * include/rounding-mode.h: New file.
31120         * sysdeps/generic/get-rounding-mode.h: Likewise.
31121         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31122         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31123         (MAX_VALUE): New macro.
31124         (MIN_VALUE): Likewise.
31125         (overflow_value): New function.
31126         (underflow_value): Likewise.
31127         (round_and_return): Use overflow_value and underflow_value to
31128         determine return values in overflow and underflow cases.  Use
31129         round_away to determine rounding depending on rounding mode.
31130         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31131         determine return values in overflow and underflow cases.
31132         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31133         (struct test_results): New structure.
31134         (struct test): Use struct test_results to store expected results
31135         for all rounding modes.
31136         (TEST): Include expected results for all rounding modes.
31137         (test_in_one_mode): New function.
31138         (do_test): Use test_in_one_mode to compute and check results.
31139         Check results for all rounding modes.
31140         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31141         $(link-libm).
31142
31143 2012-12-09  Allan McRae  <allan@archlinux.org>
31144
31145         * sysdeps/i386/fpu/libm-test-ulps: Update
31146
31147 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31148
31149         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31150         (_G_int32_t): Likewise.
31151         (_G_uint16_t): Likewise.
31152         (_G_uint32_t): Likewise.
31153         (_G_HAVE_BOOL): Likewise.
31154         (_G_HAVE_ATEXIT): Likewise.
31155         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31156         (_G_HAVE_IO_FILE_OPEN): Likewise.
31157         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31158         (_G_int32_t): Likewise.
31159         (_G_uint16_t): Likewise.
31160         (_G_uint32_t): Likewise.
31161         (_G_HAVE_BOOL): Likewise.
31162         (_G_HAVE_ATEXIT): Likewise.
31163         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31164         (_G_HAVE_IO_FILE_OPEN): Likewise.
31165         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31166         (_G_int32_t): Likewise.
31167         (_G_uint16_t): Likewise.
31168         (_G_uint32_t): Likewise.
31169         (_G_HAVE_BOOL): Likewise.
31170         (_G_HAVE_ATEXIT): Likewise.
31171         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31172         (_G_HAVE_IO_FILE_OPEN): Likewise.
31173
31174 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31175
31176         * csu/libc-tls.c: Update copyright years.
31177
31178 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31179
31180         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31181         [!_G_USING_THUNKS]: Remove conditional code.
31182         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31183         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31184
31185         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31186         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31187         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31188         (_G_VTABLE_LABEL_PREFIX): Likewise.
31189         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31190         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31191         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31192         (_G_VTABLE_LABEL_PREFIX): Likewise.
31193         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31194         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31195         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31196         (_G_VTABLE_LABEL_PREFIX): Likewise.
31197         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31198
31199 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31200
31201         * libio/Makefile: Include ../Makeconfig before tests.
31202         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31203         only if $(build-shared) is yes.
31204
31205         * iconv/gconv_db.c: Update copyright years.
31206
31207 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31208
31209         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31210         unwind info if defined PIC. Fix special cases description.
31211         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31212
31213         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31214         DP_HI_MASK entry.
31215         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31216
31217 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31218
31219         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31220
31221         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31222         is NULL.
31223
31224         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31225         (LDLIBS-tst-chk4): This.
31226         (LDFLAGS-tst-chk5): Renamed to ...
31227         (LDLIBS-tst-chk5): This.
31228         (LDFLAGS-tst-chk6): Renamed to ...
31229         (LDLIBS-tst-chk6): This.
31230         (LDFLAGS-tst-lfschk4): Renamed to ...
31231         (LDLIBS-tst-lfschk4): This.
31232         (LDFLAGS-tst-lfschk5): Renamed to ...
31233         (LDLIBS-tst-lfschk5): This.
31234         (LDFLAGS-tst-lfschk6): Renamed to ...
31235         (LDLIBS-tst-lfschk6): This.
31236
31237         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31238         on $(common-objpfx)soversions.mk.
31239
31240 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31241
31242         [BZ #10014]
31243         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31244         example host name.
31245
31246 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31247
31248         * malloc/arena.c (arena_get_retry): New function that gets
31249         another arena for the caller to try its request on.
31250         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31251         current arena cannot fulfill the request.
31252         (__libc_memalign): Likewise.
31253         (__libc_memalign): Likewise.
31254         (__libc_pvalloc): Likewise.
31255         (__libc_calloc): Likewise.
31256
31257 2012-09-05  John Tobey  <john.tobey@gmail.com>
31258
31259         [BZ #13542]
31260         * manual/arith.texi (Operations on Complex): Fix description
31261         of carg branch cut.
31262
31263 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31264
31265         [BZ #10014]
31266         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31267         host name.
31268
31269         [BZ #10038]
31270         * manual/memory.texi (Memory): Make order of menu items match
31271         order of sections.
31272
31273 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31274
31275         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31276         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31277         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31278
31279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31280
31281         * csu/libc-tls.c (static_dtv): Renamed to ...
31282         (_dl_static_dtv): This.  Make it global.
31283         (_dl_initial_dtv): Removed.
31284         (__libc_setup_tls): Updated.
31285         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31286         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31287         DL_INITIAL_DTV.
31288
31289 2012-09-06  Petr Machata  <pmachata@redhat.com>
31290
31291         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31292         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31293         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31294         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31295
31296 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31297
31298         [BZ #14545]
31299         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31300         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31301         freeing dtv[-1].
31302
31303 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31304
31305         [BZ #14544]
31306         * Makeconfig (link-static-before-libc): Replace $(+prector)
31307         with $(+prectorT).
31308         (link-static-after-libc): Replace $(+postctor) with
31309         $(+postctorT).
31310         (link-bounded): Replace $(+prector)/$(+postctor) with
31311         $(+prectorT)/$(+postctorT).
31312         (+prectorT): New macro.
31313         (+postctorT): Likewise.
31314
31315 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31316
31317         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31318         (round_str): Handle values above the maximum for IBM long double
31319         as inexact.
31320         * stdlib/tst-strtod-round.c (tests): Regenerated.
31321
31322 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31323
31324         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31325         assembler flag.
31326         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31327         zarch_nohighgprs around the zarch optimized routines.
31328         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31329         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31330         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31331         for zarch.
31332
31333 2012-09-05  David S. Miller  <davem@davemloft.net>
31334
31335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31336
31337         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31338         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31339         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31340         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31341         entries.
31342
31343 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31344
31345         * malloc/arena.c: Fold copyright years.
31346         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31347
31348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31349
31350         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31351
31352 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31353
31354         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31355
31356 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31357
31358         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31359         change internal state upon failure.
31360
31361 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31362
31363         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31364         * malloc/memusage.c (mmap): Likewise.
31365         (mmap64, mremap): Likewise.  Adjust name in comment.
31366
31367 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31368
31369         * libio/fileops.c: Fix typos in comments.
31370         * libio/oldfileops.c: Likewise.
31371         * libio/wfileops.c: Likewise.
31372
31373 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31374
31375         [BZ #1349]
31376         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31377         (tst-malloc-usable-ENV): Set environment for test case.
31378         * malloc/hooks.c (malloc_check_get_size): New function to get
31379         requested size.
31380         * malloc/malloc.c (musable): Use malloc_check_get_size.
31381         * malloc/tst-malloc-usable.c: New test case.
31382
31383 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31384
31385         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31386
31387 2012-09-05  Allan McRae  <allan@archlinux.org>
31388
31389         [BZ #13966]
31390         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31391         determine header location.
31392         * configure: Regenerated.
31393
31394 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31395
31396         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31397         float format.
31398         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31399         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31400         format.
31401         (test): Regenerate.
31402
31403 2012-09-04  David S. Miller  <davem@davemloft.net>
31404
31405         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31406         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31407         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31408
31409 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31410
31411         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31412         failures.
31413
31414         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31415
31416 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31417
31418         [BZ #9914]
31419         * libio/iogetdelim.c: Include <limits.h>.
31420         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31421         + len + 1 would overflow.
31422
31423 2012-09-03  Andreas Jaeger  <aj@suse.de>
31424
31425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31426         * sysdeps/i386/fpu/libm-test-ulps: Update.
31427
31428 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31429
31430         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31431         Add s_sinf-sse2, s_conf-sse2.
31432
31433         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31434         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31435         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31436         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31437
31438         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31439         for using routine as __sinf_ia32.
31440         Use macro for function declaration and weak_alias.
31441         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31442         for using routine as __cosf_ia32.
31443         Use macro for function declaration and weak_alias.
31444
31445         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31446         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31447
31448         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31449         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31451
31452         * math/libm-test.inc (cos_test): Add more test cases.
31453         (sin_test): Likewise.
31454         (sincos_test): Likewise.
31455
31456 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31457
31458         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31459         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31460         hidden.
31461         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31462
31463 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31464
31465         [BZ #14538]
31466         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31467         first element of the GOT.
31468         (elf_machine_load_address): Return the difference between
31469         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31470
31471 2012-09-01  Allan McRae  <allan@archlinux.org>
31472
31473         [BZ #13412]
31474         * configure.in (AWK): Require gawk version 3.0 or later.
31475         * configure: Regenerated.
31476
31477 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31478
31479         * sysdeps/unix/sysv/linux/kernel-features.h
31480         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31481         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31482         [__NR_clock_getres]: Make code unconditional.
31483         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31484         (clock_getcpuclockid): Remove code left unreachable by removal of
31485         conditionals.
31486         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31487         code unconditional.
31488         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31489         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31490         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31491         Make code unconditional.
31492         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31493         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31494         * sysdeps/unix/sysv/linux/clock_settime.c
31495         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31496         conditional code.
31497         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31498         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31499
31500 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31501
31502         [BZ #14476]
31503         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31504         scripts/test-installation.pl.
31505
31506         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31507         and $ld_so_version if it is set.
31508
31509 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31510
31511         [BZ #14516]
31512         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31513         failure if reading from procfs failed.
31514         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31515
31516 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31517
31518         * sysdeps/unix/sysv/linux/kernel-features.h
31519         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31520         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31521         Remove conditional code.
31522         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31523         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31524         Remove conditional code.
31525         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31526         * sysdeps/unix/sysv/linux/i386/fxstat.c
31527         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31528         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31529         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31530         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31532         * sysdeps/unix/sysv/linux/i386/lxstat.c
31533         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31535         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31536         Remove conditional code.
31537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31538         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31539         Remove conditional code.
31540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31541         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31542         <kernel-features.h>.
31543         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31544         Remove.
31545         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31546         Remove conditional code.
31547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31548         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31549         Remove conditional.
31550
31551 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31552
31553         [BZ #5400]
31554         * NEWS: Add fixed bug number.
31555
31556 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31557
31558         [BZ #14519]
31559         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31560         underflowing exponent in case of negative sign.
31561         * stdlib/tst-strtod-round-data: Add more tests.
31562         * stdlib/tst-strtod-round.c (tests): Regenerated.
31563
31564         [BZ #3479]
31565         * stdlib/strtod_l.c (NDIG): Remove.
31566         (HEXNDIG): Likewise.
31567         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31568         smallest representable value.
31569         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31570         lie within an exact representation of 1/2 ulp of the result.
31571         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31572         unconditionally.
31573         (TENS_P9_IDX): Define unconditionally.
31574         (TENS_P9_SIZE): Likewise.
31575         (TENS_P10_IDX): Likewise.
31576         (TENS_P10_SIZE): Likewise.
31577         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31578         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31579         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31580         entries for 10^2^13 and 10^2^14.
31581         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31582         (TENS_P13_IDX): Define.
31583         (TENS_P13_SIZE): Likewise.
31584         (TENS_P14_IDX): Likewise.
31585         (TENS_P14_SIZE): Likewise.
31586         (_fpioconst_pow10): Change array size to
31587         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31588         unconditional.
31589         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31590         1024]: Add entries for 10^2^13 and 10^2^14.
31591         [LAST_POW10 > _LAST_POW10]: Remove #error.
31592         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31593         (_fpioconst_pow10): Change array size to
31594         FPIOCONST_POW10_ARRAY_SIZE.
31595         * stdlib/gen-fpioconst.c: New file.
31596         * stdlib/gen-tst-strtod-round.c: Likewise.
31597         * stdlib/tst-strtod-round-data: Likewise.
31598         * stdlib/tst-strtod-round.c: Likewise.
31599         * stdlib/Makefile (tests): Add tst-strtod-round.
31600
31601         [BZ #14459]
31602         * stdlib/strtod_l.c: Include <stdint.h>.
31603         (NDEBUG): Do not define.
31604         (round_and_return): Change EXPONENT parameter to type intmax_t.
31605         Rearrange calculations to avoid internal overflow possibilities.
31606         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31607         Rearrange calculations to avoid internal overflow possibilities.
31608         Assert that number fits inside MPNSIZE limbs.
31609         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31610         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31611         calculations and add assertions to avoid internal overflow
31612         possibilities.  Add casts to avoid signed/unsigned operations.
31613         * stdlib/tst-strtod-overflow.c: New file.
31614         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31615
31616 2012-08-25  Marek Polacek  <polacek@redhat.com>
31617
31618         * time/time.h: Fix some typos in comments.
31619
31620 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31621
31622         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31623         * posix/tst-rfc3484-2.c: Likewise.
31624         * posix/tst-rfc3484-3.c: Likewise.
31625
31626 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31627
31628         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31629         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31630
31631 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31632
31633         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31634         #include of fxstatat64.c.
31635
31636 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31637
31638         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31639         * shadow/getspent_r.c: Likewise.
31640         * shadow/getspnam.c: Likewise.
31641         * shadow/getspnam_r.c: Likewise.
31642         * gshadow/getsgent.c: Likewise.
31643         * gshadow/getsgent_r.c: Likewise.
31644         * gshadow/getsgnam.c: Likewise.
31645         * gshadow/getsgnam_r.c: Likewise.
31646         * inet/getnetbyad.c: Likewise.
31647         * inet/getnetbyad_r.c: Likewise.
31648         * inet/getnetbynm.c: Likewise.
31649         * inet/getnetbynm_r.c: Likewise.
31650         * inet/getnetent.c: Likewise.
31651         * inet/getnetent_r.c: Likewise.
31652         * inet/getproto.c: Likewise.
31653         * inet/getproto_r.c: Likewise.
31654         * inet/getprtent.c: Likewise.
31655         * inet/getprtent_r.c: Likewise.
31656         * inet/getprtname.c: Likewise.
31657         * inet/getprtname_r.c: Likewise.
31658         * inet/getrpcbyname.c: Likewise.
31659         * inet/getrpcbyname_r.c: Likewise.
31660         * inet/getrpcbynumber.c: Likewise.
31661         * inet/getrpcbynumber_r.c: Likewise.
31662         * inet/getrpcent.c: Likewise.
31663         * inet/getrpcent_r.c: Likewise.
31664         * inet/getaliasent.c: Likewise.
31665         * inet/getaliasent_r.c: Likewise.
31666         * inet/getaliasname.c: Likewise.
31667         * inet/getaliasname_r.c: Likewise.
31668         * nscd/getgrgid_r.c: Likewise.
31669         * nscd/getgrnam_r.c: Likewise.
31670         * nscd/gethstbyad_r.c: Likewise.
31671         * nscd/gethstbynm3_r.c: Likewise.
31672         * nscd/getpwnam_r.c: Likewise.
31673         * nscd/getpwuid_r.c: Likewise.
31674         * nscd/getsrvbynm_r.c: Likewise.
31675         * nscd/getsrvbypt_r.c: Likewise.
31676         * nscd/gai.c: Likewise.
31677
31678         * configure.in (build_nscd): New substituted variable, set
31679         by --disable-build-nscd and defaults to $use_nscd.
31680         * configure: Regenerated.
31681         * config.make.in (build-nscd): New substituted variable.
31682         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31683         Change conditional to require [$(build-nscd) = yes] as well.
31684         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31685
31686         [BZ# 13696]
31687         * configure.in (use_nscd): New substituted variable, set by
31688         --disable-nscd.  If enabled, define USE_NSCD.
31689         * configure: Regenerated.
31690         * config.h.in: Add USE_NSCD.
31691         * config.make.in (use-nscd): New substituted variable.
31692         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31693         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31694         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31695         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31696         (CFLAGS-getgrnam_r.c): Likewise.
31697         (CFLAGS-initgroups.c): Likewise.
31698         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31699         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31700         Variables removed.
31701         * inet/getnetgrent_r.c
31702         (nscd_setnetgrent): New function, broken out of ...
31703         (setnetgrent): ... here.  Call it.
31704         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31705         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31706         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31707         * nscd/Makefile (routines, aux): Move definitions after include of
31708         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31709         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31710         Conditionalize on [USE_NSCD].
31711         (is_nscd, nscd_init_cb): Likewise.
31712         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31713         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31714         * nss/nss_db/db-init.c: Likewise.
31715         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31716         [USE_NSCD].
31717         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31718         (make_request): Use it.
31719         (cache_valid_p): New function.
31720         (__check_pf): Use it.
31721         * NEWS: Add item for --disable-nscd.
31722
31723 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31724
31725         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31726         to support sed >= 4.2.1-20-ga9bf076.
31727         * configure: Regenerated.
31728
31729 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31730
31731         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31732         Conditionalize whole body on [IREL].
31733
31734 2012-08-22  Jeff Law <law@redhat.com>
31735
31736         [BZ #14505]
31737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31738         if the family is PF_UNSPEC.
31739
31740 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31741
31742         * Makerules (lib-version): Rename from V.
31743         (install-lib-nosubdir): Change V to lib-version.
31744
31745 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31746
31747         [BZ #14252]
31748         * powerpc32/power6/wcschr.c: New file.
31749         * powerpc32/power6/wcscpy.c: New file.
31750         * powerpc32/power6/wcsrchr.c: New file.
31751         * powerpc64/power6/wcschr.c: New file.
31752         * powerpc64/power6/wcscpy.c: New file.
31753         * powerpc64/power6/wcsrchr.c: New file.
31754
31755 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31756
31757         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31758         (two_way_short_needle): Use it.
31759         * string/strstr.c (AVAILABLE1_USES_J): Define.
31760         * string/strcasestr.c: Likewise.
31761
31762         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31763         array references.
31764         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31765
31766         [BZ #11607]
31767         * NEWS: Add an entry.
31768         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31769         define their defaults.
31770         (two_way_short_needle): Detect end-of-string on-the-fly.
31771         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31772         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31773         * string/bug-strcasestr1.c: New test.
31774         * string/Makefile: Run it.
31775
31776 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31777
31778         [BZ #11607]
31779         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31780         the first character.
31781
31782 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31783
31784         * csu/elf-init.c (__libc_csu_irel): Function removed.
31785         * csu/libc-start.c (apply_irel): New function.
31786         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31787
31788 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31789
31790         * sysdeps/unix/sysv/linux/kernel-features.h
31791         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31792         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31793         <kernel-features.h>.
31794         [__NR_fadvise64_64]: Make code unconditional.
31795         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31796         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31797         !__NR_fadvise64_64)]: Likewise.
31798         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31799         !__NR_fadvise64_64))]: Likewise.
31800         [__NR_fadvise64]: Make code unconditional.
31801         [!__NR_fadvise64]: Remove conditional code.
31802         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31803         <kernel-features.h>.
31804         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31805         unconditional.
31806         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31807         conditional code.
31808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31809         not include <kernel-features.h>.
31810         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31811         unconditional.
31812         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31813         conditional code.
31814         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31815         include <kernel-features.h>.
31816         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31817         unconditional.
31818         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31819         conditional code.
31820
31821 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31822
31823         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31824         slight instruction rearrangements per scrollpipe analysis.
31825         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31826
31827 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31828
31829         * manual/syslog.texi (syslog; vsyslog, closelog):
31830         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31831         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31832
31833         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31834         DSOCAPS to match condition on defining it.
31835
31836 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31837
31838         * sysdeps/unix/sysv/linux/kernel-features.h
31839         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31841         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31842         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31844         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31845         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31847         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31848         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31849
31850         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31851         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31852
31853         * sysdeps/unix/sysv/linux/kernel-features.h
31854         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31855         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31856         unconditional.
31857         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31858         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31859         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31860         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31861         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31862         Make code unconditional.
31863         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31864         (__mmap64) [!__NR_mmap2]: Likewise.
31865         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31866         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31867         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31868         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31869         [__NR_mmap2]: Make code unconditional.
31870         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31871         (__mmap64) [!__NR_mmap2]: Likewise.
31872
31873 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31874
31875         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31876
31877 2012-08-18  Andreas Jaeger  <aj@suse.de>
31878
31879         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31880
31881 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31882
31883         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31884         * include/unistd.h (__have_sock_cloexec): Likewise.
31885         (__have_pipe2): Likewise.
31886         (__have_dup3): Likewise.
31887
31888 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31889
31890         [BZ #9685]
31891         * include/unistd.h (__have_pipe2): Change define into an extern int.
31892         (__have_dup3): Likewise.
31893         * socket/have_sock_cloexec.c: Include fcntl.h.
31894         (__have_pipe2): New variable.
31895         (__have_dup3): Likewise.
31896
31897 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31898
31899         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31900
31901 2012-08-17  Marek Polacek  <polacek@redhat.com>
31902
31903         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31904         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31905
31906 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31907
31908         * configure.in: Add AC_SUBST for sysheaders.
31909         * configure: Regenerated.
31910         * config.make.in (sysheaders): New substituted variable.
31911
31912         * sysdeps/unix/mkfifo.c: Moved ...
31913         * sysdeps/posix/mkfifo.c: ... here.
31914         * sysdeps/unix/mkfifoat.c: Moved ...
31915         * sysdeps/posix/mkfifoat.c: ... here.
31916
31917         * sysdeps/unix/utime.c: Moved ...
31918         * sysdeps/posix/utime.c: ... here.
31919
31920         * sysdeps/unix/time.c: Moved ...
31921         * sysdeps/posix/time.c: ... here.
31922         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31923         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31924
31925         * sysdeps/unix/nice.c: Moved ...
31926         * sysdeps/posix/nice.c: ... here.
31927
31928         * sysdeps/unix/alarm.c: Moved ...
31929         * sysdeps/posix/alarm.c: ... here.
31930
31931         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31932
31933 2012-08-17  Jeff Law <law@redhat.com>
31934
31935         * intl/Makefile (codeset_mo): New variable.
31936         ($(codeset_mo)): New target.
31937         (tst-codeset.out): Depend on that.  Remove explicit rule.
31938         (tst-gettext3.out, tst-gettext5.out): Likewise.
31939         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31940         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31941         * intl/tst-codeset.sh: Remove.
31942         * intl/tst-gettext3.sh: Likewise.
31943         * intl/tst-gettext5.sh: Likewise.
31944
31945 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31946
31947         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31948         * sysdeps/unix/syscalls.list: ... here.
31949
31950         * sysdeps/posix/getaddrinfo.c
31951         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31952         (gaiconf_init, gaiconf_reload): Use them.
31953         [!_STATBUF_ST_NSEC]
31954         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31955         Define using time_t rather than struct timespec.
31956
31957         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31958         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31959         Macros removed.
31960         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31961         [!NO_THREADS].
31962         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31963         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31964         Likewise.
31965
31966         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31967         __libc_cleanup_push argument.
31968
31969         * bits/param.h: New file.
31970         * misc/sys/param.h: New file.
31971         * include/sys/param.h: New file.
31972         * misc/Makefile (headers): Add bits/param.h.
31973         * sysdeps/generic/sys/param.h: File removed.
31974         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31975         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31976         * sysdeps/mach/hurd/bits/param.h: New file.
31977         * sysdeps/mach/hurd/sys/param.h: File removed.
31978
31979         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31980         last change.
31981
31982         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31983         [_IO_MTSAFE_IO].
31984         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31985         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31986         New macros.
31987
31988         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31989         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31990         rather than -D_IO_MTSAFE_IO conditionally.
31991         * stdio-common/Makefile (CPPFLAGS): Likewise.
31992         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31993         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31994         Use $(libio-mtsafe).
31995         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31996         of -D_IO_MTSAFE_IO.
31997         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31998         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31999         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32000         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32001         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32002         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32003         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32004         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32005         (CFLAGS-fread_u_chk.c): Likewise.
32006         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32007         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32008         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32009         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32010         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32011         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32012         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32013         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32014         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32015
32016         * libio/Makefile: Test [$(libc-reentrant) = yes]
32017         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32018
32019         * Makeconfig
32020         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32021         * sysdeps/pthread/configure: File removed.
32022         * sysdeps/pthread/Makeconfig: New file.
32023         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32024         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32025
32026 2012-08-16  Gary Benson  <gbenson@redhat.com>
32027
32028         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32029         unmapping the first object in a namespace.
32030
32031 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32032
32033         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32034         (__internal_setnetgrent): ... this.  Add internal_function to
32035         definition.  Add libc_hidden_def.
32036         (setnetgrent): Update caller.
32037         (internal_endnetgrent): Renamed to ...
32038         (__internal_endnetgrent): ... this.  Add internal_function to
32039         definition.  Add libc_hidden_def.
32040         (endnetgrent): Update caller.
32041         (internal_getnetgrent_r): Renamed to ...
32042         (__internal_getnetgrent_r): ... this.  Add internal_function to
32043         definition.  Add libc_hidden_def.
32044         (__getnetgrent_r): Update caller.
32045         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32046
32047 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32048
32049         * stdlib/longlong.h: Update from GCC.
32050
32051 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32052
32053         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32054         on _QL, which is set by umul_ppmm but never used.
32055         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32056         variables, which are set by GMP macros but never used.
32057         * stdio-common/_itowa.c (_itowa): Likewise.
32058         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32059         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32060
32061 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32062
32063         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32064         struct La_sh_regs is not constant.
32065         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32066         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32067         and struct La_sparc64_regs are not constant.
32068
32069 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32070
32071         * sysdeps/unix/sysv/linux/kernel-features.h
32072         (__ASSUME_POSIX_TIMERS): Remove.
32073         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32074         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32075         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32076         Make code unconditional.
32077         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32078         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32079         Make code unconditional.
32080         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32081         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32082         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32083         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32084         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32085         Make code unconditional.
32086         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32087         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32088         (__libc_missing_posix_timers): Remove.
32089
32090 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32091
32092         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32093         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32094
32095         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32096
32097         * elf/dl-sym.c: Include <stdlib.h>.
32098
32099         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32100         constants, which avoids warnings in 32-bit builds.
32101
32102         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32103         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32104
32105         * misc/lseek.c: File moved to ...
32106         * io/lseek.c: ... here.
32107
32108         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32109
32110         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32111         shifting LEN more than 31 bits at once.
32112
32113 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32114
32115         [BZ #14195]
32116         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32117         segmentation fault for a case of two empty input strings.
32118         * string/test-strncasecmp.c (check1): Renamed to...
32119         (bz12205): ...this.
32120         (bz14195): Add new testcase for two empty input strings and N > 0.
32121         (test_main): Call new testcase, adapt for renamed function.
32122
32123 2012-08-15  Andreas Jaeger  <aj@suse.de>
32124
32125         [BZ #14090]
32126         * crypt/md5test2.c: New test, based on test supplied by Serge
32127         Belyshev <belyshev@depni.sinp.msu.ru>.
32128         * crypt/Makefile (xtests): Add md5test-giant..
32129         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32130
32131 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32132
32133         [BZ #14090]
32134         * crypt/md5.c (md5_process_block): Don't assume the buffer
32135         length is less than 2**32.
32136         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32137         length is less than 2**64.
32138
32139 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32140
32141         * string/str-two-way.h: Include <sys/param.h>.
32142         (MAX): Macro removed.
32143
32144         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32145         Move #define and #undef of memmove to just before and after
32146         including <string.h>.
32147
32148         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32149         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32150         and after including <string.h>.  Move declarations of
32151         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32152         to before #include "string/memmove.c".
32153
32154         * include/dirent.h: Declare __getdirentries.
32155
32156         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32157         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32158
32159 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32160
32161         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32162         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32163         * sysdeps/i386/configure: Regenerated.
32164         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32165         STABS_CURRENT_FILE, and STABS_FUN.
32166         (END): Remove call to STABS_FUN_END.
32167         (STABS_CURRENT_FILE1): Delete.
32168         (STABS_CURRENT_FILE): Likewise.
32169         (STABS_FUN): Likewise.
32170         (STABS_FUN_END): Likewise.
32171         (STABS_FUN2): Likewise.
32172         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32173         * sysdeps/x86_64/configure: Regenerated.
32174
32175 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32176
32177         * elf/dl-open.c: Include <atomic.h>.
32178         * elf/dl-lookup.c: Likewise.
32179
32180 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32181
32182         * sysdeps/unix/sysv/linux/kernel-features.h
32183         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32184         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32185         unconditionally.
32186         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32187         unconditionally.
32188         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32189         condition on __ASSUME_CLONE_THREAD_FLAGS.
32190
32191 2012-08-14  Andreas Jaeger  <aj@suse.de>
32192
32193         * sysdeps/i386/fpu/libm-test-ulps: Update.
32194
32195 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32196
32197         * include/atomic.h (atomic_exchange_and_add): Split into ...
32198         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32199         New atomic macros.
32200
32201 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32202
32203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32204
32205 2012-08-13  Jeff Law <law@redhat.com>
32206
32207         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32208         null byte in the output string.
32209
32210 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32211
32212         * sysdeps/unix/sysv/linux/kernel-features.h
32213         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32214         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32215         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32216         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32217         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32218         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32219         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32220
32221 2012-08-09  Jeff Law <law@redhat.com>
32222
32223         [BZ #13939]
32224         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32225         When avoid_arena is set, don't retry in the that arena.  Pick the
32226         next one, whatever it might be.
32227         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32228         (arena_lock): Pass in new parameter to arena_get2.
32229         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32230         arena_get2.
32231         (__libc_malloc): Unify retrying after main arena failure with
32232         __libc_memalign version.
32233         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32234
32235 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32236
32237         [BZ #14166]
32238         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32239         to __redirect_strstr.
32240         (__strstr_sse42): Use typeof __redirect_strstr.
32241         (__strstr_ia32): Likewise.
32242         (__libc_strstr): New prototype.
32243         (strstr): Renamed to ...
32244         (__libc_strstr): This.
32245         (strstr): New strong alias of __libc_strstr.
32246         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32247         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32248         __redirect_time.
32249         Include <time.h>.
32250         (__libc_time): New prototype.
32251         (time_ifunc): Replace time with __libc_time.
32252         (time): New strong alias and hidden definition of __libc_time.
32253         (__GI_time): Remove strong alias.
32254         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32255         Include <stddef.h>.
32256         (memmove): Redefined to __redirect_memmove.
32257         (__memmove_sse2): Use typeof __redirect_memmove.
32258         (__memmove_ssse3): Likewise.
32259         (__memmove_ssse3_back): Likewise.
32260         (__libc_memmove): New prototype.
32261         (memmove): Renamed to ...
32262         (__libc_memmove): This.
32263         (memmove): New strong alias of __libc_memmove.
32264
32265 2012-08-08  Mark Salter  <msalter@redhat.com>
32266
32267         * elf/elf.h
32268         (R_MN10300_TLS_GD): Define.
32269         (R_MN10300_TLS_LD): Likewise.
32270         (R_MN10300_TLS_LDO): Likewise.
32271         (R_MN10300_TLS_GOTIE): Likewise.
32272         (R_MN10300_TLS_IE): Likewise.
32273         (R_MN10300_TLS_LE): Likewise.
32274         (R_MN10300_TLS_DTPMOD): Likewise.
32275         (R_MN10300_TLS_DTPOFF): Likewise.
32276         (R_MN10300_TLS_TPOFF): Likewise.
32277         (R_MN10300_SYM_DIFF): Likewise.
32278         (R_MN10300_ALIGN): Likewise.
32279         (R_MN10300_NUM): Update.
32280
32281 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32282
32283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32284         Remove.
32285
32286 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32287
32288         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32289
32290         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32291         sysdeps/unix -> sysdeps/posix move.
32292         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32293
32294 2012-08-07      Allan McRae     <allan@archlinux.org>
32295
32296         [BZ #14303]
32297         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32298         (SUNOS_CPP): Likewise.
32299         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32300         not found.
32301         (open_input): Call CPP using execvp.
32302
32303 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32304
32305         * sysdeps/unix/sysv/linux/kernel-features.h
32306         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32307         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32308         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32309         (__ASSUME_WAITID_SYSCALL): Likewise.
32310         * sysdeps/unix/sysv/linux/dl-execstack.c
32311         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32312         code unconditional.
32313         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32314         conditional code.
32315         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32316         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32317         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32318         code.
32319         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32320         unconditional.
32321         [__ASSUME_WAITID_SYSCALL]: Likewise.
32322         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32323
32324 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32325
32326         * sysdeps/unix/closedir.c: Renamed to ...
32327         * sysdeps/posix/closedir.c: ... here.
32328         * sysdeps/unix/dirfd.c: Renamed to ...
32329         * sysdeps/posix/dirfd.c: ... here.
32330         * sysdeps/unix/dirstream.h: Renamed to ...
32331         * sysdeps/posix/dirstream.h: ... here.
32332         * sysdeps/unix/fdopendir.c: Renamed to ...
32333         * sysdeps/posix/fdopendir.c: ... here.
32334         * sysdeps/unix/opendir.c: Renamed to ...
32335         * sysdeps/posix/opendir.c: ... here.
32336         * sysdeps/unix/readdir.c: Renamed to ...
32337         * sysdeps/posix/readdir.c: ... here.
32338         * sysdeps/unix/readdir_r.c: Renamed to ...
32339         * sysdeps/posix/readdir_r.c: ... here.
32340         * sysdeps/unix/rewinddir.c: Renamed to ...
32341         * sysdeps/posix/rewinddir.c: ... here.
32342         * sysdeps/unix/seekdir.c: Renamed to ...
32343         * sysdeps/posix/seekdir.c: ... here.
32344         * sysdeps/unix/telldir.c: Renamed to ...
32345         * sysdeps/posix/telldir.c: ... here.
32346         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32347         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32348         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32349         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32350
32351         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32352         * bits/fcntl.h: ... here.
32353
32354         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32355         not 0.
32356         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32357         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32358         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32359         (struct flock): Move l_start, l_len to the beginning.
32360         Use __pid_t for l_pid.
32361         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32362         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32363         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32364         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32365         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32366         [__USE_LARGEFILE64] (struct flock64): New type.
32367         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32368
32369         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32370         * bits/dirent.h: ... here.
32371
32372         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32373         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32374
32375 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32376
32377         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32378         Change from 2.6.0 to 2.6.16.
32379         * sysdeps/unix/sysv/linux/configure: Regenerated.
32380         * sysdeps/unix/sysv/linux/kernel-features.h
32381         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32382         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32383         version.
32384         (__ASSUME_UTIMES): Likewise.
32385         (__ASSUME_CLONE_STOPPED): Remove.
32386         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32387         architectures, not kernel version.
32388         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32389         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32390         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32391         (__ASSUME_WAITID_SYSCALL): Likewise.
32392         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32393         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32394         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32395         refer to older versions.
32396
32397 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32398
32399         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32400         Define alphasort64 as an alias.
32401         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32402         Define versionsort64 as an alias.
32403         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32404         Define scandir64 as an alias.
32405         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32406         Define scandirat64 as an alias.
32407         * dirent/alphasort64.c (alphasort64):
32408         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32409         * dirent/versionsort64.c: Likewise.
32410         * dirent/scandir64.c: Likewise.
32411         * dirent/scandirat64.c: Likewise.
32412         * sysdeps/wordsize-64/alphasort.c: File removed.
32413         * sysdeps/wordsize-64/alphasort64.c: File removed.
32414         * sysdeps/wordsize-64/scandir.c: File removed.
32415         * sysdeps/wordsize-64/scandir64.c: File removed.
32416         * sysdeps/wordsize-64/scandirat.c: File removed.
32417         * sysdeps/wordsize-64/scandirat64.c: File removed.
32418         * sysdeps/wordsize-64/versionsort.c: File removed.
32419         * sysdeps/wordsize-64/versionsort64.c: File removed.
32420         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32421         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32422         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32423         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32424         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32425         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32426         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32427         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32428
32429         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32431         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32433         [defined __arch64__ || defined __sparcv9]
32434         (__INO_T_MATCHES_INO64_T): New macro.
32435         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32436         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32437         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32438         * sysdeps/unix/sysv/linux/bits/dirent.h
32439         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32440         (_DIRENT_MATCHES_DIRENT64): New macro.
32441
32442         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32443         Define lockf64 as an alias.
32444         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32445         Define fseeko64 as an alias.
32446         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32447         Define ftello64 as an alias.
32448         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32449         Define _IO_fgetpos64 and fgetpos64 as aliases.
32450         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32451         Define _IO_fsetpos64 and fsetpos64 as aliases.
32452         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32453         Conditionalize body on this.
32454         * libio/fseeko64.c: Likewise.
32455         * libio/ftello64.c: Likewise.
32456         * libio/iofgetpos64.c: Likewise.
32457         * libio/iofsetpos64.c: Likewise.
32458         * sysdeps/wordsize-64/lockf.c: File removed.
32459         * sysdeps/wordsize-64/lockf64.c: File removed.
32460         * sysdeps/wordsize-64/fseeko.c: File removed.
32461         * sysdeps/wordsize-64/fseeko64.c: File removed.
32462         * sysdeps/wordsize-64/ftello.c: File removed.
32463         * sysdeps/wordsize-64/ftello64.c: File removed.
32464         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32465         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32466         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32467         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32468         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32469         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32470         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32471         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32472         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32473         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32474         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32475         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32476         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32477         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32478
32479         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32481         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32483         [defined __arch64__ || defined __sparcv9]
32484         (__OFF_T_MATCHES_OFF64_T): New macro.
32485         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32486         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32488         (__OFF_T_MATCHES_OFF64_T): New macro.
32489
32490 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32491
32492         * stdlib/secure-getenv.c (__secure_getenv): Replace
32493         GLIBC_2_16 with GLIBC_2_17.
32494
32495 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32496
32497         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32498         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32499
32500 2012-08-03  David S. Miller  <davem@davemloft.net>
32501
32502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32503
32504 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32505
32506         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32507         Remove.
32508         (__ASSUME_CORRECT_SI_PID): Likewise.
32509         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32510         (__ASSUME_TMPFS_NAME): Likewise.
32511         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32512         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32513         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32514         (HAVE_AUX_SECURE): Make definition unconditional.
32515         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32516         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32517
32518 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32519
32520         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32521         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32522         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32523         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32524         __eloop_threshold instead of SYMLOOP_MAX.
32525
32526         * sysdeps/generic/eloop-threshold.h: New file.
32527         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32528         of MAXSYMLINKS.
32529         * elf/chroot_canon.c (chroot_canon): Likewise.
32530
32531 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32532
32533         [BZ #13717]
32534         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32535         Change to 2.6.0 everywhere.
32536         * sysdeps/unix/sysv/linux/configure: Regenerated.
32537         * sysdeps/unix/sysv/linux/kernel-features.h
32538         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32539         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32540         kernel versions.
32541         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32542         (__ASSUME_FUTEX_REQUEUE): Remove.
32543         (__ASSUME_STATFS64): Define unconditionally.
32544         (__ASSUME_AT_SECURE): Likewise.
32545         (__ASSUME_CORRECT_SI_PID): Likewise.
32546         (__ASSUME_TGKILL): Define without depending on kernel version for
32547         i386.
32548         (__ASSUME_UTIMES): Likewise.
32549         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32550         kernel version.
32551         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32552         (__ASSUME_TMPFS_NAME): Likewise.
32553         * README: Update reference to Linux kernel versions.
32554
32555 2012-08-02  Marek Polacek  <polacek@redhat.com>
32556
32557         [BZ# 14150]
32558         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32559         libc_cv_asm_type_prefix with %.
32560         * configure: Regenerated.
32561         * include/libc-symbols.h: Remove comment about
32562         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32563         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32564         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32565         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32566         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32567         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32568         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32569         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32570         * elf/tst-unique2mod1.c: Likewise.
32571         * elf/tst-unique1mod2.c: Likewise.
32572         * elf/tst-unique1mod1.c: Likewise.
32573         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32574         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32575         Replace ASM_TYPE_DIRECTIVE with .type.
32576         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32577         * sysdeps/i386/sysdep.h: Likewise.
32578         * sysdeps/x86_64/sysdep.h: Likewise.
32579         * sysdeps/sh/sysdep.h: Likewise.
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32581         Do not define ASM_TYPE_DIRECTIVE.
32582         * sysdeps/powerpc/sysdep.h: Likewise.
32583         * sysdeps/powerpc/powerpc32/sysdep.h:
32584         Replace ASM_TYPE_DIRECTIVE with .type.
32585         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32586         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32587         * sysdeps/i386/fpu/e_powf.S: Likewise.
32588         * sysdeps/i386/fpu/e_expl.S: Likewise.
32589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32590         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32591         * sysdeps/i386/fpu/e_pow.S: Likewise.
32592         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32593         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32594         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32595         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32596         * sysdeps/i386/fpu/e_log2.S: Likewise.
32597         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32598         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32599         * sysdeps/i386/fpu/e_powl.S: Likewise.
32600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32601         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32602         * sysdeps/i386/fpu/e_logl.S: Likewise.
32603         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32604         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32605         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32606         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32607         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32608         * sysdeps/i386/fpu/e_log.S: Likewise.
32609         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32610         * sysdeps/i386/fpu/e_logf.S: Likewise.
32611         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32612         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32613         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32614         * sysdeps/i386/fpu/e_log10.S: Likewise.
32615         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32616         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32617         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32618         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32620         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32621         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32622         * sysdeps/i386/i686/strtok.S: Likewise.
32623         * sysdeps/i386/i386-mcount.S: Likewise.
32624         * sysdeps/i386/strtok.S: Likewise.
32625         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32626         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32627         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32628         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32629         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32630         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32631         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32632         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32633         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32634         * sysdeps/x86_64/_mcount.S: Likewise.
32635         * sysdeps/x86_64/strtok.S: Likewise.
32636         * sysdeps/sh/_mcount.S: Likewise.
32637
32638 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32639
32640         * libio/iofopen.c: Include <fcntl.h>.
32641         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32642         (_IO_fopen64, fopen64): Define as aliases.
32643         * libio/iofopen64.c: Include <fcntl.h>.
32644         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32645         Conditionalize body on this.
32646         * sysdeps/wordsize-64/iofopen.c: File removed.
32647         * sysdeps/wordsize-64/iofopen64.c: File removed.
32648
32649 2012-08-01  Marek Polacek  <polacek@redhat.com>
32650
32651         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32652         Use dlfcn directly instead of a variable.
32653         (binfmt-subdir): Do not define.
32654         (dlfcn): Likewise.
32655
32656 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32657
32658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32659         Remove all definitions.
32660         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32661         <kernel-features.h>.
32662         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32663         (miss_F_GETOWN_EX): Remove all definitions.
32664         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32665         macro definition.
32666         [!__ASSUME_FCNTL64]: Remove conditional code.
32667         [__ASSUME_FCNTL64]: Make code unconditional.
32668         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32669         <kernel-features.h>.
32670         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32671         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32672         (lockf64) [__NR_fcntl64]: Make code unconditional.
32673         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32674
32675         * sysdeps/unix/sysv/linux/kernel-features.h
32676         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32677         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32678         Make code unconditional.
32679         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32680         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32682         [__NR_vfork]: Make code unconditional.
32683         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32684         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32686         [__NR_vfork]: Make code unconditional.
32687         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32688         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32689
32690 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32691
32692         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32693         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32694
32695         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32696         Define mkstemp64 as an alias.
32697         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32698         Define mkstemps64 as an alias.
32699         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32700         Define mkostemp64 as an alias.
32701         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32702         Define mkostemps64 as an alias.
32703         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32704         Conditionalize body on this.
32705         * misc/mkostemp64.c: Likewise.
32706         * misc/mkostemps64.c: Likewise.
32707         * misc/mkstemps64.c: Likewise.
32708         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32709         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32710         * sysdeps/wordsize-64/mkostemp.c: File removed.
32711         * sysdeps/wordsize-64/mkstemp.c: File removed.
32712         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32713         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32714         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32715         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32716
32717         [BZ #14138]
32718         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32719         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32720         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32721         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32722
32723         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32724         compat_symbol macros from <shlib-compat.h> rather than the underlying
32725         default_symbol_version and symbol_version macros, so that DEFAULT
32726         lines in shlib-versions are respected.
32727         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32728
32729 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32730
32731         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32732         Declare with warn_unused_result.
32733         (setgid, setregid, setegid, setresgid): Likewise.
32734         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32735         Likewise.
32736         * WUR-REPORT: Remove set*id functions.
32737
32738 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32739
32740         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32741
32742 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32743
32744         [BZ #10191]
32745         * include/sys/socket.h (__libc_accept, __libc_accept4):
32746         Add attribute_hidden.
32747         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32748
32749         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32750         use of PTR_MANGLE.
32751         * inet/getnetgrent_r.c (setup): Likewise.
32752
32753         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32754
32755 2012-07-31  David S. Miller  <davem@davemloft.net>
32756
32757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32758
32759 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32760
32761         [BZ #13629]
32762         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32763         value between 1.0 and 2.0 and smaller part has absolute value less
32764         than 1.0.
32765         * math/s_clog10.c (__clog10): Likewise.
32766         * math/s_clog10f.c (__clog10f): Likewise.
32767         * math/s_clog10l.c (__clog10l): Likewise.
32768         * math/s_clogf.c (__clogf): Likewise.
32769         * math/s_clogl.c (__clogl): Likewise.
32770         * math/libm-test.inc (clog_test): Add more tests.
32771         (clog10_test): Likewise.
32772         * sysdeps/i386/fpu/libm-test-ulps: Update.
32773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32774
32775 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32776
32777         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32778         Exit with zero in case no suitable GID is found, and write a
32779         message to standard error.
32780
32781 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32782
32783         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32784         rather than to 1.
32785         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32786         (MAXPATHLEN): Removed.
32787         (NOGROUP, NODEV): New macros.
32788         (setbit, clrbit, isset, isclr): New macros.
32789         (howmany, roundup, powerof2): New macros.
32790         (DEV_BSIZE): New macro.
32791
32792         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32793         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32794
32795         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32796         definition on [!__NO_LONG_DOUBLE_MATH].
32797
32798         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32799         PTR_MANGLE and PTR_DEMANGLE.
32800
32801         * socket/accept4.c (accept4): Rename to __libc_accept4.
32802         Define accept4 as a weak alias.
32803
32804         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32805         on [_DIRENT_HAVE_D_TYPE].
32806         * io/ftw.c (ftw_dir): Likewise.
32807
32808         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32809
32810         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32811
32812         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32813         Use the BSD numbers rather than the arbitrary ones we had.
32814         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32815         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32816         (SIGXCPU, SIGXFSZ): New macros.
32817         (_NSIG): Now 32.
32818
32819         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32820         initializer on [_LIBC_REENTRANT].
32821
32822         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32823         definitions inside [_POSIX_MAPPED_FILES].
32824
32825         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32826
32827         * dirent/opendir.c: Include <fcntl.h>.
32828
32829         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32830         (__libc_getspecific): Likewise.
32831         (__libc_key_create): Likewise.
32832
32833         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32834         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32835         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32836         (tmpfile64): Define as alias.
32837         * sysdeps/wordsize-64/tmpfile.c: File removed.
32838         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32839         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32840         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32841
32842         * stdio-common/vfscanf.c: Include <stdbool.h>.
32843         * nss/makedb.c: Likewise.
32844         * stdio-common/_i18n_number.h: Likewise.
32845         * argp/argp-help.c: Likewise.
32846         * posix/wordexp.c: Likewise.
32847         * sysdeps/posix/spawni.c: Likewise.
32848         * nss/nss_files/files-initgroups.c: Likewise.
32849         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32850         * nss/nss_files/files-initgroups.c: Likewise.
32851         * nss/nss_db/db-netgrp.c: Likewise.
32852         * nss/nss_db/db-initgroups.c: Likewise.
32853         * io/fchmodat.c: Include <sys/stat.h>.
32854
32855         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32856         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32857
32858         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32859         [HAVE_MMAP].
32860
32861         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32862         Add multiple inclusion protection.
32863
32864 2012-07-27  David S. Miller  <davem@davemloft.net>
32865
32866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32867
32868 2012-07-27  Gary Benson  <gbenson@redhat.com>
32869
32870         [BZ #14298]
32871         * elf/rtld.c: Include <stap-probe.h>.
32872         (dl_main): Added static probes "init_start" and "init_complete".
32873         * elf/dl-load.c: Include <stap-probe.h>.
32874         (lose): Take new parameter "nsid".
32875         Added static probe "map_failed".
32876         (_dl_map_object_from_fd): Pass namespace id to lose.
32877         Added static probe "map_start".
32878         (open_verify): Pass namespace id to lose.
32879         * elf/dl-open.c: Include <stap-probe.h>.
32880         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32881         and "reloc_complete".
32882         * elf/dl-close.c: Include <stap-probe.h>.
32883         (_dl_close_worker): Added static probes "unmap_start" and
32884         "unmap_complete".
32885         * elf/rtld-debugger-interface.txt: New file documenting the above.
32886
32887 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32888
32889         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32890         rather than a string variable.
32891         * sunrpc/rpc_main.c (h_output): Likewise.
32892         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32893
32894 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32895
32896         * inet/check_native.c: New file.
32897
32898 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32899
32900         [BZ #13629]
32901         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32902         if larger part has absolute value 1.0.
32903         * math/s_clog10.c (__clog10): Likewise.
32904         * math/s_clog10f.c (__clog10f): Likewise.
32905         * math/s_clog10l.c (__clog10l): Likewise.
32906         * math/s_clogf.c (__clogf): Likewise.
32907         * math/s_clogl.c (__clogl): Likewise.
32908         * math/libm-test.inc (clog_test): Add more tests.
32909         (clog10_test): Likewise.
32910         * sysdeps/i386/fpu/libm-test-ulps: Update.
32911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32912
32913         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32914         (pltexit): Likewise.
32915         (La_regs): Likewise.
32916         (La_retval): Likewise.
32917         (int_retval): Likewise.
32918         Update #error for removed macros to refer only to definitions in
32919         tst-audit.h.
32920         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32921         macro.
32922         (pltexit): Likewise.
32923         (La_regs): Likewise.
32924         (La_retval): Likewise.
32925         (int_retval): Likewise.
32926         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32927         macro.
32928         (pltexit): Likewise.
32929         (La_regs): Likewise.
32930         (La_retval): Likewise.
32931         (int_retval): Likewise.
32932         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32933         macro.
32934         (pltexit): Likewise.
32935         (La_regs): Likewise.
32936         (La_retval): Likewise.
32937         (int_retval): Likewise.
32938         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32939         macro.
32940         (pltexit): Likewise.
32941         (La_regs): Likewise.
32942         (La_retval): Likewise.
32943         (int_retval): Likewise.
32944         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32945         macro.
32946         (pltexit): Likewise.
32947         (La_regs): Likewise.
32948         (La_retval): Likewise.
32949         (int_retval): Likewise.
32950         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32951         macro.
32952         (pltexit): Likewise.
32953         (La_regs): Likewise.
32954         (La_retval): Likewise.
32955         (int_retval): Likewise.
32956         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32957         macro definitions in tst-audit.h.
32958         * sysdeps/i386/tst-audit.h: New file.
32959         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32960         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32961         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32962         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32963         * sysdeps/sh/tst-audit.h: Likewise.
32964         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32965         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32966         * sysdeps/x86_64/tst-audit.h: Likewise.
32967
32968 2012-07-26  Andreas Jaeger  <aj@suse.de>
32969
32970         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32971         ptrace.
32972
32973         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32974         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32975         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32976         PTRACE_O_MASK.
32977         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32978         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32979         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32980
32981         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32982         value.
32983
32984         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32985         _sigsys.
32986         (si_call_addr, si_syscall, si_arch): Define new macro.
32987         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32988         _sigsys.
32989         (si_call_addr, si_syscall, si_arch): Define new marcro.
32990         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32991         _sigsys.
32992         (si_call_addr, si_syscall, si_arch): Define new macro.
32993         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32994         _sigsys.
32995         (si_call_addr, si_syscall, si_arch): Define new macro.
32996
32997 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32998
32999         [BZ #13717]
33000         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33001         Change to 2.4.21 where previously 2.4.1.
33002         * sysdeps/unix/sysv/linux/configure: Regenerated.
33003         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33004         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33005         Linux kernel version.
33006         (__ASSUME_STD_AUXV): Remove.
33007         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33008         kernel version.
33009         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33010         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33011         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33012         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33013         (__ASSUME_NETLINK_SUPPORT): Likewise.
33014         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33015         (__no_netlink_support): Remove conditional definition.
33016         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33017         Remove.
33018         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33019         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33020         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33021         (if_nameindex_ioctl): Remove.
33022         (if_nameindex_netlink): Do not handle __no_netlink_support.
33023         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33024         code.
33025         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33026         Remove conditional code.
33027         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33028         code.
33029         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33030         unconditional.
33031         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33032         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33033         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33034         Remove.
33035         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33036         [!__ASSUME_STD_AUXV]: Remove conditional code.
33037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33038         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33039         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33041         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33042         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33043         code.
33044         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33046         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33047         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33048         conditional code.
33049         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33051         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33052         code.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33054         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33055         conditional code.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33057         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33058         code unconditional.
33059         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33060         conditional code.
33061         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33062         unconditional.
33063         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33064         conditional code.
33065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33066         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33067         unconditional.
33068         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33069         conditional code.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33071         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33072         code unconditional.
33073         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33074         conditional code.
33075         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33076         unconditional.
33077         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33078         conditional code.
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33080         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33081         code unconditional.
33082         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33083         conditional code.
33084         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33085         unconditional.
33086         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33087         conditional code.
33088
33089 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33090
33091         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33092         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33093         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33094         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33095         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33096         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33097         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33098         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33099         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33100         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33101         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33102         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33103         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33104         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33105         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33106         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33107         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33108         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33109         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33111         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33112         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33113         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33114
33115 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33116
33117         * Versions.def: Add GLIBC_2.17.
33118         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33119         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33120         Introduce __libc_secure_getenv.
33121         * stdlib/Versions (2.17): Add secure_getenv
33122         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33123         * stdlib/secure-getenv.c: Rename __secure_getenv to
33124         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33125         symbol __secure_getenv for GLIBC_2.0.
33126         * stdlib/tst-secure-getenv.c: New.
33127         * stdlib/Makefile (tests): Add testcase.
33128         * manual/startup.texi (Environment Access): Document
33129         secure_getenv.
33130         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33131         __libc_secure_getenv.
33132         * inet/ruserpass.c (ruserpass): Likewise.
33133         * malloc/mtrace.c (mtrace): Likewise.
33134         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33135         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33136         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33137         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33138         HAVE_SECURE_GETENV.
33139         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33140         __secure_getenv to __libc_secure_getenv.
33141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33143         Likewise.
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33145         Likewise.
33146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33153
33154 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33155
33156         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33157         (struct La_i86_retval): Likewise.
33158         (struct La_x86_64_regs): Likewise.
33159         (struct La_x86_64_retval): Likewise.
33160         (struct La_x32_regs): Likewise.
33161         (struct La_x32_retval): Likewise.
33162         (struct La_ppc32_regs): Likewise.
33163         (struct La_ppc32_retval): Likewise.
33164         (struct La_ppc64_regs): Likewise.
33165         (struct La_ppc64_retval): Likewise.
33166         (struct La_sh_regs): Likewise.
33167         (struct La_sh_retval): Likewise.
33168         (struct La_s390_32_regs): Likewise.
33169         (struct La_s390_32_retval): Likewise.
33170         (struct La_s390_64_regs): Likewise.
33171         (struct La_s390_64_retval): Likewise.
33172         (struct La_sparc32_regs): Likewise.
33173         (struct La_sparc32_retval): Likewise.
33174         (struct La_sparc64_regs): Likewise.
33175         (struct La_sparc64_retval): Likewise.
33176         (struct audit_ifaces): Remove architecture-specific pltenter and
33177         pltexit members.
33178         * sysdeps/i386/ldsodefs.h: New file.
33179         * sysdeps/powerpc/ldsodefs.h: Likewise.
33180         * sysdeps/s390/ldsodefs.h: Likewise.
33181         * sysdeps/sh/ldsodefs.h: Likewise.
33182         * sysdeps/sparc/ldsodefs.h: Likewise.
33183         * sysdeps/x86_64/ldsodefs.h: Likewise.
33184
33185 2012-07-25  Marek Polacek  <polacek@redhat.com>
33186
33187         [BZ #6808]
33188         * math/libm-test.inc (yn_test): Add another test.
33189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33190         to ERANGE when the result is +-Inf.
33191         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33192         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33193         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33194         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33195
33196 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33197
33198         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33199         equal to 0.
33200         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33201         clock_t.
33202         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33203
33204 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33205
33206         * configure.in <sysdeps resolving>: Correct printing
33207         Implies_before.
33208         * configure: Regenerate.
33209
33210 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33211
33212         * math/w_ilogb.c: Include <limits.h>.
33213         * math/w_ilogbl.c: Likewise.
33214
33215 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33216
33217         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33218         va_copy.  Document allowing for unavailable va_copy only as
33219         pre-C99 compatibility.
33220         * manual/string.texi (Copying and Concatenation): Use va_copy
33221         instead of __va_copy in concat example.
33222
33223 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33224
33225         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33226         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33227         it if not null.
33228
33229         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33230         with O_NOLINK passed to __file_name_lookup.
33231
33232         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33233         with O_NOLINK passed to __file_name_lookup.
33234
33235         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33236         negative N or less than NGIDS.
33237
33238         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33239         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33240         enough.  Use memcpy instead of strncpy.
33241
33242 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33243
33244         * elf/Makefile (check-data): Remove.
33245         (localplt.data): New vpath directive.
33246         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33247         instead of $(check-data).
33248         * scripts/data/localplt-generic.data: Move to ...
33249         * sysdeps/generic/localplt.data: ... here.
33250         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33251         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33252         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33254         ... here.
33255         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33257         ... here.
33258         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33260         ... here.
33261         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33263         ... here.
33264         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33266         ... here.
33267         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33269         ... here.
33270
33271 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33272
33273         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33274         PPC32 and PPC64 files.
33275         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33276         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33277
33278 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33279
33280         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33281         __makecontext_ret to ...
33282         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33283         ... here and call exit if uc_link is NULL.  New file.
33284         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33285         __makecontext_ret.S.
33286         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33287         __makecontext_ret to ...
33288         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33289         ... here and call exit if uc_link is NULL.  New file.
33290         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33291         __makecontext_ret.S.
33292
33293 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33294
33295         * elf/elf.h (R_390_IRELATIVE): New definition.
33296         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33297         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33298         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33299         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33300         (elf_machine_lazy_rel): Likewise.
33301         * sysdeps/s390/dl-irel.h: New file.
33302         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33303         * sysdeps/s390/s390-64/memset.S: New asm code.
33304         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33305         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33306         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33307         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33308         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33309         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33310         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33311         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33312         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33313         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33314         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33315         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33316         * sysdeps/s390/s390-32/memset.S: New asm code.
33317         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33318
33319 2012-07-17  Marek Polacek  <polacek@redhat.com>
33320
33321         [BZ #14349]
33322         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33323         * sysdeps/s390/s390-64/configure.in: Likewise.
33324         * sysdeps/sparc/configure.in: Likewise.
33325         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33326         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33327         * sysdeps/i386/configure.in: Likewise.
33328         * sysdeps/x86_64/configure.in: Likewise.
33329         * sysdeps/sh/configure.in: Likewise.
33330         * sysdeps/s390/s390-32/configure: Regenerated.
33331         * sysdeps/s390/s390-64/configure: Likewise.
33332         * sysdeps/x86_64/configure: Likewise.
33333         * sysdeps/sh/configure: Likewise.
33334         * sysdeps/powerpc/powerpc64/configure: Likewise.
33335         * sysdeps/powerpc/powerpc32/configure: Likewise.
33336         * sysdeps/sparc/configure: Likwise.
33337         * sysdeps/i386/configure: Likewise.
33338
33339         * elf/dl-open.c: Comment fixes.
33340
33341 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33342
33343         * Makefile [CXX] (check-data): Remove.
33344         [CXX] (c++-types.data): New vpath directive.
33345         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33346         vpath.  Do not allow for C++ type data being missing.
33347         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33348         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33349         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33350         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33351         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33352         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33353         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33355         ... here.
33356         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33358         ... here.
33359         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33361         ... here.
33362         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33364         ... here.
33365         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33367         ... here.
33368         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33370         ... here.
33371         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33373         ... here.
33374         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33376
33377         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33378         definitions to architecture-specific files.
33379         (TLS_IE): Likewise.
33380         (TLS_LD): Likewise.
33381         (TLS_GD): Likewise.
33382         * sysdeps/i386/tls-macros.h: New file.
33383         * sysdeps/powerpc/tls-macros.h: Likewise.
33384         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33385         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33386         * sysdeps/sh/tls-macros.h: Likewise.
33387         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33388         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33389         * sysdeps/x86_64/tls-macros.h: Likewise.
33390
33391 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33392
33393         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33394         zero value for regular exit case.
33395
33396         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33397         (__start_context): Preserve zero value for regular exit case.
33398
33399 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33400             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33401
33402         * manual/setjmp.texi (setcontext): Clarify normal process
33403         termination when uc_link is the null pointer.
33404         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33405         exit call.
33406
33407 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33408
33409         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33410         preprocessor.  Test for each exception mask separately.
33411
33412 2012-07-16  Andreas Jaeger  <aj@suse.de>
33413
33414         * po/ru.po: Update from translation team.
33415
33416 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33417
33418         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33419         equal to 0.
33420         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33421         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33422         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33423         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33424         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33425
33426 2012-07-13  Andreas Jaeger  <aj@suse.de>
33427
33428         * po/fr.po: Update from translation team.
33429
33430 2012-07-12  Marek Polacek  <polacek@redhat.com>
33431
33432         [BZ #14173]
33433         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33434         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33435         loop condition.
33436
33437 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33438
33439         [BZ #13717]
33440         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33441         Change to 2.4.1 where previously 2.4.0.
33442         * sysdeps/unix/sysv/linux/configure: Regenerated.
33443         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33444         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33445         version.
33446         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33447         (__ASSUME_AT_CLKTCK): Remove.
33448         (__ASSUME_AT_PAGESIZE): Likewise.
33449         (__ASSUME_AT_XID): Likewise.
33450         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33451         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33452         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33453         unconditionally.
33454         (HAVE_AUX_PAGESIZE): Likewise.
33455         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33456         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33457         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33458
33459 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33460
33461         [BZ #14307]
33462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33463         the temporary buffer used to invoke __gethostbyname2_r,
33464         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33465         host_data / struct gaih_addrtuple.
33466         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33467         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33468         header file nss/nsswitch.h.
33469         * nss/nsswitch.h (global scope): Add definition of implementation
33470         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33471         resolv/nss_dns/dns-host.c).
33472
33473 2012-07-11  Andreas Jaeger  <aj@suse.de>
33474
33475         * po/fr.po: Update from translation team.
33476
33477         * po/sv.po: Update from translation team
33478         * po/fr.po: Another update from translation team.
33479
33480 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33481
33482         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33483         for subnormals or multiply small sinh result by itself.
33484         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33486
33487 2012-07-11  David S. Miller  <davem@davemloft.net>
33488
33489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33490
33491 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33492
33493         [BZ #14347]
33494         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33495         (INTERNAL_MARK): Shift it here.
33496
33497 2012-07-10  Marek Polacek  <polacek@redhat.com>
33498
33499         [BZ #14151]
33500         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33501         libc_cv_asm_global_directive with .globl.
33502         * configure: Regenerated.
33503         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33504         with .globl.
33505         * sysdeps/i386/configure: Regenerated.
33506         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33507         with .globl.
33508         * sysdeps/x86_64/configure: Regenerated.
33509         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33510         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33511         * elf/tst-unique2mod2.c: Likewise.
33512         * elf/tst-unique2mod1.c: Likewise.
33513         * elf/tst-unique1mod2.c: Likewise.
33514         * elf/tst-unique1mod1.c: Likewise.
33515         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33516         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33517         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33518         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33519         * sysdeps/mach/sysdep.h: Likewise.
33520         * sysdeps/i386/sysdep.h: Likewise.
33521         * sysdeps/i386/i386-mcount.S: Likewise.
33522         * sysdeps/x86_64/_mcount.S: Likewise.
33523         * sysdeps/x86_64/sysdep.h: Likewise.
33524         * sysdeps/sh/_mcount.S: Likewise.
33525         * sysdeps/sh/sysdep.h: Likewise.
33526         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33527         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33528         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33529         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33530         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33531         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33532         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33533         * locale/localeinfo.h: Likewise.
33534         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33535         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33536
33537 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33538
33539         [BZ #14336]
33540         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33541         system".
33542         * manual/message.texi (The Uniforum approach): Likewise.
33543         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33544         (glibc iconv Implementation): Likewise.
33545
33546 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33547
33548         [BZ #14337]
33549         * math/s_clog.c (__clog): Avoid scaling a value down where that
33550         could result in underflow.
33551         * math/s_clog10.c (__clog10): Likewise.
33552         * math/s_clog10f.c (__clog10f): Likewise.
33553         * math/s_clog10l.c (__clog10l): Likewise.
33554         * math/s_clogf.c (__clogf): Likewise.
33555         * math/s_clogl.c (__clogl): Likewise.
33556         * math/libm-test.inc (clog_test): Add more tests.
33557         (clog10_test): Likewise.
33558         * sysdeps/i386/fpu/libm-test-ulps: Update.
33559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33560
33561 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33562
33563         [BZ #14283]
33564         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33565         by 7 not 8 to examine high bit of fractional part.
33566
33567         [BZ #14042]
33568         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33569         for call to __mcount_internal.
33570         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33571         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33572         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33573
33574 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33575
33576         [BZ #14154]
33577         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33578         approximation for values within 0x1p-13f of an odd multiple of
33579         pi/4.
33580         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33581         exception.  Add more tests.
33582         * sysdeps/i386/fpu/libm-test-ulps: Update.
33583
33584         [BZ #6778]
33585         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33586         inputs and return -1 for them.  Do not check for +Inf in case not
33587         reachable for +Inf.
33588         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33589         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33590         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33591         and return -1 for them.  Do not check for +Inf in case not
33592         reachable for +Inf.
33593         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33594         define.
33595         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33596         and return -1 for them.  Do not check for +Inf in case not
33597         reachable for +Inf.
33598         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33599         spurious underflow.
33600         * sysdeps/i386/fpu/libm-test-ulps: Update.
33601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33602
33603 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33604
33605         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33606
33607 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33608
33609         [BZ #14157]
33610         [BZ #14331]
33611         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33612         could result in spurious underflow.  Scale down values above
33613         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33614         * math/s_csqrtf.c (__csqrtf): Likewise.
33615         * math/s_csqrtl.c (__csqrtl): Likewise.
33616         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33617         spurious underflow.
33618         * sysdeps/i386/fpu/libm-test-ulps: Update.
33619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33620
33621 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33622
33623         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33624         xopen-msg.sed.
33625         * catgets/xopen-msg.awk: New file.
33626         * catgets/xopen-msg.sed: Removed.
33627
33628         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33629         po2text.sed.
33630         * intl/po2test.awk: New file.
33631         * intl/po2test.sed: Removed.
33632
33633 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33634
33635         [BZ #14328]
33636         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33637         or multiply small sinh result by itself.
33638         * math/s_ctanf.c (__ctanf): Likewise.
33639         * math/s_ctanh.c (__ctanh): Likewise.
33640         * math/s_ctanhf.c (__ctanhf): Likewise.
33641         * math/s_ctanhl.c (__ctanhl): Likewise.
33642         * math/s_ctanl.c (__ctanl): Likewise.
33643         * math/libm-test.inc (ctan_test_tonearest): New function.
33644         (ctan_test_towardzero): Likewise.
33645         (ctan_test_downward): Likewise.
33646         (ctan_test_upward): Likewise.
33647         (ctanh_test_tonearest): Likewise.
33648         (ctanh_test_towardzero): Likewise.
33649         (ctanh_test_downward): Likewise.
33650         (ctanh_test_upward): Likewise.
33651         (main): Call these new functions.
33652         * sysdeps/i386/fpu/libm-test-ulps: Update.
33653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33654
33655 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33656
33657         * .gitignore: Delete /ports entry.
33658
33659 2012-07-03  Andreas Jaeger  <aj@suse.de>
33660
33661         * po/bg.po: Update from translation team.
33662         * po/cs.po: Likewise.
33663         * po/de.po: Likewise.
33664         * po/hr.po: Likewise.
33665         * po/nl.pl: Likewise.
33666         * po/pl.po: Likewise.
33667         * po/vi.po: Likewise.
33668
33669 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33670
33671         * Makeconfig [!+link] (+link-before-libc): New variable.
33672         [!+link] (+link-after-libc): Likewise.
33673         [!+link] (+link-tests): Likewise.
33674         [!+link] (+link): Define in terms of $(+link-before-libc) and
33675         $(+link-after-libc).
33676         [!+link-static] (+link-static-before-libc): New variable.
33677         [!+link-static] (+link-static-after-libc): Likewise.
33678         [!+link-static] (+link-static-tests): Likewise.
33679         [!+link-static] (+link-static): Define in terms of
33680         $(+link-static-before-libc) and $(+link-static-after-libc).
33681         [build-shared] (link-libc-before-gnulib): New variable.
33682         [build-shared] (link-libc-tests): Likewise.
33683         [build-shared] (link-libc): Define in terms of
33684         $(link-libc-before-gnulib).
33685         [!build-shared] (link-libc-tests): New variable.
33686         (link-libc-static-tests): New variable.
33687         [!gnulib] (gnulib-arch): New variable.
33688         [!gnulib] (gnulib-tests): Likewise.
33689         [!gnulib] (static-gnulib-arch): Likewise.
33690         [!gnulib] (static-gnulib-tests): Likewise.
33691         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33692         Define with "=" instead of ":=".
33693         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33694         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33695         * Rules (binaries-all-notests): New variable.
33696         (binaries-all-tests): Likewise.
33697         (binaries-static-notests): Likewise.
33698         (binaries-static-tests): Likewise.
33699         (binaries-all): Define using $(binaries-all-notests) and
33700         $(binaries-all-tests).
33701         (binaries-static): Define using $(binaries-static-notests) and
33702         $(binaries-static-tests).
33703         (binaries-shared-tests): New variable.
33704         (binaries-shared-notests): Likewise.
33705         (binaries-shared): Remove variable.
33706         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33707         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33708         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33709         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33710         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33711         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33712         * elf/Makefile (sln-modules): New variable.
33713         (extra-objs): Add $(sln-modules:=.o).
33714         (ldconfig-modules): Add static-stubs.
33715         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33716         * elf/static-stubs.c: New file.
33717
33718         [BZ #14283]
33719         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33720         by 7 not 8 to examine high bit of fractional part.  Use volatile
33721         variables when splitting into final array of floats if
33722         __FLT_EVAL_METHOD__ != 0.
33723         * math/libm-test.inc (cos_test): Add another test.
33724         (sin_test): Likewise.
33725         * sysdeps/i386/fpu/libm-test-ulps: Update.
33726
33727         [BZ #14273]
33728         * math/libm-test.inc (cosh_test): Add more tests.
33729
33730         * version.h (RELEASE): Set to "development".
33731         (VERSION): Set to "2.16.90".
33732
33733 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33734
33735         * NEWS: Update copyright. Remove last-updated date.
33736         Mention math library bug fixes and timezone data changes.
33737         * README: Mention GNU/Hurd, x32, and HPPA support status.
33738
33739 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33740
33741         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33742
33743 2012-06-27  Andreas Jaeger  <aj@suse.de>
33744
33745         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33746
33747 2012-06-25  Andreas Jaeger  <aj@suse.de>
33748
33749         * sysdeps/s390/fpu/libm-test-ulps: Update.
33750
33751 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33752             Thomas Schwinge  <thomas@codesourcery.com>
33753
33754         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33755         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33756         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33757         fanotify_mark.
33758
33759 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33760
33761         * sysdeps/mach/start.c: Remove file.
33762         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33763         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33764         * sysdeps/sh/init-first.c: Likewise.
33765
33766         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33767         registers for frame unwinding purposes, add CFI directives.
33768         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33769         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33770         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33771         Likewise.
33772
33773         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33774         __fortify_fail returning.
33775         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33776
33777         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33778         sysdeps/sh/____longjmp_chk.S.
33779         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33780         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33781         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33782         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33783
33784         * sysdeps/sh/abort-instr.h: New file.
33785         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33786         process in case exit returns.
33787
33788         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33789         initialize the GOT register before use.
33790
33791         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33792         calculation of ARGC > 4.
33793
33794         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33795         meaningful names to some local labels.
33796
33797 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33798             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33799
33800         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33801         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33802         (__arch_compare_and_exchange_val_16_acq): Likewise.
33803         (__arch_compare_and_exchange_val_32_acq): Likewise.
33804         (atomic_exchange_and_add): Fix gUSA sequence.
33805         (atomic_add): Likewise.
33806         (atomic_add_negative): Likewise.
33807         (atomic_add_zero): Likewise.
33808         (atomic_bit_test_set): Likewise.
33809
33810 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33811
33812         [BZ #13579]
33813         * include/link.h (struct link_map): Add l_free_initfini.
33814         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33815         l_initfini.
33816         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33817         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33818         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33819         set.
33820
33821 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33822
33823         * configure.in: Use AC_LANG_SOURCE.
33824         * configure: Regenerate.
33825
33826 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33827
33828         * configure.in (libc_cv_localstatedir): New substituted variable.
33829         * configure: Regenerated.
33830         * config.make.in (localstatedir): New variable, substituted from
33831         libc_cv_localstatedir.
33832         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33833         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33834         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33835         * sysdeps/gnu/configure: Regenerated.
33836
33837 2012-06-21  Jeff Law  <law@redhat.com>
33838
33839         [BZ #14277]
33840         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33841         free.  Simplify list management for _LIBC case.
33842
33843 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33844
33845         [BZ #14273]
33846         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33847         Clear sign bit of 64-bit integer value before comparing against
33848         overflow value.
33849
33850         * sysdeps/mach/configure: Regenerated.
33851
33852 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33853
33854         [BZ #14278]
33855         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33856
33857 2012-06-21  Jeff Law  <law@redhat.com>
33858
33859         [BZ #13882]
33860         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33861         uint16_t for elements in the "seen" array to avoid char overflows.
33862         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33863         * elf/dl-open.c (dl_open_worker): Likewise.
33864
33865 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33866
33867         * scripts/list-sources.sh: Scan PORTS for translations.
33868         * po/libc.pot: Regenerated.
33869
33870 2012-06-21  Andreas Jaeger  <aj@suse.de>
33871
33872         [BZ #12194]
33873         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33874         warning.
33875         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33876         * bits/byteswap-16.h (__bswap_16): Likewise.
33877         * bits/byteswap.h (__bswap_constant_16): Likewise.
33878
33879 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33880
33881         [BZ #14117]
33882         * sysdeps/i386/fpu_control.h: Removed.
33883         * sysdeps/x86_64/fpu_control.h: Moved to ...
33884         * sysdeps/x86/fpu_control.h: Here.
33885
33886         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33887         (_FPU_SETCW): Likewise.
33888
33889 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33890
33891         [BZ #14117]
33892         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33893         * sysdeps/x86/fpu/bits/mathinline.h: This.
33894         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33895
33896         [BZ #14050]
33897         [BZ #14117]
33898         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33899         functions if __x86_64__ is defined.
33900
33901 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33902
33903         * string/endian.h: Add !__ASSEMBLER__ condition for including
33904         conversion interfaces.
33905
33906 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33907
33908         [BZ #14241]
33909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33910         of ABS(x) in calculating zero to negative powers other than odd
33911         integers.
33912         * math/libm-test.inc (pow_test): Add more tests.
33913
33914 2012-06-15  Andreas Jaeger  <aj@suse.de>
33915
33916         * manual/contrib.texi (Contributors): Update entry of Liubov
33917         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33918         Machado Filho.
33919
33920 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33921
33922         * string/string.h: Add __wur to GNU version of strerror_r.
33923
33924 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33925
33926         [BZ #14229]
33927         * string/Makefile (tests): Add tst-strtok_r.
33928         * string/tst-strtok_r.c: New file.
33929         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33930         RAX_LP/RDX_LP on SAVE_PTR.
33931
33932 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33933
33934         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33935
33936 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33937
33938         * libm_test.inc (csqrt_test): Allow more spurious underflow
33939         exceptions.
33940         (j0_test): Likewise.
33941         (j1_test): Likewise.
33942         (y0_test): Likewise.
33943         (y1_test): Likewise.
33944
33945 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33946
33947         * po/Makefile (libc.pot): Use UTF-8 charset.
33948
33949 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33950
33951         [BZ #14210]
33952         Suppress sign-conversion warning from FD_SET.
33953         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33954         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33955         not unsigned long int.
33956         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33957
33958 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33959
33960         [BZ #14050]
33961         [BZ #14117]
33962         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33963         __extern_always_inline instead of __extern_inline.
33964         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33965         (__signbit): Likewise.
33966         (__signbitl): Support C++ namespace.
33967         (lrintf): New inline function.
33968         (lrint): Likewise.
33969         (llrintf): Likewise.
33970         (llrint): Likewise.
33971         (fmaxf): Likewise.
33972         (fmax): Likewise.
33973         (fminf): Likewise.
33974         (fmin): Likewise.
33975         (rint): Likewise.
33976         (rintf): Likewise.
33977         (ceil): Likewise.
33978         (ceilf): Likewise.
33979         (floor): Likewise.
33980         (floorf): Likewise.
33981         (nearbyint): Likewise.
33982         (nearbyintf): Likewise.
33983
33984 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33985
33986         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33987         non-default versions.
33988
33989 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33990
33991         [BZ #14218]
33992         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33993
33994 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33995
33996         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33997         (FE_UPWARD, FE_DOWNWARD): Don't define.
33998         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33999         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34000
34001         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34002         reading it.
34003         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34004         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34005
34006 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34007
34008         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34010         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34011         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34012
34013 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34014
34015         [BZ #14117]
34016         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34017         * sysdeps/i386/fpu/Implies: New file.
34018         * sysdeps/x86_64/fpu/Implies: Likewise.
34019         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34020         * sysdeps/x86/fpu/bits/fenv.h: This.
34021
34022         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34023         __SSE_MATH__.
34024
34025 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34026
34027         [BZ #14134]
34028         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34029         character 0xffff that matches the last element of the
34030         conversion table.
34031
34032 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34033
34034         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34035         fmodl commit.
34036
34037 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34038
34039         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34040         values higher than 25.6283.
34041
34042 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34043
34044         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34045         subnormal exponent extraction and add some __builtin_expect.
34046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34047         Fix for subnormal mantissa calculation.
34048
34049 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34050
34051         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34052         cpu2 is -1 and errno is not ENOSYS.
34053
34054 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34055
34056         [BZ #14117]
34057         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34058         * sysdeps/x86/bits/string.h: This.
34059         * sysdeps/x86_64/bits/string.h: Removed.
34060
34061         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34062         if not compiling for x86-64, but compiling for >= i486.
34063
34064         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34065         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34066
34067         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34068         New macro from Linux kernel 3.4.0.
34069         (FP_XSTATE_MAGIC2): Likewise.
34070         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34071         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34072         (struct _fpx_sw_bytes): New struct.
34073         (struct _xsave_hdr): Likewise.
34074         (struct _ymmh_state): Likewise.
34075         (struct _xstate): Likewise.
34076
34077         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34078         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34079         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34080         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34081         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34082         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34083
34084         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34085         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34086         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34087         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34088         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34089         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34090
34091 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34092
34093         [BZ #13743]
34094         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34095         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34096         (sysdep_headers): Include sys/platform/ppc.h.
34097         * sysdeps/powerpc/test-gettimebase.c: Test for
34098         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34099         * manual/Makefile (appendices): Include platform.texi.
34100         * manual/contrib.texi (Contributors): Update @node pointers.
34101         * manual/maint.texi (Maintenance): Likewise.
34102         (Platform): New node.
34103         * manual/platform.texi: New file.  Document the new features.
34104
34105 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34106             Jakub Jelinek  <jakub@redhat.com>
34107
34108         [BZ #14188]
34109         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34110         where __builtin_expect is unavailable.
34111
34112 2012-06-03  David S. Miller  <davem@davemloft.net>
34113
34114         * stdlib/longlong.h: Updated from GCC.
34115
34116 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34117
34118         [BZ #14042]
34119         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34120         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34121         __mcount_internal.
34122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34123         (GLIBC_2.16): Likewise.
34124
34125 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34126
34127         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34128
34129 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34130
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34132         (default-abi): New variable.
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34134         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34135         variable.
34136         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34137         Likewise.
34138         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34139         Likewise.
34140         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34141         Likewise.
34142
34143         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34144         definition.  Document in comment.
34145
34146 2012-06-01  David S. Miller  <davem@davemloft.net>
34147
34148         * stdlib/longlong.h: Updated from GCC.
34149
34150 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34151
34152         [BZ #14117]
34153         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34154         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34155         sys/debugreg.h sys/io.h here.
34156         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34157         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34158         sys/io.h.
34159         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34160         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34161         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34162         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34163         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34164         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34165
34166         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34167         Define only if __x86_64__ is defined.
34168
34169 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34170
34171         [BZ #14048]
34172         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34173         Use int64_t for variable i.
34174         * math/libm-test.inc (fmod_test): Add more tests.
34175
34176         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34177         z computation is not scheduled after fetestexcept.
34178         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34179         Use math_force_eval instead of asm to ensure calculation scheduled
34180         before exception test.
34181         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34182         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34183
34184 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34185
34186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34187         computation is not scheduled after fetestexcept.
34188
34189 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34190
34191         [BZ #14117]
34192         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34193         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34194
34195 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34196
34197         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34198         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34199
34200 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34201
34202         [BZ #14117]
34203         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34204         <bits/wordsize.h>.
34205         (__WCHAR_MIN): Support __WORDSIZE == 64.
34206         (__WCHAR_MAX): Likewise.
34207
34208         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34209         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34210
34211         [BZ #14183]
34212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34213         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34214
34215         [BZ #14117]
34216         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34217         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34218
34219         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34220         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34221
34222         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34223         Defined to 1 if __x86_64__ isn't defined.
34224         (_STAT_VER_LINUX_OLD): New.
34225         (st_atime): Remove duplicate.
34226         (st_mtime): Likewise.
34227         (st_ctime): Likewise.
34228
34229 2012-05-31  David S. Miller  <davem@davemloft.net>
34230
34231         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34232         entries.
34233
34234 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34235
34236         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34237         gen-libm-test.pl.
34238
34239         [BZ #14132]
34240         * elf/dl-reloc.c: Include <_itoa.h>.
34241         (_dl_reloc_bad_type): Remove use of INTUSE.
34242         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34243         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34244         * stdio-common/psiginfo.c (psiginfo): Likewise.
34245         * stdio-common/psignal.c (psignal): Likewise.
34246         * string/strsignal.c (strsignal): Likewise.
34247         * include/signal.h (_sys_siglist): Declare hidden proto.
34248         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34249         INTVARDEF with libc_hidden_data_def.
34250         * stdio-common/itoa-udigits.c: Likewise.
34251         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34252         (_itoa_lower_digits_internal): Remove declaration.
34253         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34254         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34255         (_sys_sigabbrev_internal): Remove aliases.
34256         (_sys_siglist): Define hidden alias.
34257
34258 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34259
34260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34261         bits/sysctl.h.
34262
34263 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34264
34265         [BZ #14117]
34266         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34267         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34268
34269         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34270         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34271         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34272         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34273         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34274         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34275
34276         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34277         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34278         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34279
34280         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34281         with __addr.
34282         (insw): Likewise.
34283         (insl): Likewise.
34284         (outsb): Likewise.
34285         (outsw): Likewise.
34286         (outsl): Likewise.
34287
34288         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34289         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34290         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34291
34292         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34293         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34294         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34295         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34296         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34297         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34298
34299         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34300         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34301
34302         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34303         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34304
34305         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34307         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34308
34309         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34310         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34311         to ...
34312         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34313
34314         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34315         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34316         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34317
34318         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34319         for x86-64.
34320         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34321
34322 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34323
34324         * math/math.h (M_El): Use two more decimal places.
34325         (M_LOG2El): Likewise.
34326         (M_LOG10El): Likewise.
34327         (M_LN2l): Likewise.
34328         (M_LN10l): Likewise.
34329         (M_PIl): Likewise.
34330         (M_PI_2l): Likewise.
34331         (M_PI_4l): Likewise.
34332         (M_1_PIl): Likewise.
34333         (M_2_PIl): Likewise.
34334         (M_2_SQRTPIl): Likewise.
34335         (M_SQRT2l): Likewise.
34336         (M_SQRT1_2l): Likewise.
34337
34338 2012-05-31  David S. Miller  <davem@davemloft.net>
34339
34340         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34341         values between float registers.
34342         * sysdeps/sparc/sparc64/memset.S: Likewise.
34343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34344
34345 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34346
34347         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34348         -D_FORTIFY_SOURCE=1.
34349         (CPPFLAGS-tst-longjmp_chk.c): Define.
34350         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34351         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34352         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34353         CFLAGS-tst-wchar-h.c.
34354
34355 2012-05-31  Marek Polacek  <polacek@redhat.com>
34356
34357         [BZ #14132]
34358         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34359         __endmntent_internal): Remove declaration.
34360         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34361         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34362         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34363
34364 2012-05-30  David S. Miller  <davem@davemloft.net>
34365
34366         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34367         (___Q_simulate_exceptions): Use real FP ops rather than writing
34368         into the %fsr.
34369         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34370         Likewise.
34371
34372 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34373
34374         [BZ #14117]
34375         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34376         * sysdeps/x86/bits/xtitypes.h: This.
34377
34378         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34379         * sysdeps/x86/bits/wordsize.h: This.
34380
34381         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34382         * sysdeps/x86/bits/huge_vall.h: This.
34383
34384         * sysdeps/i386/bits/select.h: Removed.
34385         * sysdeps/x86_64/bits/select.h: Renamed to ...
34386         * sysdeps/x86/bits/select.h: This.
34387
34388         * sysdeps/i386/bits/setjmp.h: Removed.
34389         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34390         * sysdeps/x86/bits/setjmp.h: This.
34391
34392         * sysdeps/i386/bits/mathdef.h: Removed.
34393         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34394         * sysdeps/x86/bits/mathdef.h: This.
34395
34396 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34397
34398         [BZ #14132]
34399         * include/sys/socket.h (__connect_internal)
34400         (__libc_sa_len_internal): Remove declaration.
34401         (__connect, __libc_sa_len): Declare hidden_proto.
34402         (SA_LEN): Remove use of INTUSE.
34403         * socket/connect.c: Add libc_hidden_def.
34404         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34405         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34406         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34407         alias.
34408         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34409         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34410         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34411         of adding _internal alias.
34412
34413 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34414
34415         [BZ #14117]
34416         * sysdeps/i386/bits/link.h: Removed.
34417         * sysdeps/i386/bits/linkmap.h: Likewise.
34418         * sysdeps/x86_64/bits/link.h: Renamed to ...
34419         * sysdeps/x86/bits/link.h: This.
34420         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34421         * sysdeps/x86/bits/linkmap.h: This.
34422
34423         * sysdeps/i386/bits/endian.h: Removed.
34424         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34425         * sysdeps/x86/bits/endian.h: This.
34426
34427         * sysdeps/i386/bits/byteswap.h: Removed.
34428         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34429         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34430         * sysdeps/x86/bits/byteswap.h: This.
34431         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34432         * sysdeps/x86/bits/byteswap-16.h: This.
34433         * sysdeps/i386/Implies: Add x86.
34434         * sysdeps/x86_64/Implies: Likewise.
34435
34436 2012-05-30  David S. Miller  <davem@davemloft.net>
34437
34438         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34439         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34440         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34441         (FP_TRAPPING_EXCEPTIONS): Define.
34442         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34443         (FP_TRAPPING_EXCEPTIONS): Define.
34444         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34445         subnormals only when inexact has been signalled or underflow
34446         exceptions are enabled.
34447         (_FP_PACK_CANONICAL): Likewise.
34448
34449 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34450
34451         [BZ #14183]
34452         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34453         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34454
34455 2012-05-30  Richard Henderson  <rth@twiddle.net>
34456
34457         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34458         with #ifndef NOT_IN_libc.
34459
34460         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34461         marked to avoid plt entry.
34462
34463 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34464
34465         [BZ #14112]
34466         * Makeconfig (default-abi): New macro.
34467         (abi-includes): Likewise.
34468         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34469         $(abi-$(default-abi)-lib-soname) for soname if defined.
34470         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34471         abi-variants.
34472         * Makefile (installed-stubs): Likewise.
34473         * include/stubs-biarch.h: Removed.
34474         * scripts/lib-names.awk: Only handle one library at a time.
34475         * scripts/soversions.awk: Remove WORDSIZE support.
34476         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34477         entries.
34478         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34479         Removed.
34480         (syscall-list-default-condition): Likewise.
34481         (syscall-list-default-condition): Likewise.
34482         (syscall-list-includes): Likewise.
34483         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34484         syscall-list-* with abi-*.  Handle undefined abi-variants.
34485         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34486         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34487         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34488         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34489         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34490         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34491         Removed.
34492         (syscall-list-32-options): Likewise.
34493         (syscall-list-32-condition): Likewise.
34494         (syscall-list-64-options): Likewise.
34495         (syscall-list-64-condition): Likewise.
34496         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34497         macro.
34498         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34499         Renamed to ...
34500         (abi-*): This.
34501         (abi-64-ld-soname): New macro.
34502         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34503         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34504         Renamed to ...
34505         (abi-*): This.
34506         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34507         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34508
34509 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34510
34511         * sysdeps/unix/sysv/linux/kernel-features.h
34512         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34513         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34514         include <kernel-features.h>.
34515         [!__NR_ftruncate64]: Remove conditional code.
34516         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34517         [__NR_ftruncate64]: Make code unconditional.
34518         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34519         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34520         include <kernel-features.h>.
34521         [!__NR_ftruncate64]: Remove conditional code.
34522         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34523         [__NR_ftruncate64]: Make code unconditional.
34524         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34526         include <kernel-features.h>.
34527         [!__NR_ftruncate64]: Remove conditional code.
34528         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34529         [__NR_ftruncate64]: Make code unconditional.
34530         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34532         include <kernel-features.h>.
34533         [!__NR_ftruncate64]: Remove conditional code.
34534         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34535         [__NR_ftruncate64]: Make code unconditional.
34536         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34537
34538         * configure.in (libc_cv_fpie): Weaken to a compile test using
34539         LIBC_TRY_CC_OPTION.
34540         * configure: Regenerated.
34541
34542 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34543
34544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34548         Refreshed.
34549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34555         Refreshed.
34556
34557 2012-05-27  David S. Miller  <davem@davemloft.net>
34558
34559         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34560         (___Q_zero): New.
34561         (__Q_simulate_exceptions): Return void.  Change to simulate
34562         exceptions by writing into the %fsr.
34563         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34564         (__Qp_handle_exceptions): Likewise.
34565         (numbers): Delete.
34566         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34567         __Qp_handle_exceptions.
34568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34569         __Qp_handle_exceptions.
34570         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34571         as unused and give dummy FP_RND_NEAREST initializer.
34572         (FP_INHIBIT_RESULTS): Define.
34573         (___Q_simulate_exceptions): Update declaration.
34574         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34575         formatting.
34576         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34577         as unused and give dummy FP_RND_NEAREST initializer.
34578         (__Qp_handle_exceptions): Update declaration.
34579         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34580         formatting.
34581
34582 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34583
34584         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34585         the temporary FPU control word.
34586         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34587         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34588         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34589         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34590         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34591         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34592         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34593         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34594         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34595         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34596         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34597
34598 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34599
34600         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34601         fields.
34602
34603 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34604
34605         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34606         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34607         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34608         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34609         Likewise.
34610         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34611         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34612         Likewise.
34613
34614 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34615
34616         * po/h.po: Update from translation team.
34617
34618 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34619
34620         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34621
34622         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34623         handling of denormals.
34624         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34625         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34626         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34627         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34629         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34630         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34631         Likewise.
34632
34633 2012-05-26  Marek Polacek  <polacek@redhat.com>
34634
34635         [BZ #14152]
34636         * math/libm-test.inc (fma_test): Don't always expect underflow
34637         exception.
34638
34639 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34640
34641         [BZ #12416]
34642         * elf/tst-execstack.c: Include stackinfo.h.
34643         (do_test): Adjust test case to ensure that pthread_getattr_np
34644         behaviour remains the same after marking stack executable.
34645
34646 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34647
34648         * sysdeps/unix/sysv/linux/kernel-features.h
34649         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34650         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34651         kernel-features.h.
34652         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34653         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34654         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34655         kernel-features.h.
34656         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34657         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34658
34659 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34660
34661         * configure.in: Define the default includes to being none.
34662         * configure: Regenerated.
34663
34664 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34665
34666         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34667         * sysdeps/x86_64/setjmp.S: Likewise.
34668         * sysdeps/i386/bsd-setjmp.S: Likewise.
34669         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34670         * sysdeps/i386/setjmp.S: Likewise.
34671         * sysdeps/i386/__longjmp.S: Likewise.
34672         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34673         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34674
34675         * include/stap-probe.h: New file.
34676         * configure.in: Handle --enable-systemtap.
34677         * configure: Regenerated.
34678         * config.h.in (USE_STAP_PROBE): New #undef.
34679         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34680         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34681         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34682
34683 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34684
34685         [BZ #13717]
34686         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34687         to 2.4.0 where earlier.
34688         * sysdeps/unix/sysv/linux/configure: Regenerated.
34689         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34690         <kernel-features.h>.
34691         [__ASSUME_32BITUIDS]: Make code unconditional.
34692         [!__ASSUME_32BITUIDS]: Remove conditional code.
34693         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34694         <kernel-features.h>.
34695         [__ASSUME_32BITUIDS]: Make code unconditional.
34696         [!__ASSUME_32BITUIDS]: Remove conditional code.
34697         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34698         [__ASSUME_32BITUIDS]: Make code unconditional.
34699         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34700         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34701         <kernel-features.h>.
34702         [__ASSUME_32BITUIDS]: Make code unconditional.
34703         [!__ASSUME_32BITUIDS]: Remove conditional code.
34704         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34705         <kernel-features.h>.
34706         [__ASSUME_32BITUIDS]: Make code unconditional.
34707         [!__ASSUME_32BITUIDS]: Remove conditional code.
34708         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34709         <kernel-features.h>.
34710         [__ASSUME_32BITUIDS]: Make code unconditional.
34711         [!__ASSUME_32BITUIDS]: Remove conditional code.
34712         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34713         <kernel-features.h>.
34714         [__ASSUME_32BITUIDS]: Make code unconditional.
34715         [!__ASSUME_32BITUIDS]: Remove conditional code.
34716         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34717         <kernel-features.h>.
34718         [__ASSUME_32BITUIDS]: Make code unconditional.
34719         [!__ASSUME_32BITUIDS]: Remove conditional code.
34720         * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
34729         <kernel-features.h>.
34730         [__ASSUME_32BITUIDS]: Make code unconditional.
34731         [!__ASSUME_32BITUIDS]: Remove conditional code.
34732         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34733         <kernel-features.h>.
34734         [__ASSUME_32BITUIDS]: Make code unconditional.
34735         [!__ASSUME_32BITUIDS]: Remove conditional code.
34736         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34737         <kernel-features.h>.
34738         [__ASSUME_32BITUIDS]: Make code unconditional.
34739         [!__ASSUME_32BITUIDS]: Remove conditional code.
34740         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34741         <kernel-features.h>.
34742         [__NR_setresgid] (__setresgid): Do not declare.
34743         [__ASSUME_32BITUIDS]: Make code unconditional.
34744         [!__ASSUME_32BITUIDS]: Remove conditional code.
34745         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34746         <kernel-features.h>.
34747         [__NR_setresuid] (__setresuid): Do not declare.
34748         [__ASSUME_32BITUIDS]: Make code unconditional.
34749         [!__ASSUME_32BITUIDS]: Remove conditional code.
34750         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34751         <kernel-features.h>.
34752         [__ASSUME_32BITUIDS]: Make code unconditional.
34753         [!__ASSUME_32BITUIDS]: Remove conditional code.
34754         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34755         <kernel-features.h>.
34756         [__ASSUME_32BITUIDS]: Make code unconditional.
34757         [!__ASSUME_32BITUIDS]: Remove conditional code.
34758         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34759         <kernel-features.h>.
34760         [__ASSUME_32BITUIDS]: Make code unconditional.
34761         [!__ASSUME_32BITUIDS]: Remove conditional code.
34762         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34763         <kernel-features.h>.
34764         [__ASSUME_32BITUIDS]: Make code unconditional.
34765         [!__ASSUME_32BITUIDS]: Remove conditional code.
34766         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34767         <kernel-features.h>.
34768         [__ASSUME_32BITUIDS]: Make code unconditional.
34769         [!__ASSUME_32BITUIDS]: Remove conditional code.
34770         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34771         <kernel-features.h>.
34772         [__ASSUME_32BITUIDS]: Make code unconditional.
34773         [!__ASSUME_32BITUIDS]: Remove conditional code.
34774         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34775         <kernel-features.h>.
34776         [__ASSUME_32BITUIDS]: Make code unconditional.
34777         [!__ASSUME_32BITUIDS]: Remove conditional code.
34778         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34779         <kernel-features.h>.
34780         [__ASSUME_32BITUIDS]: Make code unconditional.
34781         [!__ASSUME_32BITUIDS]: Remove conditional code.
34782         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34783         <kernel-features.h>.
34784         [__ASSUME_32BITUIDS]: Make code unconditional.
34785         [!__ASSUME_32BITUIDS]: Remove conditional code.
34786         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34787         <kernel-features.h>.
34788         [__ASSUME_32BITUIDS]: Make code unconditional.
34789         [!__ASSUME_32BITUIDS]: Remove conditional code.
34790         * sysdeps/unix/sysv/linux/kernel-features.h
34791         (__ASSUME_SETRESUID_SYSCALL): Remove.
34792         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34793         (__ASSUME_32BITUIDS): Likewise.
34794         (__ASSUME_LDT_WORKS): Likewise.
34795         (__ASSUME_O_DIRECTORY): Likewise.
34796         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34797         architecture but not kernel version.
34798         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34799         (__ASSUME_MMAP2_SYSCALL): Likewise.
34800         (__ASSUME_STAT64_SYSCALL): Likewise.
34801         (__ASSUME_IPC64): Likewise.
34802         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34803         <kernel-features.h>.
34804         [__ASSUME_32BITUIDS]: Make code unconditional.
34805         [!__ASSUME_32BITUIDS]: Remove conditional code.
34806         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34807         <kernel-features.h>.
34808         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34809         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34810         132096]: Remove conditional code.
34811         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34812         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34813         <kernel-features.h>.
34814         [__ASSUME_32BITUIDS]: Make code unconditional.
34815         [!__ASSUME_32BITUIDS]: Remove conditional code.
34816         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34817         <kernel-features.h>.
34818         [__ASSUME_32BITUIDS]: Make code unconditional.
34819         [!__ASSUME_32BITUIDS]: Remove conditional code.
34820         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34821         <kernel-features.h>.
34822         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34823         unconditional.
34824         (__setresgid): Do not declare.
34825         [__ASSUME_32BITUIDS]: Make code unconditional.
34826         [!__ASSUME_32BITUIDS]: Remove conditional code.
34827         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34828         <kernel-features.h>.
34829         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34830         unconditional.
34831         (__setresuid): Do not declare.
34832         [__ASSUME_32BITUIDS]: Make code unconditional.
34833         [!__ASSUME_32BITUIDS]: Remove conditional code.
34834         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34835         <kernel-features.h>.
34836         [__ASSUME_32BITUIDS]: Make code unconditional.
34837         [!__ASSUME_32BITUIDS]: Remove conditional code.
34838         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34839         <kernel-features.h>.
34840         [__ASSUME_32BITUIDS]: Make code unconditional.
34841         [!__ASSUME_32BITUIDS]: Remove conditional code.
34842
34843 2012-05-25  Richard Henderson  <rth@twiddle.net>
34844
34845         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34846         dl_hwcap to ifunc resolver.
34847         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34848         elf_ifunc_invoke.
34849         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34850         dl_hwcap to ifunc resolver.
34851         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34852
34853 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34854
34855         [BZ #14153]
34856         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34857         for |x| <= 2**-26, not 2**-57.
34858         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34859         exception.
34860
34861 2012-05-24  Jeff Law  <law@redhat.com>
34862
34863         * stdio-common/Makefile (tests): Add bug25.
34864         * stdio-common/bug25.c: New test.
34865
34866 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34867
34868         [BZ #13576]
34869         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34870         multiple of MALLOC_ALIGNMENT in size.
34871         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34872
34873 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34874
34875         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34876         Require >= 256.
34877         (FILENAME_MAX): Use macro-int-constant.
34878         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34879         (_IOFBF): Use macro-int-constant.
34880         (_IOLBF): Likewise.
34881         (_IONBF): Likewise.
34882         (SEEK_CUR): Likewise.
34883         (SEEK_END): Likewise.
34884         (SEEK_SET): Likewise.
34885         (TMP_MAX): Likewise.
34886         (EOF): Use macro-int-constant.  Require < 0.
34887         (NULL): Use macro-constant.  Require == 0.
34888         (stdin): Require type to be FILE *.
34889         (stdout): Likewise.
34890         (stderr): Likewise.
34891         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34892         macro-int-constant.
34893         (EXIT_SUCCESS): Likewise.
34894         (NULL): Use macro-constant.  Require == 0.
34895         (RAND_MAX): Use macro-int-constant.
34896         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34897         [C99-based standards] (strtof): Require function.
34898         [C99-based standards] (strtold): Likewise.
34899         [C99-based standards] (strtoll): Likewise.
34900         [C99-based standards] (strtoull): Likewise.
34901         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34902         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34903         [ISO || ISO99 || ISO11] (math.h): Likewise.
34904         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34905         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34907
34908 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34909
34910         [BZ #14132]
34911         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34912         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34913         * intl/dgettext.c (DCGETTEXT): Likewise.
34914         * intl/gettext.c (DCGETTEXT): Likewise.
34915         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34916         * posix/regex_internal.h (gettext): Likewise.
34917         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34918         Remove declaration.
34919         * include/argz.h (__argz_count_internal)
34920         (__argz_stringify_internal): Remove declaration.
34921         (__argz_count, __argz_stringify): Declare hidden proto.
34922         * intl/dcgettext.c: Remove use of INTDEF.
34923         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34924         * string/argz-stringify.c: Likewise.
34925         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34926         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34927         Declare hidden proto.
34928         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34929         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34930         Declare hidden proto.
34931         * include/stdio.h (__asprintf_internal): Don't declare.
34932         (__asprintf): Don't define as macro.  Declare hidden proto.
34933         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34934         (__fsetlocking): Declare hidden proto.
34935         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34936         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34937         hidden proto.
34938         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34939         (_IO_setlinebuf): Remove use of INTUSE.
34940         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34941         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34942         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34943         Remove declaration.
34944         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34945         (_IO_do_flush): Remove use of INTUSE.
34946         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34947         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34948         (_IO_adjust_column, _IO_least_wmarker)
34949         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34950         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34951         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34952         (_IO_default_doallocate, _IO_wdefault_doallocate)
34953         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34954         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34955         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34956         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34957         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34958         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34959         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34960         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34961         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34962         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34963         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34964         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34965         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34966         proto.
34967         (_IO_flush_all_internal, _IO_adjust_column_internal)
34968         (_IO_default_uflow_internal, _IO_default_finish_internal)
34969         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34970         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34971         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34972         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34973         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34974         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34975         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34976         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34977         (_IO_file_close_internal, _IO_file_close_it_internal)
34978         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34979         (_IO_file_init_internal, _IO_file_attach_internal)
34980         (_IO_file_fopen_internal, _IO_file_read_internal)
34981         (_IO_file_sync_internal, _IO_file_seek_internal)
34982         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34983         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34984         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34985         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34986         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34987         (_IO_list_all_internal, _IO_link_in_internal)
34988         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34989         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34990         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34991         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34992         (_IO_do_write_internal, _IO_padn_internal)
34993         (_IO_getline_info_internal, _IO_getline_internal)
34994         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34995         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34996         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34997         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34998         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34999         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35000         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35001         with libc_hidden_ver, remove use of INTUSE.
35002         * libio/genops.c: Likewise.
35003         * libio/freopen.c: Likewise.
35004         * libio/freopen64.c: Likewise.
35005         * libio/iofclose.c: Likewise.
35006         * libio/iofdopen.c: Likewise.
35007         * libio/iofflush.c: Likewise.
35008         * libio/iofflush_u.c: Likewise.
35009         * libio/iofgets.c: Likewise.
35010         * libio/iofgets_u.c: Likewise.
35011         * libio/iofopen.c: Likewise.
35012         * libio/iofopncook.c: Likewise.
35013         * libio/iofread.c: Likewise.
35014         * libio/iofread_u.c: Likewise.
35015         * libio/ioftell.c: Likewise.
35016         * libio/iofwrite.c: Likewise.
35017         * libio/iogetline.c: Likewise.
35018         * libio/iogets.c: Likewise.
35019         * libio/iogetwline.c: Likewise.
35020         * libio/iopadn.c: Likewise.
35021         * libio/iopopen.c: Likewise.
35022         * libio/ioseekoff.c: Likewise.
35023         * libio/ioseekpos.c: Likewise.
35024         * libio/iosetbuffer.c: Likewise.
35025         * libio/iosetvbuf.c: Likewise.
35026         * libio/ioungetc.c: Likewise.
35027         * libio/ioungetwc.c: Likewise.
35028         * libio/iovdprintf.c: Likewise.
35029         * libio/iovsprintf.c: Likewise.
35030         * libio/iovsscanf.c: Likewise.
35031         * libio/memstream.c: Likewise.
35032         * libio/obprintf.c: Likewise.
35033         * libio/oldfileops.c: Likewise.
35034         * libio/oldiofclose.c: Likewise.
35035         * libio/oldiofdopen.c: Likewise.
35036         * libio/oldiofopen.c: Likewise.
35037         * libio/oldiopopen.c: Likewise.
35038         * libio/oldstdfiles.c: Likewise.
35039         * libio/putc.c: Likewise.
35040         * libio/setbuf.c: Likewise.
35041         * libio/setlinebuf.c: Likewise.
35042         * libio/stdfiles.c: Likewise.
35043         * libio/strops.c: Likewise.
35044         * libio/vasprintf.c: Likewise.
35045         * libio/vscanf.c: Likewise.
35046         * libio/vsnprintf.c: Likewise.
35047         * libio/vswprintf.c: Likewise.
35048         * libio/wfiledoalloc.c: Likewise.
35049         * libio/wfileops.c: Likewise.
35050         * libio/wgenops.c: Likewise.
35051         * libio/wmemstream.c: Likewise.
35052         * libio/wstrops.c: Likewise.
35053         * libio/__fpurge.c: Likewise.
35054         * libio/__fsetlocking.c: Likewise.
35055         * assert/assert.c: Likewise.
35056         * debug/fgets_chk.c: Likewise.
35057         * debug/fgets_u_chk.c: Likewise.
35058         * debug/fread_chk.c: Likewise.
35059         * debug/fread_u_chk.c: Likewise.
35060         * debug/gets_chk.c: Likewise.
35061         * debug/obprintf_chk.c: Likewise.
35062         * debug/vasprintf_chk.c: Likewise.
35063         * debug/vdprintf_chk.c: Likewise.
35064         * debug/vsnprintf_chk.c: Likewise.
35065         * debug/vsprintf_chk.c: Likewise.
35066         * malloc/mtrace.c: Likewise.
35067         * misc/error.c: Likewise.
35068         * misc/syslog.c: Likewise.
35069         * stdio-common/asprintf.c: Likewise.
35070         * stdio-common/fxprintf.c: Likewise.
35071         * stdio-common/getw.c: Likewise.
35072         * stdio-common/isoc99_fscanf.c: Likewise.
35073         * stdio-common/isoc99_scanf.c: Likewise.
35074         * stdio-common/isoc99_vfscanf.c: Likewise.
35075         * stdio-common/isoc99_vscanf.c: Likewise.
35076         * stdio-common/isoc99_vsscanf.c: Likewise.
35077         * stdio-common/printf-prs.c: Likewise.
35078         * stdio-common/printf_fp.c: Likewise.
35079         * stdio-common/printf_fphex.c: Likewise.
35080         * stdio-common/printf_size.c: Likewise.
35081         * stdio-common/putw.c: Likewise.
35082         * stdio-common/scanf.c: Likewise.
35083         * stdio-common/sprintf.c: Likewise.
35084         * stdio-common/tmpfile.c: Likewise.
35085         * stdio-common/vfprintf.c: Likewise.
35086         * stdio-common/vfscanf.c: Likewise.
35087         * stdlib/strfmon_l.c: Likewise.
35088         * sunrpc/openchild.c: Likewise.
35089         * sunrpc/xdr_stdio.c: Likewise.
35090         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35091         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35092
35093 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35094
35095         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35096
35097         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35098         in the third column, to generate for the shared library an IFUNC
35099         that uses _dl_vdso_vsym.
35100         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35101         * Makeconfig (object-suffixes-noshared): New variable.
35102
35103         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35104         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35105         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35106         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35107
35108         [BZ #14132]
35109         * include/sys/time.h (__gettimeofday): Remove macro.
35110         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35111         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35112         Remove INTDEF.
35113         (__gettimeofday): Add libc_hidden_def.
35114         (gettimeofday): Add libc_hidden_weak.
35115         * sysdeps/mach/gettimeofday.c: Likewise.
35116         * sysdeps/posix/gettimeofday.c: Likewise.
35117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35118         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35119         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35120         (__gettimeofday_internal): Remove strong_alias.
35121         (__gettimeofday): Add libc_hidden_def.
35122         (gettimeofday): Add libc_hidden_weak.
35123         * sysdeps/unix/syscalls.list (gettimeofday):
35124         Remove __gettimeofday_internal alias.
35125
35126 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35127             H.J. Lu  <hongjiu.lu@intel.com>
35128
35129         [BZ #12495]
35130         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35131         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35132         (largebin_index_32_big): New.
35133         (largebin_index): Use it for 16-byte alignment.
35134         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35135         correction with front_misalign.
35136
35137 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35138
35139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35141         Likewise.
35142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35143         Likewise.
35144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35145         Likewise.
35146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35147         Likewise.
35148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35149         Likewise.
35150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35151         Likewise.
35152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35153         Likewise.
35154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35155         Likewise.
35156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35157         Likewise.
35158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35159         Likewise.
35160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35161         Likewise.
35162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35163         Likewise.
35164
35165         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35166         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35167
35168 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35169
35170         [BZ #10846]
35171         [BZ #14036]
35172         * math/libm-test.inc (exp_test): Add test from bug 14036.
35173         (pow_test): Add test from bug 10846.
35174
35175         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35176         and other flags.
35177         (special_function): Do not include flags in test name.
35178         (parse_args): Likewise.
35179         * sysdeps/i386/fpu/libm-test-ulps: Update.
35180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35181         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35182         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35184
35185         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35186         exceptions.
35187         * math/libm-test.inc ("Philosophy"): Update comment about
35188         exception testing.
35189         (UNDERFLOW_EXCEPTION): New macro.
35190         (UNDERFLOW_EXCEPTION_OK): Likewise.
35191         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35192         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35193         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35194         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35195         (INVALID_EXCEPTION_OK): Update value.
35196         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35197         (OVERFLOW_EXCEPTION_OK): Likewise.
35198         (IGNORE_ZERO_INF_SIGN): Likewise.
35199         (test_exceptions): Handle underflow exceptions.
35200         (acos_test): Update for underflow exception expectations.
35201         (cexp_test): Likewise.
35202         (clog_test): Likewise.
35203         (clog10_test): Likewise.
35204         (csqrt_test): Likewise.
35205         (ctan_test): Likewise.
35206         (ctanh_test): Likewise.
35207         (exp_test): Likewise.
35208         (exp10_test): Likewise.
35209         (exp2_test): Likewise.
35210         (expm1_test): Likewise.
35211         (fma_test): Likewise.
35212         (j0_test): Likewise.
35213         (jn_test): Likewise.
35214         (nexttoward_test): Likewise.
35215         (pow_test): Likewise.
35216         (scalbn_test): Likewise.
35217         (scalbln_test): Likewise.
35218         (tan_test): Likewise.
35219         (y1_test): Likewise.
35220         * sysdeps/i386/fpu/libm-test-ulps: Update.
35221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35222
35223 2012-05-23  David S. Miller  <davem@davemloft.net>
35224
35225         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35226         (__libc_sigaction): Remove unused local variables.
35227
35228 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35229
35230         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35231
35232 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35233
35234         mktime: avoid signed integer overflow
35235         * time/mktime.c (__mktime_internal): Do not mishandle the case
35236         where diff == INT_MIN.
35237
35238         mktime: simplify computation of average
35239         * time/mktime.c (ranged_convert): Use new time_t_avg function
35240         instead of rolling our own (probably-slower) code.
35241
35242         mktime: do not assume signed right shift propagates sign bit
35243         * time/mktime.c (isdst_differ): New static function.
35244         (__mktime_internal): No need to normalize tm_isdst now.
35245         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35246         tm_isdst values.
35247
35248         mktime: merge another wrapv change from gnulib
35249         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35250         from some compilers.
35251
35252         mktime: remove incorrect attempt at unusual arithmetics
35253         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35254         The code didn't really work on such machines anyway.
35255         (TYPE_MINIMUM): Assume two's complement.
35256         (twos_complement_arithmetic): Verify that long_int and time_t
35257         are two's complement (or unsigned, in the latter case).
35258
35259         mktime: check signed shifts on long_int and time_t, too
35260         * time/mktime.c (SHR): Check that shifts work as desired
35261         on the types long_int and time_t too, as SHR is used on
35262         such types.
35263
35264         mktime: do not assume 'long' is wide enough
35265         * time/mktime.c (verify): Move decl up.
35266         (long_int): New type.
35267         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35268         to remove assumption in the code that 'long' is wide enough to
35269         store year values.  This assumption is not true on x32 and on
35270         some non-glibc platforms.
35271
35272         mktime: merge wrapv change from gnulib
35273         * time/mktime.c (WRAPV): New macro.
35274         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35275         (guess_time_tm, __mktime_internal): Do not assume that signed
35276         integer overflow wraps around; modern compilers generate code
35277         where this assumption is no longer valid.
35278
35279 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35280
35281         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35282         Replace "jmp L(pseudo_end)" with "ret".
35283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35284         Likewise.
35285
35286 2012-05-23  Andreas Jaeger  <aj@suse.de>
35287
35288         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35289         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35290
35291 2012-05-23  Andreas Jaeger  <aj@suse.de>
35292             Maximilian Attems  <max@stro.at>
35293
35294         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35295         New macros.
35296
35297 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35298
35299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35300         code so that pseudo_end is just ret and the stack pointer is
35301         correct also for static library in error case.
35302
35303 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35304
35305         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35306         move to syscalls.list.
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35311
35312         * manual/install.texi (Running make install): Do not mention Linux
35313         kernel version for which pt_chown is not needed.
35314         (Linux): Do not mention problems with nscd with 2.0 kernels.
35315         * INSTALL: Regenerated.
35316
35317 2012-05-23  Andreas Jaeger  <aj@suse.de>
35318
35319         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35320         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35321         macro.
35322         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35323         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35324         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35325         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35326         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35327         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35328         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35329         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35330         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35331         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35332         * sysdeps/unix/sysv/linux/bits/in.h
35333         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35334
35335 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35336
35337         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35338         (PREPARE_VERSION): Just use assert instead, it will be elided
35339         under [NDEBUG] anyway.
35340
35341 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35342
35343         * sysdeps/unix/sysv/linux/Makefile: Include
35344         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35345         (sysdep_routines): Remove sysctl.
35346         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35347         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35348         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35349         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35350         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35351
35352 2012-05-22  Andreas Jaeger  <aj@suse.de>
35353
35354         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35355         that pseudo_end is just ret and the stack pointer is correct also
35356         for static library in error case.
35357
35358 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35359
35360         [BZ #14122]
35361         * nss/nsswitch.c (defconfig_entries): New variable.
35362         (__nss_database_lookup): Don't leak defconfig entries.
35363         (nss_parse_service_list): Don't leak on error paths.
35364         (free_database_entries): New function.
35365         (free_defconfig): New function.
35366         (free_mem): Move common code to free_database_entries.
35367
35368 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35369
35370         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35371         Add arch_prctl.
35372         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35373
35374         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35375         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35377         New macro.
35378         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35379         (INTERNAL_SYSCALL_TYPES): Likewise.
35380         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35381         (LOAD_REGS_TYPES_[1-6]): Likewise.
35382         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35383         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35384
35385 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35386
35387         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35388         copysignl for GLIBC_2_0.
35389         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35390         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35391         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35392         logbl for GLIBC_2_0.
35393         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35394         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35395
35396 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35397
35398         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35399         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35400
35401         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35402         Use "neg %eax".
35403
35404         * time/mktime.c: Update copyright years.
35405
35406 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35407
35408         mktime: merge comment-quoting-style change from gnulib
35409         * time/mktime.c: Quote 'like this' in comments.
35410         The GNU coding standards suggest that we no longer quote `like this',
35411         as "`" and "'" are typically rendered asymmetrically nowadays.
35412         The typical gnulib style is to quote 'like this' when quoting
35413         code, and "like this" when quoting English.
35414
35415         * time/mktime.c (compile-command): Add "-I.".
35416
35417         mktime: merge mktime-internal.h change from gnulib
35418         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35419
35420         mktime: merge time_r change from gnulib
35421         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35422
35423         mktime: merge DEBUG change from gnulib
35424         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35425         case system <time.h> has a #define.
35426
35427         mktime: merge <sys/types.h> change from gnulib
35428         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35429         since <time.t> is now guaranteed to define time_t.
35430
35431         mktime: merge HAVE_CONFIG_H change from gnulib
35432         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35433
35434 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35435
35436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35437         Use "neg %eax".
35438
35439         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35440         __rlim_t cast.
35441         (struct rusage): Use anonymous union to pad each field to
35442         __syscall_slong_t.
35443
35444 2012-05-21  David S. Miller  <davem@davemloft.net>
35445
35446         * Makefules (o-iterator): Remove .s cases.
35447         (compile-command.s): Delete.
35448         (COMPILE.s): Delete.
35449         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35450
35451 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35452
35453         * configure.in (libc_cv_predef_stack_protector): Only consider
35454         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35455         * configure: Regenerated.
35456
35457 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35458
35459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35460         New macro.  Use R*LP on int and pointer.
35461         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35462         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35463         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35464         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35465
35466         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35467         [__WORDSIZE_TIME64_COMPAT32] instead of
35468         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35469         (struct utmp): Likewise.
35470         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35471         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35472         Renamed to ...
35473         (__WORDSIZE_TIME64_COMPAT32): This.
35474         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35475         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35476         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35477         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35478         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35479         (__WORDSIZE_TIME64_COMPAT32): New macro.
35480
35481 2012-05-21  Andreas Jaeger  <aj@suse.de>
35482
35483         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35484         only if [SHARED]. Add prototype for __wcschr_ia32.
35485
35486 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35487
35488         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35489         of %rbp unmolested in the jmp_buf while mangling the low bits.
35490         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35491         unmolested high bits of %rbp while demangling the low bits.
35492         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35493
35494 2012-05-21  Andreas Jaeger  <aj@suse.de>
35495
35496         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35497         * sunrpc/svc_simple.c: Use it for registerrpc.
35498         * sunrpc/xcrypt.c: Use it for passwd2des.
35499
35500         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35501
35502 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35503
35504         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35505         Don't define if [__SYSCALL_WORDSIZE != 32].
35506         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35507         New macro.
35508
35509 2012-05-21  Bruno Haible  <bruno@clisp.org>
35510             Andreas Jaeger  <aj@suse.de>
35511
35512         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35513         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35514         inptr and inend for must_buffer_ch.
35515         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35516         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35517         * stdio-common/Makefile (tests): Remove bug15.
35518         (bug15-ENV): Remove macro.
35519         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35520         anymore.
35521
35522 2012-05-19  Andreas Jaeger  <aj@suse.de>
35523             Roland McGrath  <roland@hack.frob.com>
35524
35525         * manual/contrib.texi: Completely rewritten. It contains now an
35526         alphabetical list of contributors and their contributions.
35527
35528 2012-05-21  Richard Henderson  <rth@twiddle.net>
35529
35530         * misc/getauxval.c (__getauxval): Use unsigned long int.
35531         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35532         (getauxval): Use unsigned long int.
35533
35534 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35535
35536         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35537
35538 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35539
35540         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35541         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35542         __alignof__ (long double).
35543
35544 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35545
35546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35547
35548 2012-05-20  Richard Henderson  <rth@twiddle.net>
35549
35550         * misc/getauxval.c: New file.
35551         * misc/sys/auxv.h: New file.
35552         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35553         (routines): Add getauxval.
35554         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35555         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35556         * elf/dl-sysdep.c (_dl_auxv): Remove.
35557         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35558         * elf/dl-support.c (_dl_auxv): New variable.
35559         (_dl_aux_init): Initialize it.
35560         * manual/startup.texi (Auxiliary Vector): New node.
35561         * sysdeps/generic/bits/hwcap.h: New file.
35562         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35563         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35564         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35565         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35566         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35567         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35569         Update.
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35573         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35578
35579 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35580
35581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35582
35583 2012-05-19  David S. Miller  <davem@davemloft.net>
35584
35585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35586
35587 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35588
35589         [BZ #14123]
35590         * math/s_ccosh.c: Include <float.h>
35591         (__ccosh): Avoid internal overflow calculating sinh and cosh
35592         values before multiplying by sin and cos values.
35593         * math/s_ccoshf.c: Likewise.
35594         * math/s_ccoshl.c: Likewise.
35595         * math/s_csin.c: Likewise.
35596         * math/s_csinf.c: Likewise.
35597         * math/s_csinl.c: Likewise.
35598         * math/s_csinh.c: Likewise.
35599         * math/s_csinhf.c: Likewise.
35600         * math/s_csinhl.c: Likewise.
35601         * math/libm-test.inc (ccos_test): Add more tests.
35602         (ccosh_test): Likewise.
35603         (csin_test): Likewise.
35604         (csinh_test): Likewise.
35605         * sysdeps/i386/fpu/libm-test-ulps: Update.
35606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35607
35608 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35609
35610         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35611         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35612
35613         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35614
35615 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35616
35617         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35618         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35619         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35620         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35621         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35622         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35623         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35624         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35625         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35626         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35627         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35628         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35629         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35630         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35631         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35632         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35633         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35634         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35635         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35636         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35637         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35638         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35639         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35640         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35641         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35642         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35643         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35644         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35645         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35646         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35647         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35648
35649 2012-05-18  Andreas Jaeger  <aj@suse.de>
35650
35651         * csu/.gitignore: Delete.
35652
35653 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35654
35655         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35656         (timex): Use __syscall_slong_t.
35657
35658 2012-05-18  Andreas Jaeger  <aj@suse.de>
35659             Carlos O'Donell  <carlos_odonell@mentor.com>
35660
35661         * manual/install.texi (Configuring and compiling): Update
35662         description about files modified in the source directory.
35663         * INSTALL: Regenerated.
35664
35665 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35666
35667         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35668         value.  Use "or" to set return value to -1.
35669         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35670         negate return value.
35671
35672 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35673
35674         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35675         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35676         failure if the compiler has Graphite support disabled.
35677         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35678         Likewise.
35679         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35680         (CFLAGS-memmove.c): Likewise.
35681         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35682         Likewise.
35683
35684 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35685
35686         * sysdeps/x86_64/x32/_itoa.h: New file.
35687
35688         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35689         getdents system call only if kernel and user dirents have the
35690         same d_ino and d_off.
35691
35692         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35693         LLONG_MAX != LONG_MAX.
35694         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35695         (_fitoa_word): Likewise.
35696
35697         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35698         years.
35699         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35700         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35701         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35702
35703         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35704         include <bits/wordsize.h>.  Check __x86_64__ instead of
35705         __WORDSIZE.
35706         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35707         if __x86_64__ is defined.  Use anonymous union on fpstate.
35708
35709         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35710         anonymous union.
35711
35712 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35713
35714         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35715         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35716         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35717         Refer to _rtld_local_ro instead of _rtld_global_ro.
35718         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35719         Likewise.
35720         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35721         Likewise.
35722         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35723         Likewise.
35724         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35725         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35726         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35727
35728         * sysdeps/powerpc/powerpc32/dl-machine.c
35729         (__elf_machine_runtime_setup) [PROF]: Don't reference
35730         _dl_prof_resolve.
35731
35732 2012-05-18  Andreas Jaeger  <aj@suse.de>
35733
35734         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35735         function only available for GCCs before 3.4 since GCC 3.4
35736         introduced a builtin.
35737         (lrint): Likewise.
35738         (llrintf): Likewise.
35739         (llrint): Likewise.
35740         (fmaxf): Likewise.
35741         (fmax): Likewise.
35742         (fminf): Likewise.
35743         (fmin): Likewise.
35744         (rint): Likewise.
35745         (rintf): Likewise.
35746         (nearbyint): Likewise.
35747         (nearbyintf): Likewise.
35748         (ceil): Likewise.
35749         (ceilf): Likewise.
35750         (floor): Likewise.
35751         (floorf): Likewise.
35752
35753 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35754
35755         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35756         on both fields and cast pointer to __syscall_ulong_t.
35757
35758         * bits/types.h (__fsword_t): New type.
35759         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35760         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35761         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35762         (__FSWORD_T_TYPE): Likewise.
35763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35764         (__FSWORD_T_TYPE): Likewise.
35765         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35766         (__FSWORD_T_TYPE): Likewise.
35767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35768         (__FSWORD_T_TYPE): Likewise.
35769         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35770         __SWORD_TYPE with __fsword_t.
35771         (statfs64): Likewise.
35772
35773 2012-05-17  David S. Miller  <davem@davemloft.net>
35774
35775         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35776
35777 2012-05-17  Andreas Jaeger  <aj@suse.de>
35778
35779         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35780         warning.
35781
35782 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35783
35784         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35785
35786 2012-05-17  Andreas Jaeger  <aj@suse.de>
35787
35788         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35789         when it is used.
35790
35791 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35792
35793         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35794
35795 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35796
35797         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35798         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35799
35800 2012-05-17  Andreas Jaeger  <aj@suse.de>
35801             Carlos O'Donell  <carlos_odonell@mentor.com>
35802
35803         [BZ #14059]
35804         * sysdeps/x86_64/multiarch/init-arch.h
35805         (bit_YMM_Usable): Rename to...
35806         (bit_AVX_Usable): ... this.
35807         (bit_FMA4_Usable): New macro.
35808         (bit_XMM_state): New macro.
35809         (bit_YMM_state): New macro.
35810         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35811         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35812         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35813         (CPUID_OSXSAVE): New macro.
35814         (CPUID_AVX): New macro.
35815         (CPUID_FMA4): New macro.
35816         (index_YMM_Usable): Rename to...
35817         (index_AVX_Usable): ... this.
35818         (HAS_AVX): Use HAS_ARCH_FEATURE.
35819         (HAS_FMA4): Likewise.
35820         (HAS_YMM_USABLE): Remove.
35821         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35822         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35823         are present.
35824         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35825         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35826         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35827         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35828         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35829
35830 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35831
35832         * math/libm-test.c: Support platforms without multiple rounding modes.
35833         * math/bug-nextafter.c: Support platforms without FP exceptions.
35834         * math/bug-nexttoward.c: Likewise.
35835         * math/test-fenv.c: Likewise.
35836         * math/test-misc.c: Likewise.
35837         * stdlib/bug-getcontext.c: Likewise.
35838
35839 2012-05-17  Andreas Jaeger  <aj@suse.de>
35840
35841         * manual/examples/search.c (critter_cmp): Change signature to
35842         avoid warnings.
35843         * manual/string.texi (Collation Functions): Likewise.
35844
35845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35846
35847         * bits/types.h: Fold copyright years.
35848         * bits/typesizes.h: Likewise.
35849         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35850         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35852         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35853         * time/time.h: Likewise.
35854
35855 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35856
35857         [BZ #208]
35858         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35859         in instead of returning them.  Return void.
35860         (__libc_mallinfo): Accumulate over all arenas.
35861         (__malloc_stats): Adjust for change in int_mallinfo interface.
35862
35863 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35864
35865         [BZ #10375]
35866         * configure.in (NM): Add AC_CHECK_TOOL for it.
35867         (libc_extra_cflags): New substituted variable.
35868         Check for -fstack-protector being used implicitly.
35869         * configure: Regenerated.
35870         * config.make.in (config-extra-cflags): New variable,
35871         gets @libc_extra_cflags@.
35872         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35873
35874         [BZ #10375]
35875         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35876         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35877         * configure: Regenerated.
35878         * config.make.in (CPPUNDEFS): New substituted variable.
35879         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35880         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35881         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35882
35883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35884
35885         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35886         (mq_attr): Use __syscall_slong_t.
35887
35888 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35889
35890         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35891         Check __x86_64__ instead of __WORDSIZE.
35892         (_STAT_VER_LINUX): Likewise.
35893         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35894         __syscall_ulong_t and __syscall_slong_t.
35895         (stat64): Likewise.
35896
35897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35898
35899         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35900
35901 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35902
35903         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35904
35905 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35906
35907         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35908         __syscall_ulong_t.
35909
35910         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35911         include <bits/wordsize.h>.  Check __x86_64__ instead of
35912         __WORDSIZE.
35913         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35914         defined.
35915         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35916
35917         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35918         include <bits/wordsize.h>.  Check __x86_64__ instead of
35919         __WORDSIZE.
35920         (user_regs_struct): Use "__extension__ unsigned long long"
35921         instead of "unsigned long" if __x86_64__ is defined.
35922         (user): Likewise.  Pad after pointer field if __ILP32__ is
35923         defined.
35924
35925 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35926
35927         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35928         versions 5 to 9.
35929         * configure: Regenerated.
35930         * manual/install.texi (texinfo): Increase version requirement to
35931         4.5 or later.
35932         * INSTALL: Regenerated.
35933
35934         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35935
35936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35937
35938         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35939
35940         * sysdeps/x86_64/x32/ffs.c: New file.
35941
35942         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35943         __syscall_ulong_t.
35944         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35945         defined.  Use __syscall_ulong_t.
35946         (shminfo): Use __syscall_ulong_t.
35947         (shm_info): Likewise.
35948
35949         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35950         __syscall_ulong_t.
35951
35952         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35953         <bits/wordsize.h>.
35954         (msgqnum_t): Use __syscall_ulong_t.
35955         (msglen_t): Likewise.
35956         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35957         __syscall_ulong_t.
35958
35959         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35960         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35961
35962         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35963
35964         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35965         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35966
35967         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35968         __syscall_slong_t.
35969
35970         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35971         include <bits/wordsize.h>.  Check __x86_64__ instead of
35972         __WORDSIZE.
35973
35974         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35975         "unsigned long long int" if __x86_64__ is defined.
35976         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35977
35978         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35979         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35980         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35981
35982         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35983         <stdint.h>.
35984         (GET_PC): Cast to uintptr_t first.
35985         (GET_FRAME): Likewise.
35986         (GET_STACK): Likewise.
35987
35988         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35989         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35990         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35991         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35992         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35993         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35994         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35995         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35996         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35997         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35998         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35999         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36000         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36001         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36002         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36003         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36004         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36005         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36006         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36007         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36008         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36009         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36010         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36011         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36012         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36013         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36014         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36015         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36016         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36017
36018 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36019
36020         * Makerules (+depfiles): Also collect depfiles from .oS in
36021         $(extra-objs).
36022         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36023         .oS, $(libnldbl-routines)).
36024
36025         * Makerules (native-compile-mkdep-flags): Define.
36026         * sunrpc/Makefile (extra-objs): Add $(addprefix
36027         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36028         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36029         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36030         calling $(make-target-directory).
36031
36032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36033
36034         * bits/types.h (__snseconds_t): Removed.
36035         * time/time.h (struct timespec): Replace __snseconds_t with
36036         __syscall_slong_t.
36037         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36038         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36039         Likewise.
36040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36041         (__SNSECONDS_T_TYPE): Likewise.
36042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36043         (__SNSECONDS_T_TYPE): Likewise.
36044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36045         (__SNSECONDS_T_TYPE): Likewise.
36046
36047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36048
36049         * sysdeps/mach/hurd/bits/typesizes.h
36050         (__SYSCALL_SLONG_TYPE): New macro.
36051         (__SYSCALL_ULONG_TYPE): Likewise.
36052
36053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36054
36055         * bits/types.h (__syscall_slong_t): New type.
36056         (__syscall_ulong_t): Likewise.
36057
36058         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36059         (__SYSCALL_ULONG_TYPE): Likewise.
36060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36061         (__SYSCALL_SLONG_TYPE): Likewise.
36062         (__SYSCALL_ULONG_TYPE): Likewise.
36063         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36064         (__SYSCALL_SLONG_TYPE): Likewise.
36065         (__SYSCALL_ULONG_TYPE): Likewise.
36066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36067         (__SYSCALL_SLONG_TYPE): Likewise.
36068         (__SYSCALL_ULONG_TYPE): Likewise.
36069
36070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36071
36072         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36073         Add sigaltstack-offsets.sym.
36074         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36075         <sigaltstack-offsets.h>.
36076         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36077         longjmp_msg pointer.
36078         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36079         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36080         signal stack.
36081         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36082
36083 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36084
36085         * elf/stackguard-macros.h: Remove file.
36086         * sysdeps/generic/stackguard-macros.h: New file.
36087         * sysdeps/i386/stackguard-macros.h: Likewise.
36088         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36089         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36090         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36091         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36092         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36093         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36094         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36095         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36096         <elf/stackguard-macros.h>.
36097
36098         [BZ #14109]
36099         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36100         __aligned__ in attribute.
36101         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36102         (gregset_t): Likewise.
36103
36104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36105
36106         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36107         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36108         * sysdeps/x86_64/x32/Implies-after: New file.
36109
36110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36111
36112         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36113         and access return value for _dl_profile_fixup.  Use R10_LP to
36114         load frame size.
36115
36116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36117
36118         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36119
36120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36121
36122         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36123         * sysdeps/x86_64/x32/sysdep.h: New file.
36124
36125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36126
36127         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36128         * sysdeps/x86_64/setjmp.S: Likewise.
36129
36130 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36131
36132         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36133         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36134         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36135         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36136         remove unused global constant.
36137
36138 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36139
36140         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36141         include of <not-cancel.h>.
36142
36143 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36144
36145         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36146
36147 2012-05-15  Jeff Law  <law@redhat.com>
36148             Andreas Jaeger  <aj@suse.de>
36149
36150         [BZ #13594]
36151         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36152         out from...
36153         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36154         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36155         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36156         code changing __hst_map_handle.map.
36157
36158 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36159
36160         * configure.in (sysnames): Look for Implies-before and Implies-after
36161         files.
36162         * configure: Regenerated.
36163
36164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36165
36166         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36167         8-byte data alignment with LP_SIZE alignment.
36168
36169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36170
36171         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36172         into R10_LP.
36173
36174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36175
36176         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36177
36178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36179
36180         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36181         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36182         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36183         Likewise.
36184         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36185
36186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36187
36188         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36189         (stackinfo_sub_sp): Likewise.
36190
36191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36192
36193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36194         RAX_LP.
36195
36196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36197
36198         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36199         into R*_LP.
36200
36201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36202
36203         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36204         sizes into R*_LP.
36205
36206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36207
36208         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36209
36210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36211
36212         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36213         into R11_LP and load __x86_64_shared_cache_size_half into
36214         R8_LP.
36215
36216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36217
36218         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36219         R8_LP.
36220
36221 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36222
36223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36224         logb for POWER7.
36225         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36226         logbf for POWER7.
36227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36228         logbl for POWER7.
36229         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36230         powerpc32/power7/fpu/s_logb.c via #include.
36231         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36232         powerpc32/power7/fpu/s_logbf.c via #include.
36233         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36234         powerpc32/power7/fpu/s_logbl.c via #include.
36235
36236 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36237
36238         * README.libm: Remove file.
36239
36240 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36241
36242         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36243         count for x32.  Use R*_LP and omit operand-size suffix.
36244
36245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36246
36247         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36248         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36249         * sysdeps/x86_64/x32/shlib-versions: New file.
36250
36251 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36252
36253         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36254         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36255         Use _dl_fatal_printf instead.
36256
36257 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36258
36259         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36260         set if not set by the user.  Do not allow for being unset.
36261         * sysdeps/unix/sysv/linux/configure: Regenerated.
36262
36263 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36264
36265         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36266         the `q' suffix from lea and replace .quad with ASM_ADDR.
36267
36268 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36269
36270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36271         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36272         instead of $17.
36273         (PTR_DEMANGLE): Likewise.
36274
36275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36276
36277         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36278         (LP_OP): Likewise.
36279         (ASM_ADDR): Likewise.
36280         (RAX_LP): Likewise.
36281         (RBP_LP): Likewise.
36282         (RBX_LP): Likewise.
36283         (RCX_LP): Likewise.
36284         (RDI_LP): Likewise.
36285         (RSI_LP): Likewise.
36286         (RSP_LP): Likewise.
36287         (R8_LP): Likewise.
36288         (R9_LP): Likewise.
36289         (R10_LP): Likewise.
36290         (R10_LP): Likewise.
36291         (R11_LP): Likewise.
36292         (R12_LP): Likewise.
36293         (R13_LP): Likewise.
36294         (R14_LP): Likewise.
36295         (R15_LP): Likewise.
36296
36297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36298
36299         * sysdeps/x86_64/x32/dl-machine.h: New file.
36300
36301 2012-05-14  Andreas Jaeger  <aj@suse.de>
36302
36303         * manual/Makefile (subdir): Remove export of subdir.
36304         (all): Remove target.
36305         (.PHONY): Remove all from list.
36306         (mkinstalldirs): Remove.
36307         (.PHONY): Remove installdirs from list.
36308         ($(inst_infodir)/libc.info): Use make-target-directory.
36309         (installdirs): Remove.
36310         (subdir_%): Remove.
36311         (glibc-targets): Remove.
36312         (lib): Remove.
36313         (stubs): Remove.
36314         ($(objpfx)stubs ../po/manual.pot): Remove.
36315         ($(objpfx)stamp%): Remove.
36316         (make-target-directory): Remove.
36317         (subdir_install): Remove.
36318         (routines): Remove.
36319         (aux): Remove.
36320         (sources): Remove.
36321         (objects): Remove.
36322         (headers): Remove.
36323
36324         [BZ #13750]
36325         * manual/.gitignore: Remove, it's not needed anymore.
36326         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36327         all files in it.
36328         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36329         directory.
36330         (texis): Renamed to $(objpfx)texis.
36331         (texis-path): New, contains path to generated files.
36332         (chapters.%): Use texis-path for complete path, add extra argument
36333         libc-texinfo.sh.
36334         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36335         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36336         (summary,texi, stamp-summary): Use complete path of
36337         files. Generate files in build dir.
36338         (dir-add.texi): Build in build dir.
36339         (libm-err.texi,stamp-libm-err): Likewise.
36340         (version.texi, stamp-version): Likewise.
36341         (.%c.texi): Likewise.
36342         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36343         (mostlyclean): Remove target.
36344         (realclean): Remove target.
36345         (generated): Add new variable with contents from mostlyclean and
36346         realclean, remove entries duplicated in common-mostlyclean, add
36347         stamp-libm-err and stamp-version.
36348         (generated-dirs): Add libc directory.
36349         ($(inst_infodir)/libc.info): Install files from build dir.
36350
36351         * manual/install.texi (Configuring and compiling): Adjust since
36352         the info files are not part of the tar ball anymore.
36353
36354 2012-05-14  Andreas Jaeger  <aj@suse.de>
36355
36356         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36357         variable.
36358
36359 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36360
36361         [BZ #13717]
36362         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36363         to 2.2.0 where earlier.
36364         * sysdeps/unix/sysv/linux/configure: Regenerated.
36365         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36366         Remove conditional code.
36367         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36368         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36369         Remove conditional code.
36370         [!__NR_lchown]: Likewise.
36371         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36372         [__NR_lchown]: Likewise.
36373         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36374         comment referencing __ASSUME_LCHOWN_SYSCALL.
36375         * sysdeps/unix/sysv/linux/i386/sigaction.c
36376         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36377         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36378         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36379         Remove conditional code.
36380         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36381         (__protocol_available): Remove #if 0 code.
36382         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36383         conditional code.
36384         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36385         * sysdeps/unix/sysv/linux/kernel-features.h
36386         (__ASSUME_GETCWD_SYSCALL): Don't define.
36387         (__ASSUME_REALTIME_SIGNALS): Likewise.
36388         (__ASSUME_PREAD_SYSCALL): Likewise.
36389         (__ASSUME_PWRITE_SYSCALL): Likewise.
36390         (__ASSUME_POLL_SYSCALL): Likewise.
36391         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36392         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36393         non-SPARC.
36394         (__ASSUME_SIOCGIFNAME): Don't define.
36395         (__ASSUME_MSG_NOSIGNAL): Likewise.
36396         (__ASSUME_SENDFILE): Define unconditionally.
36397         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36398         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36399         conditional code.
36400         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36401         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36402         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36403         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36404         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36405         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36406         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36408         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36409         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36411         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36412         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36414         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36415         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36417         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36418         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36420         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36421         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36423         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36424         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36426         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36429         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36430         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36431         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36432         Remove conditional code.
36433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36434         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36435         Remove conditional code.
36436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36437         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36438         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36439         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36440         Remove conditional code.
36441         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36442         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36443         Remove conditional code.
36444         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36445         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36446         Remove conditional code.
36447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36448         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36449         Remove conditional code.
36450         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36451         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36452         Remove conditional code.
36453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36454         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36455         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36457         * sysdeps/unix/sysv/linux/sigaction.c
36458         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36459         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36460         * sysdeps/unix/sysv/linux/sigpending.c
36461         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36462         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36463         * sysdeps/unix/sysv/linux/sigprocmask.c
36464         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36465         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36466         * sysdeps/unix/sysv/linux/sigsuspend.c
36467         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36468         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36469         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36470         (__libc_missing_rt_sigs): Remove.
36471         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36472         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36473         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36474         Remove conditional code.
36475         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36476         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36477         return 1.
36478         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36479         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36480         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36481         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36482
36483 2012-05-14  Andreas Jaeger  <aj@suse.de>
36484
36485         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36486         it's not used in glibc.
36487         (__coshm1): Likewise.
36488         (__acosh1p): Likewise.
36489         (__sgn): Likewise.
36490
36491         * manual/string.texi (Copying and Concatenation): Add missing
36492         variable in concat example.
36493         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36494
36495 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36496
36497         [BZ #14103]
36498         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36499         __builtin_clzl with __builtin_clzll.
36500
36501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36502
36503         [BZ #14104]
36504         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36505         libc_freeres_ptr.
36506
36507 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36508
36509         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36510         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36511         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36512         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36513
36514 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36515
36516         * NEWS: Update ia64 info.
36517
36518 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36519
36520         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36521         used as bcopy.
36522
36523 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36524
36525         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36526         * sysdeps/unix/syscalls.list (dup3): Likewise.
36527         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36528         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36529
36530 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36531
36532         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36533         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36534
36535 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36536
36537         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36538         thread pointer.
36539         (TLS_IE): Use mov/add instead of movq/addq to load thread
36540         pointer.
36541         (TLS_GD_PREFIX): New.
36542         (TLS_GD): Use it.
36543
36544 2012-05-11  David S. Miller  <davem@davemloft.net>
36545
36546         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36547         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36548         (_FPU_SETCW): Likewise.
36549
36550 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36551
36552         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36553         is 32-byte aligned.
36554
36555 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36556
36557         [BZ #11837]
36558         * iconvdata/gb18030.c: Update tables.
36559         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36560         characters specially.
36561         (BODY for TO_LOOP): Add encoding of missing ranges.
36562
36563 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36564
36565         [BZ #13673]
36566         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36567         * sysdeps/mach/hurd/dup3.c: Likewise.
36568         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36569         * sysdeps/powerpc/memmove.c:: Likewise.
36570
36571 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36572
36573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36574         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36575
36576 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36577
36578         * elf/elf.h (R_X86_64_RELATIVE64): New.
36579         (R_X86_64_NUM): Updated.
36580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36581         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36582         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36583         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36584         tst-quad1pie tst-quad2pie
36585         (modules-names): Add tst-quadmod1 tst-quadmod2.
36586         ($(objpfx)tst-quad1): New dependency.
36587         ($(objpfx)tst-quad2): Likewise.
36588         ($(objpfx)tst-quad1pie): Likewise.
36589         ($(objpfx)tst-quad2pie): Likewise.
36590         * sysdeps/x86_64/tst-quad1.c: New file.
36591         * sysdeps/x86_64/tst-quad1pie.c: New file.
36592         * sysdeps/x86_64/tst-quad2.c: Likewise.
36593         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36594         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36595         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36596         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36597         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36598
36599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36600
36601         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36602         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36603         * streams/stropts.h (t_scalar_t): Define type.
36604
36605         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36606         (_PATH_PRESERVE): Set to "/var/lib".
36607         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36608
36609         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36610         instead of int.
36611
36612         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36613         if __dir_mkfile succeeded.
36614
36615         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36616         checking for _hurd_dtablesize.  Unlock it right after having
36617         finished _hurd_dtable allocation.
36618
36619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36620
36621         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36622         * sysdeps/mach/hurd/configure: Regenerated.
36623         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36624         special-casing to...
36625         * sysdeps/gnu/configure.in: ... this new file.
36626         * sysdeps/unix/sysv/linux/configure: Regenerated.
36627         * sysdeps/gnu/configure: New generated file.
36628
36629         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36630         for Linux: use nsec instead of usec, as well as:
36631         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36632         members of type struct timespec.
36633         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36634         New macros.
36635         (struct stat64): Likewise.
36636         (_STATBUF_ST_NSEC): New macro.
36637         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36638
36639         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36640         __strtoul_internal rather than strtoul.
36641
36642 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36643
36644         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36645         and reject them.
36646
36647 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36648
36649         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36650         which preserves existing values.
36651         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36652
36653 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36654
36655         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36656         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36657         greater than FD_SETSIZE.
36658
36659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36660
36661         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36662         allocated, call __vm_protect to finish enabling the existing space, and
36663         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36664         allocate the remainder.
36665
36666 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36667
36668         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36669         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36670
36671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36672
36673         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36674         sysdeps/mach/hurd/readlink.c.
36675
36676         * posix/tst-sysconf.c (posix_options): Only use
36677         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36678         _POSIX_SYNCHRONIZED_IO when they are defined
36679         * sysdeps/mach/hurd/bits/posix_opt.h:
36680         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36681         (_XOPEN_REALTIME): Undefine macro.
36682         (_XOPEN_REALTIME_THREADS): Undefine macro.
36683         (_XOPEN_SHM): Undefine macro.
36684         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36685         macro to -1.
36686         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36687         macro to -1.
36688         (_POSIX_ASYNC_IO): Undefine macro.
36689         (_POSIX_PRIORITIZED_IO): Undefine macro.
36690         (_POSIX_SPIN_LOCKS): Define macro to -1.
36691
36692         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36693         SA_NODEFER, SA_RESETHAND.
36694         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36695         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36696         F_DUPFD_CLOEXEC.
36697
36698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36699
36700         * elf/Makefile (pldd-modules): Define unconditionally.
36701
36702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36703
36704         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36705
36706 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36707
36708         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36709         Return ENOENT when name is empty.
36710         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36711
36712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36713
36714         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36715
36716         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36717
36718 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36719
36720         Fix mlock in all cases except non-readable pages.
36721         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36722         instead of VM_PROT_ALL as parameter to __vm_wire function.
36723
36724         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36725         (__mkdir): When path is `/', just fail with EEXIST.
36726         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36727
36728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36729
36730         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36731         <sys/uio.h> (for writev).
36732         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36733         and <sys/param.h> (for MIN).
36734
36735 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36736
36737         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36738         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36739         if interrupted.
36740
36741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36742
36743         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36744         Depend on against $(link-rpcuserlibs).
36745
36746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36747
36748         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36749         (__libc_stack_end): Do not use attribute_relro.
36750         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36751         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36752         to libthread-provided value.
36753         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36754         attribute_relro.
36755
36756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36757
36758         [BZ #3748]
36759         * bits/libc-lock.h (__libc_once_get): New macro.
36760         * sysdeps/mach/bits/libc-lock.h: Likewise.
36761         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36762         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36763         instead of using implementation details.
36764
36765         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36766         * libio/freopen.c: Likewise.
36767         * libio/freopen64.c: Likewise.
36768         * misc/syslog.c: Likewise.
36769         * nscd/connections.c: Likewise.
36770         * nscd/netgroupcache.c: Likewise.
36771         * sysdeps/posix/getcwd.c: Likewise.
36772
36773 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36774
36775         * math/w_ilogbf.c: Add #include <limits.h>.
36776
36777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36778
36779         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36780         path instead of returning without unlocking.
36781
36782         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36783         immediate-write ioctls.
36784         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36785
36786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36787
36788         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36789         __builtin_frame_address instead of making assumptions about the
36790         location of the return address relative to DATA.  Force early load of
36791         the return address.
36792         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36793         __builtin_frame_address.
36794
36795         dup3 for GNU Hurd.
36796         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36797         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36798         implement dup3 and do some further code clean-ups.
36799         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36800         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36801
36802 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36803
36804         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36805
36806         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36807         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36808         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36809         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36810         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36811         d->port.lock.
36812
36813         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36814         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36815         when handler == SIG_ERR, not when handler != SIG_ERR.
36816
36817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36818
36819         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36820         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36821         definitions.
36822
36823         accept4 for GNU Hurd.
36824         * include/sys/socket.h (__libc_accept4): New prototype.
36825         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36826         to implement __libc_accept4.
36827         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36828         __libc_accept4.
36829         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36830
36831         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36832         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36833         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36834         signal-defines.sym.
36835
36836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36837
36838         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36839
36840 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36841
36842         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36843         assertion on O_CLOEXEC flag.
36844         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36845         * hurd/intern-fd.c: Likewise.
36846         * hurd/port2fd.c: Likewise.
36847
36848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36849
36850         [BZ #3906]
36851         * bits/in.h (IPV6_PKTINFO): Define new macro.
36852         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36853
36854 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36855
36856         [BZ #13954]
36857         [BZ #13955]
36858         [BZ #13956]
36859         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36861         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36862         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36863         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36864         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36865         * math/libm-test.inc (logb_test) : Additional logb tests.
36866
36867 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36868             Andreas Jaeger  <aj@suse.de>
36869
36870         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36871         * configure: Regenerated.
36872         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36873         * config.make.in (link-obsolete-rpc): New substituted variable.
36874         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36875         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36876         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36877         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36878         so that libc.a contains the symbols.
36879         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36880         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36881         * sunrpc/auth_none.c: Likewise.
36882         * sunrpc/auth_unix.c: Likewise.
36883         * sunrpc/authdes_prot.c: Likewise.
36884         * sunrpc/authuxprot.c: Likewise.
36885         * sunrpc/clnt_gen.c: Likewise.
36886         * sunrpc/clnt_perr.c: Likewise.
36887         * sunrpc/clnt_raw.c: Likewise.
36888         * sunrpc/clnt_simp.c: Likewise.
36889         * sunrpc/clnt_tcp.c: Likewise.
36890         * sunrpc/clnt_udp.c: Likewise.
36891         * sunrpc/clnt_unix.c: Likewise.
36892         * sunrpc/des_crypt.c: Likewise.
36893         * sunrpc/des_soft.c: Likewise.
36894         * sunrpc/get_myaddr.c: Likewise.
36895         * sunrpc/key_call.c: Likewise.
36896         * sunrpc/key_prot.c: Likewise.
36897         * sunrpc/netname.c: Likewise.
36898         * sunrpc/pm_getmaps.c: Likewise.
36899         * sunrpc/pm_getport.c: Likewise.
36900         * sunrpc/pmap_clnt.c: Likewise.
36901         * sunrpc/pmap_prot.c: Likewise.
36902         * sunrpc/pmap_prot2.c: Likewise.
36903         * sunrpc/pmap_rmt.c: Likewise.
36904         * sunrpc/publickey.c: Likewise.
36905         * sunrpc/rpc_cmsg.c: Likewise.
36906         * sunrpc/rpc_common.c: Likewise.
36907         * sunrpc/rpc_dtable.c: Likewise.
36908         * sunrpc/rpc_prot.c: Likewise.
36909         * sunrpc/rpc_thread.c: Likewise.
36910         * sunrpc/rtime.c: Likewise.
36911         * sunrpc/svc.c: Likewise.
36912         * sunrpc/svc_auth.c: Likewise.
36913         * sunrpc/svc_raw.c: Likewise.
36914         * sunrpc/svc_run.c: Likewise.
36915         * sunrpc/svc_tcp.c: Likewise.
36916         * sunrpc/svc_udp.c: Likewise.
36917         * sunrpc/svc_unix.c: Likewise.
36918         * sunrpc/svcauth_des.c: Likewise.
36919         * sunrpc/xcrypt.c: Likewise.
36920         * sunrpc/xdr.c: Likewise.
36921         * sunrpc/xdr_array.c: Likewise.
36922         * sunrpc/xdr_float.c: Likewise.
36923         * sunrpc/xdr_intXX_t.c: Likewise.
36924         * sunrpc/xdr_mem.c: Likewise.
36925         * sunrpc/xdr_rec.c: Likewise.
36926         * sunrpc/xdr_ref.c: Likewise.
36927         * sunrpc/xdr_sizeof.c: Likewise.
36928         * sunrpc/xdr_stdio.c: Likewise.
36929
36930 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36931
36932         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36933         change.  Update copyright years.
36934
36935 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36936
36937         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36938
36939 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36940             Joseph Myers  <joseph@codesourcery.com>
36941             Paul Pluzhnikov  <ppluzhnikov@google.com>
36942
36943         [BZ #14012]
36944         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36945         requiring rpcgen.
36946         [cross-compiling] (extra-libs): Likewise.
36947         [cross-compiling] (extra-libs-others): Likewise.
36948         [cross-compiling] (librpcsvc-routines): Likewise.
36949         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36950         [cross-compiling] (omit-deps): Likewise.
36951         (sunrpc-CPPFLAGS): New variable.
36952         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36953         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36954         (cross-rpcgen-objs): New variable.
36955         (extra-objs): Append $(cross-rpcgen-objs).
36956         ($(cross-rpcgen-objs)): New rule.
36957         ($(objpfx)cross-rpcgen): Likewise.
36958         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36959         comment.
36960         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36961         ($(objpfx)x%.stmp): Likewise.
36962         * sunrpc/proto.h [IS_IN_build] (_): Define.
36963         [IS_IN_build] (_libc_intl_domainname): Likewise.
36964
36965 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36966
36967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36968         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36969         and R_X86_64_TPOFF64.
36970
36971 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36972
36973         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36974         sysdeps/unix/sysv/syscalls.list.
36975         (stime): Likewise.
36976         (utime): Likewise.
36977         * sysdeps/unix/sysv/syscalls.list: Remove file.
36978
36979 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36980
36981         [BZ #3440]
36982         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36983         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36984         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36985         (__LC_IDENTIFICATION): Make these macros useful in #if
36986         expressions, as required by C99.
36987
36988 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36989
36990         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36991         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36992         after this.
36993
36994 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36995
36996         * stdlib/longlong.h: Updated from GCC.
36997
36998 2012-05-09  Andreas Jaeger  <aj@suse.de>
36999
37000         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37001         default is first entry.
37002         (run_mode): Set type.
37003         (main): Remove informal message about syslog.
37004         (options): Fix typo.
37005
37006         [BZ #14053]
37007         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37008         to asm.
37009         (lrint): Likewise.
37010         (llrintf): Likewise.
37011         (llrint): Likewise.
37012         (rint): Likewise.
37013         (rintf): Likewise.
37014         (nearbyint): Likewise.
37015         (nearbyintf): Likewise.
37016
37017 2012-05-09  Andreas Jaeger  <aj@suse.de>
37018             Pedro Alves  <palves@redhat.com>
37019
37020         * nscd/nscd.c (run_mode): Use enum.
37021         (main): Cleanup coding style issue.
37022
37023 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37024             Andreas Jaeger  <aj@suse.de>
37025
37026         * nscd/nscd.c (go_background): Replaced with...
37027         (run_mode): ... this.
37028         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37029         (options): Add -F --foreground.
37030         (main): Implement it.
37031         (parse_opt): Parse it.
37032
37033 2012-05-09  Andreas Jaeger  <aj@suse.de>
37034
37035         [BZ #14083]
37036         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37037         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37038         -Wconversion warning.
37039         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37040         Likewise.
37041
37042 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37043
37044         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37045         == 0.
37046         (LC_ALL): Use macro-int-constant.
37047         (LC_COLLATE): Likewise.
37048         (LC_CTYPE): Likewise.
37049         (LC_MESSAGES): Likewise.
37050         (LC_MONETARY): Likewise.
37051         (LC_NUMERIC): Likewise.
37052         (LC_TIME): Likewise.
37053         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37054         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37055         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37056         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37057         Specify type.
37058         [C99-based standards] (float_t): Expect type.
37059         [C99-based standards] (double_t): Expect type.
37060         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37061         type.
37062         [C99-based standards] (HUGE_VALL): Likewise.
37063         [C99-based standards] (INFINITY): Likewise.
37064         [C99-based standards] (NAN): Likewise.
37065         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37066         [C99-based standards] (FP_NAN): Likewise.
37067         [C99-based standards] (FP_NORMAL): Likewise.
37068         [C99-based standards] (FP_SUBNORMAL): Likewise.
37069         [C99-based standards] (FP_ZERO): Likewise.
37070         [C99-based standards] (FP_FAST_FMA): Use
37071         optional-macro-int-constant.  Specify type.  Require == 1.
37072         [C99-based standards] (FP_FAST_FMAF): Likewise.
37073         [C99-based standards] (FP_FAST_FMAL): Likewise.
37074         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37075         [C99-based standards] (FP_ILOGBNAN): Likewise.
37076         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37077         Specify type.
37078         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37079         [C99-based standards] (math_errhandling): Specify type.
37080         [ISO99 || ISO11] (signgam): Do not allow.
37081         [non-C99-based standards] (copysignf): Do not allow.
37082         [non-C99-based standards] (exp2f): Likewise.
37083         [non-C99-based standards] (log2f): Likewise.
37084         [non-C99-based standards] (modff): Allow.
37085         [non-C99-based standards] (erff): Do not allow.
37086         [non-C99-based standards] (erfcf): Likewise.
37087         [non-C99-based standards] (gammaf): Likewise.
37088         [non-C99-based standards] (hypotf): Likewise.
37089         [non-C99-based standards] (j0f): Likewise.
37090         [non-C99-based standards] (j1f): Likewise.
37091         [non-C99-based standards] (jnf): Likewise.
37092         [non-C99-based standards] (lgammaf): Likewise.
37093         [non-C99-based standards] (tgammaf): Likewise.
37094         [non-C99-based standards] (y0f): Likewise.
37095         [non-C99-based standards] (y1f): Likewise.
37096         [non-C99-based standards] (ynf): Likewise.
37097         [non-C99-based standards] (isnanf): Likewise.
37098         [non-C99-based standards] (acoshf): Likewise.
37099         [non-C99-based standards] (asinhf): Likewise.
37100         [non-C99-based standards] (atanhf): Likewise.
37101         [non-C99-based standards] (cbrtf): Likewise.
37102         [non-C99-based standards] (expm1f): Likewise.
37103         [non-C99-based standards] (ilogbf): Likewise.
37104         [non-C99-based standards] (log1pf): Likewise.
37105         [non-C99-based standards] (logbf): Likewise.
37106         [non-C99-based standards] (nextafterf): Likewise.
37107         [non-C99-based standards] (remainderf): Likewise.
37108         [non-C99-based standards] (rintf): Likewise.
37109         [non-C99-based standards] (scalbf): Likewise.
37110         [non-C99-based standards] (copysignl): Likewise.
37111         [non-C99-based standards] (exp2l): Likewise.
37112         [non-C99-based standards] (log2l): Likewise.
37113         [non-C99-based standards] (modfl): Allow.
37114         [non-C99-based standards] (erfl): Do not allow.
37115         [non-C99-based standards] (erfcl): Likewise.
37116         [non-C99-based standards] (gammal): Likewise.
37117         [non-C99-based standards] (hypotl): Likewise.
37118         [non-C99-based standards] (j0l): Likewise.
37119         [non-C99-based standards] (j1l): Likewise.
37120         [non-C99-based standards] (jnl): Likewise.
37121         [non-C99-based standards] (lgammal): Likewise.
37122         [non-C99-based standards] (tgammal): Likewise.
37123         [non-C99-based standards] (y0l): Likewise.
37124         [non-C99-based standards] (y1l): Likewise.
37125         [non-C99-based standards] (ynl): Likewise.
37126         [non-C99-based standards] (isnanl): Likewise.
37127         [non-C99-based standards] (acoshl): Likewise.
37128         [non-C99-based standards] (asinhl): Likewise.
37129         [non-C99-based standards] (atanhl): Likewise.
37130         [non-C99-based standards] (cbrtl): Likewise.
37131         [non-C99-based standards] (expm1l): Likewise.
37132         [non-C99-based standards] (ilogbl): Likewise.
37133         [non-C99-based standards] (log1pl): Likewise.
37134         [non-C99-based standards] (logbl): Likewise.
37135         [non-C99-based standards] (nextafterl): Likewise.
37136         [non-C99-based standards] (remainderl): Likewise.
37137         [non-C99-based standards] (rintl): Likewise.
37138         [non-C99-based standards] (scalbl): Likewise.
37139         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37140         [non-C99-based standards] (FP_*): Do not allow.
37141         [C99-based standards] (FP_*): Change to
37142         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37143         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37144         allow.
37145         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37146         (SIG_ERR): Likewise.
37147         [X/Open-based standards] (SIG_HOLD): Likewise.
37148         (SIG_IGN): Likewise.
37149         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37150         positive value.
37151         (SIGFPE): Likewise.
37152         (SIGILL): Likewise.
37153         (SIGINT): Likewise.
37154         (SIGSEGV): Likewise.
37155         (SIGTER): Likewise.
37156         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37157         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37158         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37159         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37160         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37161         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37162         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37163         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37164         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37165         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37166         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37167         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37168         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37169         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37170         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37171         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37172         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37173         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37174         [X/Open-based standards] (SIGTRAP): Likewise.
37175         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37176         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37177         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37178         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37179         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37180         allow.
37181
37182 2012-05-08  Ian Wienand  <ianw@vmware.com>
37183
37184         [BZ #14080]
37185         * time/tzset.c (__tzset_parse_tz): Update default rules for
37186         daylight time changes in the Energy Policy Act of 2005.
37187
37188 2012-05-09  Andreas Jaeger  <aj@suse.de>
37189
37190         [BZ #13983]
37191         * elf/ldconfig.c (parse_conf): Change string to make clear that
37192         ldconfig only issued a warning if ld.so.conf does not exist.
37193
37194 2012-05-08  David S. Miller  <davem@davemloft.net>
37195
37196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37197         movxtod instead of popping the value on the stack.
37198
37199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37200
37201 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37202
37203         * config.h.in: Add HAVE_ARM_PCS_VFP.
37204
37205 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37206
37207         [BZ #13979]
37208         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37209         checking but the checks are disabled for any reason.
37210
37211 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37212
37213         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37214         and ELF64_R_TYPE with ELFW(R_TYPE).
37215
37216 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37217
37218         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37219         (ulimit): Likewise.
37220
37221         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37222         (settimeofday): Likewise.
37223
37224 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37225
37226         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37227         a struct th_u2 inside the union, and move tu_block/tu_code into
37228         a new th_u3 union of tu_block/tu_code inside of that.  Move
37229         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37230         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37231         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37232         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37233         (th_stuff): Change to th_u1.tu_stuff.
37234         (th_data): Define.
37235         (th_msg): Change to th_u1.th_u2.tu_data.
37236
37237 2012-05-07  David S. Miller  <davem@davemloft.net>
37238
37239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37240
37241         [BZ #14074]
37242         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37243         (SETUP_PIC_REG): Use it.
37244         (SETUP_PIC_REG_LEAF): Use it.
37245
37246 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37247
37248         [BZ #13885]
37249         [BZ #13923]
37250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37251         USE_AS_EXPM1L.
37252         (EXPL_FINITE): Likewise.
37253         (FLDLOG): Likewise.
37254         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37255         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37256         e_expl.S.
37257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37258         USE_AS_EXPM1L.
37259         (EXPL_FINITE): Likewise.
37260         (FLDLOG): Likewise.
37261         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37262         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37263         e_expl.S.
37264         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37265         test of -max_value argument for long double.
37266         * sysdeps/i386/fpu/libm-test-ulps: Update.
37267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37268
37269 2012-05-06  David S. Miller  <davem@davemloft.net>
37270
37271         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37272         quad soft-float symbols whose references which are compiler
37273         generated.
37274         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37275
37276 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37277
37278         [BZ #13884]
37279         [BZ #13914]
37280         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37281         USE_AS_EXP10L.
37282         (EXPL_FINITE): Likewise.
37283         (FLDLOG): Likewise.
37284         (c0): Likewise.
37285         (c1): Likewise.
37286         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37287         Adjust comments for base varying.
37288         (__expl_finite): Change alias to EXPL_FINITE.
37289         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37290         e_expl.S.
37291         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37292         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37293         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37294         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37295         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37296         USE_AS_EXP10L.
37297         (EXPL_FINITE): Likewise.
37298         (FLDLOG): Likewise.
37299         (c0): Likewise.
37300         (c1): Likewise.
37301         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37302         Adjust comments for base varying.
37303         (__expl_finite): Change alias to EXPL_FINITE.
37304         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37305         tests for bugs.
37306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37307
37308         [BZ #14064]
37309         * math/libm-test.inc (check_float_internal): Correct ulp
37310         calculation for subnormal expected results.
37311
37312 2012-05-06  Andreas Jaeger  <aj@suse.de>
37313
37314         * Makeconfig (+math-flags): New, set to -frounding-math.
37315         (+cflags): Add +math-flags so that all of glibc gets compiled with
37316         it.
37317
37318         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37319
37320 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37321
37322         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37323         Disable one test.
37324
37325         [BZ #13787]
37326         [BZ #13922]
37327         [BZ #14036]
37328         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37329         (__ieee754_expl): Allow for and saturate large arguments.
37330         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37331         (u_threshold): Likewise.
37332         (__exp): Call __ieee754_exp before checking for overflow and
37333         underflow.
37334         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37335         (u_threshold): Likewise.
37336         (__expf): Call __ieee754_expf before checking for overflow and
37337         underflow.
37338         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37339         (u_threshold): Likewise.
37340         (__expl): Call __ieee754_expl before checking for overflow and
37341         underflow.
37342         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37343         (__ieee754_expl): Allow for and saturate large arguments.
37344         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37345         missing overflow exception on overflow.
37346         (expm1_test): Do not allow missing overflow exception on overflow.
37347
37348         * sysdeps/i386/fpu/e_expl.c: Move to ...
37349         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37350         rather than using inline asm.
37351         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37352         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37353         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37354
37355         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37356         (nice): Likewise.
37357         (poll): Likewise.
37358         (signal): Likewise.
37359         (time): Likewise.
37360         (times): Likewise.
37361
37362 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37363
37364         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37365         sysdeps/unix/common/syscalls.list.
37366         (fchmod): Likewise.
37367         (fchown): Likewise.
37368         (ftruncate): Likewise.
37369         (getrusage): Likewise.
37370         (gettimeofday): Likewise.
37371         (setpgid): Likewise.
37372         (setregid): Likewise.
37373         (setreuid): Likewise.
37374         (sigaction): Likewise.
37375         (truncate): Likewise.
37376         (vhangup): Likewise.
37377         * sysdeps/unix/common/syscalls.list: Remove file.
37378         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37379         * sysdeps/unix/sysv/linux/Implies: Likewise.
37380
37381 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37382
37383         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37385         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37386         Moved to ...
37387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37388         Here.
37389         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37390         to ...
37391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37392         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37393         to ...
37394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37395         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37396         to ...
37397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37398         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37399         to ...
37400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37401         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37402         to ...
37403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37404         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37405         to ...
37406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37407         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37408         to ...
37409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37410         Here.
37411         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37412         to ...
37413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37414         Here.
37415         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37416         to ...
37417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37418         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37419         Moved to ...
37420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37421         Here.
37422         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37423         to ...
37424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37425
37426 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37427
37428         * sysdeps/unix/common/bits/dirent.h: Remove file.
37429         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37430
37431         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37432         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37433         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37434         * sysdeps/unix/bsd/isatty.c: Likewise.
37435         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37436         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37437         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37438
37439 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37440
37441         [BZ #13563]
37442         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37443         long double comparison inaccuracies.
37444         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37446
37447 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37448
37449         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37450         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37451
37452 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37453
37454         [BZ #14049]
37455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37456         nonzero digits before rounding a hex value.
37457         * stdlib/tst-strtod.c (tests): Add another test.
37458
37459 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37460
37461         * sysdeps/s390/fpu/libm-test-ulps: Update.
37462
37463 2012-05-03  Andreas Jaeger  <aj@suse.de>
37464
37465         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37466         does not get optimized out.
37467         (malloc_opt_barrier): New.
37468
37469 2012-05-03  Andreas Jaeger  <aj@suse.de>
37470             Roland McGrath  <roland@hack.frob.com>
37471
37472         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37473         intermediate file deletion.
37474         (generated): Add .symlist files.
37475
37476 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37477
37478         [BZ #13775]
37479         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37480         Redirect under this condition.
37481         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37482         [__USE_GNU] (__dprintf_chk): Not under this condition.
37483         [__USE_GNU] (__vdprintf_chk): Likewise.
37484         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37485         under this condition.
37486         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37487         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37488         [__USE_XOPEN2K8] (vdprintf): Likewise.
37489         [__USE_GNU] (__dprintf_chk): Not under this condition.
37490         [__USE_GNU] (__vdprintf_chk): Likewise.
37491         [__USE_GNU] (dprintf): Likewise.
37492         [__USE_GNU] (vdprintf): Likewise.
37493
37494 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37495
37496         * elf/Makefile (common-generated): Set this instead of generated for
37497         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37498         $(all-built-dso)-derived lists.
37499
37500 2012-05-03  Andreas Jaeger  <aj@suse.de>
37501
37502         * sysdeps/i386/fpu/libm-test-ulps: Update.
37503
37504         * FAQ: Removed.
37505         * FAQ.in: Likewise.
37506         * scripts/gen-FAQ.pl: Likewise.
37507         * manual/install.texi (Installation): Point to online location of
37508         FAQ.
37509         * Makefile (files-for-dist): Remove FAQ.
37510         (FAQ): Remove.
37511
37512 2012-05-02  Allan McRae  <allan@archlinux.org>
37513
37514         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37515         (LDFLAGS-reldepmod5.so): Likewise.
37516         (LDFLAGS-reldep6mod1.so): Likewise.
37517         (LDFLAGS-reldep6mod4.so): Likewise.
37518         (LDFLAGS-reldep8mod3.so): Likewise.
37519         (LDFLAGS-unload4mod1.so): Likewise.
37520         (LDFLAGS-unload4mod2.so): Likewise.
37521         (LDFLAGS-tst-initorder): Likewise.
37522         (LDFLAGS-tst-initordera2.so): Likewise.
37523         (LDFLAGS-tst-initordera3.so): Likewise.
37524         (LDFLAGS-tst-initordera4.so): Likewise.
37525         (LDFLAGS-tst-initorderb2.so): Likewise.
37526         (LDFLAGS-noload): Likewise.
37527         (LDFLAGS-next): Likewise.
37528         (LDFLAGS-order2mod1.so): Likewise.
37529         (LDFLAGS-order2mod2.so): Likewise.
37530         (LDFLAGS-tst-initorder2): Likewise.
37531         (LDFLAGS-tst-initorder2a.so): Likewise.
37532         (LDFLAGS-tst-initorder2b.so): Likewise.
37533         (LDFLAGS-tst-initorder2c.so): Likewise.
37534         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37535
37536 2012-05-02  David S. Miller  <davem@davemloft.net>
37537
37538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37539
37540 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37541
37542         [BZ #14055]
37543         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37544
37545 2012-05-02  Andreas Jaeger  <aj@suse.de>
37546
37547         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37548         since we manipulate rounding mode.
37549         (CPPFLAGS-test-idouble.c): Likewise.
37550         (CPPFLAGS-test-ifloat.c): Likewise.
37551         (CFLAGS-test-ldouble.c): Likewise.
37552         (CFLAGS-test-double.c): Likewise.
37553         (CFLAGS-test-float.c): Likewise.
37554         (CFLAGS-test-misc.c): Likewise.
37555         (CFLAGS-test-test-fenv.c): Likewise.
37556
37557 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37558
37559         [BZ #2550]
37560         [BZ #2570]
37561         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37562         comparisons to determine direction to adjust input.
37563
37564 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37565
37566         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37567         output to the target.
37568
37569         * scripts/localplt.awk: New file.
37570         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37571         (check-localplt-CFLAGS): Variable removed.
37572         ($(all-built-dso:=.jmprel)): New static pattern rule.
37573         (generated): Add those targets.
37574         (localplt-built-dso): New variable.
37575         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37576
37577         * elf/check-localplt.c: File removed.
37578
37579         * scripts/check-execstack.awk: New file.
37580         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37581         (check-execstack-CFLAGS): Variable removed.
37582         ($(objpfx)check-execstack.h): Target removed.
37583         ($(objpfx)execstack-default): New target.
37584         (generated): Add that instead of check-execstack.h.
37585         ($(all-built-dso:=.phdr)): New static pattern rule.
37586         (generated): Add those targets.
37587         * elf/check-execstack.c: File removed.
37588
37589         * scripts/check-textrel.awk: New file.
37590         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37591         (check-textrel-CFLAGS): Variable removed.
37592         (all-built-dso): Use := to define.o
37593         ($(all-built-dso:=.dyn)): New static pattern rule.
37594         (generated): Add those targets.
37595         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37596         * config.make.in (READELF): New substituted variable.
37597         * elf/check-textrel.c: File removed.
37598
37599 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37600
37601         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37602         allow.
37603         * conform/data/ctype.h-data [C99-based standards] (isblank):
37604         Expect function.
37605         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37606         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37607         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37608         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37609         Specify type.  Require positive value.
37610         (EILSEQ): Likewise.
37611         (ERANGE): Likewise.
37612         [ISO || POSIX] (EILSEQ): Do not expect.
37613         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37614         Specify type.  Require positive value.
37615         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37616         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37617         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37618         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37619         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37620         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37621         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37622         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37623         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37624         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37625         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37626         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37627         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37628         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37629         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37630         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37631         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37632         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37633         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37634         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37635         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37636         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37637         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37638         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37639         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37640         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37641         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37642         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37643         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37644         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37645         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37646         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37647         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37648         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37649         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37650         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37651         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37652         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37653         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37654         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37655         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37656         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37657         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37658         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37659         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37660         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37661         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37662         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37663         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37664         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37665         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37666         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37667         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37668         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37669         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37670         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37671         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37672         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37673         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37674         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37675         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37676         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37677         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37678         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37679         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37680         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37681         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37682         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37683         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37684         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37685         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37686         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37687         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37688         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37689         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37690         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37691         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37692         Require >= 2.
37693         (FLT_ROUNDS): Expect as macro, not constant.
37694         (FLT_MANT_DIG): Use macro-int-constant.
37695         (DBL_MANT_DIG): Likewise.
37696         (LDBL_MANT_DIG): Likewise.
37697         (FLT_DIG): Likewise.
37698         (DBL_DIG): Likewise.
37699         (LDBL_DIG): Likewise.
37700         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37701         (DBL_MIN_EXP): Likewise.
37702         (LDBL_MIN_EXP): Likewise.
37703         (FLT_MAX_EXP): Use macro-int-constant.
37704         (DBL_MAX_EXP): Likewise.
37705         (LDBL_MAX_EXP): Likewise.
37706         (FLT_MAX_10_EXP): Likewise.
37707         (DBL_MAX_10_EXP): Likewise.
37708         (LDBL_MAX_10_EXP): Likewise.
37709         (FLT_MAX): Use macro-constant.
37710         (DBL_MAX): Likewise.
37711         (LDBL_MAX): Likewise.
37712         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37713         (DBL_EPSILON): Likewise.
37714         (LDBL_EPSILON): Likewise.
37715         (FLT_MIN): Likewise.
37716         (DBL_MIN): Likewise.
37717         (LDBL_MIN): Likewise.
37718         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37719         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37720         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37721         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37722         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37723         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37724         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37725         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37726         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37727         [ISO11] (FLT_TRUE_MIN): Likewise.
37728         [ISO11] (LDBL_TRUE_MIN): Likewise.
37729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37730         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37731         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37732         (SCHAR_MAX): Likewise.
37733         (UCHAR_MAX): Likewise.
37734         (CHAR_MIN): Likewise.
37735         (CHAR_MAX): Likewise.
37736         (MB_LEN_MAX): Use macro-int-constant.
37737         (SHRT_MIN): Use macro-int-constant.  Specify type.
37738         (SHRT_MAX): Likewise.
37739         (USHRT_MAX): Likewise.
37740         (INT_MAX): Likewise.
37741         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37742         bound negative.
37743         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37744         bound with "U".
37745         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37746         bound with "L".
37747         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37748         bound negative.  Suffix upper bound with "L".
37749         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37750         bound with "UL".
37751         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37752         Specify type.
37753         [C99-based standards] (LLONG_MAX): Likewise.
37754         [C99-based standards] (ULLONG_MAX): Likewise.
37755         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37756         == 0.
37757         [ISO11] (max_align_t): Require type.
37758         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37759
37760         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37761         from $CFLAGS, without defining away __attribute__ calls.
37762         (checknamespace): Use $CFLAGS_namespace.
37763
37764         * conform/conformtest.pl (@keywords): Only include C99 keywords
37765         for standards based on C99 or C11.
37766
37767         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37768         Disable tests.
37769         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37770         UNIX98]: Likewise.
37771
37772         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37773         usability of symbols in #if.
37774
37775         * conform/conformtest.pl: If macro or constant types start
37776         "promoted:", expect the symbol to be of the following type
37777         promoted by the integer promotions.
37778
37779         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37780         in one place.  Also handle "macro-constant".
37781
37782         * conform/conformtest.pl: Only accept expected macro values with
37783         "==".  Parse all "macro" lines in one place.
37784         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37785
37786         * conform/conformtest.pl: Handle braced types on "constant" lines
37787         instead of handling "typed-constant".
37788         * conform/data/signal.h-data: Use "constant" instead of
37789         "typed-constant".
37790
37791         * conform/conformtest.pl: Handle "optional-" at start of lines in
37792         one place rather than duplicating several cases.  Handle each
37793         format of "macro" line with initial "optional-".
37794
37795         * conform/conformtest.pl: Only accept expected constant or
37796         optional-constant values with "==".  Parse all "constant" lines in
37797         one place.  Parse all "optional-constant" lines in one place.
37798         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37799         * conform/data/fmtmsg.h-data: Likewise.
37800         * conform/data/netinet/in.h-data: Likewise.
37801         * conform/data/tar.h-data: Likewise.
37802         * conform/data/limits.h-data: Use "==" form on "constant" and
37803         "optional-constant" lines.
37804
37805         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37806         Use -std=c99 for XOPEN2K.
37807         (@knownproblems): Remove.
37808         (newtoken): Don't check %isknown.
37809
37810         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37811         Do not expect macro.
37812         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37813         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37814         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37815         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37816         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37817         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37818         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37819         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37820         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37821         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37822         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37823         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37824         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37825         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37826         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37827         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37828         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37829         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37830         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37831         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37832         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37833         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37834         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37835         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37836         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37837         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37838         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37839         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37840         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37841         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37842         [XPG3] (acosh): Likewise.
37843         [XPG3] (asinh): Likewise.
37844         [XPG3] (atanh): Likewise.
37845         [XPG3] (cbrt): Likewise.
37846         [XPG3] (expm1): Likewise.
37847         [XPG3] (ilogb): Likewise.
37848         [XPG3] (log1p): Likewise.
37849         [XPG3] (logb): Likewise.
37850         [XPG3] (nextafter): Likewise.
37851         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37852         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37853         [XPG3] (remainder): Likewise.
37854         [XPG3] (rint): Likewise.
37855         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37856         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37857         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37858         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37859         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37860         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37861         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37862         [UNIX98 || XOPEN2K] (scalb): Expect.
37863         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37864         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37865         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37866         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37867         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37868         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37869         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37870         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37871         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37872         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37873         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37874         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37875         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37876         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37877         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37878         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37879         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37880         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37881         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37882         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37883         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37884         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37885         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37886         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37887         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37888         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37889         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37890         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37891         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37892         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37893         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37894         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37895         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37896         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37897         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37898         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37899         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37900         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37901         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37902         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37903         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37904         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37905         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37906         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37907         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37908         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37909         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37910         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37911         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37912         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37913         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37914         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37915         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37916         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37917         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37918         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37919         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37920         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37921         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37922         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37923         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37924         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37925         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37926         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37927         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37928         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37929         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37930         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37931         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37932         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37933         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37934         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37935         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37936         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37937         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37938         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37939         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37940         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37941         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37942         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37943         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37944         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37945         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37946         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37947         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37948         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37949         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37950         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37951         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37952         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37953         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37954         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37955         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37956         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37957         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37958         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37959         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37960         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37961         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37962         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37963         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37964         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37965         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37966         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37967         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37968         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37969         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37970         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37971         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37972         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37973         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37974         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37975         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37976         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37977         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37978         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37979         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37980         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37981         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37982         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37983         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37984         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37985         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37986         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37987         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37988         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37989         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37990         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37991         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37992         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37993         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37994         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37995         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37996         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37997         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37998         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37999         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38000
38001         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38002         _XOPEN_SOURCE_EXTENDED for XPG4.
38003
38004         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38005
38006         * Makeconfig (localtime): Remove variable.
38007         (inst_localtime-file): Likewise.
38008
38009 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38010
38011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38012         Update.
38013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38014         Update.
38015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38016         Update.
38017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38018         Update.
38019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38020         Update.
38021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38022         Update.
38023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38024         Update.
38025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38026         Update.
38027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38028         Update.
38029
38030 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38031
38032         [BZ #2550]
38033         [BZ #2570]
38034         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38035         comparisons to determine direction to adjust input.
38036         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38037         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38038         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38039         Likewise.
38040         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38041         Likewise.
38042         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38043         Likewise.
38044         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38045         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38046         Likewise.
38047         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38048         Likewise.
38049         * math/libm-test.inc (nexttoward_test): Add more tests.
38050
38051 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38052
38053         [BZ #14040]
38054         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38055         in version GLIBC_2.1, not GLIBC_2.0.
38056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38057         Likewise.
38058
38059 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38060
38061         [BZ #13942]
38062         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38063         (1 - x) * (1 + x).
38064         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38065         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38066         * math/libm-test.inc (acos_test): Add more tests.
38067         (asin_test): Likewise.
38068         * sysdeps/i386/fpu/libm-test-ulps: Update.
38069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38070
38071         [BZ #14034]
38072         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38073         of square root.
38074         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38075         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38076         * math/libm-test.inc (acos_test_tonearest): New function.
38077         (acos_test_towardzero): Likewise.
38078         (acos_test_downward): Likewise.
38079         (acos_test_upward): Likewise.
38080         (asin_test_tonearest): Likewise.
38081         (asin_test_towardzero): Likewise.
38082         (asin_test_downward): Likewise.
38083         (asin_test_upward): Likewise.
38084         (main): Call the new functions.
38085         * sysdeps/i386/fpu/libm-test-ulps: Update.
38086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38087
38088         [BZ #13884]
38089         [BZ #13924]
38090         * math/e_exp10.c: Include <float.h>.
38091         (__ieee754_exp10): Handle underflow here rather than multiplying
38092         large negative argument by M_LN10.
38093         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38094         of __ieee754_expf.
38095         * math/e_exp10l.c: Include <float.h>.
38096         (__ieee754_exp10l): Handle underflow here rather than multiplying
38097         large negative argument by M_LN10l.
38098         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38099         spurious overflow exception on underflow.
38100
38101 2012-04-29  Marek Polacek  <polacek@redhat.com>
38102
38103         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38104         (__fortify_function): New macro.
38105         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38106         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38107         __extern_always_inline.
38108         * libio/bits/stdio2.h: Likewise.
38109         * libio/bits/stdio.h: Likewise.
38110         * string/string.h: Likewise.
38111         * string/bits/string3.h: Likewise.
38112         * include/stdio.h: Likewise.
38113         * stdlib/bits/stdlib.h: Likewise.
38114         * stdlib/stdlib.h: Likewise.
38115         * rt/bits/mqueue2.h: Likewise.
38116         * rt/mqueue.h: Likewise.
38117         * posix/bits/unistd.h: Likewise.
38118         * posix/unistd.h: Likewise.
38119         * io/bits/poll2.h: Likewise.
38120         * io/bits/fcntl2.h: Likewise.
38121         * io/fcntl.h: Likewise.
38122         * io/sys/poll.h: Likewise.
38123         * misc/bits/syslog.h: Likewise.
38124         * misc/bits/syslog-ldbl.h: Likewise.
38125         * misc/sys/syslog.h: Likewise.
38126         * socket/bits/socket2.h: Likewise.
38127         * socket/sys/socket.h: Likewise.
38128         * debug/tst-chk1.c: Likewise.
38129         * wcsmbs/bits/wchar2.h: Likewise.
38130         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38131         * wcsmbs/wchar.h: Likewise.
38132
38133 2012-04-29  Andreas Jaeger  <aj@suse.de>
38134
38135         * Makerules (tests): Remove enable-check-abi protection.
38136         (check-abi-warn): Remove.
38137         (check-abi-%): Remove check-abi-warn usage.
38138
38139         * configure.in: Remove check-abi configure option.
38140         * configure: Regenerated.
38141         * config.make.in (enable-check-abi): Remove.
38142
38143 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38144
38145         [BZ #14033]
38146         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38147         double functions to double *_finite functions.
38148
38149         [BZ #13941]
38150         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38151         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38152         LDBL_MIN_EXP.
38153         * stdio-common/Makefile (tests): Add tst-sprintf3.
38154         * stdio-common/tst-sprintf3.c: New file.
38155
38156         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38157         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38158
38159 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38160
38161         * conform/conformtest.pl: Remove duplicate typed-constant
38162         handling.
38163
38164 2012-04-28  David S. Miller  <davem@davemloft.net>
38165
38166         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38167         (check-abi-%): Remove AWK script prerequisite and explicit
38168         abilist directory.
38169         (check-abi): Rewrite to just diff the symlist with the abilist.
38170         (config-tls, config-abi-config): Delete, no longer used.
38171         (update-abi-%): Remove AWK script and explicit abilist directory.
38172         (update-abi): Rewrite to simply compare and conditionally copy the
38173         symlist and the sysdep abilist file.  Remove update-abi-config
38174         checks.
38175         * abilist/ld.abilist: Remove.
38176         * abilist/libBrokenLocale.abilist: Remove.
38177         * abilist/libanl.abilist: Remove.
38178         * abilist/libcrypt.abilist: Remove.
38179         * abilist/libdl.abilist: Remove.
38180         * abilist/librt.abilist: Remove.
38181         * abilist/libthread_db.abilist: Remove.
38182         * abilist/libutil.abilist: Remove.
38183         * scripts/extract-abilist.awk: Remove.
38184         * scripts/merge-abilist.awk: Remove.
38185         * sysdeps/generic/libcidn.abilist: New file.
38186         * sysdeps/generic/libnss_compat.abilist: New file.
38187         * sysdeps/generic/libnss_db.abilist: New file.
38188         * sysdeps/generic/libnss_dns.abilist: New file.
38189         * sysdeps/generic/libnss_files.abilist: New file.
38190         * sysdeps/generic/libnss_hesiod.abilist: New file.
38191         * sysdeps/generic/libnss_nis.abilist: New file.
38192         * sysdeps/generic/libnss_nisplus.abilist: New file.
38193         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38194         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38195         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38196         file.
38197         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38198         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38199         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38200         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38201         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38202         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38203         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38204         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38205         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38206         file.
38207         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38208         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38209         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38210         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38211         file.
38212         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38213         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38214         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38215         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38216         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38217         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38218         file.
38219         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38220         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38221         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38222         file.
38223         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38225         New file.
38226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38227         New file.
38228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38229         New file.
38230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38231         New file.
38232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38233         New file.
38234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38235         New file.
38236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38237         New file.
38238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38239         New file.
38240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38241         New file.
38242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38243         New file.
38244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38245         New file.
38246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38247         New file.
38248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38249         New file.
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38251         file.
38252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38253         New file.
38254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38255         New file.
38256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38257         file.
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38259         New file.
38260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38261         New file.
38262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38263         file.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38265         New file.
38266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38267         New file.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38269         New file.
38270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38271         New file.
38272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38273         New file.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38275         New file.
38276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38278         file.
38279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38280         New file.
38281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38282         file.
38283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38284         file.
38285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38286         file.
38287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38288         file.
38289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38290         file.
38291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38292         New file.
38293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38294         file.
38295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38296         file.
38297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38298         New file.
38299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38300         file.
38301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38303         file.
38304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38305         New file.
38306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38307         file.
38308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38309         file.
38310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38311         file.
38312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38313         file.
38314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38315         file.
38316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38317         New file.
38318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38319         file.
38320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38321         file.
38322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38323         New file.
38324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38325         file.
38326         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38327         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38328         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38329         file.
38330         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38331         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38332         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38333         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38334         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38335         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38336         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38337         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38338         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38339         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38342         file.
38343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38344         New file.
38345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38346         file.
38347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38348         file.
38349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38350         file.
38351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38352         file.
38353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38354         file.
38355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38356         New file.
38357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38358         New file.
38359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38360         file.
38361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38362         New file.
38363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38364         file.
38365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38367         file.
38368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38369         New file.
38370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38371         file.
38372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38373         file.
38374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38375         file.
38376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38377         file.
38378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38379         file.
38380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38381         New file.
38382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38383         New file.
38384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38385         file.
38386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38387         New file.
38388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38389         file.
38390
38391 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38392
38393         * conform/conformtest.pl: Fix typo in handling typed-constant from
38394         allow-header.
38395
38396 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38397
38398         * README: Cut down references to pre-2.6 Linux kernels and
38399         Linuxthreads.  Update lists of configurations in libc and ports
38400         and sort alphabetically.  Say "or newer" with Linux kernel version
38401         requirements.
38402
38403         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38404
38405 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38406
38407         [BZ #887]
38408         * math/libm-test.inc (logb_test_downward): New test to expose
38409         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38410         rounding mode.
38411
38412 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38413
38414         [BZ #14027]
38415         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38416         to be done.
38417         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38418         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38419
38420 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38421
38422         * sysdeps/unix/i386/brk.S: Remove file.
38423         * sysdeps/unix/i386/dl-brk.S: Likewise.
38424         * sysdeps/unix/i386/pipe.S: Likewise.
38425         * sysdeps/unix/i386/sigreturn.S: Likewise.
38426         * sysdeps/unix/i386/syscall.S: Likewise.
38427         * sysdeps/unix/i386/vfork.S: Likewise.
38428         * sysdeps/unix/i386/wait.S: Likewise.
38429
38430         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38431         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38432
38433         * configure.in (arm*-none*): Do not allow without
38434         --enable-hacker-mode.
38435         (netbsd*): Remove case setting base_os.
38436         (386bsd*): Likewise.
38437         (freebsd*): Likewise.
38438         (bsdi*): Likewise.
38439         (osf*): Likewise.
38440         (sunos*): Likewise.
38441         (ultrix*): Likewise.
38442         (newsos*): Likewise.
38443         (dynix*): Likewise.
38444         (*bsd*): Likewise.
38445         (sysv*): Likewise.
38446         (isc*): Likewise.
38447         (esix*): Likewise.
38448         (sco*): Likewise.
38449         (minix*): Likewise.
38450         (irix4*): Likewise.
38451         (irix6*): Likewise.
38452         (solaris[2-9]*): Likewise.
38453         (none): Likewise.
38454         * configure: Regenerated.
38455
38456 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38457
38458         [BZ #11521]
38459         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38460         overflow or cancellation in calculating denominator.
38461         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38463         down expression to avoid unexpected rounding in newer GCCs.
38464         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38465
38466 2012-04-26  David S. Miller  <davem@davemloft.net>
38467
38468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38469         long-double compat symbols.
38470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38483
38484 2012-04-25  David S. Miller  <davem@davemloft.net>
38485
38486         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38487         HWCAP_* values only after the memory barriers have been defined.
38488         (atomic_full_barrier): Define.
38489         (atomic_read_barrier): Define.
38490         (atomic_write_barrier): Define.
38491
38492 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38493
38494         * shlib-versions: Add libgcc_s version information.
38495         * sysdeps/generic/libgcc_s.h: Remove.
38496         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38497         libgcc_s.h.
38498         * sysdeps/gnu/unwind-resume.c: Likewise.
38499         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38500
38501 2012-04-25  David S. Miller  <davem@davemloft.net>
38502
38503         * sysdeps/unix/sparc/brk.S: Delete.
38504         * sysdeps/unix/sparc/dl-brk.S: Delete.
38505         * sysdeps/unix/sparc/pipe.S: Delete.
38506         * sysdeps/unix/sparc/sysdep.S: Delete.
38507         * sysdeps/unix/sparc/sysdep.h: Delete.
38508         * sysdeps/unix/sparc/vfork.S: Delete.
38509         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38510         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38511         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38512         (ret_ERRVAL, r0, r1, MOVE): Define.
38513         (JUMPTARGET): Remove.
38514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38515         sysdeps/unix/sparc/sysdep.h
38516         (ENTRY, END): Remove.
38517         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38518
38519 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38520
38521         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38522         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38523         -DIS_IN_build.
38524
38525         * timezone/README: Update upstream location and email address for
38526         tzcode and tzdata.
38527         * timezone/zdump.c: Update from tzcode 2012b.
38528         * timezone/zic.c: Likewise.
38529
38530         * configure.in (libc_cv_as_needed): Remove test.
38531         * configure: Regenerated.
38532         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38533         conditional definition.
38534         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38535         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38536         * config.make.in (have-as-needed): Remove variable.
38537
38538 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38539             Paul Pluzhnikov  <ppluzhnikov@google.com>
38540
38541         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38542         strings correctly.
38543
38544 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38545
38546         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38547         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38548         * sysdeps/sh/strlen.S: Likewise.
38549
38550 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38551
38552         * sysdeps/unix/fork.S: Remove file.
38553         * sysdeps/unix/i386/fork.S: Likewise.
38554         * sysdeps/unix/sparc/fork.S: Likewise.
38555
38556         * sysdeps/unix/system.c: Remove file.
38557         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38558
38559         * sysdeps/unix/getegid.S: Remove file.
38560         * sysdeps/unix/geteuid.S: Likewise.
38561
38562 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38563
38564         * scripts/check-localplt.awk: New file.
38565         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38566         of diff.
38567         * scripts/data/localplt-generic.data: Add a comment.
38568
38569         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38570         NODE when __dir_mkfile failed.
38571         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38572         Reported by Ludovic Courtès <ludo@gnu.org>.
38573
38574 2012-04-24  Andreas Jaeger  <aj@suse.de>
38575
38576         * Makerules (common-clean): Also remove gen-as-const-headers
38577         files.
38578
38579 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38580
38581         * Makerules (native-compile): Do not change working directory for
38582         build.  Use $(OUTPUT_OPTION) in command.
38583         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38584
38585 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38586
38587         [BZ #13886]
38588         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38589         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38590         * math/libm-test.inc (floor_test): Add more tests.
38591         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38592
38593 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38594
38595         * sysdeps/unix/getdents.c: Remove file.
38596         * sysdeps/unix/sysv/getdents.c: Likewise.
38597         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38598
38599         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38600         sysdeps/unix/mman/syscalls.list.
38601         (mmap): Likewise.
38602         (mprotect): Likewise.
38603         (msync): Likewise.
38604         (munmap): Likewise.
38605         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38606         * sysdeps/unix/mman/syscalls.list: Remove.
38607         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38608
38609         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38610         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38611         * configure: Regenerated.
38612         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38613         $(libgcc_s_suffix).
38614         * config.make.in (libgcc_s_suffix): Remove variable.
38615
38616 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38617
38618         * sysdeps/unix/sysv/gethostname.c: Move to ...
38619         * sysdeps/posix/gethostname.c: ... here.
38620
38621         * sysdeps/unix/execve.S: Remove file.
38622
38623         * sysdeps/unix/_exit.S: Remove file.
38624
38625 2012-04-23  Andreas Jaeger  <aj@suse.de>
38626
38627         [BZ #13739]
38628         * manual/Makefile: Remove make dist support, there's no
38629         need for a stand-alone documentation tar ball.
38630         (TEXI2DVI): Define always, it's not in Makeconfig.
38631         (dist): Removed.
38632         (tar-it): Removed.
38633         (edition): Removed.
38634         (glibc-doc-$(edition).tar): Removed
38635         (%.Z): Removed.
38636         (%.gz): Removed.
38637         (%.uu): Removed.
38638         (ETAGS): Remove, it's in Makeconfig.
38639         (move-if-change): Remove, it's in Makeconfig.
38640
38641 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38642
38643         [BZ #13970]
38644         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38645         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38646         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38647         (strtod_l, strtof_l, strtold_l): Remove __wur.
38648         It is not necessarily an error to ignore strtol's return value.
38649         One can reliably look at the stored endptr to decide whether
38650         the number had valid syntax.
38651
38652 2012-04-21  Andreas Jaeger  <aj@suse.de>
38653
38654         [BZ #13739]
38655         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38656
38657 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38658
38659         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38660         * sysdeps/unix/sysv/Versions: Remove file.
38661
38662 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38663
38664         [BZ #13927]
38665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38666
38667 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38668
38669         [BZ #7064]
38670         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38671         version from __vm86.
38672
38673 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38674
38675         * sysdeps/unix/common/lxstat.c: Remove file.
38676         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38677
38678         * sysdeps/unix/sysv/Makefile: Remove file.
38679
38680         * sysdeps/unix/sysv/direct.h: Remove file.
38681
38682         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38683         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38684         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38685         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38686         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38687         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38688         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38689
38690         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38691
38692         * sysdeps/unix/xmknod.c: Remove file.
38693         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38694
38695         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38696
38697         * sysdeps/unix/sysv/i386/time.S: Remove file.
38698
38699         * sysdeps/unix/fxstat.c: Remove file.
38700         * sysdeps/unix/xstat.c: Likewise.
38701         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38702
38703         * sysdeps/unix/sysv/sigaction.c: Remove file.
38704
38705         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38706         (sysdep_headers): Remove variable.
38707         [termio.h not in sysdep_headers] (generated): Likewise.
38708         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38709         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38710         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38711         * sysdeps/unix/sysv/tcflow.c: Likewise.
38712         * sysdeps/unix/sysv/tcflush.c: Likewise.
38713         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38714         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38715         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38716         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38717         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38718
38719         * sysdeps/unix/siglist.c: Remove file.
38720
38721         * sysdeps/unix/getppid.S: Remove file.
38722
38723         * sysdeps/unix/mkdir.c: Remove file.
38724         * sysdeps/unix/rmdir.c: Likewise.
38725
38726 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38727
38728         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38729         ERR_MAX value.
38730         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38731         errlist-compat value.
38732
38733 2012-04-18  David S. Miller  <davem@davemloft.net>
38734
38735         * sysdeps/generic/memcopy.h (reg_char): Delete.
38736         * debug/strcat_chk.c: Use char, not reg_char.
38737         * debug/strcpy_chk.c: Likewise.
38738         * debug/strncat_chk.c: Likewise.
38739         * debug/strncpy_chk.c: Likewise.
38740         * string/memchr.c: Likewise.
38741         * string/memrchr.c: Likewise.
38742         * string/rawmemchr.c: Likewise.
38743         * string/strcat.c: Likewise.
38744         * string/strchr.c: Likewise.
38745         * string/strchrnul.c: Likewise.
38746         * string/strcmp.c: Likewise.
38747         * string/strcpy.c: Likewise.
38748         * string/strncat.c: Likewise.
38749         * string/strncmp.c: Likewise.
38750         * string/strncpy.c: Likewise.
38751
38752 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38753
38754         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38755         __builtin_memcopy is called when src and dest ranges are known to not
38756         overlap.
38757
38758 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38759
38760         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38761         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38762         fwd_align_merge macro call.
38763         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38764         bwd_align_merge macro call.
38765         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38766
38767 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38768
38769         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38770         bwd_align_merge macros.
38771         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38772         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38773         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38774
38775 2012-04-18  David S. Miller  <davem@davemloft.net>
38776
38777         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38778
38779 2012-04-18  Andreas Jaeger  <aj@suse.de>
38780
38781         [BZ# 6794]
38782         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38783         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38784         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38785
38786         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38787         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38788         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38789
38790         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38791         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38792         Adjust for changed ldbl-128 files.
38793
38794         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38795         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38796         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38797
38798 2012-04-17  David S. Miller  <davem@davemloft.net>
38799
38800         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38801
38802 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38803
38804         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38805         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38806         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38807         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38808         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38809         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38810
38811 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38812
38813         [BZ #6794]
38814         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38815         * math/libm-test.inc: Add ilogb errno and exception tests.
38816         * math/w_ilogb.c: New file: ilogb wrapper.
38817         * math/w_ilogbf.c: New file: ilogbf wrapper.
38818         * math/w_ilogbl.c: New file: ilogbl wrapper.
38819         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38820         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38821         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38822         exception being thrown with 0.0 as argument.
38823         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38824         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38825         exception being thrown with 0.0 as argument.
38826         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38827         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38828         exception being thrown with 0.0 as argument.
38829         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38830         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38831         exception being thrown with 0.0 as argument.
38832         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38833         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38834         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38835         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38836         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38837         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38838         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38839         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38840         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38841
38842 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38843
38844         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38845         with altivec.
38846
38847 2012-04-16  Marek Polacek  <polacek@redhat.com>
38848
38849         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38850
38851 2012-04-16  Marek Polacek  <polacek@redhat.com>
38852
38853         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38854         operands of fdivp instruction.
38855
38856 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38857
38858         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38859         * elf/tst-auditmod3b.c: Likewise.
38860         * elf/tst-auditmod4b.c: Likewise.
38861         * elf/tst-auditmod5b.c: Likewise.
38862         * elf/tst-auditmod6b.c: Likewise.
38863         * elf/tst-auditmod6c.c: Likewise.
38864         * elf/tst-auditmod7b.c: Likewise.
38865         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38866         * sysdeps/x86_64/preconfigure.in: Likewise.
38867         * sysdeps/x86_64/preconfigure: Regenerated.
38868
38869 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38870
38871         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38872         __ILP32__.
38873
38874 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38875
38876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38877         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38878
38879 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38880
38881         [BZ #13973]
38882         * locale/iso-639.def: Fix gl language name. Spotted by
38883         Yaron Shahrabani.
38884
38885 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38886
38887         [BZ #2074]
38888         * libio/libio.h (__io_write_fn): Update comment.
38889
38890 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38891
38892         [BZ #2074]
38893         * stdio.texi (Hook Functions): The user provided writer function
38894         is not allowed to return -1.
38895
38896 2012-04-11  David S. Miller  <davem@davemloft.net>
38897
38898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38899
38900 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38901
38902         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38903         Add a leading slash to rtkaio.
38904
38905 2012-04-11  Jim Meyering  <meyering@redhat.com>
38906
38907         [BZ #11959]
38908         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38909         It is not necessarily an error to ignore fwrite's return
38910         value.  One can reliably use ferror to test for errors after
38911         the fact.
38912
38913 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38914
38915         * bits/types.h (__snseconds_t): New type.
38916         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38917
38918         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38919         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38920         (__SNSECONDS_T_TYPE): Likewise.
38921         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38922         (__SNSECONDS_T_TYPE): Likewise.
38923         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38924         (__SNSECONDS_T_TYPE): Likewise.
38925
38926 2012-04-10  Andreas Jaeger  <aj@suse.de>
38927
38928         [BZ #2636]
38929         * manual/time.texi (Processor Time): Return type of times is
38930         elapsed real time since an arbitrary point in the past.
38931         (CPU Time): Move CLK_TCK from here...
38932         (Processor Time): ...to here.  Correct description.
38933         * manual/conf.texi (Constants for Sysconf): Correct description of
38934         _SC_CLK_TCK.
38935
38936 2012-04-10  David S. Miller  <davem@davemloft.net>
38937
38938         [BZ #13967]
38939         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38940         where the is a gap between DT_REL(A) and DT_JMPREL.
38941
38942 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38943
38944         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38945         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38946         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38947
38948 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38949
38950         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38951         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38952         (dl_main): Handle --inhibit-cache.
38953         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38954         _dl_inhibit_cache.
38955         * elf/dl-load.c (_dl_map_object): Use it.
38956         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38957
38958 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38959
38960         [BZ #13872]
38961         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38962         (__ieee754_powl): Saturate large exponents rather than testing for
38963         overflow of y*log2(x).
38964         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38965         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38966         exceptions.
38967
38968         [BZ #11521]
38969         * math/s_ctan.c: Include <float.h>.
38970         (__ctan): Avoid internal overflow or cancellation in calculating
38971         denominator.
38972         * math/s_ctanf.c: Likewise.
38973         * math/s_ctanl.c: Likewise.
38974         * math/s_ctanh.c: Likewise.
38975         * math/s_ctanhf.c: Likewise.
38976         * math/s_ctanhl.c: Likewise.
38977         * math/libm-test.inc (ctan_test): Add more tests.
38978         (ctanh_test): Likewise.
38979         * sysdeps/i386/fpu/libm-test-ulps: Update.
38980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38981
38982 2012-04-09  Andreas Jaeger  <aj@suse.de>
38983
38984         [BZ #6894]
38985         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38986         is an optional BSD extension.
38987
38988         [BZ #10254]
38989         * manual/stdio.texi (Opening Streams): Document additional fopen
38990         parameters.
38991
38992 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38993
38994         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38995         %eax without telling the compiler.
38996
38997 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38998
38999         [BZ # 13963]
39000         * manual/install.texi: Use sourceware.org.
39001
39002 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39003
39004         [BZ #13873]
39005         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39006         (__ieee754_pow): Generate overflow and underflow using huge*huge
39007         and tiny*tiny rather than just returning constant infinity or zero
39008         for large exponents.
39009         * math/libm-test.inc (pow_test): Require overflow exceptions for
39010         applicable cases of large exponents.
39011
39012         [BZ #706]
39013         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39014         (__ieee754_pow): Use iterative multiplication algorithm only for
39015         integer exponents with absolute value below 1024.  Check for odd
39016         integer exponents when using algorithm for real exponents.
39017         * math/libm-test.inc (pow_test): Add more tests.
39018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39019
39020 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39021
39022         [BZ #13705]
39023         * math/libm-test.inc (exp_test): Do not allow overflow exception
39024         on underflow test.
39025
39026 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39027
39028         [BZ #13705]
39029         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39030         instead of __kernel_standard_f.
39031
39032 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39033
39034         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39035         * sysdeps/x86_64/memset_chk.S: Likewise.
39036
39037 2012-04-08  Andreas Jaeger  <aj@suse.de>
39038
39039         [BZ #10153]
39040         * manual/startup.texi (Environment Access): Describe return value
39041         for putenv and setenv.
39042
39043         [BZ #6895]
39044         * manual/filesys.texi (Directory Entries): Add description for
39045         DT_LNK.
39046
39047         [BZ #6890]
39048         * manual/filesys.texi (Directory Entries): Clarify that it's file
39049         system not operating system in the description of DT_UNKNOWN.
39050
39051         [BZ #6578]
39052         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39053
39054 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39055
39056         [BZ #6649]
39057         * manual/llio.texi (Opening and Closing Files): Add cross
39058         reference to explain mode argument.
39059
39060 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39061
39062         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39063         * sysdeps/x86_64/memset_chk.S: Likewise.
39064
39065 2012-04-07  David S. Miller  <davem@davemloft.net>
39066
39067         * elf/elf.h (R_SPARC_WDISP10): Define.
39068         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39069         R_SPARC_SIZE32.
39070         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39071         R_SPARC_SIZE64 and R_SPARC_H34.
39072
39073 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39074
39075         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39076         conditions and remove no longer applicable assertion.
39077
39078 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39079
39080         * bits/byteswap.h: Include <features.h>.
39081         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39082         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39083
39084 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39085
39086         * bits/byteswap.h (__bswap_16): Removed.
39087         Include <bits/byteswap-16.h> to get __bswap_16.
39088         * sysdeps/i386/bits/byteswap.h: Likewise.
39089         * sysdeps/s390/bits/byteswap.h: Likewise.
39090         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39091         * bits/byteswap-16.h: New file.
39092         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39093         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39094         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39095         * string/Makefile (headers): Add bits/byteswap-16.h.
39096
39097 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39098
39099         [BZ #13895]
39100         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39101         extra indirection.
39102         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39103         * nss/tst-nss-static.c: New.
39104
39105 2012-04-06  Robert Millan  <rmh@gnu.org>
39106
39107         [BZ #6486]
39108         * manual/llio.texi (File Position Primitive): lseek
39109         refers to WHENCE when it really means OFFSET.
39110
39111 2012-04-06  Andreas Jaeger  <aj@suse.de>
39112
39113         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39114         strncmp declarations.
39115
39116         * abilist/libc.abilist: Add __poll and __ppoll.
39117
39118 2012-04-05  David S. Miller  <davem@davemloft.net>
39119
39120         * scripts/check-local-headers.sh: Accept a host triplet in the
39121         path matched by the exclude regexp.
39122
39123         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39124         definition.
39125         * sysdeps/powerpc/powerpc32/dl-machine.h
39126         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39127         * sysdeps/s390/s390-32/dl-machine.h
39128         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39129         * sysdeps/sparc/sparc32/dl-machine.h
39130         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39131         * sysdeps/sparc/sparc64/dl-machine.h
39132         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39133
39134         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39135         lazy binding.
39136         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39137         undefined symbol errors.
39138
39139         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39140         DT_NEEDED entries.
39141
39142 2012-04-05  Michael Matz  <matz@suse.de>
39143
39144         [BZ #13592]
39145         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39146
39147 2012-04-05  Andreas Jaeger  <aj@suse.de>
39148
39149         [BZ #13908]
39150         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39151         comment.
39152
39153 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39154
39155         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39156         which ROUND is no valid rounding mode.
39157
39158 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39159
39160         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39161         read again.
39162         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39163
39164 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39165
39166         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39167         an exception using FPU order intentionally.
39168
39169 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39170
39171         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39172         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39173         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39174         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39175
39176 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39177
39178         [BZ #12340]
39179         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39180         EINVAL when BUFLEN is too smal.
39181
39182 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39183
39184         [BZ #13553]
39185         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39186         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39187
39188 2012-04-03  Andreas Jaeger  <aj@suse.de>
39189
39190         [BZ #13938]
39191         * manual/setjmp.texi (System V contexts): Fix sentence.
39192
39193         [BZ #13926]
39194         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39195         New macro for this case.
39196         [!__GNUC__] (__bswap_64): New inline function for this case.
39197         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39198         * bits/byteswap.h: Likewise.
39199         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39200         ull, guard with __GLIBC_HAVE_LONG_LONG.
39201
39202         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39203         __GLIBC_HAVE_LONG_LONG.
39204
39205         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39206         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39207
39208 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39209
39210         [BZ #13691]
39211         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39212         inptr and inend, rather than using last_ch.
39213
39214 2012-04-02  David S. Miller  <davem@davemloft.net>
39215
39216         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39217         * stdio-common/printf-parse.h (read_int): Change return type to
39218         'int', return -1 on INT_MAX overflow.
39219         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39220         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39221         overflows INT_MAX.  Check for overflow of in-format-string precision
39222         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39223         SIZE_MAX not INT_MAX for integer overflow test.
39224         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39225         skip the construct in the format string but do not record anything.
39226         * stdio-common/bug22.c: Adjust to test both width/prevision
39227         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39228         explicitly for proper errno values.
39229
39230 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39231
39232         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39233         CHAR_MAX.
39234         * string/test-strcmp.c [! WIDE]: Likewise.
39235         * time/tst-mktime2.c: Likewise for INT_MAX.
39236         * string/test-string.h: #include <sys/param.h> for MIN.
39237
39238         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39239         * sysdeps/i386/init-first.c (init): Likewise.
39240         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39241         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39242         * sysdeps/sh/init-first.c (init): Likewise.
39243
39244 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39245
39246         * po/ru.po: Update from translation team.
39247         * po/vi.po: Likewise.
39248
39249 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39250
39251         * resolv/nss_dns/dns-host.c: Merge copyright years.
39252
39253 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39254
39255         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39256         Optimize memcpy with prefetch if
39257         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39258         src, dst pointers have unequal 16 byte alignments.
39259
39260 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39261
39262         [BZ #13928]
39263         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39264         from a CNAME entry and return the minimum ttl for the query.
39265         (gaih_getanswer_slice): Likewise.
39266
39267 2012-03-30  Jeff Law  <law@redhat.com>
39268
39269         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39270         due to long keys.
39271         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39272         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39273
39274         * resolv/nss_dns/dns-host.c: Update copyright year.
39275
39276 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39277
39278         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39279         requests to save a system call.  Fix check that all bytes are sent.
39280
39281         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39282         comments for sendmmsg.
39283
39284 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39285
39286         [BZ #13691]
39287         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39288         with only 1 character between 0x0041 and 0x01b0.
39289         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39290         * wcsmbs/tst-mbsnrtowcs.c: New file.
39291
39292 2012-03-29  David S. Miller  <davem@davemloft.net>
39293
39294         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39295         small copies by hand.
39296
39297 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39298
39299         [BZ #13761]
39300         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39301         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39302         group memberships.
39303
39304 2012-03-28  David S. Miller  <davem@davemloft.net>
39305
39306         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39307         that branches into memcpy.
39308         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39309         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39310         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39311         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39312         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39313         bits.
39314         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39315         implementation too.
39316         * sysdeps/sparc/mempcpy.S: New file.
39317
39318         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39319         the IFUNC routine in the libc case.
39320         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39321
39322         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39323         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39324         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39325         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39326         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39327         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39328         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39329         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39330
39331         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39332         loop to 256 bytes instead of 64 bytes and fix test signedness.
39333
39334         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39335         * sysdeps/sparc/sparc32/Makefile: rather than here...
39336         * sysdeps/sparc/sparc64/Makefile: and here.
39337
39338 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39339
39340         * malloc/mallocbug.c: Avoid warnings about unused variables.
39341
39342 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39343
39344         [BZ #13760]
39345         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39346         in the right place. Discard and retry query if response is
39347         larger than input buffer size.
39348
39349 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39350
39351         [BZ #369]
39352         [BZ #2678]
39353         [BZ #3866]
39354         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39355         x for large integer exponent.
39356         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39357         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39358         sign of result as needed afterwards.
39359         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39360         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39361         result for underflowing pow the same as for overflow.
39362         (__kernel_standard_l): Handle powl overflow and underflow here
39363         rather than calling __kernel_standard.
39364         * math/libm-test.inc (pow_test): Add more tests.
39365
39366         [BZ #3868]
39367         [BZ #13879]
39368         [BZ #13910]
39369         [BZ #13911]
39370         [BZ #13912]
39371         [BZ #13913]
39372         [BZ #13915]
39373         [BZ #13916]
39374         [BZ #13917]
39375         [BZ #13918]
39376         [BZ #13919]
39377         [BZ #13920]
39378         [BZ #13921]
39379         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39380         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39381         (__kernel_standard_l): New function.
39382         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39383         __kernel_standard.
39384         * math/w_acosl.c (__acosl): Likewise.
39385         * math/w_asinl.c (__asinl): Likewise.
39386         * math/w_atan2l.c (__atan2l): Likewise.
39387         * math/w_atanhl.c (__atanhl): Likewise.
39388         * math/w_coshl.c (__coshl): Likewise.
39389         * math/w_exp10l.c (__exp10l): Likewise.
39390         * math/w_exp2l.c (__exp2l): Likewise.
39391         * math/w_fmodl.c (__fmodl): Likewise.
39392         * math/w_hypotl.c (__hypotl): Likewise.
39393         * math/w_j0l.c (__j0l, __y0l): Likewise.
39394         * math/w_j1l.c (__j1l, __y1l): Likewise.
39395         * math/w_jnl.c (__jnl, __ynl): Likewise.
39396         * math/w_lgammal.c (__lgammal): Likewise.
39397         * math/w_log10l.c (__log10l): Likewise.
39398         * math/w_log2l.c (__log2l): Likewise.
39399         * math/w_logl.c (__logl): Likewise.
39400         * math/w_powl.c (__powl): Likewise.
39401         * math/w_remainderl.c (__remainderl): Likewise.
39402         * math/w_scalbl.c (sysv_scalbl): Likewise.
39403         * math/w_sinhl.c (__sinhl): Likewise.
39404         * math/w_sqrtl.c (__sqrtl): Likewise.
39405         * math/w_tgammal.c (__tgammal): Likewise.
39406         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39407         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39408         * math/libm-test.inc (acos_test): Add more tests.
39409         (acosh_test): Likewise.
39410         (asin_test): Likewise.
39411         (atanh_test): Likewise.
39412         (exp_test): Likewise.
39413         (exp10_test): Likewise.
39414         (exp2_test): Likewise.
39415         (expm1_test): Likewise.
39416         (lgamma_test): Likewise.
39417         (log_test): Likewise.
39418         (log10_test): Likewise.
39419         (log1p_test): Likewise.
39420         (log2_test): Likewise.
39421         (pow_test): Do not allow some spurious overflow exceptions.
39422         (sqrt_test): Add more tests.
39423         (tgamma_test): Likewise.
39424         (y0_test): Likewise.
39425         (y1_test): Likewise.
39426         (yn_test): Likewise.
39427
39428 2012-03-27  Anton Blanchard  <anton@samba.org>
39429
39430         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39431         MAP_HUGETLB.
39432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39433         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39434         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39435
39436 2012-03-27  David S. Miller  <davem@davemloft.net>
39437
39438         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39439
39440         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39441         have-as-vis3 check.
39442
39443 2012-03-27  Andreas Jaeger  <aj@suse.de>
39444
39445         * sysdeps/x86_64/elf/configure.in: Moved to ...
39446         * sysdeps/x86_64/configure.in: ... here.
39447         * sysdeps/x86_64/elf/start.S: Moved to ...
39448         * sysdeps/x86_64/start.S: ... here.
39449         * sysdeps/x86_64/elf/configure: Delete.
39450
39451         * sysdeps/x86_64/configure.in: Merge contents from
39452         sysdeps/i386/configure.in (without i686 check).
39453
39454         * sysdeps/i386/elf/Versions: Merge into ...
39455         * sysdeps/i386/Versions: ... this.
39456         * sysdeps/i386/elf/Versions: Delete file.
39457         * sysdeps/i386/elf/start.S: Moved to ...
39458         * sysdeps/i386/start.S: ...here.
39459         * sysdeps/i386/elf/configure.in: Merge into...
39460         * sysdeps/i386/configure.in: ...here.
39461         * sysdeps/i386/elf/configure.in: Delete file.
39462         * sysdeps/i386/elf/configure: Delete file.
39463
39464         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39465         * debug/backtracesyms.c: ... here.
39466         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39467         * debug/backtracesymsfd.c: ... here.
39468         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39469         * sysdeps/generic/ifunc-sel.h: ... here.
39470
39471         * sysdeps/unix/i386/start.c: Delete file.
39472         * sysdeps/unix/sparc/start.c: Delete file.
39473         * sysdeps/unix/start.c: Delete file.
39474
39475         * sysdeps/sh/elf/configure.in: Moved to ...
39476         * sysdeps/sh/configure.in: ... here.
39477         * sysdeps/sh/elf/start.S: Moved to ...
39478         * sysdeps/sh/start.S: ... here.
39479         * sysdeps/sh/elf/configure: Delete file.
39480
39481         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39482         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39483         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39484         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39485         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39486         * sysdeps/powerpc/powerpc64/start.S: here.
39487         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39488         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39489         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39490         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39491         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39492
39493         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39494         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39495         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39496         * sysdeps/powerpc/powerpc32/start.S: ... here.
39497         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39498         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39499         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39500
39501         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39502         * sysdeps/powerpc/ifunc-sel.h: ... here.
39503         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39504         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39505
39506         * sysdeps/sparc/elf/configure.in: Moved to ...
39507         * sysdeps/sparc/configure.in: ... here.
39508         * sysdeps/sparc/elf/configure: Delete file.
39509         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39510         * sysdeps/sparc/sparc32/start.S: ... here.
39511         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39512         * sysdeps/sparc/sparc64/start.S: ... here.
39513         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39514         * sysdeps/sparc/sparc32/Makefile: ... this.
39515         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39516         * sysdeps/sparc/sparc64/Makefile: ... this.
39517
39518         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39519         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39520         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39521         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39522         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39523         * sysdeps/s390/s390-32/setjmp.S: ... here.
39524         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39525         * sysdeps/s390/s390-32/configure.in: ... here.
39526         * sysdeps/s390/s390-32/elf/configure: Delete file.
39527         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39528         * sysdeps/s390/s390-32/start.S: ... here.
39529
39530         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39531         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39532         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39533         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39534         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39535         * sysdeps/s390/s390-64/setjmp.S: ... here.
39536         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39537         * sysdeps/s390/s390-64/configure.in: ... here
39538         * sysdeps/s390/s390-64/elf/configure: Delete file.
39539         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39540         * sysdeps/s390/s390-64/start.S: ... here.
39541         * sysdeps/s390/s390-64/elf/configure: Delete.
39542
39543         * configure.in: Remove support for elf directories in sysdeps.
39544
39545         * configure: Regenerated.
39546         * sysdeps/i386/configure: Regenerated.
39547         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39548         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39549         * sysdeps/s390/s390-32/configure: Regenerated.
39550         * sysdeps/s390/s390-64/configure: Regenerated.
39551         * sysdeps/sh/configure: Regenerated.
39552         * sysdeps/sparc/configure: Regenerated.
39553         * sysdeps/x86_64/configure: Regenerated.
39554
39555 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39556
39557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39558
39559         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39560         denormal result into account.
39561
39562 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39563
39564         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39565         Reported by Allan McRae <allan@archlinux.org>.
39566
39567 2012-03-23  Jeff Law  <law@redhat.com>
39568
39569         * nss/getnssent.c (__nss_getent): Fix typo.
39570
39571 2012-03-23  David S. Miller  <davem@davemloft.net>
39572
39573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39574
39575 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39576
39577         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39578         to pad to uint64_t for each field.
39579         (dl_tls_index): Replace unsigned long with uint64_t.
39580
39581 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39582         Paul Pluzhnikov  <ppluzhnikov@google.com>
39583
39584         [BZ #6528]
39585         * grp/Makefile (otherlibs): Don't set it.
39586         * inet/Makefile (otherlibs): Likewise.
39587         * login/Makefile (otherlibs): Likewise.
39588         * nscd/Makefile (otherlibs): Likewise.
39589         * posix/Makefile (otherlibs): Likewise.
39590         * pwd/Makefile (otherlibs): Likewise.
39591         * rt/Makefile (otherlibs): Likewise.
39592         * sunrpc/Makefile (otherlibs): Likewise.
39593         * nss/Makefile (otherlibs): Likewise.
39594         Add libnss_files to routines and static-only-routines.
39595         ($(objpfx)getent): Remove rule.
39596         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39597         static-only-routines.
39598
39599 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39600
39601         [BZ #13892]
39602         * math/s_cexp.c: Include <float.h>.
39603         (__cexp): Handle exp result overflowing not necessarily
39604         overflowing both real and imaginary parts of result.
39605         * math/s_cexpf.c: Likewise.
39606         * math/s_cexpl.c: Likewise.
39607         * math/libm-test.inc (cexp_test): Add more tests.
39608         * sysdeps/i386/fpu/libm-test-ulps: Update.
39609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39610
39611 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39612
39613         * include/link.h (ELFW): New macro.
39614         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39615         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39616
39617 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39618
39619         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39620         with uint64_t.
39621
39622 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39623
39624         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39625         declaration.
39626         (struct La_x32_retval): Likewise.
39627
39628 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39629
39630         * sysdeps/x86_64/preconfigure.in: New file.
39631         * sysdeps/x86_64/preconfigure: New generated file.
39632
39633 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39634
39635         [BZ #13824]
39636         * math/e_exp2l.c: Include <float.h>.
39637         (__ieee754_exp2l): Handle overflow and underflow cases
39638         separately.  Only pass fractional part of argument to
39639         __ieee754_expl.
39640         * math/libm-test.inc (exp2_test): Add more tests.
39641
39642         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39643         negating x to take absolute value.
39644         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39645         Likewise.
39646         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39647         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39648         Likewise.
39649         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39650         computing low part if x was negated.
39651         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39652
39653 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39654
39655         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39656         la_x32_gnu_pltexit.
39657         (pltexit): Cast int_retval to ptrdiff_t.
39658         * elf/tst-auditmod3b.c: Likewise.
39659         * elf/tst-auditmod4b.c: Likewise.
39660         * elf/tst-auditmod5b.c: Likewise.
39661         * elf/tst-auditmod6b.c: Likewise.
39662         * elf/tst-auditmod6c.c: Likewise.
39663         * elf/tst-auditmod7b.c: Likewise.
39664
39665         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39666         and x32_gnu_pltexit.
39667
39668         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39669         __ELF_NATIVE_CLASS.
39670         (La_x32_regs): New macro.
39671         (La_x32_retval): Likewise.
39672         (la_x32_gnu_pltenter): New function prototype.
39673         (la_x32_gnu_pltexit): Likewise.
39674
39675 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39676
39677         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39678         exponent.
39679
39680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39681
39682         * configure.in (libc_cv_cc_nofma): Check for option to disable
39683         generation of FMA instructions.
39684         * configure: Regenerate.
39685         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39686         * sysdeps/ieee754/dbl-64/Makefile: New file.
39687         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39688         Remove brandred-fma4.
39689         (CFLAGS-brandred-fma4.c): Remove.
39690         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39691         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39692         define.
39693         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39694         define.
39695
39696 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39697
39698         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39699         LLONG_MAX != LONG_MAX.
39700         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39701         (_fitoa_word): Likewise.
39702         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39703         LLONG_MAX != LONG_MAX.
39704         * stdio-common/_itowa.h: Include <_itoa.h>.
39705         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39706         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39707         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39708         only if not defined.
39709         (_ITOA_WORD_TYPE): Likewise.
39710         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39711         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39712
39713 2012-03-21  David S. Miller  <davem@davemloft.net>
39714
39715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39716
39717 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39718
39719         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39720         of x86_64 when setting libc_cv_slibdir, libdir and
39721         libc_cv_localedir.
39722         * sysdeps/unix/sysv/linux/configure: Regenerated.
39723
39724 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39725
39726         * manual/lang.texi (Old Varargs): Remove section.
39727         (How Variadic): Update menu.
39728         (va_start): Do not mention varargs.h.
39729
39730 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39731             Joseph Myers  <joseph@codesourcery.com>
39732
39733         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39734         link test.
39735         * configure: Regenerated.
39736
39737 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39738
39739         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39740         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39741         conformtest.pl
39742
39743 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39744
39745         * NOTES: Remove.
39746         * Makefile (files-for-dist): Remove NOTES.
39747         (NOTES): Remove rule.
39748         * README: Don't refer to NOTES.
39749         * manual/creature.texi: Don't include macros.texi.
39750         * manual/intro.texi (creature.texi): Remove comment referring to
39751         NOTES.
39752
39753         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39754         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39755         * configure: Regenerated.
39756         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39757         LIBC_TRY_CC_OPTION.
39758         (libc_cv_as_i686): Likewise.
39759         (libc_cv_cc_avx): Likewise.
39760         (libc_cv_cc_sse2avx): Likewise.
39761         (libc_cv_cc_fma4): Likewise.
39762         (libc_cv_cc_novzeroupper): Likewise.
39763         * sysdeps/i386/configure: Regenerated.
39764
39765         [BZ #13883]
39766         * sysdeps/i386/fpu/s_cexp.S: Remove.
39767         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39768         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39769         * math/libm-test.inc (cexp_test): Add more tests.
39770         * sysdeps/i386/fpu/libm-test-ulps: Update.
39771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39772
39773 2012-03-21  Allan McRae  <allan@archlinux.org>
39774
39775         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39776
39777 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39778
39779         [BZ #13871]
39780         * math/w_exp2.c: Do not include <float.h>.
39781         (o_threshold, u_threshold): Remove.
39782         (__exp2): Calculate result before checking finiteness and calling
39783         __kernel_standard.
39784         * math/w_exp2f.c: Likewise.
39785         * math/w_exp2l.c: Likewise.
39786         * math/libm-test.inc (exp2_test): Require overflow exception for
39787         1e6 input.
39788
39789         [BZ #3866]
39790         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39791         range of signed 64-bit integers before using fistpll.  Remove
39792         checks for whether integers fit in mantissa bits.
39793         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39794         the range of signed 32-bit integers before using fistpl.  Remove
39795         checks for whether integers fit in mantissa bits.
39796         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39797         (__ieee754_powl): Test for y outside the range of signed 64-bit
39798         integers before using fistpll.  Reduce 64-bit values to 63-bit
39799         ones as needed.
39800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39801         divide-by-zero is raised for zero to large negative powers.
39802         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39803         (__ieee754_powl): Test for y outside the range of signed 64-bit
39804         integers before using fistpll.  Reduce 64-bit values to 63-bit
39805         ones as needed.
39806         * math/libm-test.inc (pow_test): Add more tests.
39807
39808 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39809
39810         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39811         <stdio-common/_itoa.h>.
39812         * debug/segfault.c: Likewise.
39813         * elf/dl-cache.c: Likewise.
39814         * elf/dl-minimal.c: Likewise.
39815         * elf/dl-misc.c: Likewise.
39816         * elf/dl-sysdep.c: Likewise.
39817         * elf/dl-version.c: Likewise.
39818         * elf/rtld.c: Likewise.
39819         * hurd/hurdsock.c: Likewise.
39820         * hurd/lookup-retry.c: Likewise.
39821         * malloc/malloc.c: Likewise.
39822         * malloc/mtrace.c: Likewise.
39823         * nscd/nscd_getgr_r.c: Likewise.
39824         * nscd/nscd_getpw_r.c: Likewise.
39825         * nscd/nscd_getserv_r.c: Likewise.
39826         * posix/getopt_init.c: Likewise.
39827         * posix/wordexp.c: Likewise.
39828         * stdio-common/_itoa.c: Likewise.
39829         * stdio-common/printf_fphex.c: Likewise.
39830         * stdio-common/vfprintf.c: Likewise.
39831         * string/_strerror.c: Likewise.
39832         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39833         * sysdeps/i386/i686/hp-timing.h: Likewise.
39834         * sysdeps/mach/_strerror.c: Likewise.
39835         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39836         * sysdeps/mach/hurd/sethostid.c: Likewise.
39837         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39838         * sysdeps/mach/xpg-strerror.c: Likewise.
39839         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39841         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39842         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39843         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39844         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39845         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39846         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39847         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39848         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39849         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39850         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39851         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39852         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39853         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39854         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39855         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39856         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39857         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39858         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39859         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39860
39861         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39862
39863         * stdio-common/_itoa.h: Moved to ...
39864         * sysdeps/generic/_itoa.h: Here.
39865
39866         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39867
39868         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39869         instead of "_itoa.h" and "_itowa.h".
39870         * stdio-common/vfprintf.: Likewise.
39871
39872 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39873
39874         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39875         <bits/wordsize.h>.
39876         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39877         (__signbit): Likwise.
39878         (llrintf): Likwise.
39879         (llrint): Likwise.
39880
39881 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39882
39883         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39884         __WORDSIZE != 64.
39885
39886 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39887
39888         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39889         OVERFLOW_EXCEPTION_OK.
39890         * math/libm-test.inc ("Philosophy"): Update comment about
39891         exception testing.
39892         (OVERFLOW_EXCEPTION): Define.
39893         (OVERFLOW_EXCEPTION_OK): Likewise.
39894         (INVALID_EXCEPTION_OK): Renumber.
39895         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39896         (IGNORE_ZERO_INF_SIGN): Likewise.
39897         (test_exceptions): Handle FE_OVERFLOW.
39898         (exp10_test): Expect overflow exceptions.
39899         (exp2_test): Likewise.
39900         (expm1_test): Likewise.
39901         (nextafter_test): Likewise.
39902         (pow_test): Likewise.
39903         (scalbn_test): Likewise.
39904         (scalbln_test): Likewise.
39905
39906 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39907
39908         * sysdeps/x86_64/bits/atomic.h
39909         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39910         64bit integer.
39911         (atomic_exchange_acq): Likewise.
39912         (__arch_exchange_and_add_body): Likewise.
39913         (__arch_add_body): Likewise.
39914         (atomic_add_negative): Likewise.
39915         (atomic_add_zero): Likewise.
39916
39917 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39918
39919         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39920         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39921
39922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39923
39924         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39925         Check __x86_64__ instead of __WORDSIZE.
39926
39927 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39928
39929         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39930
39931 2012-03-19  David S. Miller  <davem@davemloft.net>
39932
39933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39934
39935         * sysdeps/sparc/fpu/fenv_private.h: New file.
39936         * sysdeps/sparc/fpu/math_private.h: Use it.
39937         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39938         Remove.
39939         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39940         (libc_feholdexcept_setroundl): Remove.
39941         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39942         Remove.
39943         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39944         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39945
39946 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39947
39948         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39949         int64_t instead of long int.
39950         (INSERT_WORDS64): Likwise.
39951
39952 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39953
39954         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39955         _Unwind_GetCFA return to _Unwind_Ptr first.
39956
39957 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39958
39959         [BZ #13629]
39960         * math/s_clog.c: Include <float.h>.
39961         (__clog): Scale large or subnormal inputs.
39962         * math/s_clogf.c: Likewise.
39963         * math/s_clogl.c: Likewise.
39964         * math/s_clog10.c: Include <float.h>.
39965         (M_LOG10_2): Define.
39966         (__clog10): Scale large or subnormal inputs.
39967         * math/s_clog10f.c: Likewise.
39968         * math/s_clog10l.c: Likewise.
39969         * math/libm-test.inc (clog_test): Add more tests.
39970         (clog10_test): Likewise.
39971         * sysdeps/i386/fpu/libm-test-ulps: Update.
39972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39973
39974         [BZ #11451]
39975         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39976         x and y.
39977         * math/libm-test.inc (atan2_test): Add another test.
39978
39979         * Makerules (common-objdir-compile): Remove.
39980         * sysdeps/unix/Makefile (config-generated): Do not add
39981         $(unix-generated) to variable.
39982         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39983         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39984         Remove rule.
39985         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39986         Likewise.
39987         [generic bits/local_lim.h] (before-compile): Do not append to
39988         variable.
39989         [generic bits/local_lim.h] (common-generated): Likewise.
39990         [generic sys/param.h] (before-compile): Do not append to variable.
39991         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39992         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39993         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39994         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39995         include.
39996         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39997         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39998         [generic sys/param.h] ($(addprefix
39999         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40000         [generic sys/param.h] (common-generated): Do not append to
40001         variable.
40002         [generic sys/param.h] (sysdep_headers): Likewise.
40003         [generic bits/errno.h] (before-compile): Do not append to
40004         variable.
40005         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40006         rule.
40007         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40008         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40009         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40010         [generic bits/errno.h] (common-generated): Do not append to
40011         variable.
40012         [generic bits/ioctls.h] (before-compile): Do not append to
40013         variable.
40014         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40015         rule.
40016         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40017         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40018         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40019         rule.
40020         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40021         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40022         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40023         [generic bits/ioctls.h] (common-generated): Do not append to
40024         variable.
40025         [generic sys/syscall.h] (syscall.h): Remove variable.
40026         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40027         rule.
40028         [generic sys/syscall.h] (before-compile): Do not append to
40029         variable.
40030         [generic sys/syscall.h] (common-generated): Likewise.
40031         * sysdeps/unix/errnos-tmpl.c: Remove file.
40032         * sysdeps/unix/errnos.awk: Likewise.
40033         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40034         * sysdeps/unix/ioctls.awk: Likewise.
40035         * sysdeps/unix/mk-local_lim.c: Likewise.
40036         * sysdeps/unix/snarf-ioctls: Likewise.
40037
40038 2012-03-19  Richard Henderson  <rth@twiddle.net>
40039
40040         * sysdeps/i386/fpu/fenv_private.h: New file.
40041         * sysdeps/i386/fpu/math_private.h: Use it.
40042         (math_opt_barrier, math_force_eval): Remove.
40043         (libc_feholdexcept_setround_53bit): Remove.
40044         (libc_feupdateenv_53bit): Remove.
40045         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40046         (math_opt_barrier, math_force_eval): Remove.
40047         (libc_feholdexcept): Remove.
40048         (libc_feholdexcept_setround): Remove.
40049         (libc_fetestexcept, libc_fesetenv): Remove.
40050         (libc_feupdateenv_test): Remove.
40051         (libc_feupdateenv, libc_feholdsetround): Remove.
40052         (libc_feresetround): Remove.
40053
40054         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40055         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40056
40057         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40058         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40059         (libc_feupdateenv_testl): New.
40060         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40061         (libc_feupdateenv_testf): New.
40062         (libc_feupdateenv): Use libc_feupdateenv_test.
40063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40064         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40065
40066         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40067         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40068         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40069         (libc_feresetround_noex): New.
40070         (libc_feresetround_noexf): New.
40071         (libc_feresetround_noexl): New.
40072         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40073         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40074         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40075         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40076         SET_RESTORE_ROUND.
40077         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40078         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40079         (__cos): Likewise.
40080         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40081         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40082         SET_RESTORE_ROUND_NOEX.
40083         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40084         SET_RESTORE_ROUND_NOEXF.
40085         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40086         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40087         (libc_feholdsetroundf): New.
40088         (libc_feresetround, libc_feresetroundf): New.
40089
40090         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40091         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40092         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40093
40094         * sysdeps/generic/math_private.h: Include <fenv.h>.
40095         (default_libc_feholdexcept): New.
40096         (default_libc_feholdexcept_setround): New.
40097         (default_libc_fesetenv, default_libc_feupdateenv): New.
40098         (libc_feholdexcept): Only define if undefined.
40099         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40100         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40101         (libc_feholdexcept_setroundl): Likewise.
40102         (libc_feholdexcept_setround_53bit): Likewise.
40103         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40104         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40105         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40106         (libc_feupdateenv_53bit): Likewise.
40107         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40108         (libc_feholdexcept): Convert from macro to inline function.
40109         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40110         (libc_fesetenv, libc_feupdateenv): Likewise.
40111
40112         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40113         not previously defined.
40114         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40115         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40116         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40117         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40118         * sysdeps/ieee754/flt-32/math_private.h: New file.
40119         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40120         math_private.h below SET_FLOAT_WORD.
40121         (__isnan, __isinf_ns, __finite): Remove.
40122         (__isnanf, __isinf_nsf, __finitef): Remove.
40123
40124 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40125
40126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40127
40128 2012-03-17  David S. Miller  <davem@davemloft.net>
40129
40130         [BZ #6471]
40131         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40132         for 2.16.
40133
40134 2012-03-16  David S. Miller  <davem@davemloft.net>
40135
40136         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40137         warnings.
40138
40139         [BZ #6471]
40140         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40141         properly.
40142         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40143         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40144         sysdep_routines when subdir is sysvipc.
40145         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40146         __getshmlba helper.
40147
40148         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40149
40150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40151
40152         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40153         [__LP64__].
40154
40155 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40156
40157         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40158         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40159         (__lround): Renamed to ...
40160         (__llround): This.  Replace long int with long long int.
40161         Define lround functions as aliases of llround functions.
40162         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40163
40164 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40165
40166         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40167         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40168         adresses to uintptr_t.  Replace "long int" and "unsigned long
40169         int" with "greg_t" on va_arg.
40170
40171 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40172
40173         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40174         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40175
40176         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40177         Move e_machine check before EI_CLASS check.  Handle x32
40178         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40179         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40180         SKIP_EM_IA_64 and include
40181         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40182
40183         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40184         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40185         (add_system_dir): New macro.
40186
40187         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40188         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40189
40190 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40191
40192         [BZ #2551]
40193         [BZ #2552]
40194         [BZ #2553]
40195         [BZ #2554]
40196         [BZ #2562]
40197         [BZ #2563]
40198         [BZ #2565]
40199         [BZ #2566]
40200         [BZ #2576]
40201         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40202         (y0): Likewise.
40203         * math/w_j0f.c (j0f): Likewise.
40204         (y0f): Likewise.
40205         * math/w_j0l.c (__j0l): Likewise.
40206         (__y0l): Likewise.
40207         * math/w_j1.c (j1): Likewise.
40208         (y1): Likewise.
40209         * math/w_j1f.c (j1f): Likewise.
40210         (y1f): Likewise.
40211         * math/w_j1l.c (__j1l): Likewise.
40212         (__y1l): Likewise.
40213         * math/w_jn.c (jn): Likewise.
40214         (yn): Likewise.
40215         * math/w_jnf.c (jnf): Likewise.
40216         (ynf): Likewise.
40217         * math/w_jnl.c (__jnl): Likewise.
40218         (__ynl): Likewise.
40219         * math/libm-test.inc (j0_test): Add more tests.
40220         (j1_test): Likewise.
40221         (jn_test): Likewise.  Add trailing semicolon to existing test.
40222         (y0_test): Likewise.
40223         (y1_test): Likewise.
40224         * sysdeps/i386/fpu/libm-test-ulps: Update.
40225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40226
40227         [BZ #13851]
40228         [BZ #13854]
40229         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40230         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40231         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40232         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40233         (__tanl): Set errno for infinite argument.
40234         * sysdeps/i386/fpu/mptan.c: Remove.
40235         * sysdeps/i386/fpu/s_tan.S: Likewise.
40236         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40237         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40238         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40239         * math/libm-test.inc (tan_test): Add more tests and enable more
40240         tests for double and long double.
40241         * sysdeps/i386/fpu/libm-test-ulps: Update.
40242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40243
40244 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40245
40246         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40247         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40248
40249 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40250
40251         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40252         * configure.in: Use it for both main tree and add-ons.
40253         * configure: Regenerated.
40254
40255 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40256
40257         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40258
40259 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40260
40261         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40262         in comment.
40263
40264         [BZ #13851]
40265         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40266         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40270         infinite argument.
40271         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40272         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40273         != 0 for prec == 2.
40274         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40275         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40276         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40277         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40278         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40279         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40280         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40281         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40282         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40283         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40284         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40285         * math/libm-test.inc (cos_test): Add more tests and enable more
40286         tests for long double.
40287         (sin_test): Likewise.
40288         (sincos_test): Likewise.
40289         * sysdeps/i386/fpu/libm-test-ulps: Update.
40290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40291
40292 2012-03-16  David S. Miller  <davem@davemloft.net>
40293
40294         * sysdeps/sparc/fpu/math_private.h: New file.
40295
40296 2012-03-15  David S. Miller  <davem@davemloft.net>
40297
40298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40299         file.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40302         file.
40303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40309         sysdep routines.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40311
40312         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40313         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40314
40315         * sysdeps/sparc/sparc-ifunc.h: New file.
40316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40317         sparc-ifunc.h
40318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40320         Likewise.
40321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40322         Likewise.
40323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40327         Likewise.
40328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40333         Likewise.
40334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40335         Likewise.
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40341         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40354         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40355         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40356         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40357         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40358         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40359         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40360
40361 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40362
40363         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40364         scaling.
40365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40366
40367 2012-03-15  Andreas Jaeger  <aj@suse.de>
40368
40369         [BZ #13852]
40370         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40371         ieee754/flt-32 implementation for sin, cos and sincos.
40372         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40373         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40374         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40375         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40376         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40377         ieee754/flt-32 implementation for tan.
40378
40379         * math/libm-test.inc (cos_test): Enable some large input tests for
40380         float as well
40381         (sin_test): Likewise.
40382         (sincos_test): Likewise.
40383         (tan_test): Add tests for large input.
40384
40385         * sysdeps/i386/fpu/libm-test-ulps: Update.
40386
40387 2012-03-15  Andreas Jaeger  <aj@suse.de>
40388
40389         [BZ #13658]
40390         * math/libm-test.inc (cos_test): Add more test cases.
40391         (sin_test): Likewise.
40392         (sincos_test): Likewise.
40393
40394 2012-03-15  Andreas Jaeger  <aj@suse.de>
40395
40396         [BZ #13837]
40397         * math/libm-test.inc (cos_test): Add a test case for large input
40398         value.
40399         (sin_test): Likewise.
40400         (sincos_test): Likewise.
40401
40402 2012-03-15  Andreas Jaeger  <aj@suse.de>
40403             Joseph Myers  <joseph@codesourcery.com>
40404
40405         [BZ #13658]
40406         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40407         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40408         * sysdeps/i386/fpu/branred.c: Likewise.
40409         * sysdeps/i386/fpu/dosincos.c: Likewise.
40410         * sysdeps/i386/fpu/mpa.c: Likewise.
40411         * sysdeps/i386/fpu/s_cos.S: Likewise.
40412         * sysdeps/i386/fpu/s_sin.S: Likewise.
40413         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40414         * sysdeps/i386/fpu/sincos32.c: Likewise.
40415
40416         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40417         Define.
40418         (libc_feupdateenv_53bit): Define.
40419         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40420         Define.
40421         (libc_feupdateenv_53bit): Define.
40422
40423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40424         53 bit (without extend i386 double precision).
40425
40426         * math/libm-test.inc (sincos_test): Add tests for large input.
40427         (sin): Likewise.
40428         (cos): Likewise.
40429
40430         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40431
40432 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40433
40434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40435
40436 2012-03-15  David S. Miller  <davem@davemloft.net>
40437
40438         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40439         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40440         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40441         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40454         file.
40455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40457         file.
40458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40460         file.
40461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40463         file.
40464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40465         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40466         fmin/fmax sysdep routines.
40467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40468
40469 2012-03-14  David S. Miller  <davem@davemloft.net>
40470
40471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40475         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40476         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40478         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40493         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40494         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40495         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40496         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40497         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40498         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40499         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40500         routines.
40501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40502         file.
40503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40505         file.
40506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40508         file.
40509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40511         file.
40512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40514         file.
40515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40517         file.
40518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40519         file.
40520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40521         file.
40522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40523         file.
40524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40525         New file.
40526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40527         file.
40528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40529         file.
40530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40532         file.
40533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40535         file.
40536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40538         file.
40539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40541         VIS3 routines.
40542
40543         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40544         New file.
40545
40546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40547
40548         * sysdeps/sparc/configure.in: New file.
40549         * sysdeps/sparc/configure: Generate.
40550         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40551         * configure: Regenerate.
40552         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40553         * config.make.in (have-as-vis3): New.
40554         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40555         available use -Av9d instead of -Av9a.
40556         * sysdeps/sparc/sparc64/Makefile: Likewise.
40557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40559         New file.
40560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40561         file.
40562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40563         New file.
40564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40565         file.
40566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40567         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40568         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40570         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40571
40572         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40573         fzeros/fnegs to load 0x80000000 into a float register instead of
40574         using the stack.
40575         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40576
40577 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40578
40579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40580         bits/syscall.h.
40581         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40582         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40583         ($(inst_includedir)/bits/syscall.h): Remove rule.
40584         ($(objpfx)bits/syscall.d): Include instead of
40585         $(objpfx)syscall-list.d.
40586         (generated): Change syscall-list.h and syscall-list.d to
40587         bits/syscall.h and bits/syscall.d.
40588
40589 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40590
40591         [BZ #13846]
40592         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40593
40594 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40595
40596         [BZ #13841]
40597         * math/s_csqrt.c: Include <float.h>.
40598         (__csqrt): Scale large or subnormal inputs.
40599         * math/s_csqrtf.c: Likewise.
40600         * math/s_csqrtl.c: Likewise.
40601         * math/libm-test.inc (csqrt_test): Add more tests.
40602         * sysdeps/i386/fpu/libm-test-ulps: Update.
40603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40604
40605         [BZ #13840]
40606         * math/libm-test.inc (hypot_test): Add more tests.
40607
40608 2012-03-13  David S. Miller  <davem@davemloft.net>
40609
40610         [BZ #13840]
40611         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40612         double-precision for the calculation instead of scaling.
40613
40614 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40615
40616         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40617         manipulate bits before adding and subtracting TWO52[sx].
40618         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40619         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40620         Likewise.
40621         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40622
40623 2012-03-13  David S. Miller  <davem@davemloft.net>
40624
40625         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40626         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40628         rtld-global-offsets.h
40629         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40630
40631         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40632         large parameters.
40633
40634         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40635
40636         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40637         'err' in the ifdef scope in which it is actually used.
40638
40639         * nss/nss_db/db-init.c: Include string.h
40640
40641 2012-03-12  David S. Miller  <davem@davemloft.net>
40642
40643         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40644         masking out of the most significant byte of random value used.
40645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40646         Fix coding style in previous change.
40647
40648         * sysdeps/unix/sysv/linux/kernel-features.h
40649         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40650         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40651         expression.
40652         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40653         later.
40654
40655 2012-03-11  David S. Miller  <davem@davemloft.net>
40656
40657         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40658         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40659         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40660         for 'resultvar' otherwise things get truncated on 64-bit.
40661
40662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40663         Fix masking out of the most significant byte of random value used.
40664
40665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40666
40667 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40668
40669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40670
40671 2012-03-09  David S. Miller  <davem@davemloft.net>
40672
40673         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40674         variables with appropriate CPP guards.
40675         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40676         from the frame pointer, not the stack pointer.  Correct layout
40677         comments.  Fix test on resulting framesize and the management of
40678         the outregs buffer for pltexit.  Preserve floating point return
40679         values across _dl_call_pltexit call.
40680         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40681         framesize and the management of the outregs buffer for pltexit.
40682         Preserve floating point return values across _dl_call_pltexit
40683         call.
40684         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40685         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40686         (la_sparc64_gnu_pltexit): New functions.
40687         (print_exit): Fix format string for return register value.
40688
40689 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40690
40691         * sunrpc/Makefile (others): Add rpcgen.
40692         ($(objpfx)rpcgen): Remove special build rule and dependency on
40693         libc.
40694         * sunrpc/rpcgen.c: New file.
40695
40696 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40697
40698         [BZ #13673]
40699         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40700         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40701         * sysdeps/i386/crti.S: Likewise.
40702         * sysdeps/i386/crtn.S: Likewise.
40703         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40704         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40705         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40706         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40707         * sysdeps/sh/crti.S: Likewise.
40708         * sysdeps/sh/crtn.S: Likewise.
40709         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40710
40711         [BZ #13673]
40712         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40713         with URL.
40714         * locale/programs/locfile-kw.gperf: Likewise.
40715         * locale/programs/charmap-kw.h: Regenerated.
40716         * locale/programs/locfile-kw.h: Likewise.
40717
40718         [BZ #13673]
40719         * intl/plural.y: Replace FSF snail mail address with URL.
40720         * intl/plural.c: Regenerated.
40721
40722 2012-03-09  Richard Henderson  <rth@twiddle.net>
40723
40724         * include/math_private.h: Remove file.
40725         * math/math_private.h: Move file ...
40726         * sysdeps/generic/math_private.h: ... here.
40727
40728         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40729         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40730         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40731
40732         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40733         and <math_private.h>.
40734         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40735         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40736         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40737         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40738         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40739         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40740         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40742         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40743         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40745         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40746         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40747         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40748         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40749         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40750         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40751         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40752         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40753         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40755         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40756         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40758         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40759         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40760         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40761         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40764         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40765         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40766         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40767         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40768         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40769         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40770         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40771         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40772         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40773         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40774         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40775         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40776         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40777         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40778         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40779         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40780         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40781         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40782         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40783         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40784         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40785         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40786         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40787         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40788         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40789         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40790         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40791         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40792         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40793         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40794         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40795         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40797         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40798         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40799         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40800         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40801         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40802         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40803         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40804         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40805         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40806         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40807         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40808         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40809         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40810         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40812         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40813         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40814         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40815         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40816         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40817         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40818         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40821         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40822         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40823         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40824         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40825         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40826         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40827         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40828         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40829         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40830         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40831         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40832         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40834         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40835         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40836         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40837         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40838         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40839         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40840         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40841         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40842         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40843         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40844         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40845         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40846         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40847         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40848         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40849         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40850         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40851         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40852         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40853         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40854         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40855         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40856         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40857         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40858         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40859         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40860         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40861         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40862         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40863         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40864         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40865         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40866         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40867         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40868         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40869         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40870         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40871         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40872         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40873         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40874         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40875         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40876         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40877         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40878         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40879         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40880         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40881         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40882         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40883         * sysdeps/ieee754/k_standard.c: Likewise.
40884         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40885         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40886         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40887         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40888         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40889         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40890         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40892         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40893         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40894         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40895         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40896         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40897         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40898         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40899         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40900         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40901         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40902         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40903         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40904         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40905         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40906         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40907         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40908         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40909         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40910         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40911         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40912         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40913         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40914         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40915         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40916         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40917         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40919         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40920         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40921         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40922         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40923         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40924         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40925         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40926         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40927         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40928         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40929         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40930         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40931         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40932         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40935         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40936         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40937         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40938         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40941         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40946         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40987         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40988         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40989         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40999         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41001         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41002         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41003         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41004         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41006         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41008         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41011         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41016         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41018         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41019         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41020         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41024         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41032         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41033         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41034         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41042         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41044         * sysdeps/ieee754/s_lib_version.c: Likewise.
41045         * sysdeps/ieee754/s_matherr.c: Likewise.
41046         * sysdeps/ieee754/s_signgam.c: Likewise.
41047         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41048         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41049         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41050         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41051         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41052         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41053         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41054         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41055         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41056         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41057         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41058         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41059         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41060         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41061         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41062         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41063         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41064         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41065         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41066         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41067         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41068
41069 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41070
41071         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41072         * sunrpc/rpc_main.c: Likewise.
41073         * sunrpc/rpc_svcout.c: Likewise.
41074
41075 2012-03-09  David S. Miller  <davem@davemloft.net>
41076
41077         * include/math_private.h: New file.
41078
41079 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41080
41081         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41082         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41083         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41084         from <bits/socket_type.h>.
41085         (enum __socket_type): Don't define here.
41086         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41088         bits/socket_type.h.
41089
41090         [BZ #13566]
41091         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41092         checking __USE_GNU.
41093
41094         * Makerules ($(inst_includedir)/%.h): New rule.
41095         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41096         (install-others): Remove variable setting.
41097         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41098
41099 2012-03-08  Richard Henderson  <rth@twiddle.net>
41100
41101         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41102         from macro to inline function; merge with the
41103         !__LIBC_INTERNAL_MATH_INLINES version.
41104         (__ieee754_sqrtf): Likewise.
41105
41106         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41107         to inline function.
41108         (__rintf, __floor, __floorf): Likewise.
41109
41110         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41111         macro to inline function.
41112         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41113
41114         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41115         not <math/math_private.h>.
41116
41117 2012-03-08  David S. Miller  <davem@davemloft.net>
41118
41119         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41120         copyright year.
41121         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41122
41123 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41124
41125         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41126         normalization.
41127         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41128         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41129
41130 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41131
41132         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41133         be defined individually, they must be defined as a block.  Define
41134         S for printing a string instead of hidint the different by using a
41135         macro for adding the 'l'.
41136         * stdio-common/tst-fphex-wide.c: Adjust.
41137
41138 2012-03-07  Marek Polacek  <polacek@redhat.com>
41139
41140         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41141
41142 2012-03-08  Marek Polacek  <polacek@redhat.com>
41143
41144         [BZ #13806]
41145         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41146         * stdio-common/tst-fphex.c: Define a few macros to make the
41147         test reusable.  Use them.
41148         * stdio-common/tst-fphex-wide.c: New file.
41149
41150 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41151
41152         [BZ #6911]
41153         * manual/macros.texi (gnusystems): New macro.
41154         (nongnusystems): Likewise.
41155         (gnulinuxhurdsystems): Likewise.
41156         (gnuhurdsystems): Likewise..
41157         (gnulinuxsystems): Likewise.
41158         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41159         variants of the GNU system, not "GNU system".
41160         * manual/conf.texi: Likewise.
41161         * manual/errno.texi: Likewise.  Update example of errno macro
41162         expansion.
41163         * manual/filesys.texi: Likewise.
41164         (getumask): Document as specific to GNU/Hurd.
41165         * manual/install.texi: Likewise.  Reword some references to
41166         GNU/Linux.
41167         * manual/intro.texi: Likewise.
41168         * manual/io.texi: Likewise.
41169         (File Name Portability): Detail which constraints are inapplicable
41170         to all GNU systems and which are only inapplicable to GNU/Hurd.
41171         * manual/job.texi: Likewise.
41172         * manual/llio.texi: Likewise.
41173         (O_NOCTTY): Document as present on GNU/Linux.
41174         * manual/maint.texi: Likewise.
41175         * manual/memory.texi: Likewise.
41176         * manual/pattern.texi: Likewise.
41177         * manual/pipe.texi: Likewise.
41178         * manual/process.texi: Likewise.
41179         * manual/resource.texi: Likewise.
41180         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41181         child on GNU/Hurd.
41182         * manual/setjmp.texi: Likewise.
41183         * manual/signal.texi: Likewise.
41184         * manual/startup.texi: Likewise.
41185         * manual/stdio.texi: Likewise.
41186         * manual/terminal.texi: Likewise.
41187         (ONLCR): Document as POSIX.
41188         (OXTABS): Document availability on GNU/Linux as XTABS.
41189         (ONOEOT): Document availability separately from other bits.
41190         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41191         * manual/time.texi: Likewise.
41192         * manual/users.texi: Likewise.
41193         * INSTALL: Regenerated.
41194         * sysdeps/gnu/errlist.c: Regenerated.
41195
41196         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41197         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41198         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41199         puts.
41200         * configure: Regenerated.
41201
41202 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41203
41204         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41205         default includes instead of AC_HEADER_CHECK.
41206         * sysdeps/i386/configure: Regenerated.
41207
41208         [BZ #10716]
41209         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41210         * math/s_cacoshf.c (__cacoshf): Likewise.
41211         * math/s_cacoshl.c (__cacoshl): Likewise.
41212         * math/s_casinh.c (__casinh): Set signs of result from argument.
41213         * math/s_casinhf.c (__casinhf): Likewise.
41214         * math/s_casinhl.c (__casinhl): Likewise.
41215         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41216         (casinh_test): Add more tests.
41217         * sysdeps/i386/fpu/libm-test-ulps: Update.
41218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41219
41220 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41221
41222         * po/zh_TW.po: Update from translation team.
41223
41224         * login/Makefile (distribute): Remove variable.
41225         * catgets/Makefile: Likewise.
41226         * mach/Makefile: Likewise.
41227         * malloc/Makefile: Likewise.
41228         * misc/Makefile: Likewise.
41229         * iconv/Makefile: Likewise.
41230         * nscd/Makefile: Likewise.
41231         * hurd/Makefile: Likewise.
41232         * manual/Makefile: Likewise.
41233         * locale/Makefile: Likewise.
41234         * intl/Makefile: Likewise.
41235         * conform/Makefile: Likewise.
41236         * nss/Makefile: Likewise.
41237         * time/Makefile: Likewise.
41238         * soft-fp/Makefile: Likewise.
41239         * dirent/Makefile: Likewise.
41240         * gmon/Makefile: Likewise.
41241         * po/Makefile: Likewise.
41242         * rt/Makefile: Likewise.
41243         * socket/Makefile: Likewise.
41244         * math/Makefile: Likewise.
41245         * signal/Makefile: Likewise.
41246         * debug/Makefile: Likewise.
41247         * elf/Makefile: Likewise.
41248         * timezone/Makefile: Likewise.
41249         * stdlib/Makefile: Likewise.
41250         * iconvdata/Makefile: Likewise.
41251         * sunrpc/Makefile: Likewise.
41252         * io/Makefile: Likewise.
41253         * argp/Makefile: Likewise.
41254         * inet/Makefile: Likewise.
41255         * hesiod/Makefile: Likewise.
41256         * grp/Makefile: Likewise.
41257         * csu/Makefile: Likewise.
41258         * wctype/Makefile: Likewise.
41259         * crypt/Makefile: Likewise.
41260         * libio/Makefile: Likewise.
41261         * string/Makefile: Likewise.
41262         * nis/Makefile: Likewise.
41263         * resolv/Makefile: Likewise.
41264         * stdio-common/Makefile: Likewise.
41265         * wcsmbs/Makefile: Likewise.
41266         * dlfcn/Makefile: Likewise.
41267         * posix/Makefile: Likewise.
41268
41269         [BZ #6959]
41270         * timezone/Makefile: Don't install timezone files, just the programs
41271         and scripts.
41272
41273 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41274
41275         * nss/databases.def: Add missing gshadow entry.
41276
41277         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41278
41279 2012-03-06  Marek Polacek  <polacek@redhat.com>
41280
41281         [BZ #13726]
41282         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41283         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41284         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41285         * stdio-common/tst-long-dbl-fphex.c: New file.
41286
41287 2012-03-06  David S. Miller  <davem@davemloft.net>
41288
41289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41290         (set_obp_int): New function.
41291         (get_obp_int): New function.
41292         (__get_clockfreq_via_dev_openprom): Likewise.
41293         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41294         Avoid unused variable warnings on 'val' and use builtin_expect.
41295         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41296         __builtin_expect.
41297         (INLINE_CLONE_SYSCALL): Likewise.
41298
41299 2012-03-05  David S. Miller  <davem@davemloft.net>
41300
41301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41302
41303 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41304
41305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41306
41307         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41308         only for |x| >= 40.
41309         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41310
41311 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41312
41313         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41314         Replace gettimeofday with __vdso_gettimeofday.
41315
41316         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41317         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41318         __vdso_clock_gettime and __vdso_getcpu.
41319
41320         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41321         time with __vdso_time.
41322
41323 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41324
41325         * manual/lang.texi (size_t): Note types to which size_t may be
41326         equivalent with the GNU C Library, but do not describe when
41327         differences between them are significant.
41328
41329 2012-03-05  Andreas Jaeger  <aj@suse.de>
41330
41331         * sysdeps/i386/fpu/libm-test-ulps: Update.
41332
41333 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41334
41335         [BZ #3976]
41336         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41337         (__ieee754_pow): Save and restore rounding mode and use
41338         round-to-nearest for main computations.
41339         * math/libm-test.inc (pow_test_tonearest): New function.
41340         (pow_test_towardzero): Likewise.
41341         (pow_test_downward): Likewise.
41342         (pow_test_upward): Likewise.
41343         (main): Call the new functions.
41344         * sysdeps/i386/fpu/libm-test-ulps: Update.
41345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41346
41347         [BZ #3976]
41348         * math/libm-test.inc (cosh_test_tonearest): New function.
41349         (cosh_test_towardzero): Likewise.
41350         (cosh_test_downward): Likewise.
41351         (cosh_test_upward): Likewise.
41352         (sinh_test_tonearest): Likewise.
41353         (sinh_test_towardzero): Likewise.
41354         (sinh_test_downward): Likewise.
41355         (sinh_test_upward): Likewise.
41356         (main): Call the new functions.
41357         * sysdeps/i386/fpu/libm-test-ulps: Update.
41358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41359
41360 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41361
41362         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41363         default stack guard is set in last bytes.
41364         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41365
41366 2012-03-05  Kees Cook  <keescook@chromium.org>
41367
41368         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41369
41370         [BZ #13656]
41371         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41372         possibly allocate from heap instead of stack.
41373         * stdio-common/bug-vfprintf-nargs.c: New file.
41374         * stdio-common/Makefile (tests): Add nargs overflow test.
41375
41376 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41377
41378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41379
41380 2012-03-03  Marek Polacek  <polacek@redhat.com>
41381
41382         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41383         * math/math_private.h: Likewise.
41384         * stdlib/tst-strtod.c: Likewise.
41385         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41386         * sysdeps/x86_64/bits/atomic.h: Likewise.
41387
41388 2012-03-02  David S. Miller  <davem@davemloft.net>
41389
41390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41394         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41395         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41396         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41397         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41398
41399 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41400
41401         [BZ #13792]
41402         * manual/examples/README: New file, says the example source files
41403         can be used under GPL>=2.
41404         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41405         line containing just "*/".
41406         * manual/examples/add.c: Add copyright header (GPL>=2).
41407         * manual/examples/argp-ex1.c: Likewise.
41408         * manual/examples/argp-ex2.c: Likewise.
41409         * manual/examples/argp-ex3.c: Likewise.
41410         * manual/examples/argp-ex4.c: Likewise.
41411         * manual/examples/atexit.c: Likewise.
41412         * manual/examples/db.c: Likewise.
41413         * manual/examples/dir.c: Likewise.
41414         * manual/examples/dir2.c: Likewise.
41415         * manual/examples/execinfo.c: Likewise.
41416         * manual/examples/filecli.c: Likewise.
41417         * manual/examples/filesrv.c: Likewise.
41418         * manual/examples/fmtmsgexpl.c: Likewise.
41419         * manual/examples/genpass.c: Likewise.
41420         * manual/examples/inetcli.c: Likewise.
41421         * manual/examples/inetsrv.c: Likewise.
41422         * manual/examples/isockad.c: Likewise.
41423         * manual/examples/longopt.c: Likewise.
41424         * manual/examples/memopen.c: Likewise.
41425         * manual/examples/memstrm.c: Likewise.
41426         * manual/examples/mkfsock.c: Likewise.
41427         * manual/examples/mkisock.c: Likewise.
41428         * manual/examples/mygetpass.c: Likewise.
41429         * manual/examples/pipe.c: Likewise.
41430         * manual/examples/popen.c: Likewise.
41431         * manual/examples/rprintf.c: Likewise.
41432         * manual/examples/search.c: Likewise.
41433         * manual/examples/select.c: Likewise.
41434         * manual/examples/setjmp.c: Likewise.
41435         * manual/examples/sigh1.c: Likewise.
41436         * manual/examples/sigusr.c: Likewise.
41437         * manual/examples/stpcpy.c: Likewise.
41438         * manual/examples/strdupa.c: Likewise.
41439         * manual/examples/strftim.c: Likewise.
41440         * manual/examples/strncat.c: Likewise.
41441         * manual/examples/subopt.c: Likewise.
41442         * manual/examples/swapcontext.c: Likewise.
41443         * manual/examples/termios.c: Likewise.
41444         * manual/examples/testopt.c: Likewise.
41445         * manual/examples/testpass.c: Likewise.
41446         * manual/examples/timeval_subtract.c: Likewise.
41447
41448         [BZ #13792]
41449         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41450         function to ...
41451         * manual/timeval_subtract.c.texi: ... here, new file.
41452
41453 2012-03-02  David S. Miller  <davem@davemloft.net>
41454
41455         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41456
41457 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41458
41459         [BZ #3976]
41460         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41461         (__sin): Save and restore rounding mode and use round-to-nearest
41462         for all computations.
41463         (__cos): Save and restore rounding mode and use round-to-nearest
41464         for all computations.
41465         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41466         <fenv.h>.
41467         (tan): Save and restore rounding mode and use round-to-nearest for
41468         all computations.
41469         * math/libm-test.inc (cos_test_tonearest): New function.
41470         (cos_test_towardzero): Likewise.
41471         (cos_test_downward): Likewise.
41472         (cos_test_upward): Likewise.
41473         (sin_test_tonearest): Likewise.
41474         (sin_test_towardzero): Likewise.
41475         (sin_test_downward): Likewise.
41476         (sin_test_upward): Likewise.
41477         (tan_test_tonearest): Likewise.
41478         (tan_test_towardzero): Likewise.
41479         (tan_test_downward): Likewise.
41480         (tan_test_upward): Likewise.
41481         (main): Call the new functions.
41482         * sysdeps/i386/fpu/libm-test-ulps: Update.
41483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41484
41485         [BZ #10135]
41486         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41487         small n, then large n, before computing and testing k+n.
41488         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41489         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41490         Likewise.
41491         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41492         Likewise.
41493         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41494         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41495         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41496         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41497         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41498         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41499         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41500         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41501         * math/libm-test.inc (scalbn_test): Add more tests.
41502         (scalbln_test): Likewise.
41503
41504         * manual/filesys.texi (mode_t): Describe constraints on size and
41505         signedness, not exact equivalence to a particular type.
41506         (ino_t): Likewise.
41507         (ino64_t): Likewise.
41508         (dev_t): Likewise.
41509         (nlink_t): Likewise.
41510         (blkcnt_t): Likewise.
41511         (blkcnt64_t): Likewise.
41512         * manual/llio.texi (off_t): Likewise.
41513
41514         [BZ #3976]
41515         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41516         (__ieee754_exp): Save and restore rounding mode and use
41517         round-to-nearest for all computations.
41518         * math/libm-test.inc (exp_test_tonearest): New function.
41519         (exp_test_towardzero): Likewise.
41520         (exp_test_downward): Likewise.
41521         (exp_test_upward): Likewise.
41522         (main): Call the new functions.
41523         * sysdeps/i386/fpu/libm-test-ulps: Update.
41524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41525
41526 2012-03-01  Chris Demetriou  <cgd@google.com>
41527
41528         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41529         have predictable order.
41530
41531 2012-03-01  David S. Miller  <davem@davemloft.net>
41532
41533         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41534
41535         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41536         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41537         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41538         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41539
41540         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41541         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41542         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41544         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41545         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41546         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41547         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41548         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41549
41550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41551
41552         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41553         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41554         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41555
41556         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41557         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41558         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41559         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41560         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41561         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41562         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41563         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41564         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41565         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41566         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41567         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41569         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41570         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41572         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41573         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41574         * sysdeps/sparc/elf/configure: Regenerated.
41575
41576 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41577
41578         * configure.in (AS, LD): Require binutils 2.20 or later.
41579         * configure: Regenerated.
41580         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41581         as required minimum version.
41582         * INSTALL: Regenerated.
41583
41584         [BZ #2541]
41585         [BZ #4108]
41586         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41587         before squaring exponent.
41588         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41589         bottom long double and 27 bits of top long double before squaring
41590         exponent.
41591         * math/libm-test.inc (erfc_test): Add more tests.
41592         * sysdeps/i386/fpu/libm-test-ulps: Update.
41593         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41595
41596 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41597
41598         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41599         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41600         containing bit-fields.
41601         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41602         * soft-fp/single.h (_FP_UNION_S): Likewise.
41603         * soft-fp/double.h (_FP_UNION_D): Likewise.
41604
41605 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41606
41607         [BZ #13786]
41608         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41609         not include ../strcmp.S.
41610         [USE_AS_STRNCASECMP_L]: Likewise.
41611         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41612         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41613         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41614         (__strncasecmp_l_ia32): Define as alias to
41615         __strncasecmp_l_nonascii.
41616
41617         [BZ #5794]
41618         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41619         * sysdeps/i386/fpu/libm-test-ulps: Update.
41620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41621
41622         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41624
41625 2012-02-29  Jeff Law  <law@redhat.com>
41626
41627         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41628         out of bounds read.
41629
41630 2012-02-29  Marek Polacek  <polacek@redhat.com>
41631
41632         [BZ #13706]
41633         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41634         * elf/Makefile: Add rules to run tst-unused-dep.out.
41635
41636 2012-02-28  David S. Miller  <davem@davemloft.net>
41637
41638         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41639         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41640         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41641         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41642         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41643         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41644
41645 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41646
41647         * math/libm-test.inc (llround_test): Move one test from
41648         lround_test.  Use TEST_f_L in moved test.
41649         (lround_test): Move misplaced test to llround_test.  Add testcase
41650         from bug 2561.
41651
41652 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41653
41654         * sysdeps/x86_64/fpu/e_expf.S: New file.
41655         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41656
41657 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41658
41659         [BZ #13637]
41660         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41661         of remain_len that may cause incomplete multi-byte character and
41662         false match.
41663         * posix/bug-regex33.c: New file.
41664         * posix/Makefile (tests): Add bug-regex33.
41665
41666 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41667
41668         * manual/macros.texi: New file.
41669         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41670         * manual/libc.texinfo: Include macros.texi.
41671         * manual/creatute.texi: Likewise.
41672         * manual/install.texi: Likewise.
41673         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41674         @glibcadj{} in references to the GNU C Library.
41675         * manual/charset.texi: Likewise.
41676         * manual/conf.texi: Likewise.
41677         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41678         when not using those macros.
41679         * manual/creature.texi: Likewise.
41680         * manual/crypt.texi: Likewise.
41681         * manual/errno.texi: Likewise.
41682         * manual/filesys.texi: Likewise.
41683         * manual/header.texi: Likewise.
41684         * manual/install.texi: Likewise.
41685         * manual/intro.texi: Likewise.
41686         * manual/io.texi: Likewise.
41687         * manual/job.texi: Likewise.
41688         * manual/lang.texi: Likewise.
41689         * manual/libc.texiinfo: Likewise.
41690         * manual/llio.texi: Likewise.
41691         * manual/locale.texi: Likewise.
41692         * manual/maint.texi: Likewise.
41693         * manual/math.texi: Likewise.
41694         * manual/memory.texi: Likewise.
41695         * manual/message.texi: Likewise.
41696         * manual/nss.texi: Likewise.
41697         * manual/pattern.texi: Likewise.
41698         * manual/process.texi: Likewise.
41699         * manual/resource.texi: Likewise.
41700         * manual/search.texi: Likewise.
41701         * manual/setjmp.texi: Likewise.
41702         * manual/signal.texi: Likewise.
41703         * manual/socket.texi: Likewise.
41704         * manual/startup.texi: Likewise.
41705         * manual/stdio.texi: Likewise.
41706         * manual/string.texi: Likewise.
41707         * manual/sysinfo.texi: Likewise.
41708         * manual/syslog.texi: Likewise.
41709         * manual/terminal.texi: Likewise.
41710         * manual/time.texi: Likewise.
41711         * manual/users.texi: Likewise.
41712         * INSTALL: Regenerated.
41713         * NOTES: Regenerated.
41714         * sysdeps/gnu/errlist.c: Regenerated.
41715
41716 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41717
41718         * include/dirent.h: Include <dirstream.h> before
41719         <dirent/dirent.h>.
41720
41721 2012-02-28  David S. Miller  <davem@davemloft.net>
41722
41723         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41724         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41725         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41726         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41727
41728 2012-02-27  David S. Miller  <davem@davemloft.net>
41729
41730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41732         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41733         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41734
41735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41736         frame pointer instead of stack pointer relative arg slot.
41737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41738         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41739         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41740
41741 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41742
41743         [BZ #3992]
41744         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41745
41746 2012-02-27  David S. Miller  <davem@davemloft.net>
41747
41748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41752         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41753         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41754         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41755         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41756
41757 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41758
41759         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41760         later.  Allow versions 5-9.
41761         * configure: Regenerated.
41762         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41763         required minimum version and 4.6 as recommended version.  Do not
41764         mention bugs in GCC 2.7 and 2.8.
41765         * INSTALL: Regenerated.
41766
41767 2012-02-27  David S. Miller  <davem@davemloft.net>
41768
41769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41773         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41774         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41775         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41776         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41777
41778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41779         manipulate bits before adding and subtracting TWO112[sx].
41780         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41781
41782 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41783
41784         [BZ #13775]
41785         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41786         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41787         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41788         being in POSIX, because they are in 1003.1-2008.
41789
41790         * rt/tst-aio.c: Include <fcntl.h>.
41791         * rt/tst-aio7.c: Likewise.
41792         * rt/tst-aio64.c: Likewise.
41793
41794         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41795
41796 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41797
41798         * manual/install.texi (--with-headers): Describe headers as
41799         interface headers, not private headers.
41800         (Specific advice for GNU/Linux systems): Describe use of headers
41801         from "make headers_install", not private headers from older
41802         kernels.
41803         * INSTALL: Regenerated.
41804         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41805         Change to 2.6.19.
41806         * sysdeps/unix/sysv/linux/configure: Regenerated.
41807
41808         * manual/llio.texi (fclean): Remove documentation.
41809
41810         * manual/Makefile (libc-texi-generated): New variable.  Include
41811         version.texi.
41812         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41813         $(libc-texi-generated), not duplicated list of files.
41814         (version.texi, stamp-version): New rules.
41815         (realclean): Remove $(libc-texi-generated), not individual files
41816         from that list.  Do not remove dir-add.texinfo.
41817         * manual/libc.texinfo: Comment out uses of edition numbers and
41818         references to printed manual.  Remove last-updated dates.
41819         (EDITION): Comment out.
41820         (ISBN): Likewise.
41821         (VERSION, UPDATED): Remove.
41822         (version.texi): Include.
41823
41824 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41825
41826         * sysdeps/posix/spawni.c: Include <signal.h>.
41827         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41828         * sysdeps/pthread/aio_fsync.c: Likewise.
41829
41830 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41831
41832         * conform/Makefile (tests): Run only when not cross-compiling and
41833         when fast-check is not defined.
41834
41835         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41836         * conform/data/limits.h-data: Fixes for POSIX2008.
41837         * conform/run-conformtest.sh: Run all tests.
41838         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41839         headers.
41840         * include/bits/dlfcn.h: Likewise.
41841         * include/langinfo.h: Likewise.
41842         * include/monetary.h: Likewise.
41843         * include/sys/poll.h: Likewise.
41844
41845         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41846         for __USE_GNU.
41847         * posix/spawn.h: Define __need_sigset_t.
41848         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41849         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41850         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41851         to get sigevent_t only.
41852         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41853         only for __USE_GNU.
41854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41855         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41856         process_vm_writev only for __USE_GNU.
41857         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41858
41859         * conform/Makefile: For now ignore errors from run-conformtest.
41860         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41861         POSIX to avoid namespace pollution.  Don't prepend headers.
41862         * conform/data/aio.h-data: Fixes for POSIX testing.
41863         * conform/data/fcntl.h-data: Likewise.
41864         * conform/data/glob.h-data: Likewise.
41865         * conform/data/grp.h-data: Likewise.
41866         * conform/data/pthread.h-data: Likewise.
41867         * conform/data/pwd.h-data: Likewise.
41868         * conform/data/signal.h-data: Likewise.
41869         * conform/data/spawn.h-data: Likewise.
41870         * conform/data/stdio.h-data: Likewise.
41871         * conform/data/stdlib.h-data: Likewise.
41872         * conform/data/stropts.h-data: Likewise.
41873         * conform/data/sys/mman.h-data: Likewise.
41874         * conform/data/sys/stat.h-data: Likewise.
41875         * conform/data/sys/types.h-data: Likewise.
41876         * conform/data/sys/wait.h-data: Likewise.
41877         * conform/data/time.h-data: Likewise.
41878         * conform/data/unistd.h-data: Likewise.
41879         * conform/data/utime.h-data: Likewise.
41880
41881         * io/sys/stat.h: fchmod was always in POSIX.
41882         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41883         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41884         * rt/aio.h: Define __need_timespec before including <time.h>.
41885         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41886         struct.  Add forward declaration of pthread_attr_t and use it in
41887         sigevent.
41888         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41889         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41890         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41891         always remove CLK_TCK definition.
41892
41893 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41894
41895         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41896
41897 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41898
41899         * conform/run-conformtest.sh: New file.
41900         * conform/Makefile: Run run-conformtest for tests.
41901         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41902         support.
41903
41904         * conform/data/uchar.h-data: New file.
41905         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41906         * conform/data/arpa/inet.h-data: Likewise.
41907         * conform/data/assert.h-data: Likewise.
41908         * conform/data/complex.h-data: Likewise.
41909         * conform/data/cpio.h-data: Likewise.
41910         * conform/data/ctype.h-data: Likewise.
41911         * conform/data/dirent.h-data: Likewise.
41912         * conform/data/dlfcn.h-data: Likewise.
41913         * conform/data/errno.h-data: Likewise.
41914         * conform/data/fcntl.h-data: Likewise.
41915         * conform/data/float.h-data: Likewise.
41916         * conform/data/fmtmsg.h-data: Likewise.
41917         * conform/data/fnmatch.h-data: Likewise.
41918         * conform/data/ftw.h-data: Likewise.
41919         * conform/data/glob.h-data: Likewise.
41920         * conform/data/grp.h-data: Likewise.
41921         * conform/data/iconv.h-data: Likewise.
41922         * conform/data/inttypes.h-data: Likewise.
41923         * conform/data/langinfo.h-data: Likewise.
41924         * conform/data/libgen.h-data: Likewise.
41925         * conform/data/limits.h-data: Likewise.
41926         * conform/data/locale.h-data: Likewise.
41927         * conform/data/math.h-data: Likewise.
41928         * conform/data/monetary.h-data: Likewise.
41929         * conform/data/mqueue.h-data: Likewise.
41930         * conform/data/ndbm.h-data: Likewise.
41931         * conform/data/net/if.h-data: Likewise.
41932         * conform/data/netdb.h-data: Likewise.
41933         * conform/data/netinet/in.h-data: Likewise.
41934         * conform/data/nl_types.h-data: Likewise.
41935         * conform/data/poll.h-data: Likewise.
41936         * conform/data/pthread.h-data: Likewise.
41937         * conform/data/pwd.h-data: Likewise.
41938         * conform/data/regex.h-data: Likewise.
41939         * conform/data/sched.h-data: Likewise.
41940         * conform/data/search.h-data: Likewise.
41941         * conform/data/semaphore.h-data: Likewise.
41942         * conform/data/setjmp.h-data: Likewise.
41943         * conform/data/signal.h-data: Likewise.
41944         * conform/data/spawn.h-data: Likewise.
41945         * conform/data/stdarg.h-data: Likewise.
41946         * conform/data/stdio.h-data: Likewise.
41947         * conform/data/stdlib.h-data: Likewise.
41948         * conform/data/string.h-data: Likewise.
41949         * conform/data/strings.h-data: Likewise.
41950         * conform/data/stropts.h-data: Likewise.
41951         * conform/data/sys/ipc.h-data: Likewise.
41952         * conform/data/sys/mman.h-data: Likewise.
41953         * conform/data/sys/msg.h-data: Likewise.
41954         * conform/data/sys/resource.h-data: Likewise.
41955         * conform/data/sys/select.h-data: Likewise.
41956         * conform/data/sys/sem.h-data: Likewise.
41957         * conform/data/sys/shm.h-data: Likewise.
41958         * conform/data/sys/socket.h-data: Likewise.
41959         * conform/data/sys/stat.h-data: Likewise.
41960         * conform/data/sys/statvfs.h-data: Likewise.
41961         * conform/data/sys/time.h-data: Likewise.
41962         * conform/data/sys/timeb.h-data: Likewise.
41963         * conform/data/sys/times.h-data: Likewise.
41964         * conform/data/sys/types.h-data: Likewise.
41965         * conform/data/sys/uio.h-data: Likewise.
41966         * conform/data/sys/un.h-data: Likewise.
41967         * conform/data/sys/utsname.h-data: Likewise.
41968         * conform/data/sys/wait.h-data: Likewise.
41969         * conform/data/syslog.h-data: Likewise.
41970         * conform/data/tar.h-data: Likewise.
41971         * conform/data/termios.h-data: Likewise.
41972         * conform/data/utime.h-data: Likewise.
41973         * conform/data/utmpx.h-data: Likewise.
41974         * conform/data/varargs.h-data: Likewise.
41975         * conform/data/wchar.h-data: Likewise.
41976         * conform/data/wctype.h-data: Likewise.
41977         * conform/data/wordexp.h-data: Likewise.
41978
41979         * include/stropts.h: New file.
41980         * include/uchar.h: New file.
41981         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41982         * include/assert.h: Likewise.
41983         * include/ctype.h: Likewise.
41984         * include/dirent.h: Likewise.
41985         * include/dlfcn.h: Likewise.
41986         * include/fcntl.h: Likewise.
41987         * include/fnmatch.h: Likewise.
41988         * include/glob.h: Likewise.
41989         * include/grp.h: Likewise.
41990         * include/libio.h: Likewise.
41991         * include/locale.h: Likewise.
41992         * include/math.h: Likewise.
41993         * include/net/if.h: Likewise.
41994         * include/netdb.h: Likewise.
41995         * include/netinet/in.h: Likewise.
41996         * include/pthread.h: Likewise.
41997         * include/pwd.h: Likewise.
41998         * include/regex.h: Likewise.
41999         * include/sched.h: Likewise.
42000         * include/search.h: Likewise.
42001         * include/setjmp.h: Likewise.
42002         * include/signal.h: Likewise.
42003         * include/stdio.h: Likewise.
42004         * include/stdlib.h: Likewise.
42005         * include/string.h: Likewise.
42006         * include/sys/cdefs.h: Likewise.
42007         * include/sys/mman.h: Likewise.
42008         * include/sys/msg.h: Likewise.
42009         * include/sys/resource.h: Likewise.
42010         * include/sys/select.h: Likewise.
42011         * include/sys/socket.h: Likewise.
42012         * include/sys/stat.h: Likewise.
42013         * include/sys/statvfs.h: Likewise.
42014         * include/sys/time.h: Likewise.
42015         * include/sys/times.h: Likewise.
42016         * include/sys/uio.h: Likewise.
42017         * include/sys/utsname.h: Likewise.
42018         * include/sys/wait.h: Likewise.
42019         * include/termios.h: Likewise.
42020         * include/time.h: Likewise.
42021         * include/ulimit.h: Likewise.
42022         * include/unistd.h: Likewise.
42023         * include/utime.h: Likewise.
42024         * include/wchar.h: Likewise.
42025         * include/wctype.h: Likewise.
42026         * include/wordexp.h: Likewise.
42027
42028         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42029
42030         * time/time.h: TIME_UTC must be a macro.
42031         Make timespec_get available for ISO C11 only as well.
42032
42033 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42034
42035         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42036         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42037
42038 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42039
42040         * configure.in: Use -o not -a in test for unsupported multi-arch.
42041
42042 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42043
42044         * manual/texinfo.tex: Update to version 2012-01-19.16.
42045
42046 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42047
42048         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42049
42050 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42051
42052         [BZ #13738]
42053         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42054         * manual/fdl-1.3.texi: New file.
42055         * manual/fdl-1.1.texi: File removed.
42056
42057         [BZ #13738]
42058         * manual/libc.texinfo (FDL_VERSION): New @set.
42059         Use it for mention of FDL in cover text.
42060         (Documentation License): Use it in @include file name.
42061
42062 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42063             Roland McGrath  <roland@hack.frob.com>
42064
42065         [BZ #5461]
42066         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42067         (not LONG_LONG_MAX and LONG_LONG_MIN.
42068         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42069         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42070         name.
42071         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42072
42073 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42074
42075         [BZ #2547]
42076         [BZ #11365]
42077         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42078         manipulate bits before adding and subtracting TWO23[sx].
42079         * math/libm-test.inc (nearbyint_test): Add more tests.
42080
42081 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42082
42083         [BZ #2548]
42084         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42085         bits before adding and subtracting TWO23[sx].
42086         * math/libm-test.inc (rint_test): Add more tests.
42087         (rint_test_tonearest): Likewise.
42088         (rint_test_towardzero): Likewise.
42089         (rint_test_downward): Likewise.
42090         (rint_test_upward: Likewise.
42091
42092 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42093
42094         [BZ #10110]
42095         * include/stdc-predef.h: New file.  Extracted from features.h.
42096         * include/features.h: Include stdc-predef.h.
42097         * Makefile (headers): Add stdc-predef.h.
42098         * CONFORMANCE (Compiler limitations): Update.
42099
42100 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42101
42102         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42103
42104 2012-02-21  David S. Miller  <davem@davemloft.net>
42105
42106         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42107         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42108
42109 2012-02-20  David S. Miller  <davem@davemloft.net>
42110
42111         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42112         using a normal save/restore sequence, rather than allocating a
42113         dummy stack frame just to store a frame pointer and restore.
42114         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42115
42116 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42117
42118         * manual/install.texi: Fix stray word in line-wrapped comment.
42119
42120 2012-02-20  David S. Miller  <davem@davemloft.net>
42121
42122         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42123         both binutils and gcc support GOTDATA.
42124
42125         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42126         "rd %pc" in the PIC register setup sequences.
42127
42128         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42129         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42130         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42131         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42132         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42134         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42135         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42137         (SYSCALL_ERROR_HANDLER): Likewise.
42138         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42139         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42141         (SYSCALL_ERROR_HANDLER): Likewise.
42142
42143         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42144         (HAVE_GCC_GOTDATA): New.
42145         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42146         relocation support in both binutils and gcc.
42147         * sysdeps/sparc/elf/configure: Regenerate.
42148
42149         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42150         * sysdeps/sparc/sparc32/elf/configure: Delete.
42151         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42152         * sysdeps/sparc/sparc64/elf/configure: Delete.
42153         * sysdeps/sparc/elf/configure.in: New file.
42154         * sysdeps/sparc/elf/configure: Generate.
42155
42156         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42157         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42158         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42159         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42160         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42161
42162 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42163
42164         * manual/install.texi: Do not mention specific glibc version
42165         numbers.
42166         * manual/libc.texinfo (VERSION, UPDATED): Update.
42167         (@copying): Use @copyright{} and range of years.
42168
42169 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42170
42171         [BZ #13695]
42172         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42173         [crti.S not in sysdirs] (generated): Do not append.
42174         [crti.S not in sysdirs] (omit-deps): Likewise.
42175         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42176         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42177         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42178         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42179         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42180         Likewise.
42181         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42182         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42183         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42184         * csu/defs.awk: Remove file.
42185         * sysdeps/generic/initfini.c: Likewise.
42186         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42187         variable.
42188         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42189         Likewise.
42190
42191 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42192
42193         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42194         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42195         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42196         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42197         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42198         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42199         <bits/epoll.h>.
42200         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42201         (__EPOLL_PACKED): Define to empty if not defined by
42202         <bits/epoll.h>.
42203         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42205         bits/epoll.h.
42206
42207 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42208
42209         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42210         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42211         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42212         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42213         <bits/timerfd.h>.
42214         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42216         bits/timerfd.h.
42217
42218 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42219
42220         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42221         in C locale.
42222         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42223         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42224         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42226
42227 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42228
42229         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42230         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42231
42232 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42233
42234         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42235         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42236         defined.
42237         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42238         Likewise.
42239         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42240         entry for 2.16.
42241
42242 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42243
42244         * math/w_acos.c: Use non-signaling floating-point comparisons.
42245         * math/w_acosf.c: Likewise.
42246         * math/w_acosh.c: Likewise.
42247         * math/w_acoshf.c: Likewise.
42248         * math/w_acoshl.c: Likewise.
42249         * math/w_acosl.c: Likewise.
42250         * math/w_asin.c: Likewise.
42251         * math/w_asinf.c: Likewise.
42252         * math/w_asinl.c: Likewise.
42253         * math/w_atanh.c: Likewise.
42254         * math/w_atanhf.c: Likewise.
42255         * math/w_atanhl.c: Likewise.
42256         * math/w_exp2.c: Likewise.
42257         * math/w_exp2f.c: Likewise.
42258         * math/w_exp2l.c: Likewise.
42259         * math/w_j0.c: Likewise.
42260         * math/w_j0f.c: Likewise.
42261         * math/w_j0l.c: Likewise.
42262         * math/w_j1.c: Likewise.
42263         * math/w_j1f.c: Likewise.
42264         * math/w_j1l.c: Likewise.
42265         * math/w_jn.c: Likewise.
42266         * math/w_jnf.c: Likewise.
42267         * math/w_log.c: Likewise.
42268         * math/w_log10.c: Likewise.
42269         * math/w_log10f.c: Likewise.
42270         * math/w_log10l.c: Likewise.
42271         * math/w_log2.c: Likewise.
42272         * math/w_log2f.c: Likewise.
42273         * math/w_log2l.c: Likewise.
42274         * math/w_logf.c: Likewise.
42275         * math/w_logl.c: Likewise.
42276         * math/w_sqrt.c: Likewise.
42277         * math/w_sqrtf.c: Likewise.
42278         * math/w_sqrtl.c: Likewise.
42279         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42280         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42281         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42282         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42283         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42284
42285 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42286
42287         [BZ #9739]
42288         * manual/string.texi (strnlen): Use correct parameter name in
42289         equivalent expression.
42290
42291 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42292
42293         [BZ #11174]
42294         * manual/users.texi (seteuid): Consistently use neweuid for
42295         argument name.
42296
42297 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42298
42299         [BZ #13704]
42300         * manual/nss.texi (Services in the NSS configuration): Correct
42301         list of services in example configuration file.
42302
42303 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42304
42305         [BZ #11322]
42306         * manual/arith.texi: Remove statements about negative zero
42307         behaving identically to zero.
42308
42309 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42310
42311         [BZ #5993]
42312         * manual/install.texi: Do not document upgrading from libc5.
42313
42314 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42315
42316         [BZ #4596]
42317         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42318
42319 2012-02-18  David S. Miller  <davem@davemloft.net>
42320
42321         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42322         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42323         %o7 across the call.
42324         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42325         instead.
42326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42327         SETUP_PIC_REG_LEAF.
42328         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42329         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42330         * sysdeps/sparc/crtn.S: Likewise.
42331
42332 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42333
42334         * aout/Makefile: Remove.
42335
42336 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42337
42338         [BZ #13058]
42339         * manual/examples/argp-ex1.c (main): Format definition in GNU
42340         style.
42341         * manual/examples/argp-ex2.c (main): Likewise.
42342         * manual/examples/argp-ex3.c (main): Likewise.
42343         * manual/examples/argp-ex4.c (main): Likewise.
42344         * manual/examples/longopt.c (main): Use new-style prototype
42345         definition.
42346         * manual/examples/strncat.c (main): Specify return type and use
42347         (void) for arguments.
42348         * manual/examples/subopt.c (main): Use char **argv argument.
42349
42350 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42351
42352         [BZ #5077]
42353         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42354         rounding modes.
42355
42356 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42357
42358         [BZ #6907]
42359         * manual/string.texi (strchr): Change when strchrnul is
42360         recommended.
42361
42362 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42363
42364         [BZ #174]
42365         * manual/locale.texi (setlocale): Document LOCPATH.
42366
42367 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42368
42369         [BZ #10210]
42370         * manual/process.texi (execle): Move @dots{} before last argument.
42371
42372 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42373
42374         [BZ #12047]
42375         * manual/charset.texi (Generic Charset Conversion): Fix typo
42376         (LC_TYPE -> LC_CTYPE).
42377
42378 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42379
42380         [BZ #5805]
42381         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42382         (scalbnf): Likewise.
42383         (scalbnl): Likewise.
42384         (scalbln): Likewise.
42385         (scalblnf): Likewise.
42386         (scalblnl): Likewise.
42387         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42388         (vwarnx): Likewise.
42389         (verr): Likewise.
42390         (verrx): Likewise.
42391         * manual/filesys.texi (telldir): Use braces around return type.
42392         * manual/llio.texi (mmap): Add space after comma.
42393         (mmap64): Likewise.
42394         * manual/math.texi (jn): Use @var{} on parameter names.
42395         (jnf): Likewise.
42396         (jnl): Likewise.
42397         (yn): Likewise.
42398         (ynf): Likewise.
42399         (ynl): Likewise.
42400         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42401         line.
42402         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42403         "...".
42404         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42405         (sched_get_priority_max): Likewise.
42406         * manual/signal.texi (sigvec): Add space after comma.
42407         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42408         names.
42409         (if_indextoname): Likewise.
42410         (if_freenameindex): Likewise.
42411         (sendto): Use ',' instead of '.' in prototype.
42412         * manual/startup.texi (syscall): Use @dots{} instead of literal
42413         "...".
42414         * manual/stdio.texi (__fpending): Separate initial words of
42415         paragraph from @deftypefun line.
42416         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42417         "...".
42418         (vsyslog): Use @var{} on parameter names.
42419         * manual/terminal.texi (stty): Use @var{} on parameter names.
42420         * manual/users.texi (getutmp): Use @var{} on parameter names.
42421         (getutmpx): Likewise.
42422
42423 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42424
42425         [BZ #6884]
42426         * manual/stdio.texi (fopen): Fix typos in description of
42427         ",ccs=STRING".
42428
42429 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42430
42431         [BZ #4026]
42432         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42433         get clock_id definition.
42434
42435 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42436
42437         [BZ #4822]
42438         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42439         (madvise): Cast every argument to void on its own.
42440
42441 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42442
42443         [BZ #9902]
42444         * manual/startup.texi (Exit Status): Fix typo.
42445
42446 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42447
42448         [BZ #10140]
42449         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42450         * manual/examples/argp-ex2.c: Likewise.
42451         * manual/examples/argp-ex3.c: Likewise.
42452
42453 2012-02-16  Richard Henderson  <rth@redhat.com>
42454
42455         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42456         * sysdeps/s390/s390-32/initfini.c: Remove.
42457         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42458         * sysdeps/s390/s390-64/initfini.c: Remove.
42459
42460 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42461
42462         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42463         compiler output for sysdeps/generic/initfini.c.
42464         * sysdeps/sh/elf/initfini.c: Remove file.
42465
42466 2012-02-16  David S. Miller  <davem@davemloft.net>
42467
42468         [BZ #11494]
42469         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42470
42471         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42472         * sysdeps/sparc/crti.S: New file.
42473         * sysdeps/sparc/crtn.S: New file.
42474         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42475         * sysdeps/sparc/sparc64/Makefile: Likewise.
42476
42477 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42478
42479         [BZ #3335]
42480         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42481
42482 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42483
42484         [BZ #4822]
42485         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42486
42487         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42488         (write, read, close): Likewise.
42489         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42490
42491 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42492
42493         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42494         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42495         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42496         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42497         <bits/signalfd.h>.
42498         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42499         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42500         bits/signalfd.h.
42501
42502 2012-02-14  Marek Polacek  <polacek@redhat.com>
42503
42504         * sysdeps/x86_64/crti.S: New file.
42505         * sysdeps/x86_64/crtn.S: New file.
42506         * sysdeps/x86_64/elf/initfini.c: Remove file.
42507
42508 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42509
42510         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42511         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42512         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42513         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42514         <bits/inotify.h>.
42515         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42517         bits/inotify.h.
42518
42519 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42520
42521         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42522         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42523         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42524         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42525         <bits/eventfd.h>.
42526         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42528         bits/eventfd.h.
42529
42530 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42531
42532         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42533         __feraiseexcept instead of feraiseexcept.
42534
42535         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42536         nanosleep invocations.
42537         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42538         strings, and add error checking for a nanosleep invocations.
42539
42540 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42541
42542         Replace FSF snail mail address with URLs, as per GNU coding standards.
42543         Most of the snail mail addresses were wrong anyway, and omitting
42544         them makes the source code easier to maintain.  Almost all of the
42545         changes are to license notices and to locale LC_IDENTIFICATION
42546         addresses, except for this one:
42547         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42548         not its snail mail address.
42549
42550 2012-02-09  Richard Henderson  <rth@twiddle.net>
42551
42552         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42553         of kernel-features.h.
42554
42555         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42556
42557 2012-02-08  Marek Polacek  <polacek@redhat.com>
42558
42559         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42560         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42561         * sysdeps/gnu/_G_config.h: Likewise.
42562         * sysdeps/generic/_G_config.h: Likewise.
42563
42564 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42565
42566         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42567         tests.
42568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42569
42570         * sysdeps/powerpc/powerpc32/crti.S: New file.
42571         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42572         * sysdeps/powerpc/powerpc64/crti.S: New file.
42573         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42574
42575         * Makeconfig (have-initfini): Don't set.
42576         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42577         * configure.in (nopic_initfini): Don't substitute.
42578         * config.h.in (HAVE_INITFINI): Don't #undef.
42579         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42580         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42581
42582 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42583
42584         Support crti.S and crtn.S provided directly by architectures.
42585         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42586         [crti.S in sysdirs] (omit-deps): Likewise.
42587         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42588         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42589         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42590         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42591         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42592         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42593         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42594         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42595         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42596         compiler output for sysdeps/generic/initfini.c.
42597         * sysdeps/i386/elf/Makefile: Remove file.
42598         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42599
42600 2012-02-07  Marek Polacek  <polacek@redhat.com>
42601
42602         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42603         * sysdeps/gnu/_G_config.h: Likewise.
42604         * sysdeps/mach/hurd/_G_config.h: Likewise.
42605
42606 2012-02-07  Marek Polacek  <polacek@redhat.com>
42607
42608         * math/Makefile (tests): Add tst-CMPLX2.
42609         * math/tst-CMPLX2.c: New file.
42610
42611 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42612
42613         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42614
42615         * math/libm-test.inc (jn_test): Add missing L suffix.
42616
42617 2012-02-06  Marek Polacek  <polacek@redhat.com>
42618
42619         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42620         * sysdeps/i386/fpu/e_powf.S: Likewise.
42621         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42622         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42623         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42624         * sysdeps/i386/fpu/e_pow.S: Likewise.
42625         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42626         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42627         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42628         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42629         * sysdeps/i386/fpu/e_log2.S: Likewise.
42630         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42631         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42632         * sysdeps/i386/fpu/e_powl.S: Likewise.
42633         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42634         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42635         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42636         * sysdeps/i386/fpu/e_logl.S: Likewise.
42637         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42638         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42639         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42640         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42641         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42642         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42643         * sysdeps/i386/fpu/e_log.S: Likewise.
42644         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42645         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42646         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42647         * sysdeps/i386/fpu/e_logf.S: Likewise.
42648         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42649         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42650         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42651         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42652         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42653         * sysdeps/i386/fpu/e_log10.S: Likewise.
42654         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42655         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42656         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42657         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42658         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42659         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42660         * sysdeps/i386/asm-syntax.h: Likewise.
42661         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42662         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42663         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42664         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42665         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42666         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42667         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42668         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42669         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42670         * sysdeps/powerpc/sysdep.h: Likewise.
42671         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42672         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42673
42674 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42675
42676         [BZ #411]
42677         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42678
42679 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42680
42681         * sysdeps/i386/sysdep.h: Include <features.h>.
42682         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42683         version.
42684
42685 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42686
42687         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42688         Define.
42689         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42690         LOAD_PIC_REG_STR.
42691
42692 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42693
42694         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42695         (SETUP_PIC_REG): Use GET_PC_THUNK.
42696         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42697         macro.
42698
42699 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42700
42701         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42702         for non-PIC compilation.
42703         (SETUP_PIC_REG): Add .p2align directive.
42704         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42705         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42706         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42707         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42708         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42709         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42710         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42711         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42712         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42713         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42714         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42715         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42716         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42717         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42718         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42719         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42720         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42721         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42722         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42723         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42724         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42725         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42726         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42727         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42728         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42729         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42730         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42731         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42732         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42733         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42734         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42735         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42736         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42737         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42738         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42739         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42740         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42741         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42742         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42743         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42744         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42745
42746 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42747
42748         * math/tst-CMPLX.c: Include <stdio.h>.
42749
42750 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42751
42752         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42753         float.
42754         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42755         * sysdeps/sparc/bits/mathdef.h: Likewise.
42756
42757 2012-01-31  Marek Polacek  <polacek@redhat.com>
42758
42759         * libio/libio.h: Don't define _PARAMS.
42760         * locale/programs/config.h: Don't define PARAMS.
42761         * stdlib/strtol_l.c: Likewise.
42762         (__strtol_l): Remove PARAMS from the prototype.
42763
42764 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42765
42766         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42767         names.  Just use the correct names.  Remove unnecessary wrapper
42768         functions.
42769         * malloc/arena.c: Likewise.
42770         * malloc/hooks.c: Likewise.
42771
42772         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42773         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42774         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42775
42776 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42777
42778         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42779         into tail calls.
42780         (update_get_addr): New function.
42781         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42782         GET_ADDR_MODULE parameter.
42783
42784 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42785
42786         * crypt/cert.c: Remove __STDC__ conditionals.
42787         * crypt/crypt-entry.c: Likewise.
42788         * crypt/crypt_util.c: Likewise.
42789         * libio/filedoalloc.c: Likewise.
42790         * libio/fileops.c: Likewise.
42791         * libio/genops.c: Likewise.
42792         * libio/iofclose.c: Likewise.
42793         * libio/iofdopen.c: Likewise.
42794         * libio/iofopen.c: Likewise.
42795         * libio/iofopen64.c: Likewise.
42796         * libio/iogetdelim.c: Likewise.
42797         * libio/iopopen.c: Likewise.
42798         * libio/obprintf.c: Likewise.
42799         * libio/oldfileops.c: Likewise.
42800         * libio/oldiofclose.c: Likewise.
42801         * libio/oldiofdopen.c: Likewise.
42802         * libio/oldiofopen.c: Likewise.
42803         * libio/oldiopopen.c: Likewise.
42804         * libio/wfiledoalloc.c: Likewise.
42805         * libio/wgenops.c: Likewise.
42806         * locale/programs/xmalloc.c: Likewise.
42807         * misc/syslog.c: Likewise.
42808         * stdio-common/xbug.c: Likewise.
42809         * string/memchr.c: Likewise.
42810         * string/memcmp.c: Likewise.
42811         * string/memrchr.c: Likewise.
42812         * string/rawmemchr.c: Likewise.
42813         * sysdeps/posix/getcwd.c: Likewise.
42814         * time/strftime_l.c: Likewise.
42815
42816 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42817
42818         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42819         * config.make.in (config-cflags-sse2avx): Define.
42820         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42821         Fix typo.
42822
42823 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42824
42825         * scripts/config.guess: Update from upstream config git repository.
42826         * scripts/config.sub: Likewise.
42827
42828 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42829
42830         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42831         (EM_NUM): Update.
42832         (R_TILEPRO_*, R_TILEGX_*): New macros.
42833
42834         * scripts/firstversions.awk: Fix bug in version range handling.
42835
42836         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42837
42838         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42839
42840         * include/sys/epoll.h: New file.
42841         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42842         libc_hidden_def.
42843
42844 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42845
42846         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42847         Avoid unnecessary __WORDSIZE == 64 test.
42848         (fmaxf): Use VEX format if possible.
42849         (fmax): Likewise.
42850         (fminf): Likewise.
42851         (fmin): Likewise.
42852
42853         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42854         * math/math_private.h: Remove libc_fegetround* and
42855         libc_fesetround*.
42856         * sysdeps/i386/configure.in: Check for -msse2avx.
42857         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42858         also if SSE2AVX is defined.
42859         Remove libc_fegetround* and libc_fesetround*.
42860         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42861         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42862         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42863         of HAS_YMM_USABLE.
42864         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42865         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42866         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42867         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42868         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42869
42870         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42871
42872 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42873
42874         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42875         size is not set.
42876         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42877
42878 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42879
42880         [BZ #13618]
42881         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42882         relocation.
42883         * Makeconfig (libm): Define.
42884         * elf/Makefile: Add rules to build and run tst-relsort1.
42885         * elf/tst-relsort1.c: New file.
42886         * elf/tst-relsort1mod1.c: New file.
42887         * elf/tst-relsort1mod2.c: New file.
42888
42889 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42890
42891         * math/s_ldexp.c: Remove __STDC__ conditionals.
42892         * math/s_ldexpf.c: Likewise.
42893         * math/s_ldexpl.c: Likewise.
42894         * math/s_nextafter.c: Likewise.
42895         * math/s_nexttowardf.c: Likewise.
42896         * math/s_significand.c: Likewise.
42897         * math/s_significandf.c: Likewise.
42898         * math/s_significandl.c: Likewise.
42899         * math/w_jnl.c: Likewise.
42900         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42901         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42902         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42903         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42904         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42909         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42910         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42911         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42912         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42913         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42914         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42915         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42916         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42917         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42918         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42919         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42920         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42921         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42922         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42924         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42925         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42926         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42927         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42928         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42929         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42930         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42931         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42932         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42933         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42934         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42935         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42936         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42937         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42938         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42939         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42940         * sysdeps/ieee754/k_standard.c: Likewise.
42941         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42942         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42943         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42944         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42945         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42946         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42947         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42948         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42949         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42950         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42951         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42952         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42953         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42954         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42955         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42956         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42957         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42960         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42961         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42963         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42964         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42965         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42970         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42971         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42972         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42973         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42974         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42976         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42977         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42978         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42979         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42980         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42981         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42983         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42984         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42985         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42986         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42987         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42988         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42989         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42990         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42991         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42992         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42993         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42994         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42995         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42996         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42997         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42998         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42999         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43000         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43001         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43002         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43003         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43004         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43005         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43006         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43007         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43008         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43009         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43010         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43011         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43012         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43013         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43014         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43015         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43016         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43017         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43018         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43019         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43020         * sysdeps/ieee754/s_matherr.c: Likewise.
43021         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43022         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43023         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43025
43026 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43027
43028         * crypt/md5.h: Remove __STDC__ conditionals.
43029         * libio/libioP.h: Likewise.
43030         * locale/programs/config.h: Likewise.
43031         * sysdeps/generic/sysdep.h: Likewise.
43032         * sysdeps/i386/asm-syntax.h: Likewise.
43033         * sysdeps/s390/asm-syntax.h: Likewise.
43034         * sysdeps/unix/sysdep.h: Likewise.
43035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43037
43038 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43039
43040         * libio/libio.h: Remove __STDC__ conditionals.
43041         * malloc/obstack.h: Likewise.
43042         * math/complex.h: Likewise.
43043         * math/math.h: Likewise.
43044         * sysdeps/generic/_G_config.h: Likewise.
43045         * sysdeps/gnu/_G_config.h: Likewise.
43046         * sysdeps/mach/hurd/_G_config.h: Likewise.
43047         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43048         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43049         * sysdeps/sparc/bits/mathdef.h: Likewise.
43050
43051 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43052
43053         [BZ #13583]
43054         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43055         Clean up HAS_* macros.
43056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43057         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43058         possible.
43059         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43060         HAS_AVX.
43061         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43062         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43063         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43064         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43065         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43066
43067 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43068
43069         * elf/tst-unique3.cc (gets): Remove declaration.
43070         * elf/tst-unique3lib.cc (gets): Likewise.
43071         * elf/tst-unique3lib2.cc (gets): Likewise.
43072         * elf/tst-unique4.cc (gets): Likewise.
43073
43074 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43075
43076         * include/stdio.h: Add C++ protection.  Add gets declarations and
43077         definitions.
43078         * debug/tst-chk1.c: Don't declare gets here.
43079         * stdio-common/tst-gets.c: Likewise.
43080
43081 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43082
43083         * posix/glob: Remove directory.
43084
43085 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43086
43087         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43088
43089 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43090
43091         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43092         of the non-standard EPFNOSUPPORT.
43093
43094 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43095
43096         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43097         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43098         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43099
43100 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43101
43102         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43103
43104 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43105
43106         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43107         transient errors.
43108         * nscd/grpcache.c (cache_addgr): Likewise.
43109         * nscd/hstcache.c (cache_addhst): Likewise.
43110         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43111         * nscd/pwdcache.c (cache_addpw): Likewise.
43112         * nscd/servicescache.c (cache_addserv): Likewise.
43113
43114 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43115
43116         * malloc/malloc.c: Various cleanups.
43117         * malloc/hooks.c: Likewise.
43118
43119         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43120         * stdlib/bug-fmtmsg1.c: New file.
43121
43122         * stdlib/fmtmsg.c (init): Add missing unlock.
43123         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43124
43125 2012-01-12  Marek Polacek  <polacek@redhat.com>
43126
43127         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43128         and _GNU_SOURCE.
43129
43130 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43131
43132         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43133         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43134         macro to ensure uniqueness of label name.
43135         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43136         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43137
43138 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43139
43140         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43141
43142         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43143         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43144         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43145         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43146
43147 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43148
43149         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43150
43151         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43152         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43153         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43154
43155         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43156
43157         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43158         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43159         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43160         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43161
43162         * math/bits/math-finite.h: Add ldexp support.
43163
43164 2012-01-10  Marek Polacek  <polacek@redhat.com>
43165
43166         * locale/programs/localedef.h (show_archive_content): Add noreturn
43167         attribute.
43168
43169 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43170
43171         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43172
43173 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43174
43175         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43176
43177         * io/Makefile (headers): Add bits/poll2.h.
43178
43179 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43180
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43182         typo #include statement.
43183
43184 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43185
43186         * include/sys/cdefs.h: Define __attribute_alloc_size.
43187         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43188         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43189         * elf/pldd.c: Likewise.
43190         * iconv/iconv_charmap.c: Likewise.
43191         * iconv/iconvconfig.c: Likewise.
43192         * iconv/strtab.c: Likewise.
43193         * locale/programs/locale.c: Likewise.
43194         * locale/programs/localedef.h: Likewise.
43195         * locale/programs/simple-hash.c: Likewise.
43196         * nscd/nscd.h: Likewise.
43197         * nss/makedb.c: Likewise.
43198         * sysdeps/generic/ldconfig.h: Likewise.
43199         * locale/programs/localedef.c: Remove xmalloc prototype.
43200         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43201
43202 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43203
43204         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43205         appropriate.
43206
43207 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43208
43209         * math/Makefile (tests): Add tst-CMPLX.
43210         * math/tst-CMPLX.c: New file.
43211
43212         * math/complex.h (CMPLXL): Fix typo.
43213
43214         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43215         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43216         GLIBC_2.16.
43217         * debug/tst-chk1.c: Add poll and ppoll tests.
43218         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43219         * include/sys/poll.h: Add hidden proto for ppoll.
43220         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43221         * sysdeps/mach/hurd/ppoll.c: Likewise.
43222         * io/ppoll.c: Likewise.
43223         * debug/poll_chk.c: New file.
43224         * debug/ppoll_chk.c: New file.
43225         * include/bits/poll2.h: New file.
43226         * io/bits/poll2.h: New file.
43227
43228         [BZ #1350]
43229         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43230
43231         * configure.in: static is always set to yes.  Remove.
43232         * config.make.in: Don't set build-static.
43233         * Makeconfig: Remove use of build-static.
43234         * dlfcn/Makefile: Likewise.
43235         * elf/Makefile: Likewise.
43236         * math/Makefile: Likewise.
43237         * misc/Makefile: Likewise.
43238         * nptl/Makefile: Likewise.
43239         * sysdeps/mach/hurd/Makefile: Likewise.
43240
43241         * configure.in: PWD_P is not used anymore.
43242         * config.make.in: Remove PWD_P entry.
43243
43244         * configure.in: Remove last remnants of RANLIB.
43245         No need to check for signed size_t anymore.
43246         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43247         and IA-64.
43248         Remove __builtin_expect test because we require at least gcc 3.4.
43249         * aclocal.m4: Likewise.
43250
43251         * wcsmbs/mbrtoc16.c: Implement using towc function.
43252         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43253         * wcsmbs/wcsmbsload.c: Likewise.
43254         * iconv/gconv_simple.c: Likewise.
43255         * iconv/gconv_int.h: Likewise.
43256         * iconv/gconv_builtin.h: Likewise.
43257         * iconv/iconv_prog.c: Remove CHAR16 handling.
43258
43259         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43260
43261         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43262
43263         * configure.in: Remove --with-elf and --enable-bounded options.
43264         Dont set base_machine for ia64.  More non-ELF conditions removed.
43265         Remove testing and setting of leading underscore information.
43266         * config.make.in (build-bounded): Set to no.
43267         * config.h.in: Remove NO_UNDERSCORES entry.
43268         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43269         them.
43270         * csu/start.c: Remove !NO_UNDERSCORE code.
43271         * locale/localeinfo.h: Likewise.
43272         * sysdeps/generic/machine-gmon.h: Likewise.
43273         * sysdeps/generic/sysdep.h: Likewise.
43274         * sysdeps/i386/sysdep.h: Likewise.
43275         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43276         * sysdeps/mach/sysdep.h: Likewise.
43277         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43279         * sysdeps/sh/sysdep.h: Likewise.
43280         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43281         * sysdeps/unix/i386/sysdep.S: Likewise.
43282         * sysdeps/unix/sparc/start.c: Likewise.
43283         * sysdeps/unix/sparc/sysdep.S: Likewise.
43284         * sysdeps/unix/sparc/sysdep.h: Likewise.
43285         * sysdeps/unix/start.c: Likewise.
43286         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43287         * sysdeps/x86_64/sysdep.h: Likewise.
43288
43289 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43290
43291         [BZ #13553]
43292         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43293         for non-gcc.
43294         * argp/argp-fmtstream.h: Use const instead __const.
43295         * argp/argp.h: Likewise.
43296         * assert/assert.h: Likewise.
43297         * bits/fenv.h: Likewise.
43298         * bits/sched.h: Likewise.
43299         * bits/sigset.h: Likewise.
43300         * bits/sigthread.h: Likewise.
43301         * catgets/nl_types.h: Likewise.
43302         * conform/data/pthread.h-data: Likewise.
43303         * crypt/crypt-private.h: Likewise.
43304         * crypt/crypt.h: Likewise.
43305         * crypt/crypt_util.c: Likewise.
43306         * ctype/ctype.h: Likewise.
43307         * debug/execinfo.h: Likewise.
43308         * debug/mbsnrtowcs_chk.c: Likewise.
43309         * debug/mbsrtowcs_chk.c: Likewise.
43310         * debug/wcsnrtombs_chk.c: Likewise.
43311         * debug/wcsrtombs_chk.c: Likewise.
43312         * debug/wcstombs_chk.c: Likewise.
43313         * dirent/dirent.h: Likewise.
43314         * dlfcn/dlfcn.h: Likewise.
43315         * elf/neededtest4.c: Likewise.
43316         * grp/grp.h: Likewise.
43317         * gshadow/gshadow.h: Likewise.
43318         * iconv/gconv.h: Likewise.
43319         * iconv/gconv_int.h: Likewise.
43320         * iconv/gconv_simple.c: Likewise.
43321         * iconv/iconv.h: Likewise.
43322         * iconv/loop.c: Likewise.
43323         * iconv/skeleton.c: Likewise.
43324         * include/aio.h: Likewise.
43325         * include/aliases.h: Likewise.
43326         * include/argz.h: Likewise.
43327         * include/arpa/inet.h: Likewise.
43328         * include/assert.h: Likewise.
43329         * include/dirent.h: Likewise.
43330         * include/dlfcn.h: Likewise.
43331         * include/execinfo.h: Likewise.
43332         * include/fcntl.h: Likewise.
43333         * include/fenv.h: Likewise.
43334         * include/glob.h: Likewise.
43335         * include/grp.h: Likewise.
43336         * include/libintl.h: Likewise.
43337         * include/mntent.h: Likewise.
43338         * include/netdb.h: Likewise.
43339         * include/pwd.h: Likewise.
43340         * include/rpc/netdb.h: Likewise.
43341         * include/sched.h: Likewise.
43342         * include/search.h: Likewise.
43343         * include/shadow.h: Likewise.
43344         * include/signal.h: Likewise.
43345         * include/stdio.h: Likewise.
43346         * include/stdlib.h: Likewise.
43347         * include/string.h: Likewise.
43348         * include/sys/socket.h: Likewise.
43349         * include/sys/stat.h: Likewise.
43350         * include/sys/statfs.h: Likewise.
43351         * include/sys/statvfs.h: Likewise.
43352         * include/sys/syslog.h: Likewise.
43353         * include/sys/time.h: Likewise.
43354         * include/sys/uio.h: Likewise.
43355         * include/time.h: Likewise.
43356         * include/unistd.h: Likewise.
43357         * include/utmp.h: Likewise.
43358         * include/wchar.h: Likewise.
43359         * include/wctype.h: Likewise.
43360         * inet/aliases.h: Likewise.
43361         * inet/arpa/inet.h: Likewise.
43362         * inet/netinet/ether.h: Likewise.
43363         * inet/netinet/in.h: Likewise.
43364         * intl/libintl.h: Likewise.
43365         * io/bits/fcntl2.h: Likewise.
43366         * io/fcntl.h: Likewise.
43367         * io/ftw.h: Likewise.
43368         * io/sys/poll.h: Likewise.
43369         * io/sys/stat.h: Likewise.
43370         * io/sys/statfs.h: Likewise.
43371         * io/sys/statvfs.h: Likewise.
43372         * io/utime.h: Likewise.
43373         * libio/bits/stdio.h: Likewise.
43374         * libio/bits/stdio2.h: Likewise.
43375         * libio/libio.h: Likewise.
43376         * libio/libioP.h: Likewise.
43377         * libio/stdio.h: Likewise.
43378         * locale/lc-ctype.c: Likewise.
43379         * locale/locale.h: Likewise.
43380         * login/utmp.h: Likewise.
43381         * malloc/arena.c: Likewise.
43382         * malloc/malloc.c: Likewise.
43383         * malloc/malloc.h: Likewise.
43384         * malloc/mcheck.c: Likewise.
43385         * malloc/mtrace.c: Likewise.
43386         * math/bits/mathcalls.h: Likewise.
43387         * math/fenv.h: Likewise.
43388         * math/math_private.h: Likewise.
43389         * misc/bits/error.h: Likewise.
43390         * misc/bits/syslog.h: Likewise.
43391         * misc/err.h: Likewise.
43392         * misc/error.h: Likewise.
43393         * misc/fstab.h: Likewise.
43394         * misc/mntent.h: Likewise.
43395         * misc/regexp.h: Likewise.
43396         * misc/search.h: Likewise.
43397         * misc/sgtty.h: Likewise.
43398         * misc/sys/mman.h: Likewise.
43399         * misc/sys/syslog.h: Likewise.
43400         * misc/sys/uio.h: Likewise.
43401         * misc/sys/xattr.h: Likewise.
43402         * misc/ttyent.h: Likewise.
43403         * nis/rpcsvc/ypclnt.h: Likewise.
43404         * nss/nss.h: Likewise.
43405         * posix/bits/unistd.h: Likewise.
43406         * posix/fnmatch.h: Likewise.
43407         * posix/glob.h: Likewise.
43408         * posix/sched.h: Likewise.
43409         * posix/spawn.h: Likewise.
43410         * posix/sys/wait.h: Likewise.
43411         * posix/unistd.h: Likewise.
43412         * posix/wordexp.h: Likewise.
43413         * pwd/pwd.h: Likewise.
43414         * resolv/netdb.h: Likewise.
43415         * resource/sys/resource.h: Likewise.
43416         * rt/aio.h: Likewise.
43417         * rt/bits/mqueue2.h: Likewise.
43418         * rt/mqueue.h: Likewise.
43419         * shadow/shadow.h: Likewise.
43420         * signal/signal.h: Likewise.
43421         * socket/send.c: Likewise.
43422         * socket/sendto.c: Likewise.
43423         * socket/sys/socket.h: Likewise.
43424         * stdio-common/printf.h: Likewise.
43425         * stdlib/bits/stdlib.h: Likewise.
43426         * stdlib/fmtmsg.h: Likewise.
43427         * stdlib/monetary.h: Likewise.
43428         * stdlib/stdlib.h: Likewise.
43429         * stdlib/ucontext.h: Likewise.
43430         * streams/stropts.h: Likewise.
43431         * string/argz.h: Likewise.
43432         * string/bits/string2.h: Likewise.
43433         * string/string.h: Likewise.
43434         * string/strings.h: Likewise.
43435         * sunrpc/rpc/auth.h: Likewise.
43436         * sunrpc/rpc/auth_des.h: Likewise.
43437         * sunrpc/rpc/clnt.h: Likewise.
43438         * sunrpc/rpc/netdb.h: Likewise.
43439         * sunrpc/rpc/pmap_clnt.h: Likewise.
43440         * sunrpc/rpc/xdr.h: Likewise.
43441         * sysdeps/generic/inttypes.h: Likewise.
43442         * sysdeps/generic/net/if.h: Likewise.
43443         * sysdeps/generic/sys/swap.h: Likewise.
43444         * sysdeps/gnu/net/if.h: Likewise.
43445         * sysdeps/gnu/utmpx.h: Likewise.
43446         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43447         * sysdeps/i386/i486/bits/string.h: Likewise.
43448         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43449         * sysdeps/s390/bits/string.h: Likewise.
43450         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43451         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43452         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43453         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43454         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43455         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43456         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43457         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43458         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43459         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43460         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43461         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43462         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43463         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43464         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43465         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43466         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43467         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43468         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43469         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43470         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43471         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43472         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43473         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43474         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43475         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43476         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43477         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43478         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43479         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43480         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43481         * sysvipc/sys/ipc.h: Likewise.
43482         * sysvipc/sys/msg.h: Likewise.
43483         * sysvipc/sys/sem.h: Likewise.
43484         * sysvipc/sys/shm.h: Likewise.
43485         * termios/termios.h: Likewise.
43486         * time/sys/time.h: Likewise.
43487         * time/time.h: Likewise.
43488         * wcsmbs/bits/wchar2.h: Likewise.
43489         * wcsmbs/uchar.h: Likewise.
43490         * wcsmbs/wchar.h: Likewise.
43491         * wctype/wctype.h: Likewise.
43492
43493         [BZ #13551]
43494         * Makeconfig: Remove all but ELF support including AIX support.
43495         * Makerules: Likewise.
43496         * config.h.in: Likewise.
43497         * config.make.in: Likewise.
43498         * configure: Likewise.
43499         * configure.in: Likewise.
43500         * csu/Makefile: Likewise.
43501         * csu/version.c: Likewise.
43502         * debug/Makefile: Likewise.
43503         * dlfcn/Makefile: Likewise.
43504         * elf/Makefile: Likewise.
43505         * extra-lib.mk: Likewise.
43506         * iconv/Makefile: Likewise.
43507         * include/libc-symbols.h: Likewise.
43508         * include/shlib-compat.h: Likewise.
43509         * resolv/Makefile: Likewise.
43510         * resolv/res_libc.c: Likewise.
43511         * rt/Makefile: Likewise.
43512         * sysdeps/i386/asm-syntax.h: Likewise.
43513         * sysdeps/i386/sysdep.h: Likewise.
43514         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43515         * sysdeps/mach/sysdep.h: Likewise.
43516         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43517         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43518         * sysdeps/s390/asm-syntax.h: Likewise.
43519         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43520         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43521         * sysdeps/sh/sysdep.h: Likewise.
43522         * sysdeps/unix/sparc/sysdep.h: Likewise.
43523         * sysdeps/wordsize-32/divdi3.c: Likewise.
43524         * sysdeps/x86_64/sysdep.h: Likewise.
43525
43526         * argp/Versions: Remove _argp_unlock_xxx.
43527
43528         [BZ #13559]
43529         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43530         * abilist/libBrokenLocale.abilist: Likewise.
43531         * abilist/libanl.abilist: Likewise.
43532         * abilist/libc.abilist: Likewise.
43533         * abilist/libcrypt.abilist: Likewise.
43534         * abilist/libdl.abilist: Likewise.
43535         * abilist/libm.abilist: Likewise.
43536         * abilist/libnsl.abilist: Likewise.
43537         * abilist/libpthread.abilist: Likewise.
43538         * abilist/libresolv.abilist: Likewise.
43539         * abilist/librt.abilist: Likewise.
43540         * abilist/libthread_db.abilist: Likewise.
43541         * abilist/libutil.abilist: Likewise.
43542         * abilist/libnss_db.abilist: New file.
43543
43544         * scripts/abilist.awk: Add support for indirect functions.
43545
43546         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43547
43548         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43549
43550         * shlib-versions: Remove entries for ports architectures.
43551
43552         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43553         files in ports.
43554         * elf/stackguard-macros.h: Remove support for IA-64.
43555         * elf/tst-auditmod1.c: Likewise.
43556         * sysdeps/generic/ldsodefs.h: Likewise.
43557
43558         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43559         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43560         configure files.
43561
43562         [BZ #13552]
43563         * configure.in: Remove --enable-omitfp support.
43564         * FAQ.in: Adjust.
43565         * config.make.in: Likewise.
43566         * Makeconfig: Likewise.
43567         * manual/install.texi: Likewise.
43568
43569         In case anyone cares, the IA-64 architecture could move to ports.
43570         * sysdeps/ia64/*: Removed.
43571         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43572         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43573
43574         [BZ #13555]
43575         * configure.in: Remove entries for unsupported architectures.
43576
43577         [BZ #13533]
43578         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43579         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43580         routines.
43581         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43582         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43583         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43584         fall back to using wcrtomb.
43585         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43586         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43587         renaming.
43588         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43589         * wcsmbs/tst-c16c32-1.c: New file.
43590
43591         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43592         local variable.
43593
43594         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43595
43596         * elf/tst-unique3.cc: Add explicit declaration of gets.
43597         * elf/tst-unique3lib.cc: Likewise.
43598         * elf/tst-unique3lib2.cc: Likewise.
43599         * elf/tst-unique4.cc: Likewise.
43600
43601         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43602
43603 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43604
43605         [BZ #13566]
43606         * assert/assert.h (static_assert): Don't define for C++.
43607         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43608         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43609
43610 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43611
43612         * iconv/loop.c (single loop): Fix assertion in storing of
43613         remaining bytes.
43614
43615         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43616
43617 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43618
43619         * posix/getconf.c: Update copyright year.
43620         * nss/getent.c: Likewise.
43621         * nss/makedb.c: Likewise.
43622         * iconv/iconvconfig.c: Likewise.
43623         * iconv/iconv_prog.c: Likewise.
43624         * elf/ldconfig.c: Likewise.
43625         * elf/pldd.c: Likewise.
43626         * elf/sotruss.ksh: Likewise.
43627         * catgets/gencat.c: Likewise.
43628         * csu/version.c: Likewise.
43629         * elf/ldd.bash.in: Likewise.
43630         * elf/sprof.c (print_version): Likewise.
43631         * locale/programs/locale.c: Likewise.
43632         * locale/programs/localedef.c: Likewise.
43633         * login/programs/pt_chown.c: Likewise.
43634         * nscd/nscd.c (print_version): Likewise.
43635         * debug/xtrace.sh: Likewise.
43636         * malloc/memusage.sh: Likewise.
43637         * malloc/mtrace.pl: Likewise.
43638         * debug/catchsegv.sh: Likewise.
43639
43640 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43641
43642         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43643         pure attribute.
43644
43645 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43646
43647         [BZ #13533]
43648         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43649         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43650         transformations.
43651         * iconv/gconv_int.h: Likewise.
43652         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43653         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43654         from libc for GLIBC_2.16.
43655         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43656         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43657         * wcsmbs/uchar.h: Really define mbstate_t.
43658         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43659         * wcsmbs/c16rtomb.c: New file.
43660         * wcsmbs/mbrtoc16.c: New file.
43661         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43662         for C/POSIX locale.
43663         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43664         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43665
43666         * wcsmbs/wchar.h: Add missing __restrict.
43667
43668 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43669
43670         [BZ #13532]
43671         * time/Makefile (routines): Add timespec_get.
43672         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43673         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43674         timespec for ISO C11.
43675         * time/timespec_get.c: New file.
43676         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43677         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43678
43679         [BZ #13531]
43680         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43681         * stdlib/stdlib.h: Declare aligned_alloc.
43682         * Versions.def: Add GLIBC_2.16 for libc.
43683         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43684
43685         [BZ 13527]
43686         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43687         ISO C11.
43688
43689         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43690         code.
43691
43692         [BZ #13528]
43693         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43694
43695         [BZ #13529]
43696         * assert/assert.h (static_assert): Define.
43697
43698         * version.h: Update for 2.16 development version.
43699
43700         [BZ #13526]
43701         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43702         _ISOC11_SOURCE.
43703
43704         * version.h (RELEASE): Bump for 2.15 release.
43705         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43706
43707         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43708         Patch by Marek Polacek <mpolacek@redhat.com>.
43709
43710         * bits/byteswap.h: Protect long long constants with __extension__.
43711         * sysdeps/i386/bits/byteswap.h: Likewise.
43712         * sysdeps/ia64/bits/byteswap.h: Likewise.
43713         * sysdeps/s390/bits/byteswap.h: Likewise.
43714         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43715
43716 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43717
43718         [BZ #13540]
43719         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43720         destination buffer.
43721         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43722
43723 2011-12-23  Marek Polacek  <polacek@redhat.com>
43724
43725         * elf/dl-addr.c (determine_info): Add inline keyword.
43726         * elf/tst-auditmod4b.c (check_avx): Likewise.
43727         * elf/tst-auditmod6b.c (check_avx): Likewise.
43728         * elf/tst-auditmod6c.c (check_avx): Likewise.
43729         * elf/tst-auditmod7b.c (check_avx): Likewise.
43730
43731 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43732
43733         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43734         !__SSE_MATH__.
43735
43736 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43737
43738         [BZ #13540]
43739         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43740         processing for last bytes.
43741
43742 2011-08-06  Bruno Haible  <bruno@clisp.org>
43743
43744         [BZ #13061]
43745         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43746         U+0385, not to U+1FEE.
43747
43748         [BZ #13062]
43749         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43750         entry for U+00A5 U+0301.
43751
43752 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43753
43754         [BZ #13166]
43755         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43756         buffer for the output is too small.
43757
43758         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43759         optimization.
43760
43761         [BZ #13185]
43762         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43763         SSE flags if possible.
43764
43765 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43766
43767         [BZ #13540]
43768         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43769         processing for last bytes.
43770
43771 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43772
43773         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43774         (syscall-list-default-options, syscall-list-default-condition)
43775         (syscall-list-includes): Define.
43776         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43777         list of ABIs and options and #if conditions for each ABI.  Do not
43778         handle common syscalls between ABIs specially.
43779         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43780         Remove.
43781         (syscall-list-variants, syscall-list-32bit-options)
43782         (syscall-list-32bit-condition, syscall-list-64bit-options)
43783         (syscall-list-64bit-condition): Define.
43784         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43785         (syscall-list-variants, syscall-list-32bit-options)
43786         (syscall-list-32bit-condition, syscall-list-64bit-options)
43787         (syscall-list-64bit-condition): Define.
43788         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43789         Remove.
43790         (syscall-list-variants, syscall-list-32bit-options)
43791         (syscall-list-32bit-condition, syscall-list-64bit-options)
43792         (syscall-list-64bit-condition): Define.
43793         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43794         Remove.
43795         (syscall-list-variants, syscall-list-32bit-options)
43796         (syscall-list-32bit-condition, syscall-list-64bit-options)
43797         (syscall-list-64bit-condition): Define.
43798
43799 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43800
43801         * locale/iso-639.def: Add brx entry.
43802
43803         [BZ #13328]
43804         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43805         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43806
43807         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43808         __feraiseexcept_renamed.
43809
43810 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43811
43812         [BZ #13538]
43813         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43814         EPOLLET with unsigned values.
43815         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43816         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43817
43818         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43819         to large cancellation.
43820         * math/s_cacoshf.c: Likewise.
43821         * math/s_cacoshl.c: Likewise.
43822
43823 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43824
43825         [BZ #13305]
43826         [BZ #12786]
43827         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43828         * math/s_cacoshf.c: Likewise.
43829         * math/s_cacoshl.c: Likewise.
43830
43831 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43832
43833         [BZ #13439]
43834         * iconv/gconv.h: Define __GCONV_SWAP.
43835         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43836         * iconvdata/utf-16.c: Likewise.
43837         * iconvdata/utf-32.c: Likewise.
43838
43839 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43840
43841         [BZ #13524]
43842         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43843         numerator after shifting it by one limb.
43844
43845 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43846
43847         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43848         under [__USE_EXTERN_INLINES].
43849
43850 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43851
43852         [BZ #13446]
43853         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43854
43855 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43856
43857         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43858         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43859         optimized code.
43860         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43861         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43862         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43863         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43864         for strncasecmp/strncasecmp_l compilation.
43865         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43866         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43867
43868 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43869
43870         [BZ #13484]
43871         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43872         of __asm__.
43873
43874 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43875
43876         [BZ #13506]
43877         * time/tzfile.c (__tzfile_read): Check values from file header.
43878
43879 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43880
43881         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43882         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43883         * powerpc/powerpc32/dl-start.S: Likewise.
43884         * powerpc/powerpc32/elf/start.S: Likewise.
43885         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43886         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43887         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43888         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43889         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43890         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43891         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43892         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43893         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43894         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43895         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43896         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43897         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43898         * powerpc/powerpc32/memset.S: Likewise.
43899         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43900         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43901         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43902         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43903         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43904         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43905         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43906         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43907         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43908         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43909         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43910         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43911         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43912
43913 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43914
43915         * math/libm-test.inc: Added more nearbyint tests.
43916         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43917         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43918         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43919         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43920
43921 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43922
43923         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43924         FD_CLOEXEC.
43925
43926 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43927
43928         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43929         Add wcscpy-ssse3 wcscpy-c.
43930         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43931         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43932         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43933         * sysdeps/x86_64/wcschr.S: New file.
43934         * sysdeps/x86_64/wcsrchr.S: New file.
43935         * string/test-strcmp.c: Remove checking of wcscmp function for
43936         wrong alignments.
43937         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43938         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43939         wcsrchr-sse2 wcsrchr-c.
43940         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43941         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43942         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43943         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43944         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43945         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43946         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43947         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43948         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43949         * wcsmbc/wcschr.c (WCSCHR): New macro.
43950
43951 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43952
43953         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43954         * wcsmbs/test-wcsrchr.c: New file.
43955         * string/test-strrchr.c: Add wcsrchr support.
43956         (WIDE): New macro.
43957         * wcsmbs/test-wcscpy.c: New file.
43958         * string/test-strcpy.c: Add wcscpy support.
43959         (WIDE): New macro.
43960
43961 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43962
43963         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43964         the inner loop.
43965
43966 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43967
43968         [BZ #13472]
43969         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43970
43971 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43972
43973         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43974         Minor optimizations.
43975
43976         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43977         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43978         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43979
43980 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43981
43982         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43983         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43984         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43985         for gcc to avoid warnings.
43986         * inet/Makefile (tests): Add tst-checks.
43987         * inet/tst-checks.c: New file.
43988
43989         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43990         warning.
43991
43992         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43993         __wmemcmp_sse2.
43994
43995         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43996         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43997
43998         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43999
44000 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44001
44002         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44003         problem.
44004
44005         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44006
44007 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44008
44009         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44010         conditional on GCC version.
44011         (__arch_compare_and_exchange_val_8_acq)
44012         (__arch_compare_and_exchange_val_16_acq)
44013         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44014         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44015         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44016
44017 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44018
44019         * sysdeps/sh/backtrace.c: New file.
44020
44021 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44022
44023         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44024         parenthesis.
44025
44026 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44027
44028         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44029         falling back to utime.
44030
44031 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44032
44033         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44034         expectations for float.
44035
44036 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44037
44038         * locale/weight.h (findidx): Add parameter len.
44039         * locale/weightwc.h (findidx): Likewise.
44040         * posix/fnmatch_loop.c (FCT): Adjust caller.
44041         * posix/regcomp.c (build_equiv_class): Likewise.
44042         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44043         * posix/regexec.c (check_node_accept_bytes): Likewise.
44044         * string/strcoll_l.c (STRCOLL): Likewise.
44045         * string/strxfrm_l.c (STRXFRM): Likewise.
44046
44047 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44048
44049         * Makefile.in: Remove CVSOPT handling.
44050         * configure.in: Remove use of AC_REVISION.
44051         * iconvdata/Makefile (distribute): No need to filter out CVS.
44052         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44053         handling.
44054
44055 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44056
44057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44058         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44059         [USE_AS_STRNCASECMP_L]: Likewise.
44060         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44061         NO_TLS_DIRECT_SEG_REFS.
44062         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44063         Fix argument offsets for non-PIC.
44064         [USE_AS_STRNCASECMP_L]: Likewise.
44065         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44066         NO_TLS_DIRECT_SEG_REFS.
44067
44068 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44069
44070         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44071         O_CLOEXEC.
44072         * locale/loadlocale.c (_nl_load_locale): Likewise.
44073
44074 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44075
44076         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44077         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44078         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44079         (SYSCALL_GETTIME): Set errno on error.
44080
44081         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44082         count references to noai6ai_cached.
44083
44084 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44085
44086         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44087
44088         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44089         FD_CLOEXEC for /proc/self/maps.
44090
44091         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44092         FD_CLOEXEC for /proc/meminfo.
44093
44094         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44095         gai.conf.
44096
44097         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44098         FD_CLOEXEC for given file.
44099
44100         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44101
44102         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44103         FD_CLOEXEC for /etc/hosts.
44104         (_gethtent): Likewise.
44105
44106         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44107
44108         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44109         cancellation and set FD_CLOEXEC for /etc/netgroup.
44110
44111         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44112         reading /etc/publickey.
44113
44114         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44115         allow cancellation when reading /etc/group.
44116
44117         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44118         cancellation.
44119         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44120
44121         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44122         when using data file.
44123
44124         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44125
44126         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44127         (write_nis_obj): Use "c" and "e" in fopen.
44128
44129         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44130
44131         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44132
44133         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44134
44135         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44136
44137         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44138         locale.alias.
44139
44140         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44141
44142         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44143
44144         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44145
44146         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44147         file parsing and set FD_CLOEXEC.
44148
44149 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44150
44151         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44152
44153 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44154
44155         * malloc/arena.c (arena_get2): Don't call reused_arena when
44156         _int_new_arena failed.
44157
44158 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44159
44160         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44161         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44162         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44163         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44164         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44165         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44166         to compile strcasecmp and strncasecmp.
44167         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44168         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44169
44170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44171
44172 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44173
44174         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44175         locale-defines.sym to gen-as-const-headers.
44176         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44177         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44178         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44179         to compile strcasecmp and strncasecmp.
44180         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44181         strcasecmp_l and strncasecmp_l.
44182         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44183         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44184         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44185         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44186         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44187         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44188         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44189         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44190         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44191         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44192         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44193
44194 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44195
44196         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44197         result of SYSDEP_GETTIME_CPU to retval.
44198         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44199         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44200
44201         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44202         variable.
44203
44204         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44205         mantissa words.
44206         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44207
44208         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44209         from unused variable.
44210
44211         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44212         DWARF definitions.
44213         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44214         for assembling.
44215
44216         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44217         over namespaces.
44218
44219         * sunrpc/rpc_prot.c (rejected): Fix case value.
44220
44221         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44222         unsigned long long int to avoid warnings in shift.
44223
44224         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44225         of use of trans.
44226         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44227         variable tmp.
44228
44229         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44230         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44231         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44232
44233         * nis/nis_table.c (nis_list): Use variable of correct type for
44234         result of __follow_path call.
44235
44236 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44237
44238         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44239         of math functions ceil, trunc, floor, round, and sqrt, when
44240         avaliable on the platform.
44241         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44242         name clash.
44243         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44244         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44245         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44246
44247 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44248
44249         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44250         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44251
44252 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44253
44254         * include/unistd.h: Fix __readlink return type.
44255         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44256
44257 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44258
44259         * stdlib/ucontext.h: Undo last change for makecontext.
44260
44261 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44262
44263         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44264
44265         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44266         * setjmp/setjmp.h: Mark functions as non-leaf.
44267         * setjmp/bits/setjmp2.h: Likewise.
44268         * stdlib/ucontext.h: Likewise.
44269
44270 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44271
44272         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44273         (reused_arena): Don't check arena limit.
44274         (arena_get2): Atomically check arena limit.
44275
44276 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44277
44278         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44279         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44280
44281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44282         instructions.
44283
44284 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44285
44286         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44287         handler when locking.
44288
44289         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44290         Fix size of allocated buffer.
44291
44292 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44293
44294         [BZ #10103]
44295         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44296         declarations for long double functions.
44297         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44298
44299         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44300
44301 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44302
44303         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44304         installed.
44305
44306         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44307         is disabled.
44308
44309 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44310
44311         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44312
44313 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44314
44315         * include/alloca.h (stackinfo_alloca_round): Define.
44316         (extend_alloca): Use it.
44317         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44318         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44319         here.
44320
44321         * scripts/check-local-headers.sh: Ignore libaudit.h.
44322
44323         * nscd/Makefile (extra-objs): Make recursively expanded.
44324
44325 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44326
44327         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44328         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44329
44330         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44331         * posix/tst-rfc3484-2.c: Likewise.
44332         * posix/tst-rfc3484-3.c: Likewise.
44333
44334         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44335         process_vm_writev.
44336         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44337         process_vm_writev.
44338         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44339         process_vm_writev from libc using GLIBC_2.15 version.
44340
44341         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44342
44343 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44344
44345         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44346         stack usage.
44347
44348 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44349
44350         [BZ #13367]
44351         * nss/getent.c (initgroups_keys): Show error message in case no group
44352         names are given.
44353
44354         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44355         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44356         __bump_nl_timestamp.
44357         * nscd/connections (nscd_init): When host database is served open
44358         netlink socket and request notification about configuration changes.
44359         (main_loop_poll): Track netlink file descriptor and bump timestamp
44360         in case data becomes available.
44361         (main_loop_epoll): Likewise.
44362         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44363         (database_pers_head): Add extra_data fileds.
44364         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44365         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44366         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44367         Adjust caller.
44368         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44369         in6ai data, call __free_in6ai.
44370         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44371         Add -DHAVE_NETLINK.
44372         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44373         interface information.  Reuse previous data if netlink timestamp
44374         is not changed.
44375         (__bump_nl_timestamp): New function.
44376         (__free_in6ai): New function.
44377
44378 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44379
44380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44381         close_not_cancel_no_status here.
44382         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44383
44384 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44385
44386         [BZ #13276]
44387         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44388         return value.
44389
44390         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44391         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44392         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44393
44394 2011-07-03  Andreas Jaeger  <aj@suse.de>
44395
44396         [BZ #10709]
44397         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44398         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44399         * math/libm-test.inc (sin_test): Add test case.
44400
44401 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44402
44403         [BZ #13337]
44404         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44405         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44406
44407         * elf/chroot_canon.c (chroot_canon): Cleanups.
44408
44409         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44410
44411         [BZ #13335]
44412         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44413         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44414
44415         * string/test-strchr.c: Make usable for strchrnul testing.
44416         * string/test-strchrnul.c: New file.
44417         * string/Makefile (strop-tests): Add strchrnul.
44418
44419         * po/it.po: Update from translation team.
44420         * po/es.po: Likewise.
44421
44422 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44423
44424         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44425         the three constants needed as parameters.  Drop the others.
44426         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44427         __m128i_strloadu_tolower.
44428         Create and initialize variable zero and use it in all the places
44429         where _mm_setzero_si128 was used.
44430
44431         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44432         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44433         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44434         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44435         anymore.
44436         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44437         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44438         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44439         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44440         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44441         __mpranred, __mptan.
44442         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44443         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44444         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44445         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44446         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44447         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44448         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44449         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44450         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44451
44452 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44453
44454         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44455         redefine if SHARED.
44456         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44457
44458         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44459         wide char related routines to wcsmbs subdir.
44460
44461 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44462
44463         [BZ #13344]
44464         * misc/sys/cdefs.h (__THROWNL): Define.
44465         * posix/unistd.h: Use __THREADNL instead of __THREAD
44466         for memory synchronization functions.
44467
44468 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44469
44470         [BZ #13349]
44471         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44472         doesn't exist.
44473         * manual/stdio.texi (Obstack Streams): Node removed.
44474
44475 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44476
44477         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44478         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44479         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44480
44481         * math/math_private.h (math_force_eval): Allow non-addressable
44482         arguments.
44483         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44484
44485 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44486
44487         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44488         file is not needed.
44489
44490         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44491         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44492         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44493         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44494         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44495         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44496         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44497         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44498         Add AVX variants.
44499         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44500         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44501         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44502         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44503         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44504         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44505         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44506         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44507         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44508         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44509         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44510         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44511         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44512         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44513         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44514         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44515         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44516         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44517         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44518
44519         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44520         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44521
44522         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44523         place.  Use VEX encoding when compiling for AVX.
44524
44525 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44526
44527         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44528         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44529
44530         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44531
44532 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44533
44534         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44535         useless if() expression.
44536         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44537         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44538         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44539         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44540         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44541         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44542         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44543         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44544         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44545         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44546         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44547         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44548         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44549         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44550         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44551         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44552         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44553         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44554         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44555
44556         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44557
44558 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44559
44560         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44561         condition.
44562         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44563
44564 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44565
44566         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44567         .text section.  Avoid duplicate constants.
44568         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44570         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44572         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44576         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44577         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44578         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44579         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44580         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44583         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44584         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44585         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44586         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44587         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44588         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44589         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44590         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44591         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44592         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44593         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44594         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44595         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44596         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44597         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44598         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44599         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44600         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44601         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44602         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44603         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44604         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44605         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44606         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44607         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44608         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44609         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44610         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44611         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44612         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44613
44614 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44615
44616         * sysdeps/x86_64/dla.h: Move to ...
44617         * sysdeps/x86_64/fpu/dla.h: ...here.
44618         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44619         situations.  Use __builtin_fma only for gcc 4.6 and up.
44620
44621         * config.make.in: Add have-mfma4 entry.
44622         * configure.in: Substitute libc_cv_cc_fma4.
44623         * math/Makefile (dbl-only-routines): Add sincostab.
44624         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44625         Use __sincostab not sincos.
44626         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44627         name is a macro.
44628         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44629         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44630         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44632         using __copysign.
44633         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44634         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44635         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44636         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44637         and __inv.
44638         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44639         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44640         __copysign.
44641         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44642         define aliases when function name is a macro.
44643         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44644         sysdeps/ieee754/dbl-64/sincos.tbl.
44645         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44646         fma4-enabled routines.
44647         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44648         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44649         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44650         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44651         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44652         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44653         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44654         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44655         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44656         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44657         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44658         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44659         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44660         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44661         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44662         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44663         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44664         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44665         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44666         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44667         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44668         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44669         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44670         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44671         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44672         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44673         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44674         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44675         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44676         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44677
44678         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44679         rename.
44680         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44685         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44686         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44688
44689 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44690
44691         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44692
44693 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44694
44695         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44696
44697         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44698         prediction.
44699         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44700
44701         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44702         Remove unused variable magic_bits.
44703         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44704
44705         * string/strnlen.c: Define and use STRNLEN macro.
44706         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44707         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44708         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44709         * wcsmbs/wcslen.c: Define and use WCSLEN.
44710         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44711         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44712         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44713         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44714         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44715         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44716         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44717
44718 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44719
44720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44721         strnlen-sse2-no-bsf.
44722         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44723         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44724         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44725         Add strnlen support.
44726         (USE_AS_STRNLEN): New macro.
44727         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44728         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44729         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44730         * sysdeps/x86_64/wcslen.S: New file.
44731
44732 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44733
44734         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44735         XMM-moves are used for copying on small sizes.
44736
44737 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44738
44739         * wcsmbs/Makefile (strop-tests): Add wcschr.
44740         * wcsmbs/test-wcschr.c: New file.
44741         * string/test-strchr.c: Update.
44742         Add wcschr support.
44743         (WIDE): New macro.
44744
44745 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44746
44747         * wcsmbs/Makefile (strop-tests): Add wcslen.
44748         * wcsmbs/test-wcslen.c: New file.
44749         * string/test-strlen.c: Update.
44750         Add wcslen support.
44751         (WIDE): New macro.
44752
44753 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44754
44755         * po/it.po: Update from translation team.
44756
44757 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44758
44759         * sysdeps/x86_64/wcscmp.S: Update.
44760         Fix wrong comparison semantics.
44761         wcscmp shall use signed comparison not unsigned.
44762         Don't use substraction to avoid overflow bug.
44763         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44764         * wcsmbc/wcscmp.c: Likewise.
44765         * string/test-strcmp.c: Likewise.
44766         Add new tests to check cases with negative values.
44767
44768 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44769
44770         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44771         * sysdeps/x86_64/dla.h: ...here.  New file.
44772         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44775         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44776         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44779         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44780         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44781
44782 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44783
44784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44785         __ynl_finite aliases.
44786
44787 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44788
44789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44790
44791         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44792         define DLA_FMA.
44793         [DLA_FMA] (EMULV): Use DLA_FMA.
44794         [DLA_FMA] (MUL12): Use EMULV.
44795         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44796         that are not needed.
44797         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44799         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44800         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44802         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44804
44805 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44806
44807         * math/s_nan.c: Undef __nan.
44808         * math/s_nanf.c: Undef __nanf.
44809         * math/s_nanl.c: Undef __nanl.
44810         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44811         "math_private.h".
44812
44813 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44814
44815         * math/s_catan.c: Add branch predictions.
44816         * math/s_catanf.c: Likewise.
44817         * math/s_catanh.c: Likewise.
44818         * math/s_catanhf.c: Likewise.
44819         * math/s_catanhl.c: Likewise.
44820         * math/s_catanl.c: Likewise.
44821         * math/s_cexp.c: Likewise.
44822         * math/s_cexpf.c: Likewise.
44823         * math/s_cexpl.c: Likewise.
44824         * math/s_clog.c: Likewise.
44825         * math/s_clog10.c: Likewise.
44826         * math/s_clog10f.c: Likewise.
44827         * math/s_clog10l.c: Likewise.
44828         * math/s_clogf.c: Likewise.
44829         * math/s_clogl.c: Likewise.
44830         * math/s_csqrt.c: Likewise.
44831         * math/s_csqrtf.c: Likewise.
44832         * math/s_csqrtl.c: Likewise.
44833         * math/s_ctanf.c: Likewise.
44834         * math/s_ctanh.c: Likewise.
44835         * math/s_ctanhf.c: Likewise.
44836         * math/s_ctanhl.c: Likewise.
44837         * math/s_ctanl.c: Likewise.
44838
44839         * math/math_private.h: Define __nan, __nanf, __nanl.
44840         * math/s_cacosh.c: Include <math_private.h>.
44841         * math/s_cacoshl.c: Likewise.
44842         * math/s_casinh.c: Likewise.
44843         * math/s_casinhf.c: Likewise.
44844         * math/s_casinhl.c: Likewise.
44845         * math/s_ccos.c: Rely entire on ccosh.
44846         * math/s_ccosf.c: Rely entire on ccoshf.
44847         * math/s_ccosl.c: Rely entirely on ccoshl.
44848         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44849         Remove tests for FE_INVALID.
44850         * math/s_ccoshf.c: Likewise.
44851         * math/s_ccoshl.c: Likewise.
44852         * math/s_csin.c: Likewise.
44853         * math/s_csinf.c: Likewise.
44854         * math/s_csinh.c Likewise.
44855         * math/s_csinhf.c: Likewise.
44856         * math/s_csinhl.c: Likewise.
44857         * math/s_csinl.c: Likewise.
44858         * math/s_ctan.c: Likewise.
44859         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44860         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44861         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44862
44863 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44864
44865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44866         compilation problems.
44867
44868         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44869         __builtin_expect.
44870
44871 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44872
44873         * sysdeps/i386/configure.in: Test for -mfma4 option.
44874         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44875         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44876         COMMON_CPUID_INDEX_80000001.
44877         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44878         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44879         use it if FMA3 is not supported.
44880         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44881
44882         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44883         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44884
44885 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44886
44887         [BZ #12892]
44888         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44889         it would create a cycle with a link time dependency.
44890
44891 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44892
44893         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44894         instruction.
44895         * string/Makefile (strop-tests): Add rawmemchr.
44896         * string/test-rawmemchr.c: New file.
44897
44898         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44899         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44900         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44901         when compiling str{,n}casecmp and when AVX is available.  Hook up
44902         new optimized code in initializers.
44903
44904 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44905
44906         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44907         __feraiseexcept instead of feraiseexcept.
44908
44909 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44910
44911         * math/math_private.h: Define defaults for libc_fetestexcept and
44912         libc_feupdateenv.
44913         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44914         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44915         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44916         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44917         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44918         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44919         libc_fetestexcept and libc_feupdateenv.
44920
44921         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44922         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44923         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44924         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44925         libc_feholdexcept_setround.
44926
44927         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44928         Add s_nearbyint-c and s_nearbyintf-c.
44929         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44930         nearbyintf inlines.
44931         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44932         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44933         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44934         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44935
44936         * math/math_private.h: Define defaults for libc_fegetround,
44937         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44938         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44939         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44940         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44941         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44942         standard functions.
44943         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44944         Remove comments and hacks for old compiler versions.
44945         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44946         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44947         libc_feholdexceptl.
44948
44949 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44950
44951         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44952         (__feraiseexcept_renamed): Add __NTH.
44953         (feraiseexcept): Add __NTH.  Rename local variables to fix
44954         namespace violations.
44955
44956 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44957
44958         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44959
44960         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44961
44962         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44963         recently added interfaces.
44964         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44965
44966         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44967         about macro parameter expansion.
44968
44969         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44970         __NO_MATH_INLINES is defined.  Cleanups.
44971
44972         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44973         and __floorf is target has SSE4.1.
44974         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44975         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44976         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44977         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44978
44979         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44980         name.
44981         (floorf): Likewise.
44982
44983         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44984
44985 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44986
44987         * misc/sys/cdefs.h: Fix last change.
44988
44989         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44990         database lookup.
44991
44992 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44993
44994         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44995
44996         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44997         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44998         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44999         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45000         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45001         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45002         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45003         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45004         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45005         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45006         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45007         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45008         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45009         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45010         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45011         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45012         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45013         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45014         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45015         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45016         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45017         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45018
45019         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45020         ceil, ceilf, floor, floorf.
45021
45022         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45023         Perform IRELATIVE relocations last.
45024
45025         * elf/do-rel.h: Add another parameter nrelative, replacing the
45026         local variable with the same name.  Change name of the function
45027         to end in Rel or Rela (uppercase).
45028         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45029         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45030         elf_dynamic_do_##reloc function.
45031
45032 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45033
45034         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45035         is sufficient, at least on modern CPUs.
45036
45037         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45038
45039         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45040         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45041
45042         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45043         __expl_finite.
45044         * math/bits/math-finite.h: Add entries for exp.
45045         * math/e_expl.c: Add __*_finite alias.
45046         * sysdeps/i386/fpu/e_exp.S: Likewise.
45047         * sysdeps/i386/fpu/e_expf.S: Likewise.
45048         * sysdeps/i386/fpu/e_expl.c: Likewise.
45049         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45050         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45051         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45054         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45055         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45056
45057         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45058         is sufficient, at least on modern CPUs.
45059
45060         * ctype/ctype-info.c (__ctype_init): Define.
45061         * include/ctype.h (__ctype_init): Declare.
45062         (__ctype_b_loc): The variable is always initialized.
45063         (__ctype_toupper_loc): Likewise.
45064         (__ctype_tolower_loc): Likewise.
45065         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45066         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45067
45068 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45069
45070         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45071
45072         * configure.in: Also look in $cxxmachine/include for C++ system
45073         headers.
45074
45075 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45076
45077         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45078         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45079         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45080         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45081         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45082         (USE_AS_WMEMCMP): New macro.
45083         Fixing indents.
45084         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45085         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45086         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45087         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45088         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45089         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45090         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45091         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45092         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45093         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45094         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45095         (USE_AS_WMEMCMP): New macro.
45096         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45097         * sysdeps/string/test-memcmp.c: Update.
45098         Fix simple_wmemcmp.
45099         Add new tests.
45100         * wcsmbs/wmemcmp.c: Update.
45101         (WMEMCMP): New macro.
45102         Fix overflow bug.
45103
45104 2011-10-12  Andreas Jaeger  <aj@suse.de>
45105
45106         [BZ #13268]
45107         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45108
45109 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45110
45111         * libio/iofwide.c (do_length): Avoid warning.
45112
45113         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45114
45115 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45116
45117         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45118
45119         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45120         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45121         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45122         * sysdeps/i386/i686/fpu/e_log.S: New file.
45123         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45124         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45125
45126         * ctype/ctype.h: Add support for inlined isXXX functions when
45127         compiling C++ code.
45128
45129 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45130
45131         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45132
45133         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45134
45135 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45136
45137         [BZ #13291]
45138         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45139
45140 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45141
45142         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45143         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45144         feraiseexcept.
45145
45146         * sysdeps/x86_64/memrchr.S: Check for zero size.
45147
45148         * string/stratcliff.c: Add memrchr tests.
45149
45150 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45151
45152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45153         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45154         rawmemchr-sse2 rawmemchr-sse2-bsf.
45155         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45156         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45157         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45158         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45159         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45160         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45161         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45162         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45163         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45164         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45165         * string/memrchr.c (MEMRCHR): New macro.
45166
45167 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45168
45169         Add integration with gcc's -ffinite-math-only and optimize wrapper
45170         functions in libm.
45171         * Versions.def: Define GLIBC_2.15 version for libm.
45172         * math/Makefile (headers): Add bits/math-finite.h.
45173         * math/bits/math-finite.h: New file.
45174         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45175         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45176         * math/e_acoshl.c: Add __*_finite alias.
45177         * math/e_acosl.c: Likewise.
45178         * math/e_asinl.c: Likewise.
45179         * math/e_atan2l.c: Likewise.
45180         * math/e_atanhl.c: Likewise.
45181         * math/e_coshl.c: Likewise.
45182         * math/e_exp10.c: Likewise.
45183         * math/e_exp10f.c: Likewise.
45184         * math/e_exp10l.c: Likewise.
45185         * math/e_exp2l.c: Likewise.
45186         * math/e_fmodl.c: Likewise.
45187         * math/e_gammal_r.c: Likewise.
45188         * math/e_hypotl.c: Likewise.
45189         * math/e_j0l.c: Likewise.
45190         * math/e_j1l.c: Likewise.
45191         * math/e_jnl.c: Likewise.
45192         * math/e_lgammal_r.c: Likewise.
45193         * math/e_log10l.c: Likewise.
45194         * math/e_log2l.c: Likewise.
45195         * math/e_logl.c: Likewise.
45196         * math/e_powl.c: Likewise.
45197         * math/e_sinhl.c: Likewise.
45198         * math/e_sqrtl.c: Likewise.
45199         * math/e_scalb.c: Completely rewritten and optimized.
45200         * math/e_scalbf.c: Likewise.
45201         * math/e_scalbl.c: Likewise.
45202         * math/w_acos.c: Likewise.
45203         * math/w_acosf.c: Likewise.
45204         * math/w_acosl.c: Likewise.
45205         * math/w_acosh.c: Likewise.
45206         * math/w_acoshf.c: Likewise.
45207         * math/w_acoshl.c: Likewise.
45208         * math/w_asin.c: Likewise.
45209         * math/w_asinf.c: Likewise.
45210         * math/w_asinl.c: Likewise.
45211         * math/w_atan2.c: Likewise.
45212         * math/w_atan2f.c: Likewise.
45213         * math/w_atan2l.c: Likewise.
45214         * math/w_atanh.c: Likewise.
45215         * math/w_atanhf.c: Likewise.
45216         * math/w_atanhl.c: Likewise.
45217         * math/w_exp10.c: Likewise.
45218         * math/w_exp10f.c: Likewise.
45219         * math/w_exp10l.c: Likewise.
45220         * math/w_fmod.c: Likewise.
45221         * math/w_fmodf.c: Likewise.
45222         * math/w_fmodl.c: Likewise.
45223         * math/w_j0.c: Likewise.
45224         * math/w_j0f.c: Likewise.
45225         * math/w_j0l.c: Likewise.
45226         * math/w_j1.c: Likewise.
45227         * math/w_j1f.c: Likewise.
45228         * math/w_j1l.c: Likewise.
45229         * math/w_jn.c: Likewise.
45230         * math/w_jnf.c: Likewise.
45231         * math/w_log.c: Likewise.
45232         * math/w_logf.c: Likewise.
45233         * math/w_logl.c: Likewise.
45234         * math/w_log10.c: Likewise.
45235         * math/w_log10f.c: Likewise.
45236         * math/w_log10l.c: Likewise.
45237         * math/w_log2.c: Likewise.
45238         * math/w_log2f.c: Likewise.
45239         * math/w_log2l.c: Likewise.
45240         * math/w_pow.c: Likewise.
45241         * math/w_powf.c: Likewise.
45242         * math/w_powl.c: Likewise.
45243         * math/w_remainder.c: Likewise.
45244         * math/w_remainderf.c: Likewise.
45245         * math/w_remainderl.c: Likewise.
45246         * math/w_scalb.c: Likewise.
45247         * math/w_scalbf.c: Likewise.
45248         * math/w_scalbl.c: Likewise.
45249         * math/w_sqrt.c: Likewise.
45250         * math/w_sqrtf.c: Likewise.
45251         * math/w_sqrtl.c: Likewise.
45252         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45253         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45254         used.
45255         * math/math_private.h: Declare __kernel_standard_f.
45256         * math/w_cosh.c: Remove cruft and optimize a bit.
45257         * math/w_coshf.c: Likewise.
45258         * math/w_coshl.c: Likewise.
45259         * math/w_exp2.c: Likewise.
45260         * math/w_exp2f.c: Likewise.
45261         * math/w_exp2l.c: Likewise.
45262         * math/w_hypot.c: Likewise.
45263         * math/w_hypotf.c: Likewise.
45264         * math/w_hypotl.c: Likewise.
45265         * math/w_lgamma.c: Likewise.
45266         * math/w_lgamma_r.c: Likewise.
45267         * math/w_lgammaf.c: Likewise.
45268         * math/w_lgammaf_r.c: Likewise.
45269         * math/w_lgammal.c: Likewise.
45270         * math/w_lgammal_r.c: Likewise.
45271         * math/w_sinh.c: Likewise.
45272         * math/w_sinhf.c: Likewise.
45273         * math/w_sinhl.c: Likewise.
45274         * math/w_tgamma.c: Likewise.
45275         * math/w_tgammaf.c: Likewise.
45276         * math/w_tgammal.c: Likewise.
45277         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45278         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45279         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45280         Minor optimizations.  Pretty printing.  Remove cruft.
45281         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45282         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45283         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45284         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45285         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45286         * sysdeps/i386/fpu/e_asin.S: Likewise.
45287         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45288         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45289         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45290         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45291         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45292         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45293         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45294         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45295         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45296         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45297         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45298         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45299         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45300         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45301         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45302         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45303         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45304         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45305         * sysdeps/i386/fpu/e_log.S: Likewise.
45306         * sysdeps/i386/fpu/e_log10.S: Likewise.
45307         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45308         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45309         * sysdeps/i386/fpu/e_log2.S: Likewise.
45310         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45311         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45312         * sysdeps/i386/fpu/e_logf.S: Likewise.
45313         * sysdeps/i386/fpu/e_logl.S: Likewise.
45314         * sysdeps/i386/fpu/e_pow.S: Likewise.
45315         * sysdeps/i386/fpu/e_powf.S: Likewise.
45316         * sysdeps/i386/fpu/e_powl.S: Likewise.
45317         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45318         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45319         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45320         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45321         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45322         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45323         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45324         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45325         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45326         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45327         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45329         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45330         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45331         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45332         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45333         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45334         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45335         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45336         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45337         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45338         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45339         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45340         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45341         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45342         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45343         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45344         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45345         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45346         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45347         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45348         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45349         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45350         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45351         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45352         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45353         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45354         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45355         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45356         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45357         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45358         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45359         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45360         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45361         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45362         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45363         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45364         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45365         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45366         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45367         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45368         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45369         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45370         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45371         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45372         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45373         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45374         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45376         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45377         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45378         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45379         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45380         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45381         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45382         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45383         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45384         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45385         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45386         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45390         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45391         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45392         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45393         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45394         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45395         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45396         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45397         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45398         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45400         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45401         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45402         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45403         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45404         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45405         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45406         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45407         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45408         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45409         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45410         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45411         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45413         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45414         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45415         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45417         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45418         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45419         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45420         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45421         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45422         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45423         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45424         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45425         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45426         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45427         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45428         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45429         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45430         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45431         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45432         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45434         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45435         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45436         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45437         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45438         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45439         (__isnanf): Likewise.
45440         (__isinf_ns): Likewise.
45441         (__isinf_nsf): Likewise.
45442         (__finite): Likewise.
45443         (__finitef): Likewise.
45444         (__ieee754_sqrt): Define as macro.
45445         (__ieee754_sqrtf): Define as macro.
45446         (__ieee754_sqrtl): Define as macro.
45447         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45448         inlined copy.
45449         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45450         __FINITE_MATH_ONLY__ consistent.
45451         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45452
45453 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45454
45455         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45456         of rawmemchr.
45457
45458         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45459
45460 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45461
45462         * po/ja.po: Update from translation team.
45463
45464 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45465
45466         * locale/programs/locarchive.c (prepare_address_space): New function.
45467         (create_archive, enlarge_archive, open_archive): Use it.
45468
45469         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45470         inside [SHARED], where it is used.
45471
45472         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45473
45474         * nss/getent.c (netgroup_keys): Remove unused variable.
45475         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45476
45477 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45478
45479         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45480         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45481         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45482         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45483         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45484         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45485         * math/Makefile (libm-calls): Add s_isinf_ns.
45486         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45487         * math/multc3.c: Likewise.
45488         * math/s_casin.c: Likewise.
45489         * math/s_casinf.c: Likewise.
45490         * math/s_casinl.c: Likewise.
45491         * math/s_ccos.c: Likewise.
45492         * math/s_ccosf.c: Likewise.
45493         * math/s_ccosl.c: Likewise.
45494         * math/s_ctan.c: Likewise.
45495         * math/s_ctanf.c: Likewise.
45496         * math/s_ctanh.c: Likewise.
45497         * math/s_ctanhf.c: Likewise.
45498         * math/s_ctanhl.c: Likewise.
45499         * math/s_ctanl.c: Likewise.
45500         * math/w_fmod.c: Likewise.
45501         * math/w_fmodf.c: Likewise.
45502         * math/w_fmodl.c: Likewise.
45503         * math/w_remainder.c: Likewise.
45504         * math/w_remainderf.c: Likewise.
45505         * math/w_remainderl.c: Likewise.
45506         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45507         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45508         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45509         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45510         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45511         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45512         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45513         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45514
45515         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45516         of the number.
45517         * stdio-common/printf_fphex.c: Likewise.
45518         * stdio-common/printf_size.c: Likewise.
45519
45520         * math/e_exp10.c: Include math_private.h using <...> not "...".
45521         * math/e_exp10f.c: Likewise.
45522         * math/e_exp10l.c: Likewise.
45523         * math/e_exp2l.c: Likewise.
45524         * math/e_j0l.c: Likewise.
45525         * math/e_j1l.c: Likewise.
45526         * math/e_jnl.c: Likewise.
45527         * math/e_lgammal_r.c: Likewise.
45528         * math/e_rem_pio2l.c: Likewise.
45529         * math/e_scalb.c: Likewise.
45530         * math/e_scalbf.c: Likewise.
45531         * math/e_scalbl.c: Likewise.
45532         * math/k_cosl.c: Likewise.
45533         * math/k_sinl.c: Likewise.
45534         * math/k_tanl.c: Likewise.
45535         * math/s_cacoshf.c: Likewise.
45536         * math/s_catan.c: Likewise.
45537         * math/s_catanf.c: Likewise.
45538         * math/s_catanh.c: Likewise.
45539         * math/s_catanhf.c: Likewise.
45540         * math/s_catanhl.c: Likewise.
45541         * math/s_catanl.c: Likewise.
45542         * math/s_ccosh.c: Likewise.
45543         * math/s_ccoshf.c: Likewise.
45544         * math/s_ccoshl.c: Likewise.
45545         * math/s_cexp.c: Likewise.
45546         * math/s_cexpf.c: Likewise.
45547         * math/s_cexpl.c: Likewise.
45548         * math/s_clog.c: Likewise.
45549         * math/s_clog10.c: Likewise.
45550         * math/s_clog10f.c: Likewise.
45551         * math/s_clog10l.c: Likewise.
45552         * math/s_clogf.c: Likewise.
45553         * math/s_clogl.c: Likewise.
45554         * math/s_csin.c: Likewise.
45555         * math/s_csinf.c: Likewise.
45556         * math/s_csinh.c: Likewise.
45557         * math/s_csinhf.c: Likewise.
45558         * math/s_csinhl.c: Likewise.
45559         * math/s_csinl.c: Likewise.
45560         * math/s_csqrt.c: Likewise.
45561         * math/s_csqrtf.c: Likewise.
45562         * math/s_csqrtl.c: Likewise.
45563         * math/s_ctan.c: Likewise.
45564         * math/s_ctanf.c: Likewise.
45565         * math/s_ctanh.c: Likewise.
45566         * math/s_ctanhf.c: Likewise.
45567         * math/s_ctanhl.c: Likewise.
45568         * math/s_ctanl.c: Likewise.
45569         * math/s_ldexp.c: Likewise.
45570         * math/s_ldexpf.c: Likewise.
45571         * math/s_ldexpl.c: Likewise.
45572         * math/s_significand.c: Likewise.
45573         * math/s_significandf.c: Likewise.
45574         * math/s_significandl.c: Likewise.
45575         * math/w_acos.c: Likewise.
45576         * math/w_acosf.c: Likewise.
45577         * math/w_acosh.c: Likewise.
45578         * math/w_acoshf.c: Likewise.
45579         * math/w_acoshl.c: Likewise.
45580         * math/w_acosl.c: Likewise.
45581         * math/w_asin.c: Likewise.
45582         * math/w_asinf.c: Likewise.
45583         * math/w_asinl.c: Likewise.
45584         * math/w_atan2.c: Likewise.
45585         * math/w_atan2f.c: Likewise.
45586         * math/w_atan2l.c: Likewise.
45587         * math/w_atanh.c: Likewise.
45588         * math/w_atanhf.c: Likewise.
45589         * math/w_atanhl.c: Likewise.
45590         * math/w_cosh.c: Likewise.
45591         * math/w_coshf.c: Likewise.
45592         * math/w_coshl.c: Likewise.
45593         * math/w_dremf.c: Likewise.
45594         * math/w_exp10.c: Likewise.
45595         * math/w_exp10f.c: Likewise.
45596         * math/w_exp10l.c: Likewise.
45597         * math/w_exp2.c: Likewise.
45598         * math/w_exp2f.c: Likewise.
45599         * math/w_fmod.c: Likewise.
45600         * math/w_fmodf.c: Likewise.
45601         * math/w_fmodl.c: Likewise.
45602         * math/w_hypot.c: Likewise.
45603         * math/w_hypotf.c: Likewise.
45604         * math/w_hypotl.c: Likewise.
45605         * math/w_j0.c: Likewise.
45606         * math/w_j0f.c: Likewise.
45607         * math/w_j0l.c: Likewise.
45608         * math/w_j1.c: Likewise.
45609         * math/w_j1f.c: Likewise.
45610         * math/w_j1l.c: Likewise.
45611         * math/w_jn.c: Likewise.
45612         * math/w_jnf.c: Likewise.
45613         * math/w_jnl.c: Likewise.
45614         * math/w_lgamma.c: Likewise.
45615         * math/w_lgamma_r.c: Likewise.
45616         * math/w_lgammaf.c: Likewise.
45617         * math/w_lgammaf_r.c: Likewise.
45618         * math/w_lgammal.c: Likewise.
45619         * math/w_lgammal_r.c: Likewise.
45620         * math/w_log.c: Likewise.
45621         * math/w_log10.c: Likewise.
45622         * math/w_log10f.c: Likewise.
45623         * math/w_log10l.c: Likewise.
45624         * math/w_log2.c: Likewise.
45625         * math/w_log2f.c: Likewise.
45626         * math/w_log2l.c: Likewise.
45627         * math/w_logf.c: Likewise.
45628         * math/w_logl.c: Likewise.
45629         * math/w_pow.c: Likewise.
45630         * math/w_powf.c: Likewise.
45631         * math/w_powl.c: Likewise.
45632         * math/w_remainder.c: Likewise.
45633         * math/w_remainderf.c: Likewise.
45634         * math/w_remainderl.c: Likewise.
45635         * math/w_scalb.c: Likewise.
45636         * math/w_scalbf.c: Likewise.
45637         * math/w_scalbl.c: Likewise.
45638         * math/w_sinh.c: Likewise.
45639         * math/w_sinhf.c: Likewise.
45640         * math/w_sinhl.c: Likewise.
45641         * math/w_sqrt.c: Likewise.
45642         * math/w_sqrtf.c: Likewise.
45643         * math/w_sqrtl.c: Likewise.
45644         * math/w_tgamma.c: Likewise.
45645         * math/w_tgammaf.c: Likewise.
45646         * math/w_tgammal.c: Likewise.
45647
45648         * po/ja.po: Update from translation team.
45649
45650 2011-09-29  Andreas Jaeger  <aj@suse.de>
45651
45652         [BZ #13179]
45653         * sunrpc/netname.c (netname2host): Fix logic.
45654
45655         [BZ #6779]
45656         [BZ #6783]
45657         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45658         correctly.
45659         * math/w_remainder.c (__remainder): Likewise.
45660         * math/w_remainderf.c (__remainderf): Likewise.
45661         * math/libm-test.inc (remainder_test): Add test cases.
45662
45663 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45664
45665         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45666         sdiv_qrnnd.
45667
45668 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45669
45670         * string/test-memcmp.c: Avoid unncessary #defines.
45671         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45672
45673 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45674
45675         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45676         Use new sse2 version for core i3 - i7 as it's faster
45677         than sse42 version.
45678         (bit_Prefer_PMINUB_for_stringop): New.
45679         * sysdeps/x86_64/rawmemchr.S: Update.
45680         Replace with faster SSE2 version.
45681         * sysdeps/x86_64/memrchr.S: New file.
45682         * sysdeps/x86_64/memchr.S: Update.
45683         Replace with faster SSE2 version.
45684
45685 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45686
45687         * elf/dl-load.c (lose): Add cast to avoid warning.
45688
45689 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45690
45691         * po/ca.po: Update from translation team.
45692
45693         * inet/getnetgrent_r.c: Hook up nscd.
45694         * nscd/Makefile (routines): Add nscd_netgroup.
45695         (nscd-modules): Add netgroupcache.
45696         (CFLAGS-netgroupcache.c): Define.
45697         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45698         (cache_search): Add const to second parameter.
45699         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45700         INNETGR.
45701         (dbs): Add netgrdb entry.
45702         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45703         (verify_persistent_db): Handle netgrdb.
45704         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45705         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45706         GETFDNETGR.
45707         (netgroup_response_header): Define.
45708         (innetgroup_response_header): Define.
45709         (datahead): Add netgroup_response_header and innetgroup_response_header
45710         elements.
45711         * nscd/nscd.conf: Add entries for netgroup cache.
45712         * nscd/nscd.h (dbtype): Add netgrdb.
45713         (_PATH_NSCD_NETGROUP_DB): Define.
45714         (netgroup_iov_disabled): Declare.
45715         (xmalloc, xcalloc, xrealloc): Move declarations here.
45716         (cache_search): Adjust prototype.
45717         Add netgroup-related prototypes.
45718         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45719         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45720         (__nscd_innetgr): Declare.
45721         * nscd/selinux.c (perms): Use access_vector_t as element type and
45722         add netgroup-related initializers.
45723         * nscd/netgroupcache.c: New file.
45724         * nscd/nscd_netgroup.c: New file.
45725         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45726         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45727         For four parameters use innetgr.
45728         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45729         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45730         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45731         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45732
45733         * nscd/connections.c (register_traced_file): Don't register file
45734         for disabled databases.
45735
45736 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45737
45738         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45739
45740         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45741         from tree and freeing node.
45742
45743 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45744
45745         * nss/nsswitch.c (__nss_database_lookup): Handle
45746         nss_parse_service_list out of memory case.
45747
45748 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45749
45750         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45751         out of memory case.
45752
45753 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45754
45755         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45756         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45757         pass it down.
45758         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45759         elf_machine_rela, elf_machine_lazy_rel.
45760         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45761         (ELF_DYNAMIC_DO_REL): Likewise.
45762         (ELF_DYNAMIC_DO_RELA): Likewise.
45763         (ELF_DYNAMIC_RELOCATE): Likewise.
45764         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45765         to ELF_DYNAMIC_DO_REL.
45766         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45767         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45768         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45769         elf_machine_rela.
45770         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45771         skip_ifunc, don't call ifunc function if non-zero.
45772         (elf_machine_rela): Likewise.
45773         (elf_machine_lazy_rel): Likewise.
45774         (elf_machine_lazy_rela): Likewise.
45775         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45776         (elf_machine_lazy_rel): Likewise.
45777         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45778         Likewise.
45779         (elf_machine_lazy_rel): Likewise.
45780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45781         Likewise.
45782         (elf_machine_lazy_rel): Likewise.
45783         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45784         (elf_machine_lazy_rel): Likewise.
45785         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45786         (elf_machine_lazy_rel): Likewise.
45787         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45788         (elf_machine_lazy_rel): Likewise.
45789         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45790         (elf_machine_lazy_rel): Likewise.
45791         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45792         (elf_machine_lazy_rel): Likewise.
45793         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45794         (elf_machine_lazy_rel): Likewise.
45795
45796 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45797
45798         * nss/nss_files/files-init.c (_nss_files_init): Use static
45799         initialization for all the *_traced_file variables.
45800
45801 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45802
45803         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45804
45805 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45806
45807         [BZ #13226]
45808         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45809
45810 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45811
45812         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45813         Reread the line before reparsing it.
45814
45815 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45816
45817         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45818
45819 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45820             Maxim Kuvyrkov  <maxim@codesourcery.com>
45821             Joseph Myers  <joseph@codesourcery.com>
45822
45823         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45824         if needed for __stack_chk_guard.
45825
45826 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45827
45828         * sysdeps/posix/spawni.c (script_execute): Always define it.
45829         It will be optimized away if unused.
45830         (maybe_script_execute): New function.
45831         (__spawni): Call it.
45832
45833         * Makerules: Don't include tls.make.
45834         (config-tls): Always set to thread.
45835         * tls.make.c: File removed.
45836
45837 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45838
45839         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45840         * config.make.in (CPPFLAGS-config): New substituted variable.
45841
45842 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45843
45844         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45845
45846         [BZ #13192]
45847         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45848         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45849
45850 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45851
45852         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45853         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45854         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45855         (CALL_FAIL): Likewise.
45856         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45857         (CALL_FAIL): Macro removed.
45858         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45859
45860 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45861
45862         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45863         for __FINITE_MATH_ONLY__ == 1.
45864
45865 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45866
45867         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45868         __ieee754_sqrt instead of sqrt.
45869         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45870         __ieee754_sqrtf instead of sqrtf.
45871         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45872         __floorf instead of floorf.
45873         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45874         __floorf, __truncf instead of floorf, truncf.
45875
45876 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45877
45878         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45879
45880         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45881         __extern_always_inline.
45882         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45883         32-bit.
45884
45885 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45886
45887         * elf/rtld.c (dl_main): Also relocate in dependency order when
45888         doing symbol dependency testing.
45889
45890 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45891
45892         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45893         Always define `refsym'.
45894
45895 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45896
45897         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45898         (__FD_ELT): Renamed from __FDELT.
45899         * misc/bits/select2.h (__FD_ELT): Likewise.
45900         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45901         __FD_MASK instead of __FDELT, __FDMASK.
45902         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45903         Likewise.
45904         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45905         Likewise.
45906
45907         * elf/Makefile (gen-ldd): Fix pattern.
45908
45909         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45910         (init_tls): Likewise.
45911
45912 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45913
45914         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45915
45916 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45917
45918         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45919         `struct cmsghdr *' instead of `void *'.
45920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45921         Likewise.
45922
45923 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45924
45925         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45926         if non-absolute.
45927         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45928         ldd_rewrite_script.
45929
45930 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45931
45932         * configure.in: Remove --with-tls option.
45933         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45934         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45935         out in case it is missing.
45936         * sysdeps/ia64/elf/configure.in: Likewise.
45937         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45938         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45939         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45940         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45941         * sysdeps/sh/elf/configure.in: Likewise.
45942         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45943         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45944         * sysdeps/x86_64/elf/configure.in: Likewise.
45945         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45946         * sysdeps/mach/hurd/tls.h: Likewise.
45947
45948         [BZ #13067]
45949         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45950
45951         [BZ #13090]
45952         * configure.in: Fix use of AC_INIT.
45953
45954         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45955
45956 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45957
45958         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45959         __set_errno.
45960         * malloc/hooks.c: Likewise.
45961
45962         [BZ #11929]
45963         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45964         variables statically.
45965         (narenas): Initialize.
45966         (list_lock): Initialize.
45967         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45968         initializtion of main_arena and list_lock.  Small cleanups.
45969         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45970         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45971         Add initializers to main_arena and mp_.
45972         (malloc_state): Remove pagesize member.  Change all users to use
45973         GLRO(dl_pagesize).
45974
45975         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45976         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45977         is always initialized.
45978
45979         * malloc/malloc.c: Removed unused configurations and dead code.
45980         * malloc/arena.c: Likewise.
45981         * malloc/hooks.c: Likewise.
45982         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45983
45984         * include/tls.h: Removed.  USE___THREAD must always be defined.
45985         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45986         * elf/dl-libc.c: Likewise.
45987         * elf/dl-tsd.c: Likewise.
45988         * include/errno.h: Likewise.
45989         * include/netdb.h: Likewise.
45990         * include/resolv.h: Likewise.
45991         * inet/herrno-loc.c: Likewise.
45992         * inet/herrno.c: Likewise.
45993         * malloc/arena.c: Likewise.
45994         * malloc/hooks.c: Likewise.
45995         * malloc/malloc.c: Likewise.
45996         * resolv/res-state.c: Likewise.
45997         * resolv/res_libc.c: Likewise.
45998         * sysdeps/i386/dl-machine.h: Likewise.
45999         * sysdeps/ia64/dl-machine.h: Likewise.
46000         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46001         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46002         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46003         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46004         * sysdeps/sh/dl-machine.h: Likewise.
46005         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46006         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46007         * sysdeps/unix/i386/sysdep.S: Likewise.
46008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46009         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46014         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46015         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46017         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46018         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46019         * sysdeps/x86_64/dl-machine.h: Likewise.
46020         * tls.make.c: Likewise.
46021
46022         * configure.in: Remove --with-__thread option.  Make tests for
46023         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46024         tls_model attribute fail if no support is available.  Remove
46025         USE_IN_LIBIO.
46026         * Makeconfig: Adjust for dropped configure option.  All features are
46027         now mandatory.
46028         * Makerules: Likewise.
46029         * Versions.def: Likewise.
46030         * argp/argp-fmtstream.c: Likewise.
46031         * argp/argp-fmtstream.h: Likewise.
46032         * argp/argp-help.c: Likewise.
46033         * assert/assert.c: Likewise.
46034         * config.h.in: Likewise.
46035         * config.make.in: Likewise.
46036         * configure: Likewise.
46037         * configure.in: Likewise.
46038         * csu/Versions: Likewise.
46039         * csu/init.c: Likewise.
46040         * elf/tst-audit2.c: Likewise.
46041         * elf/tst-tls10.c: Likewise.
46042         * elf/tst-tls10.h: Likewise.
46043         * elf/tst-tls11.c: Likewise.
46044         * elf/tst-tls12.c: Likewise.
46045         * elf/tst-tls14.c: Likewise.
46046         * elf/tst-tlsmod11.c: Likewise.
46047         * elf/tst-tlsmod12.c: Likewise.
46048         * elf/tst-tlsmod13.c: Likewise.
46049         * elf/tst-tlsmod13a.c: Likewise.
46050         * elf/tst-tlsmod14a.c: Likewise.
46051         * elf/tst-tlsmod15b.c: Likewise.
46052         * elf/tst-tlsmod16a.c: Likewise.
46053         * elf/tst-tlsmod16b.c: Likewise.
46054         * elf/tst-tlsmod7.c: Likewise.
46055         * elf/tst-tlsmod8.c: Likewise.
46056         * elf/tst-tlsmod9.c: Likewise.
46057         * gmon/gmon.c: Likewise.
46058         * grp/fgetgrent_r.c: Likewise.
46059         * grp/putgrent.c: Likewise.
46060         * hurd/fopenport.c: Likewise.
46061         * include/libc-symbols.h: Likewise.
46062         * include/tls.h: Likewise.
46063         * intl/gettextP.h: Likewise.
46064         * intl/loadinfo.h: Likewise.
46065         * locale/global-locale.c: Likewise.
46066         * locale/localeinfo.h: Likewise.
46067         * mach/devstream.c: Likewise.
46068         * malloc/arena.c: Likewise.
46069         * malloc/set-freeres.c: Likewise.
46070         * misc/err.c: Likewise.
46071         * misc/getttyent.c: Likewise.
46072         * misc/mntent_r.c: Likewise.
46073         * posix/getopt.c: Likewise.
46074         * posix/wordexp.c: Likewise.
46075         * pwd/fgetpwent_r.c: Likewise.
46076         * resolv/Versions: Likewise.
46077         * resolv/res_hconf.c: Likewise.
46078         * shadow/fgetspent_r.c: Likewise.
46079         * shadow/putspent.c: Likewise.
46080         * stdio-common/printf_fphex.c: Likewise.
46081         * stdio-common/tmpfile.c: Likewise.
46082         * stdlib/abort.c: Likewise.
46083         * stdlib/fmtmsg.c: Likewise.
46084         * sunrpc/auth_unix.c: Likewise.
46085         * sunrpc/clnt_perr.c: Likewise.
46086         * sunrpc/clnt_tcp.c: Likewise.
46087         * sunrpc/clnt_udp.c: Likewise.
46088         * sunrpc/clnt_unix.c: Likewise.
46089         * sunrpc/openchild.c: Likewise.
46090         * sunrpc/svc_simple.c: Likewise.
46091         * sunrpc/svc_tcp.c: Likewise.
46092         * sunrpc/svc_udp.c: Likewise.
46093         * sunrpc/svc_unix.c: Likewise.
46094         * sunrpc/xdr.c: Likewise.
46095         * sunrpc/xdr_array.c: Likewise.
46096         * sunrpc/xdr_rec.c: Likewise.
46097         * sunrpc/xdr_ref.c: Likewise.
46098         * sunrpc/xdr_stdio.c: Likewise.
46099
46100 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46101
46102         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46103
46104 2011-07-03  Andreas Jaeger  <aj@suse.de>
46105
46106         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46107         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46108         regenerate with gen-libm-tests.pl.
46109
46110 2010-05-12  Petr Baudis  <pasky@suse.cz>
46111
46112         [BZ #11589]
46113         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46114         around j0() zero points by switching to j1().
46115         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46116         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46117         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46118         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46119
46120 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46121
46122         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46123         instead of 0.
46124         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46125         instead of 0.
46126         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46127         Patch in part by Pavel Roskin <proski@gnu.org>.
46128
46129         [BZ #13138]
46130         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46131         realloc.
46132         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46133         Free memory block if necessary.
46134
46135         [BZ #12847]
46136         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46137         be NULL.  Don't lock in this case.
46138
46139 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46140
46141         * elf/elf.h (ELFOSABI_GNU): New macro.
46142         (ELFOSABI_LINUX): Define to that.
46143
46144 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46145
46146         * string/strncat.c (strncat): Undef the symbol in case it has been
46147         defined in bits/string.h.
46148
46149 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46150
46151         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46152
46153         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46154         link map.
46155
46156 2011-08-17  Andreas Jaeger  <aj@suse.de>
46157
46158         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46159
46160 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46161             Ian Lance Taylor  <iant@google.com>
46162
46163         * math/libm-test.inc (lround_test): New testcase.
46164         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46165
46166 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46167
46168         * Makefile: Remove support for automatic cvs check-ins.
46169         * Makerules: Likewise.
46170         * config.make.in: Likewise.
46171         * configure.in: Likewise.
46172         * intl/Makefile: Likewise.
46173         * locale/Makefile: Likewise.
46174         * po/Makefile: Likewise.
46175         * posix/Makefile: Likewise.
46176         * sysdeps/gnu/Makefile: Likewise.
46177         * sysdeps/mach/hurd/Makefile: Likewise.
46178         * sysdeps/sparc/sparc32/Makefile: Likewise.
46179
46180         [BZ #13118]
46181         * posix/Makefile (bug-regex32-ENV): Define.
46182         Patch by John Stanley <jpsinthemix@verizon.net>.
46183
46184         * misc/Makefile (headers): Add bits/select2.h.
46185         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46186         * misc/bits/select2.h: New file.
46187         * include/bits/select2.h: New file.
46188         * debug/Makefile (routines): Add fdelt_chk.
46189         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46190         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46191         FD_ISSET.
46192         * debug/fdelt_chk.c: New file.
46193
46194         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46195         * wcsmbs/test-wmemcmp.c: Likewise.
46196         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46197         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46198
46199 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46200
46201         * string/Makefile (strop-tests): Add memcmp.
46202         * string/test-wmemcmp.c: New file.
46203         * string/test-memcmp.c: Add wmemcmp support.
46204
46205 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46206
46207         [BZ #13153]
46208         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46209         2011-07-19 change.
46210
46211         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46212         garbage value in a __mach_port_mod_refs call in the cases of the
46213         task-self and thread-self ports.
46214
46215 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46216
46217         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46218
46219 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46220
46221         * elf/dl-load.c (lose): Check for non-null L.
46222
46223 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46224
46225         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46226
46227         * elf/dl-libc.c (dlerror_run): Pass back error code from
46228         dl_catch_error.
46229
46230         [BZ #13123]
46231         * elf/dl-load.c (lose): Free l_origin if it is valid.
46232
46233         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46234         names.
46235         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46236         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46237         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46238         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46239         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46240         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46241
46242 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46243
46244         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46245         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46246         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46247         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46248         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46249         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46250         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46251         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46252         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46253         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46254
46255 2011-08-15  Alan Modra  <amodra@gmail.com>
46256
46257         [BZ #13092]
46258         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46259         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46260         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46261         ppc_mcount to static-only-routines.
46262         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46263         __mcount_internal.
46264         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46265         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46266
46267 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46268
46269         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46270         for finite and infinity parameters.
46271
46272 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46273
46274         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46275         and add nop instructions for throughput optimization.
46276         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46277
46278 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46279
46280         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46281         aligned copy for power7 with vector-scalar instructions.
46282         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46283
46284 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46285
46286         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46287         AVX check.
46288
46289 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46290
46291         [BZ #13144]
46292         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46293         last change.
46294
46295 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46296
46297         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46298         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46299         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46300         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46301         clock_gettime.
46302
46303 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46304
46305         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46306         Forgot to demangle the pointer.
46307
46308         * sysdeps/i386/sysdep.h: Define atom_text_section.
46309         * sysdeps/x86_64/sysdep.h: Likewise.
46310         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46311         section with atom_text_section.
46312         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46313         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46314         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46315         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46316         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46317
46318         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46319         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46320         already be defined.  Change to take two parameters and don't assign
46321         result to variable.  Adjust all users.
46322         Define INTERNAL_GETTIME if not already defined.
46323         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46324         call.
46325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46326         HAVE_CLOCK_GETTIME_VSYSCALL.
46327         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46328
46329         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46330         gettimeofday vsyscall, just use time.
46331
46332 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46333
46334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46335         <errno.h>.
46336
46337 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46338
46339         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46340         syscall on x86-64.
46341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46342         syscall.
46343         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46344         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46345         syscall if possible.
46346
46347 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46348
46349         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46350         e_ident.  Don't pass to find_mapsXX.
46351         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46352
46353 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46354
46355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46356         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46357         * sysdeps/x86_64/multiarch/strchr.S: Update.
46358         Check bit_slow_BSF bit.
46359         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46360         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46361         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46362
46363 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46364
46365         [BZ #13134]
46366         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46367         before glibc 2.15.
46368         (tryshell): Define.
46369         (__spawni): Change last parameter to be flag.  Test
46370         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46371         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46372         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46373         * posix/spawni.c: Likewise.
46374         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46375         * posix/spawnp.c: Likewise.  Change normal version to use
46376         SPAWN_XFLAGS_USE_PATH.
46377         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46378         SPAWN_XFLAGS_TRY_SHELL.
46379
46380         [BZ #13150]
46381         * posix/glob.h: Remove gcc 1.x support.
46382
46383         [BZ #13068]
46384         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46385
46386 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46387
46388         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46389         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46390         strrchr-sse2-bsf
46391         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46392         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46393         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46394         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46395         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46396         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46397
46398 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46399
46400         * sysdeps/x86_64/wcscmp.S: New file.
46401
46402         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46403         wcscmp-c wcscmp-sse2
46404         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46405         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46406         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46407         * wcsmbs/wcscmp.c: Allow renaming.
46408
46409 2011-09-05  David S. Miller  <davem@davemloft.net>
46410
46411         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46412         stack slot, rather than the struct return pointer slot.
46413         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46414         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46416         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46417
46418 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46419
46420         * po/ja.po: Update from translation team.
46421
46422         [BZ #13144]
46423         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46424         kernel in 64-bit binaries.
46425
46426 2011-09-01  David S. Miller  <davem@davemloft.net>
46427
46428         * elf/elf.h (HWCAP_SPARC_*): Move to..
46429         * sysdeps/sparc/sysdep.h: this new file and add new values.
46430         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46431         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46432         _DL_HWCAP_COUNT to 24.
46433         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46434         entries.
46435         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46436         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46437         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46439         instead of magic constants.
46440         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46441
46442 2011-08-31  David S. Miller  <davem@davemloft.net>
46443
46444         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46446         Reimplement to do errno handling inline.
46447         (SYSCALL_ERROR_HANDLER): New macro.
46448         (__SYSCALL_STRING): Do not do errno handling in asm.
46449         (__CLONE_SYSCALL_STRING): Delete.
46450         (__INTERNAL_SYSCALL_STRING): Delete.
46451         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46452         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46453         (PSEUDO): Reimplement to do errno handling inline.
46454         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46455         (SYSCALL_ERROR_HANDLER): New macro.
46456         (__SYSCALL_STRING): Do not do errno handling in asm.
46457         (__CLONE_SYSCALL_STRING): Delete.
46458         (__INTERNAL_SYSCALL_STRING): Delete.
46459         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46460         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46461         i386.
46462         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46463         (inline_syscall*): Add 'err' argument.
46464         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46465         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46466         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46467         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46468
46469         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46470         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46471
46472 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46473
46474         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46475
46476 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46477
46478         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46479         directive.
46480
46481 2011-08-24  David S. Miller  <davem@davemloft.net>
46482
46483         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46484
46485 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46486
46487         * elf/Makefile: Add rules to build and run unload8 test.
46488         * elf/unload8.c: New file.
46489         * elf/unload8mod1.c: New file.
46490         * elf/unload8mod1x.c: New file.
46491         * elf/unload8mod2.c: New file.
46492         * elf/unload8mod3.c: New file.
46493
46494         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46495         it wasn't used.
46496
46497 2011-08-23  David S. Miller  <davem@davemloft.net>
46498
46499         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46500         subtract stack bias.
46501         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46502         %sp not %fp in calculations.
46503         (_JMPBUF_UNWINDS_ADJ): Likewise.
46504
46505         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46506         (aio_suspend): Call it to force an exception region around the
46507         AIO_MISC_WAIT() invocation.
46508
46509 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46510
46511         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46512         backslash.
46513
46514 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46515
46516         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46517         protection macro.
46518         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46519         and <dl-machine.h>.
46520         (Elf64_FuncDesc): Remove.
46521
46522 2011-08-22  David S. Miller  <davem@davemloft.net>
46523
46524         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46525         sigaltstack check, add missing cfi directives.
46526         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46527         missing cfi directives, and sigaltstack handling.
46528
46529 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46530
46531         [BZ #11724]
46532         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46533         object is seen twice.
46534         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46535
46536         * elf/Makefile (distribute): Add tst-initorder2.c.
46537         (tests): Add tst-initorder2.
46538         (modules-names): Add tst-initorder2a tst-initorder2b
46539         tst-initorder2c tst-initorder2d.  Add rules to build them.
46540         ($(objpfx)tst-initorder2.out): New rule.
46541         * elf/tst-initorder2.c: New file.
46542         * elf/tst-initorder2.exp: New file.
46543
46544 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46545
46546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46547
46548         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46549         dependencies back to end of function.
46550
46551         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46552         $(elfobjdir)/ld.so.
46553
46554 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46555
46556         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46557         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46559         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46560         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46561         of __vdso_gettimeofday.
46562         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46563         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46564         attribute_hidden.
46565         (_libc_vdso_platform_setup): Remove initialization of
46566         __vdso_gettimeofday and __vdso_time.
46567
46568 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46569
46570         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46571         and fgetc_unlocked.
46572         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46573         getc_unlocked.
46574
46575         * elf/dl-open.c (add_to_global): Report additions to the global scope
46576         for LD_DEBUG=scopes.
46577         (dl_open_worker): Also print scope of newly loaded dependencies.
46578         (_dl_show_scope): Indicate if there is no scope.
46579
46580         [BZ #13114]
46581         * stdio-common/Makefile (tests): Add bug24.
46582         * stdio-common/bug24.c: New file.
46583
46584 2011-08-19  Andreas Jaeger  <aj@suse.de>
46585
46586         [BZ #13114]
46587         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46588         non-existant file when using close-on-exec mode.
46589
46590 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46591
46592         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46593         the very first instruction.
46594
46595         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46596         the CFI state in the end.
46597         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46598         inclusion of dl-trampoline.h.
46599         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46600
46601 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46602
46603         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46604         expectations for long double.
46605
46606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46607         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46608
46609 2011-08-14  David S. Miller  <davem@davemloft.net>
46610
46611         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46612         artificual limit depends upon the system page size.
46613
46614 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46615
46616         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46617         * resolv/Makefile: Define CFLAGS-libresolv.
46618
46619 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46620
46621         * nss/makedb.c (compute_tables): Make variables used in nested
46622         function static.
46623
46624 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46627         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46628         if buffer was too small.
46629
46630         * elf/pldd.c (main): Attach to all threads in the process.
46631         Rewrite /proc handling to use *at functions.
46632
46633 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46634
46635         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46636         specifies first scope to show.
46637         (dl_open_worker): Update callers.  Move printing scope of new
46638         object to before the relocation.
46639         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46640         * sysdeps/generic/ldsodefs.h: Update declaration.
46641
46642         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46643         string for the scope number.
46644
46645 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46646
46647         * nscd/servicescache.c (cache_addserv): Make sure written is always
46648         initialized.
46649
46650 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46651
46652         * sysdeps/i386/i486/bits/atomic.h
46653         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46654         statement expression, so as to suppress "set but not used" warning.
46655         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46656
46657         * string/strncat.c (STRNCAT): Use prototype definition.
46658
46659         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46660         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46661         -Iprograms here.
46662         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46663         (localedef-modules): Add localedef.
46664         (locale-modules): Add locale.
46665
46666         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46667         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46668         to avoid a warning.
46669
46670 2011-08-14  David S. Miller  <davem@davemloft.net>
46671
46672         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46673         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46674
46675 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46676
46677         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46678         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46679         * elf/rtld.c (dl_main): Set l_name of vDSO.
46680         Call _dl_show_scope when DL_DEBUG_SCOPES.
46681         (process_dl_debug): Recognize scopes flag and also set it for all.
46682         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46683         Declare _dl_show_scope.
46684
46685         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46686         (do_dlopen): Pass caller_dlopen to dl_open.
46687         (__libc_dlopen_mode): Initialize caller_dlopen.
46688
46689         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46690         of libc.  Make tolower call locale-independent.  Optimize a bit by
46691         using isdigit instead of isalnum.
46692         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46693
46694 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46695
46696         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46697         was a dependency or dynamically loaded.
46698
46699 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46700
46701         * intl/l10nflist.c: Allow architecture-specific pop function.
46702         * sysdeps/x86_64/l10nflist.c: New file.
46703
46704         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46705         classification.
46706
46707 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46708
46709         * include/dirent.h: Add libc_hidden_proto for scandirat and
46710         scandirat64.  Don't declare __scandirat64.
46711         * dirent/scandirat.c: Add libc_hidden_def.
46712         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46713         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46714
46715 2011-08-10  David S. Miller  <davem@davemloft.net>
46716
46717         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46718         enum.
46719         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46720         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46721         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46722
46723 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46724
46725         * Versions.def [libc]: Add GLIBC_2.15.
46726         * dirent/Makefile (routines): Add scandirat and scandirat64.
46727         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46728         GLIBC_2.15.
46729         * dirent/dirent.h: Declare scandirat and scandirat64.
46730         * dirent/scandirat.c: New file.
46731         * dirent/scandirat64.c: New file.
46732         * sysdeps/wordsize-64/scandirat.c: New file.
46733         * sysdeps/wordsize-64/scandirat64.c: New file.
46734         * dirent/opendir.c: Define opendirat.
46735         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46736         using scandirat.
46737         * dirent/scandir64.c: Adjust for scandir.c change.
46738         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46739         __scandirat64, and __scandir_cancel_handler.
46740         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46741         additional parameter and use openat instead of open (outside of ld.so).
46742         Add new __opendir as wrapper around __opendirat.
46743         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46744         here without requiring old scandirat implementation.
46745
46746 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46747
46748         * dirent/scandir.c (cancel_handler): Renamed to
46749         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46750         defined.  Adjust users.
46751         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46752         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46753
46754 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46755
46756         * string/test-string.h (IMPL): Use __STRING to expand name and then
46757         stringify it.
46758
46759         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46760         of cleanups.
46761
46762 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46763
46764         * string/Makefile: Update.
46765         (strop-tests): Append strncat.
46766         * string/test-wcscmp.c: New file.
46767         New comprehensive test for wcscmp.
46768         * string/test-strcmp.c: Update.
46769         (WIDE): New define.
46770
46771 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46772
46773         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46774         line.
46775
46776 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46777
46778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46779         encoding to ACE if AI_IDN.
46780
46781 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46782
46783         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46784         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46785
46786 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46787
46788         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46789         Fix overflow bug in strncat.
46790         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46791
46792         * string/test-strncat.c: Update.
46793         Add new tests for checking overflow bugs.
46794
46795 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46796
46797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46798         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46799         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46800         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46801         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46802         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46803         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46804         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46805         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46806
46807         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46808         (USE_AS_STRCAT): Define.
46809         Add strcat and strncat support.
46810         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46811
46812 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46813
46814         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46815         __n bigger than INT_MAX+1.
46816         (__strncmp_g): Likewise.
46817
46818 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46819
46820         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46821         * libio/stido.h: Likewise.
46822
46823         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46824         (AF_NFC): Define.
46825         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46826         (AF_NFC): Define.
46827
46828         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46829         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46830         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46831         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46832         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46833
46834         [BZ #13021]
46835         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46836         installed.
46837
46838         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46839         typo.
46840         (_dl_x86_64_save_sse): Likewise.
46841
46842 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46843
46844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46845         OSXSAVE.
46846         (_dl_x86_64_save_sse): Likewise.
46847
46848         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46849
46850         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46851
46852 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46853
46854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46855         change.
46856         (_dl_x86_64_save_sse): Use correct AVX check.
46857
46858 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46859
46860         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46861         bug in strncpy/strncat.
46862         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46863
46864 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46865
46866         * string/tester.c (test_strcat): Add tests for different alignments
46867         of source and destination.
46868         (test_strncat): Likewise.
46869
46870 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46871
46872         [BZ #12852]
46873         * posix/glob.c (glob): Check passed in values before using them in
46874         expressions to avoid some overflows.
46875         (glob_in_dir): Likewise.
46876
46877         [BZ #13007]
46878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46879         check for AVX enablement so that we don't crash with old kernels and
46880         new hardware.
46881         * elf/tst-audit4.c: Add same checks here.
46882         * elf/tst-audit6.c: Likewise.
46883
46884         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46885
46886 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46887
46888         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46889
46890 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46891
46892         * po/cs.po: Update from translation team.
46893         * po/bg.po: Likewise.
46894
46895 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46896
46897         * misc/sys/cdefs.h: Add support for const attribute.
46898         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46899         to gnu_dev_{major,minor,makedev} functions.
46900
46901 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46902
46903         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46904
46905 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46906
46907         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46908         strlen results.
46909
46910 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46911
46912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46913         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46914         register in order to avoid conflicts with the soft frame pointer
46915         being held in r11 when necessary.
46916         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46917         (INTERNAL_VSYSCALL_NCS): Likewise.
46918
46919 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46920
46921         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46922         * elf/dl-fini.c (_dl_fini): Adjust caller.
46923         * elf/dl-close.c (_dl_close_worker): Likewise.
46924         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46925
46926 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46927
46928         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46929         "aux_cache->nlibs < 0".
46930
46931         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46932         in the reload-count case.
46933
46934 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46935
46936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46937         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46938         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46939         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46940         * sysdeps/x86_64/multiarch/strcat.S: New file.
46941         * sysdeps/x86_64/multiarch/strncat.S: New file.
46942         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46943         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46944         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46945         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46946         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46947         (USE_AS_STRCAT): Define.
46948         Add strcat and strncat support.
46949         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46950         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46951         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46952         * string/strncat.c: Update.
46953         (USE_AS_STRNCAT): Define.
46954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46955         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46956         and i7.
46957         * sysdeps/x86_64/multiarch/init-arch.h
46958         (bit_Prefer_PMINUB_for_stringop): New.
46959         (index_Prefer_PMINUB_for_stringop): Likewise.
46960         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46961         bit_Prefer_PMINUB_for_stringop.
46962
46963 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46964
46965         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46966         buffer64.
46967         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46968         of casting of buffer.
46969         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46970         buffer32 and buffer64.
46971         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46972         writes instead of casting of buffer.
46973         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46974         buffer32.
46975         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46976         casting of buffer.
46977
46978 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46979
46980         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46981
46982 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46983
46984         * nscd/nscd.c (termination_handler): Don't do anything for a database
46985         if it has not yet been initialized.
46986
46987 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46988
46989         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46990
46991 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46992
46993         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46994
46995 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46996
46997         * po/nl.po: Update from translation team.
46998         * po/sv.po: Likewise.
46999
47000 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47001
47002         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47003         now disallowed by GCC.
47004
47005         * configure.in (use-default-link): Default to yes if a test -shared
47006         link meets our qualifications.
47007         * configure: Regenerated.
47008
47009         * config.make.in (output-format): New variable.
47010         * configure.in: Check for ld --print-output-format support.
47011         * configure: Regenerated.
47012         * Makerules ($(common-objpfx)format.lds)
47013         [$(output-format) != unknown]: Just use $(output-format),
47014         instead of the linker-script munging.
47015
47016 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47017
47018         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47019         of $(common-objpfx)shlib.lds.
47020         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47021
47022         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47023         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47024
47025         * configure.in (-z relro check): Adjust test code to add a large
47026         writable data section after it.
47027         * configure: Regenerated.
47028
47029 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47030
47031         * configure.in (-z relro check): Fix test code to make the variable
47032         truly const.
47033         * configure: Regenerated.
47034
47035 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47036
47037         * nscd/nscd.h (struct traced_file): Define.
47038         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47039         elements.  Add traced_files.
47040         (inotify_fd): Declare.
47041         (register_traced_file): Declare.
47042         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47043         (inotify_fd): Export.
47044         (resolv_conf_descr): Remove.
47045         (nscd_init): Move inotify descriptor creation to main.
47046         Don't register files for notification here.
47047         (register_traced_file): New function.
47048         (invalidate_cache): Don't use reset_res to determine whether to call
47049         res_init, go through the list of registered files.
47050         (main_loop_poll): The inotify descriptors are now stored in the
47051         structures for the traced files.
47052         (main_loop_epoll): Likewise
47053         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47054         to __nss_disable_nscd.
47055         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47056         for a database anymore.  Check the records for all the registered
47057         files instead.
47058         * nss/Makefile (libnss_files-routines): Add files-init.
47059         (libnss_db-routines): Add db-init.
47060         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47061         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47062         * nss/nss_db/db-init.c: New file.
47063         * nss/nss_files/files-init.c: New file.
47064         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47065         __nss_lookup_function.
47066         (__nss_lookup_function): Call nss_load_library.
47067         (nss_load_all_libraries): New function.
47068         (__nss_disable_nscd): Take parameter with callback function for files
47069         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47070         used for the cached services.
47071         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47072         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47073         options for features to all the files in nscd.
47074
47075         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47076
47077 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47078
47079         * csu/elf-init.c (__libc_csu_init): Comment typo.
47080
47081 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47082
47083         * po/pl.po: Update from translation team.
47084         * po/ja.po: Likewise.
47085         * po/ru.po: Likewise.
47086         * po/ko.po: Likewise.
47087         * po/fr.po: Likewise.
47088
47089 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47090
47091         * configure.in (.ctors/.dtors header and trailer check):
47092         Use an empirical test on a built program.
47093         * configure: Regenerated.
47094
47095         * configure.in (-z relro check): Use an empirical test on a built DSO.
47096         Detect, but do not require, on ia64.
47097         * configure: Regenerated.
47098
47099         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47100         Update tests that use readelf to use $READELF instead.
47101         * configure: Regenerated.
47102
47103 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47104
47105         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47106         if the result is not used.
47107
47108 2011-07-05  Andreas Jaeger  <aj@suse.de>
47109
47110         [BZ#9696]
47111         * stdlib/tst-strtod.c: Add testcase.
47112
47113 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47114
47115         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47116         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47117         The latter has a higher limit.  Take additional parameter to pass to
47118         the new function.
47119         (__pathconf): Pass file to __statfs_link_max.
47120         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47121         __statfs_link_max.
47122         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47123         __statfs_link_max.
47124
47125         [BZ #12868]
47126         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47127         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47128         Handle Lustre.
47129         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47130         (__statfs_filesize_max): Likewise.
47131         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47132
47133 2011-07-05  Andreas Jaeger  <aj@suse.de>
47134
47135         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47136
47137 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47138
47139         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47140         `status' variable.
47141         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47142         Likewise.
47143
47144 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47145
47146         * Makefile (strop-tests): Add strncat.
47147         * string/test-strncat.c: New file.
47148
47149 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47150
47151         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47152
47153 2011-06-21  Andreas Jaeger  <aj@suse.de>
47154
47155         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47156         Copy rule from iconvdata/Makefile.
47157
47158 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47159
47160         [BZ #12922]
47161         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47162         but no long options are defined, just return 'W'.
47163
47164 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47165
47166         [BZ #9696]
47167         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47168
47169 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47170
47171         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47172         netgroups to read.
47173         (innetgr): Likewise.
47174
47175 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47176
47177         * config.make.in (install_root): Default to $(DESTDIR).
47178
47179 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47180
47181         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47182
47183 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47184
47185         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47186
47187         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47188         containing directory rather than embedding absolute directory names.
47189
47190         * scripts/check-local-headers.sh: Rewritten using awk.
47191         Match by word, not by line.  Print error messages for matches.
47192         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47193
47194         * Makerules [shlib-lds-flags empty]:
47195         ($(common-objpfx)libc_pic.opts): New target.
47196         ($(common-objpfx)libc_pic.os.clean): New target.
47197         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47198
47199         * config.make.in (OBJCOPY): New variable.
47200         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47201         * configure: Regenerated.
47202
47203         * config.make.in (use-default-link): New variable.
47204         * configure.in (use_default_link): Grok --with-default-link to set it.
47205         * configure: Regenerated.
47206         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47207         (shlib-lds, shlib-lds-flags): Define to empty.
47208
47209         * Makerules (shlib-lds): New variable.
47210         (shlib-lds-flags): New variable.
47211         (build-shlib, build-moduile, build-module-asneeded): Use it.
47212         ($(common-objpfx)libc.so): Use $(shlib-lds).
47213         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47214         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47215
47216         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47217         DT_FLAGS/DT_FLAGS_1 with zero flags.
47218
47219         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47220         linker script munging.
47221
47222 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47223
47224         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47225         as 128-bit value.
47226         * crypt/sha512.c (sha512_process_block): Perform total addition using
47227         128-bit if possible.
47228         (__sha512_finish_ctx): Likewise.
47229         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47230         as 64-bit value.
47231         * crypt/sha256.c (SWAP64): Define.
47232         (sha256_process_block): Perform total addition using 64-bit if
47233         possible.
47234         (__sha256_finish_ctx): Likewise.
47235
47236 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47237
47238         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47239         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47240         * nscd/hstcache.c (cache_addhst): Likewise.
47241         * nscd/grpcache.c (cache_addgr): Likewise.
47242         * nscd/aicache.c (addhstaiX): Likewise
47243         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47244
47245 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47246
47247         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47248         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47249         * nscd/hstcache.c (cache_addhst): Likewise.
47250         * nscd/grpcache.c (cache_addgr): Likewise.
47251         * nscd/aicache.c (addhstaiX): Likewise
47252
47253 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47254
47255         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47256         domain only when needed.
47257
47258 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47259
47260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47261         is always restored.
47262
47263 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47264
47265         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47266         are re-adding the entry.
47267         * nscd/servicescache.c (cache_addserv): Likewise.
47268
47269 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47270
47271         * sysdeps/generic/dl-irel.h: fix protection against multiple
47272         inclusions.
47273         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47274
47275 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47276
47277         [BZ #12935]
47278         * malloc/memusage.sh: Fix quoting in message.
47279         * debug/xtrace.sh: Likewise.
47280
47281         * configure.in: Remove support for --experimental-malloc option, make
47282         it the default.
47283         * config.make.in: Likewise.
47284         * malloc/Makefile: Likewise.
47285
47286 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47287
47288         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47289         two-byte characters.
47290
47291 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47292
47293         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47294         AC_CACHE_CHECK invocation.
47295         * configure: Regenerated.
47296
47297         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47298
47299 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47300
47301         [BZ #12350]
47302         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47303         bit from old_res_options.
47304
47305         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47306
47307         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47308         value type for setfct.
47309
47310 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47311
47312         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47313         __gettimeofday instead of gettimeofday.
47314
47315 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47316
47317         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47318
47319 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47320
47321         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47322
47323         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47324         info.
47325
47326 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47327
47328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47329         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47330         strcpy-sse2-unaligned strncpy-sse2-unaligned
47331         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47332         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47333         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47334         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47335         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47336         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47337         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47338         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47339         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47340         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47341         (STRCPY): Support SSE2 and SSSE3 versions.
47342
47343 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47344
47345         [BZ #12874]
47346         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47347         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47348         kernels which artificially limit size of requests.
47349
47350 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47351
47352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47353         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47354         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47355         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47356         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47357         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47358         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47359         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47361         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47362         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47363         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47364         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47365         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47366         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47368         Enable unaligned load optimization for Intel Core i3, i5 and i7
47369         processors.
47370         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47371         Define.
47372         (index_Fast_Unaligned_Load): Define.
47373         (HAS_FAST_UNALIGNED_LOAD): Define.
47374
47375 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47376
47377         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47378
47379 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47380
47381         [BZ #12907]
47382         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47383         until it is clear that the information is realy needed.
47384         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47385
47386 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47387
47388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47389
47390 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47391
47392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47393         /sys/devices/system/cpu/online if it is usable.
47394
47395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47396         reading the information from the /proc filesystem to once a second.
47397
47398 2011-06-21  Andreas Jaeger  <aj@suse.de>
47399
47400         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47401         NULL after inclusion of kernel headers.
47402
47403 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47404
47405         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47406         calls to internal_setent.
47407
47408         [BZ #12885]
47409         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47410         addresses using gethostbyname4_r ignore IPv4 addresses.
47411
47412         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47413         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47414
47415         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47416
47417 2011-06-20  David S. Miller  <davem@davemloft.net>
47418
47419         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47420         inclusions.
47421         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47422
47423         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47424         (elf_irel): Use it.
47425         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47426         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47427         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47428         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47429         * sysdeps/x86_64/dl-irel.h: Likewise.
47430
47431         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47432         * elf/dl-sym.c: Likewise.
47433
47434 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47435
47436         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47437         need to dereference resplen2.
47438
47439 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47440
47441         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47442
47443 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47444
47445         * Makeconfig: Define vardbdir and inst_vardbdir.
47446         * nss/Makefile: Add rules to install db-Makefile.
47447
47448         * nss/nss_db/db-XXX.c: Cleanup.
47449
47450         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47451         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47452         GLIBC_PRIVATE.
47453         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47454         * nss/makedb.c: Implement -g option to specify that value strings
47455         are generated and should not be added to table iterated over for
47456         get*ent calls.
47457         * nss/nss_db/db-initgroups.c: New file.
47458
47459         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47460         interface.
47461
47462         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47463         (internal_getgrouplist): Adjust to name change.
47464         Update use_initgroups_entry if this is not the first call.
47465         * nss/databases.def: Add initgroups entry.
47466
47467         * nss/makedb.c (compute_tables): Check result of multiple hash table
47468         sizes to minimize maximum chain length.
47469
47470 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47471
47472         * Versions.def: Add entry for libnss_db.
47473         * shlib-versions: Likewise.
47474         * nss/Makefile: Add rules to build libnss_db.
47475         * nss/Versions: Add libnss_db information.  Organize libnss_files
47476         entries better.
47477         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47478         makedb progra.  Some minor improvements to generate smaller files.
47479         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47480         here from...
47481         * nss/makedb.c: ...here.
47482         Improve database format to be smaller and require less memory at
47483         runtime.
47484         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47485         db anymore.
47486         * nss/nss_db/db-netgrp.c: Likewise.
47487         * nss/nss_db/db-open.c: Likewise.
47488         * nss/nss_files/flies-XXX.x: Adjust comments.
47489         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47490         * nss/nss_files/files-grp.c: Likewise.
47491         * nss/nss_files/files-hosts.c: Likewise.
47492         * nss/nss_files/files-network.c: Likewise.
47493         * nss/nss_files/files-proto.c: Likewise.
47494         * nss/nss_files/files-pwd.c: Likewise.
47495         * nss/nss_files/files-rpc.c: Likewise.
47496         * nss/nss_files/files-service.c: Likewise.
47497         * nss/nss_files/files-sgrp.c: Likewise.
47498         * nss/nss_files/files-spwd.c: Likewise.
47499         * nss/nss_db/db-alias.c: Removed.
47500         * nss/nss_db/dummy-db.h: Removed.
47501
47502 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47503
47504         * nss/makedb.c: Rewritten to not use database library.
47505         * nss/Makefile: Update to build new makedb program.
47506
47507 2011-06-14  Andreas Jaeger  <aj@suse.de>
47508
47509         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47510         memset declaration.
47511
47512 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47513
47514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47515         tmpbuf.
47516
47517 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47518
47519         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47520         * elf/Makefile ($(objpfx)ld.so): Likewise.
47521
47522         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47523         Don't list ld.so twice in dependencies.
47524
47525         * posix/bug-regex31.c: Include <stdlib.h>.
47526
47527         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47528
47529         * nis/nss_compat/compat-spwd.c
47530         (getspent_next_nss_netgr): Remove unused variable.
47531         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47532
47533         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47534         nonmembers" output to use the right array.
47535
47536         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47537
47538         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47539
47540         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47541         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47542         * catgets/gencat.c (read_input_file): Likewise.
47543         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47544
47545         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47546         variable definition inside #if's controlling its use.
47547
47548         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47549
47550         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47551
47552         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47553
47554         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47555         unreachable code.
47556
47557         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47558
47559         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47560         * configure: Regenerated.
47561
47562         * Makerules: Revert last change.
47563         * elf/Makefile: Likewise.
47564
47565 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47566
47567         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47568         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47569         (reloc-link): Likewise.
47570
47571 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47572
47573         * elf/Makefile: Add rules to build pldd.
47574         * elf/pldd.c: New file.
47575         * elf/pldd-xx.c: New file.
47576
47577 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47578
47579         * version.h: Update for 2.15 development version.
47580
47581 2011-06-07  David S. Miller  <davem@davemloft.net>
47582
47583         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47584         ifuncs.
47585         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47586         elf_machine_lazy_rel): Likewise.
47587         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47589         elf_machine_lazy_rel): Likewise.
47590         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47591         dl_hwcap via passed in argument.
47592         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47593         Likewise.
47594
47595 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47596
47597         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47598
47599 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47600
47601         [BZ #12849]
47602         * manual/fdl-1.1.texi: New file, verbatim from:
47603         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47604         * manual/lgpl-2.1.texi: New file, verbatim from:
47605         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47606         * manual/Makefile (licenses): New variable, list those new file names.
47607         (texis): Use it.
47608         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47609
47610         * manual/fdl.texi: File removed.
47611         * manual/lesser.texi: File removed.
47612         * manual/libc.texinfo (Copying, Documentation License):
47613         Use new @include file names, put @appendix directive before @include.
47614
47615 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47616
47617         [BZ #12841]
47618         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47619         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47620         (mq_open): Add __NTH.
47621
47622 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47623
47624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47625         Assume Intel Core i3/i5/i7 processor if AVX is available.
47626
47627 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47628
47629         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47630         typo.
47631
47632 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47633
47634         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47635         memory.  Use alloca_account.  Fix memory leak when retrying.
47636
47637 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47638
47639         * version.h (RELEASE): Bump for 2.14 release.
47640         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47641
47642         * config.make.in (RANLIB): Remove entry.
47643
47644 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47645
47646         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47647         (libc.pot): Work around missing support for .ksh extension in xgettext.
47648
47649         [BZ #12684]
47650         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47651         if both request failed.
47652         (send_dg): In case of server errors clear resplen or *resplen2.
47653
47654         [BZ #12454]
47655         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47656         when there are multiple maps.
47657         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47658         (_dl_fini): Remove test here.
47659
47660         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47661
47662 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47663
47664         [BZ #12350]
47665         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47666         bit from old_res_options.
47667         (gaih_inet): Likewise.
47668
47669         [BZ #11099]
47670         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47671         as signed.
47672
47673         * resolv/res_init.c (res_setoptions): Make the code more compact.
47674
47675         [BZ #11558]
47676         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47677         set RES_USEVC.
47678
47679         [BZ #11634]
47680         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47681
47682         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47683
47684         [BZ #11781]
47685         * malloc/malloc.h: Declare malloc hook variables as volatile.
47686
47687         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47688         in last patch.
47689
47690         [BZ #11799]
47691         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47692         raise in the comment.
47693         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47694         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47695         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47696
47697 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47698
47699         [BZ #12811]
47700         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47701         grow the buffers more if it already has to be sufficient.
47702         (build_wcs_upper_buffer): Likewise.
47703         * posix/regexec.c (check_matching): Likewise.
47704         (clean_state_log_if_needed): Likewise.
47705         (extend_buffers): Don't enlarge buffers beyond size of the input
47706         buffer.
47707         Patches mostly by Emil Wojak <emil@wojak.eu>.
47708         * posix/bug-regex32.c: New file.
47709         * posix/Makefile (tests): Add bug-regex32.
47710
47711         * locale/findlocale.c (_nl_find_locale): Return right away if
47712         _nl_explode_name failed.
47713         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47714
47715         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47716
47717         * debug/xtrace.sh: Unify messages.
47718         * malloc/memusage.sh: Likewise.
47719
47720         [BZ #12813]
47721         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47722         time symbol from vDSO.  Substitute with vsyscall if not available.
47723         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47724         __vdso_time.
47725
47726         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47727         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47728         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47729         Add sendmmsg and internal_sendmmsg.
47730         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47731         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47732         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47733
47734         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47735         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47736         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47737
47738 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47739
47740         [BZ #12813]
47741         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47742         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47743         available.
47744         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47745         __vdso_getcpu.
47746
47747         [BZ #12814]
47748         * iconvdata/Makefile (tests): Add bug-iconv9.
47749         * iconvdata/bug-iconv9.c: New file.
47750
47751 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47752
47753         [BZ #12814]
47754         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47755
47756 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47757
47758         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47759         (struct user_regs_struct): Change intcs field back to cs.
47760
47761 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47762
47763         * po/ja.po: Update from translation team.
47764
47765 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47766
47767         [BZ #12795]
47768         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47769         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47770
47771 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47772
47773         * stdlib/longlong.h: Update from GCC.
47774
47775 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47776
47777         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47778         parameter name.
47779         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47780         Add parameter name.
47781         (__sysconf): Pass it down.
47782
47783 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47784
47785         [BZ #12671]
47786         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47787         some situations.
47788         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47789         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47790         add in in __libc_use_alloca calls.  Adjust callers.
47791         (glob): Use malloc in some situations.
47792
47793         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47794         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47795         pltexit.
47796
47797 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47798
47799         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47800         and CLOCK_BOOTTIME_ALARM.
47801
47802         [BZ #12782]
47803         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47804         is returned.
47805
47806         * string/_strerror.c (__strerror_r): Print negative errors as signed
47807         numbers.
47808
47809         [BZ #12777]
47810         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47811         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47812         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47813
47814         * configure.in: Fix typo in redirection and correct removal of test
47815         files in two cases.
47816
47817         [BZ #12788]
47818         * locale/setlocale.c (new_composite_name): Fix test to check for
47819         identical name of all categories.
47820
47821         [BZ #12792]
47822         * libio/filedoalloc.c (local_isatty): New function.
47823         (_IO_file_doallocate): Use local_isatty.
47824         * stdio-common/perror.c (perror): In case a new stream is used
47825         forward the stream error.
47826         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47827         error flag.
47828
47829 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47830
47831         [BZ #11869]
47832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47833         alloca.
47834         * include/alloca.h (extend_alloca_account): Define.
47835
47836         [BZ #11857]
47837         * posix/regex.h: Fix comments with documentation of user-accessible
47838         fields after compilation and describe correct free'ing of pattern
47839         after re_compile_pattern.
47840         Patch by Reuben Thomas <rrt@sc3d.org>.
47841
47842 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47843
47844         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47845         and -mno-altivec to prevent the compiler from using Altivec and/or
47846         VSX instructions when the corresponding registers are not available.
47847
47848 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47849
47850         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47851
47852 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47853
47854         * libio/freopen.c (freopen): Use __dup2, not dup2.
47855         * libio/freopen64.c (freopen64): Likewise.
47856
47857 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47858
47859         [BZ #12775]
47860         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47861         * math/Makefile (tests): Add test-powl.
47862         (CFLAGS-test-powl.c): Define.
47863         * math/test-powl.c: New file.
47864
47865 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47866
47867         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47868
47869 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47870
47871         [BZ #11837]
47872         * iconvdata/gb18030.c: Update to GB18020-2005.
47873
47874 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47875
47876         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47877         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47878         Patch by Aharon Robbins <arnold@skeeve.com>.
47879
47880         [BZ #11892]
47881         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47882         on the stack.
47883
47884         [BZ #11895]
47885         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47886         through underflows.
47887
47888         [BZ #12766]
47889         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47890         point to strings before performing equality test for error_one_per_line
47891         mode.
47892
47893         [BZ #11697]
47894         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47895
47896         [BZ #11820]
47897         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47898         (struct user_fpregs_struct): Avoid __uint*_t types.
47899
47900         [BZ #6420]
47901         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47902         symbol info.  Use it instead of calling _dl_addr locally.
47903         (lock_and_info): New function.
47904         (tr_freehook): Call lock_and_info and pass symbol info as additional
47905         parameter to tr_where.
47906         (tr_mallochook): Likewise.
47907         (tr_reallochook): Likewise.
47908         (tr_memalignhook): Likewise.
47909
47910         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47911         used and couldn't be at all thread-safe.
47912
47913 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47914
47915         * libio/freopen.c (freopen): Don't close old file descriptor
47916         before the new one is opened.  Instead dup the new file descriptor
47917         to the old one after the new stream is created.
47918         * libio/freopen64.c (freopen64): Likewise.
47919         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47920         * libio/fileops.c (_IO_new_file_close_it): Handle new
47921         _IO_FLAGS2_NOCLOSE flag.
47922         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47923         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47924         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47925         _IO_FLAGS2_NOCLOSE flag.
47926         * include/unistd.h: Add hidden_proto for dup3.
47927         Define __have_dup3.
47928         * io/dup3.c: Define hidden symbol.
47929         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47930
47931         [BZ #7101]
47932         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47933         when an incomplete long option is used.
47934         * posix/tst-getopt_long1.c: New file.
47935         * posix/Makefile (tests): Add tst-getopt_long1.
47936
47937         [BZ #10138]
47938         * scripts/config.guess: Update from autoconf-2.68.
47939         * scripts/config.sub: Likewise.
47940
47941         [BZ #10157]
47942         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47943         tests into ...
47944         (has_cpuclock): ...this.  New function.
47945         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47946         macro here based on has_cpuclock code.
47947
47948         [BZ #10149]
47949         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47950         First byte (not low byte) is now always NUL.
47951         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47952
47953         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47954         Use non-cancelable interfaces.
47955
47956         [BZ #9809]
47957         * locale/iso-639.def: Add entry for Sorani.
47958
47959         [BZ #11901]
47960         * include/stdlib.h: Move include protection to the right place.
47961         Define abort_msg_s.  Declare __abort_msg with it.
47962         * stdlib/abort.c (__abort_msg): Adjust type.
47963         * assert/assert.c (__assert_fail_base): New function.  Majority
47964         of code from __assert_fail.  Allocate memory for __abort_msg with
47965         mmap.
47966         (__assert_fail): Now call __assert_fail_base.
47967         * assert/assert-perr.c: Remove bulk of implementation.  Use
47968         __assert_fail_base.
47969         * include/assert.hL Declare __assert_fail_base.
47970         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47971         mmap.
47972         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47973
47974 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47975
47976         [BZ #11952]
47977         [BZ #12453]
47978         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47979         until all modules are registered in the DTV.
47980         * elf/Makefile: Add rules to build and run tst-tls19.
47981         * elf/tst-tls19.c: New file.
47982         * elf/tst-tls19mod1.c: New file.
47983         * elf/tst-tls19mod2.c: New file.
47984         * elf/tst-tls19mod3.c: New file.
47985         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47986
47987         [BZ #12083]
47988         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47989         correctly.
47990
47991         [BZ #12601]
47992         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47993         two-byte sequence errors.
47994         * iconvdata/Makefile (tests): Add bug-iconv8.
47995         * iconvdata/bug-iconv8.c: New file.
47996
47997         [BZ #12626]
47998         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47999         buf2 definition.
48000
48001         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48002
48003         [BZ #12432]
48004         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48005         (dummy_getcfa): New function.
48006         (init): Get _Unwind_GetCFA address, use dummy if not found.
48007         (backtrace_helper): In recursion check, also check whether CFA changes.
48008         (__backtrace): Completely initialize arg.
48009
48010         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48011         storing incomplete byte sequence in state object.  Avoid testing for
48012         guaranteed too small input if we know there is enough data available.
48013
48014 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48015
48016         * Makeconfig (+link-pie): Indent.
48017         * Rules (binaries-pie): Define if $(have-fpie) and
48018         $(build-shared).
48019         (binaries-shared): Also filter out $(binaries-pie).
48020         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48021         * nscd/Makefile (others-pie): Add nscd.
48022         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48023         ($(objpfx)nscd): Remove command override.
48024         * login/Makefile (others-pie): Add pt_chown.
48025         ($(objpfx)pt_chown): Remove command override.
48026         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48027         remove command overrides.
48028
48029 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48030
48031         * libio/tst_putwc.c: Fix error messages.
48032
48033         [BZ #12724]
48034         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48035         currently writing and seek to current position when not.
48036         * libio/Makefile (tests): Add bug-fclose1.
48037         * libio/bug-fclose1.c: New file.
48038
48039 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48040
48041         [BZ #12511]
48042         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48043         don't set DF_1_NODELETE here.
48044         (do_lookup_x): When entering new entry test for copy relocation
48045         and if necessary set DF_1_NODELETE flag.
48046         * elf/tst-unique4.cc: New file.
48047         * elf/tst-unique4.h: New file.
48048         * elf/tst-unique4lib.cc: New file.
48049         * elf/Makefile: Add rules to build and run tst-unique4.
48050         Patch by Piotr Bury <pbury@goahead.com>.
48051
48052 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48053
48054         [BZ #12052]
48055         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48056
48057         [BZ #12625]
48058         * misc/mntent_r.c (addmntent): Flush the stream after the output
48059
48060         [BZ #12393]
48061         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48062         (is_trusted_path_normalize): Skip initial colon.  Append slash
48063         to empty buffer.  Duplicate is_trusted_path code but allow
48064         constructed patch to be prefix.
48065         (is_dst): Allow $ORIGIN followed by /.
48066         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48067         Correct testing of result of is_trusted_path_normalize
48068         (decompose_rpath): Fix warning.
48069
48070 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48071
48072         [BZ #11257]
48073         * grp/initgroups.c (internal_getgrouplist): When we found the service
48074         list through the initgroups entry in nsswitch.conf do not always
48075         continue on a successful lookup.  Don't always use the
48076         __nss_group_database value if it is set.
48077         * nss/nsswitch.conf (initgroups): Change action for successful db
48078         lookup to continue for compatibility.
48079
48080 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48081
48082         [BZ #11532]
48083         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48084         and CP774 modules.
48085         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48086         and CP774 modules.
48087         * iconvdata/tst-tables.sh: Likewise.
48088         * iconvdata/cp770.c: New file.
48089         * iconvdata/cp771.c: New file.
48090         * iconvdata/cp772.c: New file.
48091         * iconvdata/cp773.c: New file.
48092         * iconvdata/cp774.c: New file.
48093         * iconvdata/testdata/CP770: New file.
48094         * iconvdata/testdata/CP770..UTF8: New file.
48095         * iconvdata/testdata/CP771: New file.
48096         * iconvdata/testdata/CP771..UTF8: New file.
48097         * iconvdata/testdata/CP772: New file.
48098         * iconvdata/testdata/CP772..UTF8: New file.
48099         * iconvdata/testdata/CP773: New file.
48100         * iconvdata/testdata/CP773..UTF8: New file.
48101         * iconvdata/testdata/CP774: New file.
48102         * iconvdata/testdata/CP774..UTF8: New file.
48103
48104         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48105         END CHARMAP line.
48106         * iconvdata/gen-8bit-gap.sh: Likewise.
48107         * iconvdata/gen-8bit.sh: Likewise.
48108
48109         * locale/iso-639.def: Add ary entry.
48110
48111         [BZ #11258]
48112         * locale/C-translit.h.in: Add U20A1 transliteration.
48113
48114         [BZ #12178]
48115         * locale/iso-639.def: Add wae entry.
48116         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48117
48118         [BZ #12545]
48119         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48120         for n.
48121
48122         [BZ #12711]
48123         * locale/C-translit.h.in: Add entry for U20B9.
48124         Patch by pravin.d.s@gmail.com.
48125
48126 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48127
48128         [BZ #12713]
48129         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48130         ENAMETOOLONG use generic getcwd.
48131         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48132         in rtld.  Use *stat64.
48133         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48134         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48135         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48136         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48137         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48138         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48139         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48140         __fstatat64 macros.
48141         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48142         * dirent/rewinddir.c: Add libc_hidden_def.
48143         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48144         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48145
48146         * include/dirent.h (__alloc_dir): Add flags parameter.
48147         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48148         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48149         __alloc_dir.
48150         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48151         from fdopendir if O_CLOEXEC is already set.
48152
48153 2011-03-15  Alan Modra  <amodra@gmail.com>
48154
48155         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48156         l_tls_firstbyte_offset non-zero.  Save padding offset in
48157         l_tls_firstbyte_offset for later use.
48158         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48159         freeing static tls block.
48160
48161 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48162
48163         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48164         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48165         being defined by the kernel headers.
48166
48167 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48168
48169         [BZ #12734]
48170         * resolv/resolv.h: Define RES_NOTLDQUERY.
48171         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48172         no-tld-query and set RES_NOTLDQUERY.
48173         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48174         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48175         modern BIND to search name as TLD unless forbidden.
48176
48177 2011-05-07  Petr Baudis  <pasky@suse.cz>
48178             Ulrich Drepper  <drepper@gmail.com>
48179
48180         [BZ #12393]
48181         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48182         (is_trusted_path): ...to here.
48183         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48184         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48185         using is_trusted_path_normalize() in setuid scripts.
48186
48187 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48188
48189         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48190         __BEGIN/__END_DECLS.
48191
48192 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48193
48194         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48195         NSS_STATUS_NOTFOUND if no record was found.
48196
48197 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48198
48199         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48200         (headers-not-in-tirpc): Remove rpc/netdb.h
48201         * resolv/netdb.h: Revert last change.
48202
48203 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48204
48205         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48206         circular dependency between libgcc.a and libc.a.
48207
48208 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48209
48210         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48211         * nis/Makefile: Don't install rpcsvc/*.
48212         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48213         instead of <rpc/types.h>.
48214         (MAXHOSTNAMELEN): Define.
48215
48216 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48217
48218         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48219
48220 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48221
48222         [BZ #12714]
48223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48224         gethostbyname4_r when IPv6 results are possible.
48225
48226 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48227
48228         [BZ #12723]
48229         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48230         _PC_PIPE_BUF handling.
48231
48232 2011-04-30  Bruno Haible  <bruno@clisp.org>
48233
48234         [BZ #12717]
48235         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48236         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48237         to 'int'.
48238         * inet/getnameinfo.c (getnameinfo): Likewise.
48239
48240 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48241
48242         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48243         to groups setting in database lookup.
48244         * nss/nsswitch.conf: Add initgroups entry.
48245
48246 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48247
48248         [BZ #12685]
48249         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48250         mode string.
48251         Patch by Eric Blake <eblake@redhat.com>.
48252
48253 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48254
48255         * sunrpc/Makefile (need-export-routines): Add svc_run.
48256         (routines): Remove svc_run.
48257         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48258         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48259         * sunrpc/svc_run.c (svc_run): Likewise.
48260         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48261
48262 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48263
48264         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48265         problem in reallocation in last patch.
48266
48267 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48268
48269         * sunrpc/Makefile: Move inclusion of Rules.
48270
48271 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48272
48273         * nss/nss_files/files-initgroups.c: New file.
48274         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48275         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48276         _nss_files_initgroups_dyn.
48277
48278 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48279
48280         * elf/elf.h (R_ARM_IRELATIVE): Define.
48281
48282 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48283
48284         * po/ru.po: Update from translation team.
48285
48286 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48287
48288         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48289         dependencies.
48290
48291 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48292
48293         [BZ #12653]
48294         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48295         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48296         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48297         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48298         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48299
48300 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48301
48302         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48303         differing bytes.
48304         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48305         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48306         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48307
48308 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48309
48310         [BZ #12420]
48311         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48312         storing it.
48313         * stdlib/bug-getcontext.c: New file.
48314         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48315
48316 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48317
48318         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48319         instructions into .machine "z9-109".
48320         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48321         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48322
48323 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48324
48325         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48326         between environment variables and auxiliary vector.
48327
48328 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48329
48330         * Makefile: Add rules to build linkobj/libc.so.
48331         * include/libc-symbols.h: Define libc_hidden_nolink.
48332         * include/rpc/auth.h: Mark functions which are to be hidden.
48333         * include/rpc/auth_des.h: Likewise.
48334         * include/rpc/auth_unix.h: Likewise.
48335         * include/rpc/clnt.h: Likewise.
48336         * include/rpc/des_crypt.h: Likewise.
48337         * include/rpc/key_prot.h: Likewise.
48338         * include/rpc/pmap_clnt.h: Likewise.
48339         * include/rpc/pmap_prot.h: Likewise.
48340         * include/rpc/pmap_rmt.h: Likewise.
48341         * include/rpc/rpc_msg.h: Likewise.
48342         * include/rpc/svc.h: Likewise.
48343         * include/rpc/svc_auth.h: Likewise.
48344         * include/rpc/xdr.h: Likewise.
48345         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48346         * nss/Makefile: Likewise.
48347         * sunrpc/Makefile: Don't install headers.  Build library with normal
48348         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48349         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48350         for the compat linking library.  Remove use of INTDEF/INTUSE.
48351         * sunrpc/auth_none.c: Likewise.
48352         * sunrpc/auth_unix.c: Likewise.
48353         * sunrpc/authdes_prot.c: Likewise.
48354         * sunrpc/authuxprot.c: Likewise.
48355         * sunrpc/clnt_gen.c: Likewise.
48356         * sunrpc/clnt_perr.c: Likewise.
48357         * sunrpc/clnt_raw.c: Likewise.
48358         * sunrpc/clnt_simp.c: Likewise.
48359         * sunrpc/clnt_tcp.c: Likewise.
48360         * sunrpc/clnt_udp.c: Likewise.
48361         * sunrpc/clnt_unix.c: Likewise.
48362         * sunrpc/des_crypt.c: Likewise.
48363         * sunrpc/des_soft.c: Likewise.
48364         * sunrpc/get_myaddr.c: Likewise.
48365         * sunrpc/key_call.c: Likewise.
48366         * sunrpc/key_prot.c: Likewise.
48367         * sunrpc/netname.c: Likewise.
48368         * sunrpc/pm_getmaps.c: Likewise.
48369         * sunrpc/pm_getport.c: Likewise.
48370         * sunrpc/pmap_clnt.c: Likewise.
48371         * sunrpc/pmap_prot.c: Likewise.
48372         * sunrpc/pmap_prot2.c: Likewise.
48373         * sunrpc/pmap_rmt.c: Likewise.
48374         * sunrpc/publickey.c: Likewise.
48375         * sunrpc/rpc_cmsg.c: Likewise.
48376         * sunrpc/rpc_common.c: Likewise.
48377         * sunrpc/rpc_dtable.c: Likewise.
48378         * sunrpc/rpc_prot.c: Likewise.
48379         * sunrpc/rpc_thread.c: Likewise.
48380         * sunrpc/rtime.c: Likewise.
48381         * sunrpc/svc.c: Likewise.
48382         * sunrpc/svc_auth.c: Likewise.
48383         * sunrpc/svc_authux.c: Likewise.
48384         * sunrpc/svc_raw.c: Likewise.
48385         * sunrpc/svc_run.c: Likewise.
48386         * sunrpc/svc_simple.c: Likewise.
48387         * sunrpc/svc_tcp.c: Likewise.
48388         * sunrpc/svc_udp.c: Likewise.
48389         * sunrpc/svc_unix.c: Likewise.
48390         * sunrpc/svcauth_des.c: Likewise.
48391         * sunrpc/xcrypt.c: Likewise.
48392         * sunrpc/xdr.c: Likewise.
48393         * sunrpc/xdr_array.c: Likewise.
48394         * sunrpc/xdr_float.c: Likewise.
48395         * sunrpc/xdr_intXX_t.c: Likewise.
48396         * sunrpc/xdr_mem.c: Likewise.
48397         * sunrpc/xdr_rec.c: Likewise.
48398         * sunrpc/xdr_ref.c: Likewise.
48399         * sunrpc/xdr_sizeof.c: Likewise.
48400         * sunrpc/xdr_stdio.c: Likewise.
48401
48402 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48403
48404         [BZ #12650]
48405         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48406         * sysdeps/ia64/dl-tls.h: Likewise.
48407         * sysdeps/powerpc/dl-tls.h: Likewise.
48408         * sysdeps/s390/dl-tls.h: Likewise.
48409         * sysdeps/sh/dl-tls.h: Likewise.
48410         * sysdeps/sparc/dl-tls.h: Likewise.
48411         * sysdeps/x86_64/dl-tls.h: Likewise.
48412         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48413
48414 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48415
48416         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48417         rpath element also skip the following colon.
48418         (expand_dynamic_string_token): Add is_path parameter and pass
48419         down to DL_DST_REQUIRED and _dl_dst_substitute.
48420         (decompose_rpath): Call expand_dynamic_string_token with
48421         non-zero is_path.  Ignore empty rpaths.
48422         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48423         with zero is_path.
48424
48425 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48426
48427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48428         Make cancelable.
48429
48430 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48431
48432         [BZ #12655]
48433         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48434         Patch by Filipe David Manana <fdmanana@apache.org>.
48435
48436 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48437
48438         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48439         Maintain aligned stack.
48440         (CHECK_RSP): Remove unused macro.
48441
48442 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48443
48444         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48445         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48446
48447 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48448
48449         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48450
48451         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48452
48453 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48454
48455         [BZ #12518]
48456         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48457         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48458         * sysdeps/x86_64/memmove.c: New file.
48459         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48460         (memcpy): Renamed to ...
48461         (__new_memcpy): This.
48462         (memcpy): Provide GLIBC_2_14 memcpy.
48463         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48464         (memcpy): Provide GLIBC_2_2_5 memcpy.
48465
48466 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48467
48468         [BZ #12631]
48469         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48470
48471 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48472
48473         * misc/syncfs.c: New file.
48474         * misc/Makefile (routines): Add syncfs.
48475         * posix/unistd.h: Declare syncfs.
48476         * sysdeps/unix/syscalls.list: Add syncfs.
48477
48478 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48479
48480         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48481         open_by_handle_at.
48482         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48483         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48484         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48485         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48486         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48487         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48488         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48489
48490 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48491
48492         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48493         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48494         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48496         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48498         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48499
48500         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48501         sync_file_range.c with -fexceptions.
48502         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48503         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48504         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48505         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48506         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48507         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48509         sync_file_range as cancellation point
48510         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48511         now a wrapper around __call_sync_file_range with cancellation handling.
48512         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48513         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48514         function name to __call_sync_file_range.
48515         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48516         Add call_sync_file_range.
48517
48518 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48519
48520         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48521         bits/timex.h.
48522
48523 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48524
48525         * iconv/iconv.h: Fix typo in comment.
48526         * io/fcntl.h: Likewise.
48527         * libio/stdio.h: Likewise.
48528         * posix/spawn.h: Likewise.
48529         * posix/unistd.h: Likewise.
48530         * stdlib/stdlib.h: Likewise.
48531         * time/time.h: Likewise.
48532         * wcsmbs/wchar.h: Likewise.
48533
48534         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48535         open_by_handle): Add.
48536         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48537         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48538         Augment a few comments.
48539         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48541         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48544         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48545         open_by_handle.
48546
48547         * io/fcntl.h (AT_EMPTY_PATH): Define.
48548
48549 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48550
48551         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48552         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48553         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48554         to...
48555         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48556         * Versions.def: Add GLIBC_2.14.
48557         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48558         Export.
48559
48560 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48561
48562         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48563         round counter.
48564         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48565
48566 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48567
48568         [BZ #12597]
48569         * string/test-strncmp.c (do_page_test): New function.
48570         (check2): Likewise.
48571         (test_main): Call check2.
48572         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48573
48574 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48575
48576         [BZ #12587]
48577         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48578         Handle cache information in CPU leaf 4.
48579         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48580
48581 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48582
48583         [BZ #12583]
48584         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48585         character representation.
48586         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48587
48588 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48589
48590         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48591         END(__isnan) to END(__isnanf) to match function entry point/label
48592         EALIGN(__isnanf,...).
48593
48594 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48595
48596         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48597
48598 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48599
48600         [BZ #12510]
48601         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48602         copy from the symbol referenced in the relocation to initialize the
48603         used variable.
48604         Patch by Piotr Bury <pbury@goahead.com>.
48605         * elf/Makefile: Add rules to build and tst-unique3.
48606         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48607         * elf/tst-unique3.cc: New file.
48608         * elf/tst-unique3.h: New file.
48609         * elf/tst-unique3lib.cc: New file.
48610         * elf/tst-unique3lib2.cc: New file.
48611
48612         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48613
48614 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48615
48616         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48617         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48618         to _start.
48619
48620 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48621
48622         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48623         to-be-loaded object along a path to loader is ld.so.
48624
48625 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48626             Ulrich Drepper  <drepper@gmail.com>
48627
48628         * sysdeps/x86_64/memset.S: After aligning destination, code
48629         branches to different locations depending on the value of
48630         misalignment, when multiarch is enabled. Fix this.
48631
48632 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48633
48634         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48635         Set _x86_64_preferred_memory_instruction for AMD processsors.
48636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48637         Set bit_Prefer_SSE_for_memop for AMD processors.
48638
48639 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48640
48641         * libio/fmemopen.c (fmemopen): Optimize a bit.
48642
48643 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48644
48645         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48646
48647 2011-03-03  Roland McGrath  <roland@redhat.com>
48648
48649         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48650
48651 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48652
48653         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48654         __bzero_ultra1 instead of __memset_ultra1.
48655
48656 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48657             Ulrich Drepper  <drepper@gmail.com>
48658
48659         [BZ #12509]
48660         * include/link.h (struct link_map): Add l_orig_initfini.
48661         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48662         returning unsuccessfully.
48663         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48664         close of a file loaded at startup, restore the original l_initfini
48665         list.
48666         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48667         list, store the pointer.
48668         * elf/Makefile ($(objpfx)noload-mem): New rule.
48669         (noload-ENV): Define.
48670         (tests): Add $(objpfx)noload-mem.
48671         * elf/noload.c: Include <memcheck.h>.
48672         (main): Call mtrace.  Close all opened handles.
48673
48674 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48675
48676         [BZ #12454]
48677         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48678         dependencies are missing.
48679
48680 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48681
48682         Fix __if_freereq crash: Unlike the generic version which uses free,
48683         Hurd needs munmap.
48684         * sysdeps/mach/hurd/ifreq.h: New file.
48685
48686 2011-01-27  Petr Baudis  <pasky@suse.cz>
48687             Ulrich Drepper  <drepper@gmail.com>
48688
48689         [BZ 12445]#
48690         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48691         to extend_alloca().
48692         * stdio-common/bug23.c: New file.
48693         * stdio-common/Makefile (tests): Add bug23.
48694
48695 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48696             Ulrich Drepper  <drepper@gmail.com>
48697
48698         [BZ #12489]
48699         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48700         before performing relro protection.  At old place add assertion
48701         to make sure nothing changed.
48702
48703 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48704             Glauber de Oliveira Costa  <glommer@gmail.com>
48705
48706         * elf/elf.h: Add new ARM TLS relocs.
48707
48708 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48709
48710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48711         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48712         cast from r3.
48713         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48714         'tests' variable.
48715         * sysdeps/wordsize-64/tst-writev.c: New file.
48716
48717 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48718
48719         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48720         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48721         insns in _dl_start to prevent a TOC reference before relocs are
48722         resolved.
48723
48724 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48725
48726         [BZ #12469]
48727         * Makeconfig: Remove RANLIB definition.
48728         * Makerules: Don't use RANLIB.
48729         * aclocal.m4: Remove ranlib test.
48730         * configure.in: No need to check for ranlib.
48731         * elf/rtld-Rules: Don't use RANLIB.
48732
48733 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48734
48735         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48736         protection macro.
48737         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48738         inclusion protection macro.
48739
48740         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48741         SIGRTMIN and SIGRTMAX and print information in that case only when
48742         SIGRTMIN is defined.
48743
48744 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48745
48746         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48747         arginfo fn returning -1.
48748
48749         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48750         and thousands string is zero terminated.
48751
48752 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48753
48754         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48755         sysdeps/unix/sysv/linux/bits/socket.h.
48756
48757 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48758
48759         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48760         (__CPU_COUNT): Remove old macros.
48761         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48762         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48763         (__CPU_ALLOC, __CPU_FREE): Add macros.
48764         (__sched_cpualloc, __sched_cpufree): Add declarations.
48765
48766 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48767
48768         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48769         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48770         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48771         (readdhstai): Return value of addhstaiX call.
48772         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48773         (addgrbyX): Return value returned by cache_addgr.
48774         (readdgrbyname): Return value returned by addgrbyX.
48775         (readdgrbygid): Likewise.
48776         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48777         (addpwbyX): Return value returned by cache_addpw.
48778         (readdpwbyname): Return value returned by addhstbyX.
48779         (readdpwbyuid): Likewise.
48780         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48781         (addservbyX): Return value returned by cache_addserv.
48782         (readdservbyname): Return value returned by addservbyX:
48783         (readdservbyport): Likewise.
48784         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48785         (addhstbyX): Return value returned by cache_addhst.
48786         (readdhstbyname): Return value returned by addhstbyX.
48787         (readdhstbyaddr): Likewise.
48788         (readdhstbynamev6): Likewise.
48789         (readdhstbyaddrv6): Likewise.
48790         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48791         (readdinitgroups): Return value returned by addinitgroupsX.
48792         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48793         (prune_cache): Keep track of timeout value of re-added entries.
48794         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48795         * nscd/nscd.h: Adjust prototypes of readd* functions.
48796
48797 2011-02-04  Roland McGrath  <roland@redhat.com>
48798
48799         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48800         (nis_stats): Likewise.
48801         * nis/nis_modify.c (nis_modify): Likewise.
48802         * nis/nis_remove.c (nis_remove): Likewise.
48803         * nis/nis_add.c (nis_add): Likewise.
48804
48805         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48806
48807         * posix/fnmatch_loop.c: Add some consts.
48808
48809         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48810
48811 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48812
48813         [BZ #12460]
48814         * config.make.in (config-cflags-novzeroupper): Define.
48815         * configure.in: Substitute libc_cv_cc_novzeroupper.
48816         * elf/Makefile (AVX-CFLAGS): Define.
48817         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48818         (CFLAGS-tst-auditmod4a.c): Likewise.
48819         (CFLAGS-tst-auditmod4b.c): Likewise.
48820         (CFLAGS-tst-auditmod6b.c): Likewise.
48821         (CFLAGS-tst-auditmod6c.c): Likewise.
48822         (CFLAGS-tst-auditmod7b.c): Likewise.
48823         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48824
48825 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48826
48827         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48828         function to the callback.
48829         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48830
48831 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48832
48833         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48834         of errno.
48835
48836 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48837
48838         [BZ #11724]
48839         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48840         of constructors.
48841         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48842         of destructors.
48843         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48844
48845         [BZ #11724]
48846         * elf/Makefile: Add rules to build and run new test.
48847         * elf/tst-initorder.c: New file.
48848         * elf/tst-initorder.exp: New file.
48849         * elf/tst-initordera1.c: New file.
48850         * elf/tst-initordera2.c: New file.
48851         * elf/tst-initordera3.c: New file.
48852         * elf/tst-initordera4.c: New file.
48853         * elf/tst-initorderb1.c: New file.
48854         * elf/tst-initorderb2.c: New file.
48855         * elf/tst-order-a1.c: New file.
48856         * elf/tst-order-a2.c: New file.
48857         * elf/tst-order-a3.c: New file.
48858         * elf/tst-order-a4.c: New file.
48859         * elf/tst-order-b1.c: New file.
48860         * elf/tst-order-b2.c: New file.
48861         * elf/tst-order-main.c: New file.
48862         New test case by George Gensure <werkt0@gmail.com>.
48863
48864 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48865
48866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48867         decoding ACE if AI_CANONIDN.
48868
48869 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48870
48871         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48872
48873 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48874
48875         * version.h (RELEASE): Bump for 2.13 release.
48876         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48877
48878         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48879
48880         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48881         MADV_NOHUGEPAGE.
48882         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48883         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48884         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48885         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48887         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48888
48889         * posix/getconf.c: Update copyright year.
48890         * catgets/gencat.c: Likewise.
48891         * csu/version.c: Likewise.
48892         * debug/catchsegv.sh: Likewise.
48893         * debug/xtrace.sh: Likewise.
48894         * elf/ldconfig.c: Likewise.
48895         * elf/ldd.bash.in: Likewise.
48896         * elf/sprof.c (print_version): Likewise.
48897         * iconv/iconv_prog.c: Likewise.
48898         * iconv/iconvconfig.c: Likewise.
48899         * locale/programs/locale.c: Likewise.
48900         * locale/programs/localedef.c: Likewise.
48901         * malloc/memusage.sh: Likewise.
48902         * malloc/mtrace.pl: Likewise.
48903         * nscd/nscd.c (print_version): Likewise.
48904         * nss/getent.c: Likewise.
48905
48906         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48907         PF_CAIF, and PF_ALG.
48908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48909
48910 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48911
48912         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48913         (modules-names): Use them.
48914         (ifunc-test-modules, ifunc-pie-tests): Define.
48915         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48916         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48917         (test-extras): Likewise.
48918         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48919         $(compile-command.c).
48920         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48921         (all-built-dso): Define.
48922         (check-textrel.out, check-execstack.out): Depend on it.
48923
48924         * configure.in: Don't override --enable-multi-arch.
48925
48926 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48927
48928         [BZ #6812]
48929         * nscd/hstcache.c (tryagain): Define.
48930         (cache_addhst): Return tryagain not notfound for temporary errors.
48931         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48932         failed.
48933
48934 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48935
48936         [BZ #10563]
48937         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48938         to make the syscall.
48939         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48940
48941         [BZ #12378]
48942         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48943         and fall back to matching as normal character if the string ends before
48944         the matching ']' is found.  This is what POSIX requires.
48945         * posix/testfnm.c: Adjust test result.
48946         * posix/globtest.sh: Adjust test result.  Add new test.
48947         * posix/tst-fnmatch.input: Likewise.
48948         * posix/tst-fnmatch2.c: Add new test.
48949
48950 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48951
48952         * elf/Makefile (check-execstack): Revert last change.  Depend on
48953         check-execstack.h.
48954         (check-execstack.h): New target.
48955         (generated): Add check-execstack.h.
48956         * elf/check-execstack.c: Include "check-execstack.h".
48957         (main): Revert last change.
48958         (handle_file): Return zero if GNU_STACK is absent and
48959         DEFAULT_STACK_PERMS doesn't include PF_X.
48960
48961 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48962
48963         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48964         in child fails because the descriptor is already closed.
48965         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48966         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48967         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48968
48969         [BZ #12397]
48970         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48971         syscall.
48972
48973         [BZ #10484]
48974         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48975         temporary buffer used to handle multi lookups locally.
48976         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48977
48978 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48979
48980         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48981         loader is ld.so.
48982
48983 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48984
48985         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48986         alignment for SSE2.
48987
48988 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48989
48990         [BZ #12394]
48991         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48992         characters.  When rounding increased number of integer digits recompute
48993         number of groups.
48994         * stdio-common/tst-grouping.c: New file.
48995         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48996
48997 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48998
48999         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49000         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49001
49002         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49003         void.
49004         * bits/select.h: Likewise.
49005
49006 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49007
49008         * po/ja.po: Update from translation team.
49009
49010 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49011
49012         [BZ #11155]
49013         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49014         implementation just like for lxstat, fxstatat, et al.
49015
49016 2010-12-27  Jim Meyering  <meyering@redhat.com>
49017
49018         [BZ #12348]
49019         * posix/regexec.c (build_trtable): Return failure indication upon
49020         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49021
49022 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49023
49024         [BZ #12201]
49025         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49026         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49027         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49028         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49029
49030         [BZ #12207]
49031         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49032
49033         [BZ #12204]
49034         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49035         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49036
49037 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49038
49039         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49040         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49041         script has SORT_BY_INIT_PRIORITY.
49042         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49043         NO_CTORS_DTORS_SECTIONS is defined.
49044         * elf/soinit.c: Likewise.
49045         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49046         NO_CTORS_DTORS_SECTIONS is defined.
49047         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49048         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49049         * sysdeps/sh/init-first.c: Likewise.
49050         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49051
49052 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49053
49054         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49055         always use the slow path.
49056
49057 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49058
49059         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49060         similar rule which adds the sysdep directories to the header search in
49061         order to pick up the correct platform stackinfo.h.
49062         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49063         perform test if it is, otherwise return successfully without testing.
49064         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49065         DEFAULT_STACK_PERMS define in stackinfo.h.
49066         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49067         defined in stackinfo.h.
49068         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49069         DEFAULT_STACK_PERMS defined in stackinfo.h.
49070         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49071         * sysdeps/ia64/stackinfo.h: Likewise.
49072         * sysdeps/s390/stackinfo.h: Likewise.
49073         * sysdeps/sh/stackinfo.h: Likewise.
49074         * sysdeps/sparc/stackinfo.h: Likewise.
49075         * sysdeps/x86_64/stackinfo.h: Likewise.
49076         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49077         PF_X for powerpc64.  Retain PF_X for powerpc32.
49078
49079 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49080
49081         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49082         accurately.
49083         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49084         GETDENTS_64BIT_ALIGNED.
49085
49086 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49087
49088         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49089
49090 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49091
49092         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49093         _GNU_SOURCE.
49094
49095         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49096         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49097         Remove __restrict.
49098         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49099         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49100
49101 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49102
49103         [BZ #11655]
49104         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49105         are initialized.
49106
49107 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49108
49109         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49110
49111 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49112
49113         * po/it.po: Update from translation team.
49114
49115 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49116
49117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49118         unused codes.
49119
49120 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49121
49122         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49123
49124 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49125
49126         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49127         specially.
49128         (gaih_getanswer_slice): Likewise.
49129
49130 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49131
49132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49133
49134 2010-05-31  Petr Baudis  <pasky@suse.cz>
49135
49136         [BZ #11149]
49137         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49138         silently even in the chroot mode.
49139
49140 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49141
49142         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49143         last patch a bit.  Pretty printing
49144
49145 2010-05-31  Petr Baudis <pasky@suse.cz>
49146
49147         [BZ #10085]
49148         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49149         initialization of skip_initgroups_dyn.
49150
49151 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49152
49153         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49154         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49155
49156 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49157
49158         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49159
49160 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49161
49162         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49163         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49164         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49165         ($(objpfx)tst-fnmatch-mem): New rule.
49166         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49167         * posix/tst-fnmatch.c (main): Call mtrace.
49168
49169 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49170
49171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49172         Support Intel processor model 6 and model 0x2c.
49173
49174 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49175
49176         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49177           signed comparison.
49178
49179 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49180
49181         [BZ #12205]
49182         * string/test-strncasecmp.c (check_result): New function.
49183         (do_one_test): Use it.
49184         (check1): New function.
49185         (test_main): Use it.
49186         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49187         Support strcasecmp and strncasecmp.
49188
49189 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49190
49191         [BZ #12194]
49192         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49193         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49194
49195 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49196
49197         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49198         IFUNC support.
49199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49200         memset-x86-64.
49201         * sysdeps/x86_64/multiarch/bzero.S: New file.
49202         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49203         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49204         * sysdeps/x86_64/multiarch/memset.S: New file.
49205         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49207         Set bit_Prefer_SSE_for_memop for Intel processors.
49208         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49209         Define.
49210         (index_Prefer_SSE_for_memop): Define.
49211         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49212
49213 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49214
49215         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49216         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49217
49218 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49219
49220         [BZ #12191]
49221         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49222         (__x86_64_raw_data_cache_size_half): Likewise.
49223         (__x86_64_raw_shared_cache_size): Likewise.
49224         (__x86_64_raw_shared_cache_size_half): Likewise.
49225
49226         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49227         (__x86_64_raw_data_cache_size_half): Likewise.
49228         (__x86_64_raw_shared_cache_size): Likewise.
49229         (__x86_64_raw_shared_cache_size_half): Likewise.
49230         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49231         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49232         and __x86_64_raw_shared_cache_size_half.  Round
49233         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49234         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49235         to multiple of 256 bytes.
49236
49237 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49238
49239         [BZ #12167]
49240         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49241         of inacessible symlinks.  Verify result of symlink before returning it.
49242         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49243         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49244
49245 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49246
49247         * math/math.h (isinf): Fix typo in comment.
49248
49249 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49250
49251         * po/da.po: Update from translation team.
49252
49253 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49254
49255         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49256         is added to the list.
49257
49258 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49259             Ulrich Drepper  <drepper@gmail.com>
49260
49261         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49262         the global list here.  Move code to...
49263         (_dl_add_to_namespace_list): ...here.  New function.
49264         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49265         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49266         * elf/dl-load.c (lose): Don't remove the element from the list.
49267         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49268         (_dl_map_object): Likewise.
49269
49270 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49271
49272         [BZ #12159]
49273         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49274         into all bytes of SSE register.
49275         Patch by Richard Li <richardpku@gmail.com>.
49276
49277 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49278
49279         [BZ #12140]
49280         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49281         perturbing.
49282
49283 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49284
49285         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49286         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49287         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49288         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49290         submachine.
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49292
49293 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49294
49295         * include/dlfcn.h (__RTLD_SECURE): Define.
49296         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49297         mode & __RTLD_SECURE instead.
49298         (open_path): Rename preloaded parameter to secure.
49299         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49300         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49301         * elf/dl-deps.c (openaux): Likewise.
49302         * elf/rtld.c (struct map_args): Remove is_preloaded.
49303         (map_doit): Don't use it.
49304         (dl_main): Likewise.
49305         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49306         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49307
49308 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49309
49310         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49311         (sysd-rules-targets): Remove duplicates.
49312         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49313         rtld-%.$o dependency.
49314
49315 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49316
49317         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49318         _dl_map_object do it.
49319
49320 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49321
49322         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49323         fast fma builtins, define the macros in the C99 standard.
49324         (FP_FAST_FMAF): Likewise.
49325         (FP_FAST_FMAL): Likewise.
49326         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49327
49328         * bits/mathdef.h: Update copyright year.
49329         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49330
49331 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49332
49333         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49334         builtins, define the macros in the C99 standard.
49335         (FP_FAST_FMAF): Likewise.
49336         (FP_FAST_FMAL): Likewise.
49337         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49338         multiply/add.
49339         (FP_FAST_FMAF): Likewise.
49340
49341 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49342
49343         [BZ #3268]
49344         * math/libm-test.inc (fma_test): Some new testcases.
49345         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49346         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49347         y and infinite z.  Do multiplication by C already in long double.
49348         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49350         y and infinite z.  Do bitwise or of inexact bit into u.d.
49351         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49352         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49353         * sysdeps/i386/fpu/s_fma.S: Removed.
49354         * sysdeps/i386/fpu/s_fmal.S: Removed.
49355
49356 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49357
49358         [BZ #3268]
49359         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49361         computation is not scheduled after fetestexcept.  Fix value
49362         of minimum denormal long double.
49363
49364 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49365
49366         [BZ #3268]
49367         * math/libm-test.inc (fma_test): Add some more tests.
49368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49369         correctly.
49370
49371 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49372
49373         * scripts/data/localplt-s390-linux-gnu.data: New file.
49374         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49375
49376 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49377
49378         [BZ #3268]
49379         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49380         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49381         instead of dbl-64.
49382         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49383         inlines.
49384         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49386         if one of x and y is very large and the other is subnormal.
49387         * sysdeps/s390/fpu/s_fmaf.c: New file.
49388         * sysdeps/s390/fpu/s_fma.c: New file.
49389         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49390         * sysdeps/powerpc/fpu/s_fma.S: New file.
49391         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49392         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49393         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49394
49395 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49396
49397         [BZ #3268]
49398         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49399         fma tests.
49400         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49401         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49402         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49403         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49404         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49405         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49406         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49407
49408 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49409
49410         [BZ #12078]
49411         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49412         * posix/bug-regex31.input: Add test case.
49413
49414 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49415
49416         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49417         * posix/bug-regex31.input: New file.
49418
49419         [BZ #12078]
49420         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49421         (parse_sub_exp): Fix last change, use postorder.
49422
49423         * posix/bug-regex31.c: New file.
49424         * posix/Makefile: Add rules to build and run bug-regex31.
49425
49426         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49427
49428         [BZ #12078]
49429         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49430
49431         [BZ #12108]
49432         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49433         to have entries in sys_siglist.
49434
49435         [BZ #12093]
49436         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49437         be NULL.
49438
49439 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49440
49441         [BZ #3268]
49442         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49443         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49444         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49445         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49446         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49447         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49448         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49449         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49450         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49451         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49452         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49453         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49454         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49455         * math/ftestexcept.c (fetestexcept): Likewise.
49456         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49457         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49458         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49459         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49460         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49461         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49462         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49463
49464 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49465
49466         [BZ #12107]
49467         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49468         newline.
49469
49470 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49471
49472         * string/bug-strstr1.c: New file.
49473         * string/Makefile: Add rules to build and run bug-strstr1.
49474
49475 2010-10-05  Eric Blake  <eblake@redhat.com>
49476
49477         [BZ #12092]
49478         * string/str-two-way.h (two_way_long_needle): Always clear memory
49479         when skipping input due to the shift table.
49480
49481 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49482
49483         [BZ #12005]
49484         * malloc/mcheck.c: Handle large requests.
49485
49486         [BZ #12077]
49487         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49488         for strncmp and strncasecmp.
49489         * string/stratcliff.c: Add tests for strcmp and strncmp.
49490         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49491
49492 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49493
49494         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49495         __set_fpscr.
49496
49497 2010-09-30  Andreas Jaeger  <aj@suse.de>
49498
49499         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49500         (CGROUP_SUPER_MAGIC): Define.
49501         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49502         Handle btrfs and cgroup file systems.
49503         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49504         Likewise.
49505
49506 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49507
49508         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49509         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49510
49511 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49512
49513         [BZ #12067]
49514         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49515         trying to locate the ELF header.
49516
49517 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49518
49519         [BZ #11611]
49520         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49521         Mask out sign-bit copies when constructing f_fsid.
49522
49523 2010-09-24  Petr Baudis <pasky@suse.cz>
49524
49525         * debug/stack_chk_fail_local.c: Add missing licence exception.
49526         * debug/warning-nop.c: Likewise.
49527
49528 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49529
49530         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49531         implementing getdents64 using getdents syscall, set d_type if
49532         __ASSUME_GETDENTS32_D_TYPE.
49533
49534 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49535
49536         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49537         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49538
49539 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49540
49541         [BZ #12037]
49542         * posix/unistd.h: Undo change of feature selection for ftruncate from
49543         2010-01-11.
49544
49545 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49546
49547         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49548         detection.
49549
49550 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49551
49552         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49553         fanotify_mark.
49554         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49555
49556 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49557
49558         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49559         variables after CHECK_SP call.
49560         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49561
49562 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49563             Ulrich Drepper  <drepper@redhat.com>
49564
49565         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49566         re-relocationg ld.so.
49567         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49568         _dl_init_paths call.
49569         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49570         here anymore.
49571
49572 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49573
49574         * resolv/res_init.c (__res_vinit): Count the default server we added.
49575
49576 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49577             Ulrich Drepper  <drepper@redhat.com>
49578
49579         [BZ #11968]
49580         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49581         (____longjmp_chk): Use %ebx for saving value across system call.
49582         Add unwind info.
49583
49584 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49585
49586         * manual/Makefile: Don't mix pattern rules with normal rules.
49587
49588 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49589
49590         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49591         operation.
49592         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49593         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49594         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49595         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49597         Likewise.
49598
49599 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49600
49601         [BZ #11979]
49602         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49603         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49604
49605 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49606
49607         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49608         * sysdeps/x86_64/addmul_1.S: Likewise.
49609         * sysdeps/x86_64/lshift.S: Likewise.
49610         * sysdeps/x86_64/mul_1.S: Likewise.
49611         * sysdeps/x86_64/rshift.S: Likewise.
49612         * sysdeps/x86_64/sub_n.S: Likewise.
49613         * sysdeps/x86_64/submul_1.S: Likewise.
49614
49615 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49616
49617         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49618         Define __sched_param instead of SCHED_* and sched_param when
49619         <bits/sched.h> is included with __need_schedparam defined.
49620         * bits/sched.h [__need_schedparam]
49621         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49622         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49623         (__defined_schedparam): Define to 1.
49624         (__sched_param): New structure, identical to sched_param.
49625         (__need_schedparam): Undefine.
49626
49627 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49628
49629         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49630         (epoll_create1): Declare.
49631
49632         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49633
49634 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49635
49636         [BZ #7066]
49637         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49638         shifting retval into place.
49639
49640 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49641
49642         * nis/rpcsvc/nis.h: Update copyright notice.
49643         * nis/rpcsvc/nis.x: Likewise.
49644         * nis/rpcsvc/nis_callback.h: Likewise.
49645         * nis/rpcsvc/nis_callback.x: Likewise.
49646         * nis/rpcsvc/nis_object.x: Likewise.
49647         * nis/rpcsvc/nis_tags.h: Likewise.
49648         * nis/rpcsvc/yp.h: Likewise.
49649         * nis/rpcsvc/yp.x: Likewise.
49650         * nis/rpcsvc/ypupd.h: Likewise.
49651         * nis/yp_xdr.c: Likewise.
49652         * nis/ypupdate_xdr.c: Likewise.
49653
49654         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49655         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49656         (pmap_getport): Use __libc_rpc_getport.
49657         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49658         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49659         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49660
49661 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49662
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49664         fanotify_mark.
49665
49666 2010-08-27  Roland McGrath  <roland@redhat.com>
49667
49668         * sysdeps/i386/i686/multiarch/Makefile
49669         (CFLAGS-varshift.c): New variable.
49670
49671 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49672
49673         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49674         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49675
49676         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49677
49678         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49679
49680 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49681
49682         * sysdeps/x86_64/strlen.S: Unroll the loop.
49683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49684         strlen-sse2 strlen-sse2-bsf.
49685         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49686         __strlen_no_bsf if bit_Slow_BSF is set.
49687         (__strlen_sse42): Removed.
49688         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49689         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49690
49691 2010-08-25  Roland McGrath  <roland@redhat.com>
49692
49693         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49694         * sysdeps/x86_64/multiarch/varshift.c: New file.
49695         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49696         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49697         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49698         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49699
49700 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49701
49702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49703         strlen-sse2 strlen-sse2-bsf.
49704         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49705         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49706         (__strlen_sse2): Removed.
49707         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49708         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49710         bit_Slow_BSF for Atom.
49711         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49712         (index_Slow_BSF): Define.
49713         (HAS_SLOW_BSF): Define.
49714
49715 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49716
49717         [BZ #10851]
49718         * resolv/res_init.c (__res_vinit): When no server address at all
49719         is given default to loopback.
49720
49721 2010-08-24  Roland McGrath  <roland@redhat.com>
49722
49723         * configure.in: Remove config-name.h generation.
49724         * configure: Regenerated.
49725         * config-name.in: File removed.
49726         * scripts/config-uname.sh: New file.
49727         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49728         ($(objdir)config-name.h): New target.
49729
49730         * sunrpc/rpc_parse.h: Avoid nested comment.
49731
49732 2010-08-24  Richard Henderson  <rth@redhat.com>
49733             Ulrich Drepper  <drepper@redhat.com>
49734             H.J. Lu  <hongjiu.lu@intel.com>
49735
49736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49738         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49739         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49740         _mm_alignr_epi8 with _mm_loadu_si128.
49741         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49742         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49743         (__m128i_shift_right): Removed.
49744         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49745         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49746         * sysdeps/x86_64/multiarch/varshift.h: New file.
49747         * sysdeps/x86_64/multiarch/varshift.S: New file.
49748
49749 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49750
49751         * configure.in: Move assembler checks to before sysdep dir checking.
49752
49753 2010-08-20  Petr Baudis  <pasky@suse.cz>
49754
49755         * LICENSES: Sync the sunrpc license.
49756
49757 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49758
49759         * sunrpc/auth_des.c: Update copyright notice once again.
49760         * sunrpc/auth_none.c: Likewise.
49761         * sunrpc/auth_unix.c: Likewise.
49762         * sunrpc/authdes_prot.c: Likewise.
49763         * sunrpc/authuxprot.c: Likewise.
49764         * sunrpc/bindrsvprt.c: Likewise.
49765         * sunrpc/clnt_gen.c: Likewise.
49766         * sunrpc/clnt_perr.c: Likewise.
49767         * sunrpc/clnt_raw.c: Likewise.
49768         * sunrpc/clnt_simp.c: Likewise.
49769         * sunrpc/clnt_tcp.c: Likewise.
49770         * sunrpc/clnt_udp.c: Likewise.
49771         * sunrpc/clnt_unix.c: Likewise.
49772         * sunrpc/des_crypt.c: Likewise.
49773         * sunrpc/des_soft.c: Likewise.
49774         * sunrpc/get_myaddr.c: Likewise.
49775         * sunrpc/getrpcport.c: Likewise.
49776         * sunrpc/key_call.c: Likewise.
49777         * sunrpc/key_prot.c: Likewise.
49778         * sunrpc/openchild.c: Likewise.
49779         * sunrpc/pm_getmaps.c: Likewise.
49780         * sunrpc/pm_getport.c: Likewise.
49781         * sunrpc/pmap_clnt.c: Likewise.
49782         * sunrpc/pmap_prot.c: Likewise.
49783         * sunrpc/pmap_prot2.c: Likewise.
49784         * sunrpc/pmap_rmt.c: Likewise.
49785         * sunrpc/rpc/auth.h: Likewise.
49786         * sunrpc/rpc/auth_unix.h: Likewise.
49787         * sunrpc/rpc/clnt.h: Likewise.
49788         * sunrpc/rpc/des_crypt.h: Likewise.
49789         * sunrpc/rpc/key_prot.h: Likewise.
49790         * sunrpc/rpc/netdb.h: Likewise.
49791         * sunrpc/rpc/pmap_clnt.h: Likewise.
49792         * sunrpc/rpc/pmap_prot.h: Likewise.
49793         * sunrpc/rpc/pmap_rmt.h: Likewise.
49794         * sunrpc/rpc/rpc.h: Likewise.
49795         * sunrpc/rpc/rpc_des.h: Likewise.
49796         * sunrpc/rpc/rpc_msg.h: Likewise.
49797         * sunrpc/rpc/svc.h: Likewise.
49798         * sunrpc/rpc/svc_auth.h: Likewise.
49799         * sunrpc/rpc/types.h: Likewise.
49800         * sunrpc/rpc/xdr.h: Likewise.
49801         * sunrpc/rpc_clntout.c: Likewise.
49802         * sunrpc/rpc_cmsg.c: Likewise.
49803         * sunrpc/rpc_common.c: Likewise.
49804         * sunrpc/rpc_cout.c: Likewise.
49805         * sunrpc/rpc_dtable.c: Likewise.
49806         * sunrpc/rpc_hout.c: Likewise.
49807         * sunrpc/rpc_main.c: Likewise.
49808         * sunrpc/rpc_parse.c: Likewise.
49809         * sunrpc/rpc_parse.h: Likewise.
49810         * sunrpc/rpc_prot.c: Likewise.
49811         * sunrpc/rpc_sample.c: Likewise.
49812         * sunrpc/rpc_scan.c: Likewise.
49813         * sunrpc/rpc_scan.h: Likewise.
49814         * sunrpc/rpc_svcout.c: Likewise.
49815         * sunrpc/rpc_tblout.c: Likewise.
49816         * sunrpc/rpc_util.c: Likewise.
49817         * sunrpc/rpc_util.h: Likewise.
49818         * sunrpc/rpcinfo.c: Likewise.
49819         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49820         * sunrpc/rpcsvc/key_prot.x: Likewise.
49821         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49822         * sunrpc/rpcsvc/mount.x: Likewise.
49823         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49824         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49825         * sunrpc/rpcsvc/rex.x: Likewise.
49826         * sunrpc/rpcsvc/rstat.x: Likewise.
49827         * sunrpc/rpcsvc/rusers.x: Likewise.
49828         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49829         * sunrpc/rpcsvc/spray.x: Likewise.
49830         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49831         * sunrpc/rtime.c: Likewise.
49832         * sunrpc/svc.c: Likewise.
49833         * sunrpc/svc_auth.c: Likewise.
49834         * sunrpc/svc_authux.c: Likewise.
49835         * sunrpc/svc_raw.c: Likewise.
49836         * sunrpc/svc_run.c: Likewise.
49837         * sunrpc/svc_simple.c: Likewise.
49838         * sunrpc/svc_tcp.c: Likewise.
49839         * sunrpc/svc_udp.c: Likewise.
49840         * sunrpc/svc_unix.c: Likewise.
49841         * sunrpc/svcauth_des.c: Likewise.
49842         * sunrpc/xcrypt.c: Likewise.
49843         * sunrpc/xdr.c: Likewise.
49844         * sunrpc/xdr_array.c: Likewise.
49845         * sunrpc/xdr_float.c: Likewise.
49846         * sunrpc/xdr_mem.c: Likewise.
49847         * sunrpc/xdr_rec.c: Likewise.
49848         * sunrpc/xdr_ref.c: Likewise.
49849         * sunrpc/xdr_sizeof.c: Likewise.
49850         * sunrpc/xdr_stdio.c: Likewise.
49851
49852         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49853         handling.
49854
49855 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49856
49857         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49858
49859 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49860
49861         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49862         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49863         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49864         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49865         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49866         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49867         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49868         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49869         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49870         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49871         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49872         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49873         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49874         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49875
49876 2010-07-26  Anton Blanchard  <anton@samba.org>
49877
49878         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49879         * malloc/arena.c (heap_trim): Likewise.
49880
49881 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49882
49883         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49884         here.  Not...
49885         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49886         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49887
49888 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49889
49890         * sysdeps/i386/elf/Makefile: New file.
49891
49892 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49893
49894         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49895         from fanotify_init.
49896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49898
49899 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49900
49901         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49902         of strncasecmp_l.
49903         * sysdeps/multiarch/strcmp.S: Likewise.
49904
49905 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49906
49907         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49908         strncase_l-nonascii.
49909         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49910         Add strncase_l-ssse3.
49911         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49912         * sysdeps/x86_64/strcmp.S: Likewise.
49913         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49914         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49915         * sysdeps/x86_64/strncase.S: New file.
49916         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49917         * sysdeps/x86_64/strncase_l.S: New file.
49918         * string/Makefile (strop-tests): Add strncasecmp.
49919         * string/test-strncasecmp.c: New file.
49920
49921         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49922         warning.
49923
49924         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49925         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49926
49927 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49928
49929         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49930
49931 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49932
49933         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49934         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49935         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49936
49937 2010-05-01  Alan Modra  <amodra@gmail.com>
49938
49939         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49940         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49941         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49942         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49943         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49944         tidying.  Don't tail-call __sigjmp_save for static lib.
49945         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49946         save location.
49947         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49948         (CALL_MCOUNT): Add eh info, and nop after bl.
49949         (TAIL_CALL_SYSCALL_ERROR): New macro.
49950         (PSEUDO_RET): Use it.
49951         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49952         Correct save location of integer regs and cr.
49953         (_dl_profile_resolve): Correct cr save location.  Delete nops
49954         after bl when SHARED.  Reduce cfi size a little by better
49955         placement of cfi directives.
49956         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49957         make a stack frame.  Instead use parm save area as a temp.
49958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49959         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49961         Don't make a stack frame for parent, use parm save area.
49962         Increase child stack frame to 112 bytes.  Don't save unused reg,
49963         and adjust reg usage.  Set up cfi on error recovery and
49964         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49966         (__makecontext): Add dummy nop after jump to exit.
49967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49968         Use correct parm save area and cr save, reduce stack frame.
49969         Correct cfi for possible PSEUDO_RET frame setup.
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49971         Branch to local label emitted by PSEUDO_RET rather than
49972         __syscall_error.
49973
49974 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49975
49976         [BZ #11904]
49977         * locale/programs/locale.c (print_assignment): New function.
49978         (show_locale_vars): Use it.
49979
49980 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49981
49982         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49983         field.
49984         (struct statfs64): Likewise.
49985         (_STATFS_F_FLAGS): Define.
49986         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49988         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49989         (ST_VALID): Define locally.
49990         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49991         __statvfs_getflags, use the provided value.
49992         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49993         __ASSUME_STATFS_F_FLAGS.
49994
49995         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49996
49997         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49998         Add sys/fanotify.h.
49999         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50000         fanotify_mask for GLIBC_2.13.
50001         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50002         fanotify_init and fanotify_mark.
50003         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50004         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50005
50006         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50007         Add prlimit.
50008         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50009         prlimit64 for GLIBC_2.13.
50010         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50011         prlimit64.
50012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50013         syscall.
50014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50015         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50016         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50017         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50018         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50019         add prlimit alias.
50020         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50021
50022         [BZ #11903]
50023         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50024         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50025
50026         * nss/Makefile: Add rules to build and run tst-nss-test1.
50027         * shlib-versions: Add entry for libnss_test1.
50028         * nss/nss_test1.c: New file.
50029         * nss/tst-nss-test1.c: New file.
50030
50031         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50032         (__nss_configure_lookup): Set appropriate entry in
50033         __nss_configure_lookup to true.
50034         * nss/nsswitch.h: Define enum with indeces of databases in
50035         databases and __nss_database_custom arrays.  Declare
50036         __nss_database_custom.
50037         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50038         to avoid using nscd when custom rules are installed.
50039         * nss/getXXbyYY_r.c: Likewise.
50040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50041
50042         * nss/nss_files/files-parse.c: Whitespace fixes.
50043
50044 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50045
50046         [BZ #11883]
50047         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50048         * posix/fnmatch_loop.c: Likewise.
50049
50050 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50051
50052         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50053         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50054         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50055         * Versions.def [GLIBC_2.13]: Add.
50056
50057 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50058
50059         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50060         Also fail if tpwd after pwuid call is NULL.
50061
50062 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50063
50064         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50065         when converting to ms.
50066
50067 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50068
50069         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50070         EOPNOTSUPP errors with ENOTTY.
50071         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50072         EOPNOTSUPP errors with ENOTTY.
50073
50074 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50075
50076         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50077         Add strcasecmp_l-ssse3.
50078         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50079         strcasecmp.
50080         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50081         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50082         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50083
50084 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50085
50086         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50087
50088         * string/Makefile (strop-tests): Add strcasecmp.
50089         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50090         strcasecmp_l-nonascii.
50091         (gen-as-const-headers): Add locale-defines.sym.
50092         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50093         * sysdeps/x86_64/strcasecmp.S: New file.
50094         * sysdeps/x86_64/strcasecmp_l.S: New file.
50095         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50096         * sysdeps/x86_64/locale-defines.sym: New file.
50097         * string/test-strcasecmp.c: New file.
50098
50099         * string/test-strcasestr.c: Test both ends of the range of characters.
50100         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50101
50102 2010-07-29  Roland McGrath  <roland@redhat.com>
50103
50104         [BZ #11856]
50105         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50106
50107 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50108
50109         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50110         for ld.so.
50111
50112 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50113
50114         * manual/memory.texi (Malloc Tunable Parameters): Document
50115         M_PERTURB.
50116
50117 2010-07-26  Roland McGrath  <roland@redhat.com>
50118
50119         [BZ #11840]
50120         * configure.in (-fgnu89-inline check): Set and substitute
50121         gnu89_inline, not libc_cv_gnu89_inline.
50122         * configure: Regenerated.
50123         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50124
50125 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50126
50127         * string/test-strnlen.c: New file.
50128         * string/Makefile (strop-tests): Add strnlen.
50129         * string/tester.c (test_strnlen): Add a few more test cases.
50130         * string/tst-strlen.c: Better error reporting.
50131
50132         * sysdeps/x86_64/strnlen.S: New file.
50133
50134 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50135
50136         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50137         lower-latency instructions.
50138
50139 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50140
50141         * string/test-strcasestr.c: New file.
50142         * string/test-strstr.c: New file.
50143         * string/Makefile (strop-tests): Add strstr and strcasestr.
50144         * string/str-two-way.h: Don't undefine MAX.
50145         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50146
50147 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50148
50149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50150         strcasestr-nonascii.
50151         (CFLAGS-strcasestr-nonascii.c): Define.
50152         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50153         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50154         Remove unused attribute.
50155
50156 2010-07-20  Roland McGrath  <roland@redhat.com>
50157
50158         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50159         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50160         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50161         like LD_HWCAP_MASK can disable hwcaps.
50162
50163 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50164
50165         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50166
50167 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50168
50169         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50170         call in strcasestr.
50171         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50172         __strcasestr_sse42_nonascii.
50173         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50174         strcasestr-nonascii.c.
50175         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50176
50177 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50178
50179         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50180         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50181         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50182         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50183
50184 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50185
50186         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50187         fcntl.
50188
50189 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50190
50191         [BZ #11577]
50192         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50193         dl_signal_cerror.
50194
50195 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50196
50197         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50198         _PC_PIPE_BUF using F_GETPIPE_SZ.
50199
50200 2010-07-05  Roland McGrath  <roland@redhat.com>
50201
50202         * manual/arith.texi (Rounding Functions): Fix rint description
50203         implicit in round description.
50204
50205 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50206
50207         * elf/Makefile: Fix linking for a few tests to make recent linker
50208         happy.
50209
50210 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50211
50212         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50213         $(common-objpfx)libc_nonshared.a.
50214
50215 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50216
50217         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50218         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50219         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50220         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50221         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50222         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50223         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50224         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50239         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50240         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50241         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50242         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50243         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50244         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50245         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50246         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50247         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50248         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50249         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50250         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50265
50266 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50267
50268         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50269         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50270         * string/memmove.c (memmove): Renamed to ...
50271         (MEMMOVE): ...this.  Default to memmove.
50272         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50273         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50274         (END_CHK): Define.
50275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50276         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50277         mempcpy-ssse3-back memmove-ssse3-back.
50278         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50280         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50281         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50282         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50283         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50284         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50285         * sysdeps/x86_64/multiarch/memmove.c: New file.
50286         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50287         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50288         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50289         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50290         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50291         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50292         Define.
50293         (index_Fast_Copy_Backward): Define.
50294         (HAS_ARCH_FEATURE): Define.
50295         (HAS_FAST_REP_STRING): Define.
50296         (HAS_FAST_COPY_BACKWARD): Define.
50297
50298 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50299
50300         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50301         Restore proper fallback handling.
50302
50303 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50304
50305         [BZ #11701]
50306         * posix/group_member.c (__group_member): Correct checking loop.
50307
50308         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50309         OOM in getpwuid_r correctly.  Return error number when the caller
50310         should return, otherwise -1.
50311         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50312         call returning > 0 value.
50313         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50314
50315 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50316
50317         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50318         libc_nonshared.a from targets in modules-names.
50319
50320 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50321
50322         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50323         requires it.
50324
50325 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50326
50327         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50328         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50329         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50330         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50331
50332 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50333
50334         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50335
50336 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50337
50338         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50339         and F_GETPIPE_SZ.
50340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50344         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50345         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50346
50347 2010-06-14  Roland McGrath  <roland@redhat.com>
50348
50349         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50350
50351 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50352
50353         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50354         __REDIRECT followed by __THROW.
50355         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50356         * posix/getopt.h (getopt): Likewise.
50357
50358 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50359
50360         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50361         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50362         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50363         in AT_FLAGS.
50364         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50365         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50366
50367 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50368
50369         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50370
50371 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50372
50373         [BZ #11640]
50374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50375         Properly check family and model.
50376
50377 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50378
50379         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50380
50381 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50382
50383         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50384
50385 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50386
50387         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50388         symbol reference.
50389
50390 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50391
50392         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50393         symbol reference.
50394
50395 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50396
50397         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50398         and internal_recvmmsg.
50399         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50400         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50401         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50402         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50403
50404         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50405         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50406         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50407
50408 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50409
50410         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50411
50412 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50413
50414         POWER7 optimizations.
50415         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50416         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50417
50418 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50419
50420         * version.h: Update for 2.13 development version.
50421
50422 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50423
50424         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50425         exceptions.  Return 0.
50426
50427 2010-05-07  Roland McGrath  <roland@redhat.com>
50428
50429         * elf/ldconfig.c (main): Add a const.
50430
50431 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50432
50433         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50434         (args_options): Add no-idn option.
50435         (ahosts_keys_int): Add idn_flags to ai_flags.
50436         (parse_option): Handle 'i' option to clear idn_flags.
50437
50438         * malloc/malloc.c (_int_free): Possible race in the most recently
50439         added check.  Only act on the data if no current modification
50440         happened.
50441
50442 See ChangeLog.17 for earlier changes.